gram

@aSharkTank First stage of verification passed, official domain is givatram.ort.org.il as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://givatram.ort.org.il/

Hey, is it possible to get a status on this? I need to get access to the products for my school projects
@philipto
Thanks!

@aSharkTank Thank you for your patience while waiting for a review and processing your request. Pull request merged.


[Bug]: Button doesn't appear if Obsidian is not in english

Bug Description
Button doesn't appear either in community plugin or CSS snippets, if Obsidian is set in another language than English.
Relevant Screenshot

To Reproduce
Note : Obsidian must be in any language different than english.
For example, my bug appear in French.

Enable the plugin
Try to refresh
See console

Obsidian Version
1.0.3
Which editor are you using?

[X] New Editor
[ ] Legacy Editor

Checklist

[X] I updated to the latest version of the plugin.

The bug is caused by this:
https://github.com/chrisgrieser/obsidian-divide-and-conquer/blob/c2422b4ae5084d80a834bf8b0ee8e8572212454d/main.ts#L383
Because this object is not translated: https://github.com/chrisgrieser/obsidian-divide-and-conquer/blob/c2422b4ae5084d80a834bf8b0ee8e8572212454d/main.ts#L147
I think the best methods is to don't take the name or get the translation from obsidian…


Fix the navigation bar for mobile devices.

The nav bar is not correct for mobile devices.

Assign me this issue and add a  hacktoberfest label

This issue is already in progress

okay


DesignSurveyWrapper: Single field within qustion group not rendering on select

When a single question type is added within a question group, the single question is being address to the question group, but it is not rendering in the design survey view when clicked on the newly added question.

Fixed in the commit to main.


GetRequestBody sometimes returns 0 bytes even when ContentLength > 0

This seems to occur semi randomly. On an HTTP POST with content-length > 0, SessionEventArgs.GetRequestBody sometimes returns 0 bytes. I do get SessionEventArgs's OnDataSent event (byte[0], 0, 0) after IsBodyRead=true, but I do not get the OnDataSent event while IsBodyRead=false (fired from the event handler for HttpWriter's onCopy event). So the ReadAsync inside HttpWriter.copyBytesFromStream must be returning 0.
Any ideas?

Thanks for the feedback. I'd been working with stream-extended also. It's very inconsistent. Haven't been able to reproduce with my integration tests yet but that's helped me understand the flow better. I'm still working on that plus libcurl client verbose logging in the real world. Hope that points to something eventually.

Problem solved. I was waiting on SessionEventArgs.GetRequestBody even for "Expect: 100-continue" requests. The client would wait for the 100 Continue response, which it never got because the request was blocked. If the continue timeout expired before curl's low speed timeout it would send the data, otherwise it would close the connection. When the latter happened it then SessionEventArgs.GetRequestBody would return with 0 bytes.

PS I had started with code copied from this stackoverflow question which I've noticed other issues have the same copied code. I left a warning comment there.


Update DemoRequestsView.coffee

check dayCount is not null

Coverage remained the same at 62.14% when pulling 59241db9e5511c4f60d1c0092a88faa3cba69bb3 on dlxbcn:patch-1 into d699d2b28e1c5c97114d3628fc0ef16831488a47 on codecombat:master.

Coverage remained the same at 62.14% when pulling ab7c3fcff0e76314eb16353da4ac7da8f9a92115 on dlxbcn:patch-1 into d699d2b28e1c5c97114d3628fc0ef16831488a47 on codecombat:master.


[XamarinProfiler-MAC]: Accessibility: Color Contrast: MAS1.4.3: Non-active tabs (Allocations/Call tree/Snapshots/Root & Cycles/Console)  of Allocations and Non-active tabs (Call tree/Samples/Console) of Time Profiler are not having color contrast ratio of 4.5:1

Pre-Requisite:

Install Xamarin Profiler.
Launch Visual Studio.
Create a project and build the solution.
Navigate to Run Menu Tab and Invoke it. Navigate to "Start Profiling" option and invoke it.
This will invokes "Xamarin Profiler" application.

Steps to Reproduce
Scenario 1:

Follow the pre-requisite to launch the xamarin profiler application.
Select the Available instruments to "Allocations" and invoke next button. Invoke Start Profiling button.
3.This will invoke "Allocaitons" Profiling page.
Verify the color contrast ratio of non-active tabs among (Allocations/Call tree/Snapshots/Root & Cycles/Console)

Scenario 2:

Follow the pre-requisite to launch the xamarin profiler application.
Select the Available instruments to "Time Profiler" and invoke next button. Invoke Start Profiling button.
3.This will invoke "Time Profiler" Profiling page.
Verify the color contrast ratio of non-active tabs among (Call tree/Samples/Console)

Expected Behavior
Color contrast ratio should be minimum 4.5:1
Actual Behavior
Color contrast ratio is less than 4.5:1 i.e, 3.5:1
See the screenshots attached
User Impact
Low vision user will feel difficult in seeing the text
Screenshots

Environment
macOS High Sierra OSX version: 10.13.4
Visual Studio for Mac Enterprise version: 7.5.2(build 40)
Xamarin Profiler version: 1.6.3-400

Log File

Please add the following tags to this bug:
A11yMAS
Accessibility
MAS1.4.3
Xamarin-Profiler-MAC
Wipro


Add debug commands

The following console command to debug should be present:

Dump router settings
Dump all routes
Dump specific routes group
Test an URL to match a route

Extracted from https://github.com/yiisoft/yii-debug/issues/202

There is the https://github.com/yiisoft/router/blob/master/src/Debug/DebugRoutesCommand.php for all routes and groups


[SPARK-21538][SQL] Fix attribute resolution inconsistency in Dataset API

What changes were proposed in this pull request?
Given a string column name, the following operation fails with an AnalysisException:
spark.range(1).withColumnRenamed("id", "x").sort("id")

However, the other APIs work:
spark.range(1).withColumnRenamed("id", "x").sort(col("id"))
spark.range(1).withColumnRenamed("id", "x").sort($"id")
spark.range(1).withColumnRenamed("id", "x").sort('id)

This sort API should defer attribute resolution to analysis.
How was this patch tested?
Added unit test.

Test build #79986 has started for PR 18744 at commit 6364bb0.

cc @cloud-fan @gatorsmile

@viirya, it looks something is wrong with JIRA and somewhere executing dev/github_jira_sync.py. It looks https://github.com/apache/spark/pull/18740 was already submitted

@HyukjinKwon oh. I see. Thanks.

Test build #79986 has finished for PR 18744 at commit 6364bb0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/79986/
Test PASSed.


Modify the examples to add restore keys

Modify the examples to add restore keys

Hi John, I have modified some examples to include multiple lines, Thanks.

@fadnavistanmay Is this PR ready for merging? If so let me know and I will get it merged. Thank you!

@johnterickson - could you please take a look. Have added the restore keys in examples, plus the quotes.. Thanks.

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

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

Hi @steved0x - could you please merge this. Thanks.


How to convert AST object back into string pattern?

If you have an AST object representing an ICU message pattern, how can you convert that AST object to its string representation as a pattern?
I don't mean formatting the string. What I'd like to know is how to produce the pattern 'The price is: {price, number, USD}' from an AST object rather than the formatted message 'The price is: $1.00'.

You can write a printer; e.g., https://github.com/yahoo/babel-plugin-react-intl/blob/master/src/print-icu-message.js

Thank you!


[Fix] FlowSubDoc model instructions

Fixes #117
This PR is on top of PR #115
Thanks @italovalcy for catching this, and the initial patch.
Local tests
With this PR I provisioned one EPL to make sure no other side effects happend, worked as usual.
2022-10-31 13:07:45,463 - INFO [kytos.napps.kytos/mef_eline] [evc.py:672:deploy_to_path] (Thread-100) EVC(5cac9d46e6fc41, epl) was deployed.

@italovalcy it'd be great if you could try out this branch in the original scenario, thanks.

Excellent! thanks for the PR, @viniarck !

Appreciated your review and initial patch. Thanks.


ci: require snyk test before merge

Otherwise, we can still merge if snyk tests are failing.
This is set in "branch protection rules"; @sarakolding, this is a quick setting to change, but I think it's important you get hands-on experience here :-)

good point, think i fixed it now 🐒

Excellent work 👍


Initial checkin of vendored OpenShift v3 installer.

:+1:

The bot is failing because of pylint checks on files in the installer. I'm not going to change them because we are consuming them as is.


Troubleshooting issues when debugging KeptnMetrics

I tried to apply a KeptnMetrics resource which looks like this:
apiVersion: metrics.keptn.sh/v1alpha2
kind: KeptnMetric
metadata:
  name: capacity
  namespace: default
spec:
  provider:
    name: prometheus
  query: "sum(kube_node_status_capacity{resource='cpu’})"
  fetchIntervalSeconds: 60

When applying this KeptnMetric, the metrics-operator is not able to query the metric, and therefore, no result is displayed. Apart from the fact that there is a backtick instead of a single quote in the query, we could make troubleshooting such issues a bit easier :-)
Expected behavior
I would expect that an event is written to the event stream
Actual behavior
No information is written in the event stream, the status of the object is empty. The only way to troubleshoot this is in the log of the controller, where I as a user might not have access to.

The team agreed to introduce the error message in the status field of the CRD and emit an error event


SafeLong.{isOdd/isEven} which does not allocate.

Small optimization.

👍

Current coverage is 48.88% (diff: 100%)

Merging #623 into master will decrease coverage by 0.09%

@@             master       #623   diff @@
==========================================
  Files           171        171
  Lines         11121      11125     +4
  Methods        9577       9568     -9
  Messages          0          0
  Branches       1544       1557    +13
==========================================
- Hits           5447       5438     -9
- Misses         5674       5687    +13
  Partials          0          0

Powered by Codecov. Last update 78502f8...c6fb68a


Update Quarkus documentation after fixing Push functionality

Update Quarkus docs to not mention Push websockets as not working after applying of this change
https://github.com/vaadin/quarkus/pull/69.
Quarkus docs to be updated:
https://vaadin.com/docs/latest/flow/integrations/quarkus/#quarkus.vaadin.limitations

Created the PR on vaadin/docs repo


SDA-9105 | feat: asks for OIDC Configuration kind in interactive

Related issue: https://issues.redhat.com/browse/SDA-9105
What
Asks customer which oidc configuration kind when interactive is enabled
Why
Was not asking prior and assuming default of managed

/lgtm


what is the time zone of this component?

I need to know what time zone this component use

I did not specifically define the timezone when getting the default time, I basically just use new Date().getTime() which will get the current time from your browser. So basically if you didn't pass in the prop of current time, it will use the browser's time instead.
In another word, different users in different timezone, will get the current time base one their browser. So if you are working on an APP that requires specific timezone, you could do that by using your timezone's current time into the component.
time prop is the one you should pass in your current time either in 2018-09-26 14:36 format or Unix timestamp


License?

Please add license info. I don't know if I can use that in my commercial project.

https://github.com/kelseyhightower/nocode/blob/master/LICENSE


Update to latest PHPUnit in the 1.x branch

This will allow the tests for 1.x to pass on PHP 8.0.

Oof. Didn't realize you were still testing against PHP 5.x.

AFAICT cache-util 1.x works fine on PHP 8.0, but not sure if there's a way to test against both PHP 5 and PHP 8 at the same time without some shenanigans.

In case you are wondering why I care, I test my extension by running the test suite for various libraries with my extension loaded to make sure I'm implementing the interfaces correctly, and well I can't run your unit tests under php8 without patching your composer.json. Not a big deal but would be nice.

Looks like they're running fine with latest phpunit and PHP 8: https://github.com/jbboehr/cache-util/actions/runs/737669091

I would expect anyone using PHP 8 would be using the 2.x code anyway, not 1.x.  If not, they should be. :smile:  So I don't think it's worth investing any shenanigans in the 1.x branch's testing infrastructure.
If the 2.x code doesn't test well on 8.0, that's a problem, though.  Pretty sure it's fine.


optional stricter requirements

Reminder to myself to add some options to e.g. require the percent retained of a model to be above a certain threshold, otherwise the trial is not considered. Could be integrated with #204?

Don't you have an exam?

Could be integrated with #204?

This seems like it should go in a separate PR to me.


Not populating "Previous Contact Id"

Hi All,
As per the below document, "Previous Contact Id" should be populated, while call transferred among multiple agents/queues.
https://docs.aws.amazon.com/connect/latest/adminguide/connect-attrib-list.html
Now it is populating only "Contact Id" and "Original Contact Id" but NOT "Previous Contact Id".
Any reason why streams API is not populating "Previous Contact Id".
Thanks,
NB Nalluri.

Hi NB,
"Previous Contact Id" is a System attribute of contact flow. I am assuming you are using contact.getAttributes() method to get attributes. StreamsJs only support User-defined attributes for that method. Please check out this doc for how to create User-defined attribute in contact flow.
https://docs.aws.amazon.com/connect/latest/adminguide/using-contact-attributes.html
Hope this helps!
Thanks,
Zesheng


Less ambiguity to what 'SECRET TOOL' is?

It seems this substitution has been overlooked, but it's present on the index page. I think it would be helpful to disclose what this actually is. Alternatively, the mention of SECRET TOOL can be removed entirely?

The latter it is then! Sounds good.

No SECRET TOOL - no problem!

@zeux When will we learn what SECRET TOOL is?


When running on a google cloud compute instance, writing fails when using service account json file.

Environment details

OS: Windows
.NET version: 4.7.2
Package name and version: GoogleCloud.Logging.NLog v2.2.0, Google.Cloud.Logging.V2 v2.3.0

Steps to reproduce

Create a simple project with a local service account with permissions to write to logs and run it on a local machine and it works fine.

Copy this project to a google cloud instance in a separate project and run it, and the logging will fail with permission denied.

Exception when running on cloud VM.
2020-03-05 11:53:28.5189 Error GoogleStackdriver(Name=google-cloud): Failed to write LogEntry Exception: System.AggregateException: One or more errors occurred. ---> Grpc.Core.RpcException: Status(StatusCode=PermissionDenied, Detail="The caller does not have permission")
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Google.Api.Gax.Grpc.ApiCallRetryExtensions.<>c__DisplayClass0_0`2.<<WithRetry>b__0>d.MoveNext() in T:\src\github\gax-dotnet\releasebuild\Google.Api.Gax.Grpc\ApiCallRetryExtensions.cs:line 40
--- 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 Google.Cloud.Logging.NLog.GoogleStackdriverTarget.<WriteLogEntriesBegin>d__27.MoveNext() in T:\src\github\google-cloud-dotnet\releasebuild\apis\Google.Cloud.Logging.NLog\Google.Cloud.Logging.NLog\GoogleStackdriverTarget.cs:line 433
   --- End of inner exception stack trace ---
---> (Inner Exception #0) Grpc.Core.RpcException: Status(StatusCode=PermissionDenied, Detail="The caller does not have permission")
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Google.Api.Gax.Grpc.ApiCallRetryExtensions.<>c__DisplayClass0_0`2.<<WithRetry>b__0>d.MoveNext() in T:\src\github\gax-dotnet\releasebuild\Google.Api.Gax.Grpc\ApiCallRetryExtensions.cs:line 40
--- 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 Google.Cloud.Logging.NLog.GoogleStackdriverTarget.<WriteLogEntriesBegin>d__27.MoveNext() in T:\src\github\google-cloud-dotnet\releasebuild\apis\Google.Cloud.Logging.NLog\Google.Cloud.Logging.NLog\GoogleStackdriverTarget.cs:line 433<---

using NLog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace TestLogging
{
    class Program
    {

        static void Main(string[] args)
        {
            Logger logger = LogManager.GetLogger("foo");
            logger.Info("Program started");
        }

    }
}

<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
      autoReload="true"
      throwExceptions="true"
      internalLogToConsole="true"
      internalLogLevel="Info" internalLogFile="c:\temp\nlog-internal.log">

  <extensions>
    <add assembly="Google.Cloud.Logging.NLog" />
  </extensions>

  <targets>
    <target xsi:type="Console" name="console"
            layout="${longdate} ${uppercase:${level}} ${logger}: ${message} ${exception:format=ToString}" />
      <target name="stackdriver" type="GoogleStackdriver" projectId="<PROJECT_NAME>" logId="test-logging" credentialFile="credentials.json" />
  </targets>
  <rules>
    <logger name="*" minlevel="Trace" writeTo="console,stackdriver"/>
  </rules>
</nlog>

Overview:
I have an application that service account from one project. It is running on another project in a google cloud computing VM.  When running this from my local workstation pointing to a credentials.json service account, the logging works fine. However, when I copy this same simple project to the google cloud VM, it fails with permission denied. The service account has Project Owner permission.
When turning on trace logging, I see the credential file contents in the internal nlog. So I know it's loading the credentials just fine. I suspect there is some magic happening with the google cloud instance service account and project overriding what is specified in the json credentials file. Since they are on different projects that might the issue, but I would expect when specifying the json service account would allow the logging to happen anywhere even on a google cloud vm in another project.

Amanda, are you okay to dig into this a bit tomorrow?

I'll work on a quick visual studio project to demo. I also plan to try it with a VM on the same project and see if that makes a difference, for some reason I feel like it will work when on same project? Just a hunch though.

Here is just a simple project to save you the work of putting somethign together.
Drop in a credentials.json service account file, edit the project name and logging target in the nlog.config and run it.
https://github.com/jamesrusso/google-logging-nlog-issue-google-cloud-dotnet-issue-4519
I did confirm running this on a compute instance on the target project does work. So, the issue is running this on a compute instance on a separate project. I tested this with a fresh instance in the same project where the logs are supposed to be going.
Ex: Project A is running a compute instance that runs this code with a service account giving access to the logging facility on Project B. When running the code on the computer instance on Project A it will not work to log the data to Project B. However, when running on the same project it does seem to work ok. So, I somehow suspect that the project name is getting overridden somewhere down in the authentication code? I don't know enough about gsutil/gcloud to determine how this is happening.
If I can assist further in tracking this done, please let me know. Thanks for your help.

Yes I'll take a look, thanks for the sample project @jamesrusso

#4520 Should fix this.
Thanks for reporting.

 Thanks @amanda-tarafa


Add option to include section headers in animations

This code adds two static properties to Spruce, providing the option to include section headers of UITableView or UICollectionView in Spruce animations.
Usage (anywhere in app):
Spruce.includeTableViewSectionHeaders = true
Spruce.includeCollectionViewSectionHeaders = true
// The default value is false for both properties (current behavior)

I would love to see a PR adding functionality like this merged in, though I agree with @jacksontaylor13 that it would be best to do so as a per-animation configuration rather than using static variables at the top level.


[MWPW-130581] Template-X: Surrounding Element Tweaks

Fix: https://jira.corp.adobe.com/browse/MWPW-130581
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/templates/?lighthouse=on
After: https://mwpw-130581--express--adobecom.hlx.page/express/templates/?lighthouse=on

Added vertical gradient onto category list and tweaked masonry slightly.

Want to flag that the low LHS on this PR is due to the mobile loading unoptimized old template-list on mobile. We will be migrating the improvements @JingleH has demoed the other day over to this and we should see some very meaningful gains there.


[FE] Animate the Logo SVG

I can't remember what this was for - @edichoska
Do you you have any specific animation in mind?
We can have the LH Logo be used as an arrow perhaps?
Anyways, please provide more info or a reference

https://github.com/learnhubmkd/app/assets/11035261/67598935-c84d-4afe-958c-1570b22d044f
https://github.com/learnhubmkd/app/assets/11035261/8d96acec-0efc-4be1-b90c-c35dad873f0d

https://github.com/learnhubmkd/app/assets/11035261/ed481cce-7fff-4254-872e-7f05c60977d8


Remove cosmwasm-core again

This PR removes cosmwasm-core again, as internally discussed.
The introduction of this crate added unnecessary maintainance burdens for questionable benefits.

Sorry, but I have no idea how that test ever even passed. The tests always ran on a non-wasm32 target, and they always ran with the std feature enabled.
This feels like something that should have never worked? Or am I misreading the previous code?

Seems like something in the CI job sets RUST_BACKTRACE implicitly. I can reproduce the passing/failing test locally with
(cd packages/std && RUST_BACKTRACE=0 cargo test implements_debug)
(cd packages/std && RUST_BACKTRACE=1 cargo test implements_debug)

We should probably unset RUST_BACKTRACE in the CI job before running our script as the test code expects it to be unset

Should we gate the Ed25519, p256, k256, etc. things of the crypto crate also behind the target triple? Shouldn't be too hard tbh.

Should we gate the Ed25519, p256, k256, etc. things of the crypto crate also behind the target triple? Shouldn't be too hard tbh.

Why would we do that? All of cosmwasm-crypto is not pulled in for Wasm builds: https://github.com/CosmWasm/cosmwasm/blob/v2.0.3/packages/std/Cargo.toml#L67-L69

Why would we do that? All of cosmwasm-crypto is not pulled in for Wasm builds

Not in the current version, but it is pulled in to provide the re-exports of the BLS generators. Either we move them from the crypto package into std, or we gate the other features (or we hope LTO fixes the size via dead code elimination)

Either we move them from the crypto package into std, or we gate the other features (or we hope LTO fixes the size via dead code elimination)

I looked a bit into that today. I think having cosmwasm-crypto as a dependency for the contract builds is a problem because of compile time and debugability for getrandom problems (folks always suspect cosmwasm-crypto to be the source of their compilation problems). The crate should only be needed for host code (VM and testing), not contract code.
So I propose solution 3: we use this opportunity to start cosmwasm-core with just BLS12_381_G1_GENERATOR, BLS12_381_G2_GENERATOR. This can then be a shared dependency for std and crypto.
The concept of a lightweight no_std compatible cosmwasm-core is good as long as

It does not depend on cosmwasm-crypto
Re-exports are not renamed

With https://github.com/CosmWasm/cosmwasm/issues/2136 we can get more types in there as long as StdError remains in cosmwasm-std.

Really funny, apparently non_local_definitions is a nightly lint.
I guess I'll have to live with two warnings across the workspace for now.


Reverse-sync the wiki

Today, we have an action on the PR-able wiki repo
https://github.com/microsoft/TypeScript-wiki/blob/466551af203ca08db17261fd3ad8885534e33a34/.github/workflows/sync.yml
However, it hasn't run in 8 months or so because changes on microsoft/TypeScript.wiki are not sync'd up to microsoft/TypeScript-wiki.
This seems achievable with the gollum hook.
https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads#gollum

Thanks to @amcasey for finding this

Yeah, I've wanted to get around to this for a while

Just need to give @typescript-bot access to write to the typescript-wiki repo then this is sorted

Cool, confirmed it does bi-directional merging: accepting https://github.com/microsoft/TypeScript-wiki/pull/257 changed the page:

Thanks, @orta!


Added idle channel noise vs power supply voltage measurement

Added new measurement which sweeps the power supply voltage and makes an idle channel noise measurement at each point. Supports multiple channels at the same time.

screenshot of the UI panel in InstrumentStudio:


Bump llvm-project to latest, moving beyond TensorFlow integration.

Disables further build file update by default.
Due to more demands placed vs upstream, we will likely stay diverged for some time.
The SPIRV tablegen situation is rather involved and I wish that the BUILD files and CMakeLists.txt were at all similar. Putting this together was a manual effort of staring at three panes.

Rename llvm:ir to llvm:core

Note that due to the wonky version setup, I have pushed this directly to master and upstream will post with a change of its own.

Changes committed as part of #404


Messaging template fixes

Ticket:
Fix templating to not require lang in query, in the rest api / sdk plus some smaller fixes.

XXX

Description
Please include a summary of the changes and the related issue.
Type

[ ] Dependency upgrade
[ ] Bug fix
[ ] New feature
[ ] Dev change

Checklist:

[ ] I have added tests that prove my fix is effective or that my feature works

Screenshots:
N/A

LGTM


Sending payment with 2+ hops fails

After merging latest changes  to my branch for #372 , testPaymentPathConstraint test, which tries to use 2 hops, started failing, so I modified testMultiHopPayments to add David, forming the topology Carol -> David -> Alice -> Bob with the following:
	david, err := net.NewNode(nil)
	if err != nil {
		t.Fatalf("unable to create new nodes: %v", err)
	}
	if err := net.ConnectNodes(ctxb, david, net.Alice); err != nil {
		t.Fatalf("unable to connect david to alice: %v", err)
	}
	err = net.SendCoins(ctxb, btcutil.SatoshiPerBitcoin, david)
	if err != nil {
		t.Fatalf("unable to send coins to david: %v", err)
	}
	ctxt, _ = context.WithTimeout(ctxb, timeout)
	_ = openChannelAndAssert(ctxt, t, net, david,
		net.Alice, chanAmt, 0)

	carol, err := net.NewNode(nil)
	if err != nil {
		t.Fatalf("unable to create new nodes: %v", err)
	}
	if err := net.ConnectNodes(ctxb, carol, david); err != nil {
		t.Fatalf("unable to connect carol to david: %v", err)
	}
	err = net.SendCoins(ctxb, btcutil.SatoshiPerBitcoin, carol)
	if err != nil {
		t.Fatalf("unable to send coins to carol: %v", err)
	}
	ctxt, _ = context.WithTimeout(ctxb, timeout)
	chanPointCarol := openChannelAndAssert(ctxt, t, net, carol,
		david, chanAmt, 0)

This causes the test failure with the following error message:
{
    	"payment_error": "Unable to apply channel update: Ignoring announcement (flags=1) for known chan_id=444202697687040",
    	"payment_preimage": "",
    	"payment_route": null
}

Some digging showed that the problem is with FailFeeInsufficient wire error, which is silently turned into this channel update error.

Also, there seems to be no tests for multi-hop payments with more than one intermediary.

There're unit tests that cover that case, more or less, it's identical to any other multi-hop test as the intermediate nodes follow the exact same logic.
 I think you might need to modify your test (or perhaps made a mistake during the merging) to ensure that it uses the returned payment request from the invoice, rather than manually specifying the payment hash.

I'll take a look tomorrow, but examples I listed here reproduce on master. Also, as my test uses lncli directly, I do use payment request from the invoice with --pay_req.

Thanks for the details! I'm looking into this now. I recently modified the sphinx payload generation to accommodate a recent change within the specification and fixed an existing bug with our fee calculation along the way. It's possible I introduced a regression in the process. I'll reproduce this using your posted code fragment, and will likely be able to get a fix up in short order.

@Roasbeef thanks for the fix, now I can fix my payment path constraints.


Webaccess virtual console grand master

webaccess virtual console grand master is supported.

coverage: 31.97% (-0.001%) from 31.971%
when pulling 515733475a7e8dafa764f8304bb4bb42604fa283 on Binary-Vanguard-12138:webaccess_grand_master
into 2b0e772532098f251fe2c2a9f5619155dc391116 on mcallegari:master.


Update ns-d3d12-d3d12_query_data_so_statistics.md

Changed the language of the NumPrimitivesWritten and PrimitivesStorageNeeded fields to more accurately explain the behavior if the stream output resource is smaller than the size required by the number of primitives that would be written; now more closely matches the D3D11 documentation on this type, which noted this behavior more clearly.

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


default URL route

In temp-site/stage_static_config.json there is a URL map where the final default entry is:
  {
    "site_path": "/",
    "s3_path": "/site/develop/"
  }

Web request for boost.revsys.dev/robots.txt will be converted to s3://bucketname/site/develop/robots.txt , as an example.  (That files doesn't exist).
What is in  s3://bucketname/site/develop?   Checking the AWS S3 bucket there is a copy of the boost docs and source code which Alan had generated from  https://github.com/cppalliance/boost .  It is not up-to-date.   Boost documentation will be hosted in the /archives/ folder of S3 rather than the /site/ folder, in the near term. (right?)  For discussion: the "default" URL such as "/" should be changed.  Serve files directly from temp-site itself (such as adding robots.txt) . Or return a 404 file not found error, or redirect the user to another page.
If "/site/develop/" is intended to remain there as the source of web files, determine what the contents should be.

Relocate discussion of stage_static_config.json to issue 714.


Reduce memory burden on small GPUs with "Physical/Virtual Batch Size"

Not sure if this is a great idea since I solved this problem for myself by buying a GPU with a lot of memory, but...
One of the ways that is suggested to get models running on smaller GPUs is by reducing the batch size, however given the fact that the batch size is meaningful for the optimization procedure as well as the actual execution, it may be useful to decouple the batches that gradients are computed with vs the batches that are used to do optimization steps, i.e. run several smaller physical batches where gradients are accumulated across batches before a gradient step is taken.

+1
I think this is possible and could be implemented without too much fuss (though I haven't the setup right now). I think having a virtual_batch_size parameter in the optimizers might be a good API for this idea too.

I don't think this would require any changes to optimizer APIs, this would just require gradients to be accumulated across multiple batches before passing them to the optimizer. I'm happy to do the implementation if there's some agreement that this is worthwhile.

+1 Something like this would be very useful.

@kuza55 Any pointers on how tp get started? I am currently trying to implement this..

You would want to change the fit function to:
Allocate some space for the gradients, based on the size of the model's trainable weights.
Instead of running an op that computes gradients, passes them to an optimizer that computes steps and applies those to the weights, you'll want to run an op that applies those weights to your accumulation buffer.
On the final step in each virtual batch you'll want to run the accumulated gradients through an optimizer and then apply them to the weights.
You may need to change the model building code to build this accumulation/apply op, I think these graph ops get built before the fit function.

This would be a nice feature.

Why not do as other optimizer? Like Adams optimizer out momentum? It is
like a momentum with special updates frequency. This could disrupt less
keras code base.
Le lun. 13 mars 2017 00:55, arunpatala<EMAIL_ADDRESS>a écrit :

This would be a nice feature.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fchollet/keras/issues/5244#issuecomment-286015437,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALC-9VT4Mo9YFX2slR7eo_K7RLfksghks5rlMwpgaJpZM4L0Ouy
.

I don't like the idea of a single separate optimizer, since this is totally orthogonal to which optimizer a person wants to use, and having to duplicate all the optimizers seems worse than making changes to the Keras codebase.
If it's possible to make a wrapper, or make some changes to the base class, that would be a fine solution.
It's probably possible to do most of what's desired with a wrapper by using a conditional graph op which counts how many rows it has accumulated before doing the update, though it would lose any incomplete virtual batches. Though I guess a wrapper could also have a callback function that you stick into the training callbacks that flushes the update when training is done.
That actually seems pretty reasonable.

This should be orthogonal to the optimizer so new optimizers may use this.
This is useful not only for people with 'small gpu's. Its a really useful feature because it allows you to use deeper models/larger batch.

I did this as a separate optimizer, but it would be better to have it as a feature for arbitrary optimizers.

We still need a solution for this.

Agree with that

I would definitely welcome this feature.

Was this ever implemented? I could really use this feature!

gradient_batch = []
for index in range(batch_size):
    with tf.device("/device:GPU:{}".format(index % gpu_count)):
        output = feed_forward(...)
        loss = get_loss(output)
        gradient_batch.append(tf.gradients(loss, tf.trainable_variables()))
with tf.device("/cpu:0"):
    update = tf.train.AdamOptimizer().apply_gradients(
        zip(
            [tf.reduce_mean(input_tensor=tf.stack(part_batch), axis=0) for part_batch in zip(*gradient_batch)],
            tf.trainable_variables()
        )
    )

I'm looking for this awesome feature, too. No progress?
@erikchwang where would one have to add your code snippet, when starting from a keras typical fit_generator() call?

This can be achieved easily by just wrapping any tensorflow optimizer with AccumGradOptimizer

This code runs and was supposed to do the job, but it performs totally worse compared to real mini_batches. Is there something that I need to take care of? @ppwwyyxx
`from keras.models import Sequential
from keras.layers import Activation, Flatten, Dense, BatchNormalization, Conv2D, InputLayer, MaxPooling2D
import tensorflow as tf
from keras import optimizers
from tensorpack.tfutils.optimizer import AccumGradOptimizer
test_model = Sequential([
InputLayer(input_shape=(128, 128, 3)),
Conv2D(50, (5, 5), padding='valid'),
Activation('relu'),
BatchNormalization(),
MaxPooling2D(pool_size=(2, 2)),
Conv2D(50, (5, 5), padding='valid'),
Activation('relu'),
BatchNormalization(),
MaxPooling2D(pool_size=(2, 2)),
Flatten(),
BatchNormalization(),
Dense(30, activation="relu"),
BatchNormalization(),
Dense(2, activation='softmax')
])
tfopti = tf.train.AdamOptimizer()
tfopti = AccumGradOptimizer(tfopti, niter=16)
keras_opti = optimizers.TFOptimizer(tfopti)
test_model.compile(
optimizer=keras_opti,
loss='categorical_crossentropy',
metrics=['accuracy']
)`

The code does what it says, and no one can guarantee you it will work better or worse

What is the actual batch size you are setting? The code simulates a larger
minibatch for updates, but not for batchnorm. Small batches for batchnorm
can totally ruin performance because the batchnorm statistics aren't stable
enough.
On Thu, Oct 24, 2019, 5:08 AM Yuxin Wu<EMAIL_ADDRESS>wrote:

The code does what it says, and no one can guarantee you it will work
better or worse
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/5244?email_source=notifications&email_token=AEDABXXDKFWTVADRK4SBH7DQQGF4FA5CNFSM4C6Q5OZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECEZE3Q#issuecomment-545886830,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDABXQRTJ42H6RMY4URLUDQQGF4FANCNFSM4C6Q5OZA
.

@tstandley thanks for your hint. Actual batch_size was 1. Removing the batchnorm layers did not help!
batch_size = 8 -> Optimization works, problem get solved close to perfectness.
batch_size = 1, niter=8 -> Optimization gets stuck at random guess accuracy.
Seems like, at least for this experiment, AccumGradOptimizer does not provide a virtual compensation for bigger batch size.

Yes that makes sense. Batchnorm will not work with only one channel. You
can try batch size=4 and niter=2. That should work better and save nearly
half of the memory.
On Thu, Oct 24, 2019, 3:26 PM Phyx<EMAIL_ADDRESS>wrote:

@tstandley https://github.com/tstandley thanks for your hint. Actual
batch_size was 1. Removing the batchnorm layers did not help!
batch_size = 8 -> Optimization works, problem get solved close to
perfectness.
batch_size = 1, niter=8 -> Optimization gets stuck at random guess
accuracy.
Seems like, at least for this experiment, AccumGradOptimizer does not
provide a virtual compensation for bigger batch size.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/5244?email_source=notifications&email_token=AEDABXVV5X27XHVVCG4QLS3QQIOJVA5CNFSM4C6Q5OZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECGT4DQ#issuecomment-546127374,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDABXRYGNGUGJ26ZQT2FJDQQIOJVANCNFSM4C6Q5OZA
.

The tensorpack solution does not work with tf >=2.0, unfortunately
/usr/local/lib/python3.6/dist-packages/tensorpack/tfutils/optimizer.py in apply_gradients(self, grads_and_vars, global_step, name)
    190             slots_and_vars = [(s, gv[1]) for s, gv in zip(slots, grads_and_vars)]
    191
--> 192             with tf.variable_scope(self._name), tf.device('/cpu:0'):
    193                 counter = tf.Variable(
    194                     0, name="counter", trainable=False, dtype=tf.int32)

AttributeError: module 'tensorflow' has no attribute 'variable_scope'


I made a fatal mistake: event api, license headers

Given the big oops I just did by accidentally merging #9 this PR is here again

Okay so, make an issue if you saw something wrong...


Support for Windows 11

Description of the new feature / enhancement
It would be great to add support for Windows 11, especially for the file manager add ons.
Scenario when this would be used?
Providing a Preview of Images, Markups, SVGs, etc. really helped out crunch some time in Win 10 File Explorer. It'd be fab to add the same to Win 11 as well, including the Image resizer options and all in the Windows 11 right click context menu.
Supporting information
No response

@EricBrianAnil Everything should work in Windows 11 as it did in Windows 10.  What exactly doesn't work?

You can activate the preview pane in Windows 11 like shown here:

You can activate the preview pane in Windows 11 like shown here:

Oh nevermind, I just updated to Win11 yesterday so didn't check that out yet. Sorry for raising an invalid issue and Thanks a lot :)

You can activate the preview pane in Windows 11 like shown here:

@Aaron-Junker nevermind, I just updated to Win11 yesterday so didn't check that out yet. Sorry for raising an invalid issue and Thanks a lot :)

No problem

@crutkad Why did the bot not remove the needs author feedback label?

@Aaron-Junker thanks for helping with this! The automation bot likely stopped running when you added the comment after placing the label. We can look into making it more robust.


Library Design Principles is not found

this one arose from a conversation in https://github.com/elixir-lang/elixir-lang.github.com/issues/310
https://github.com/elm-lang/elm-lang.org/blob/master/frontend/public/Learn.elm
[Library Design Guidelines](http://library.elm-lang.org/DesignGuidelines.html) — creating pleasant and consistent libraries in Elm

that link is dead.

same with http://library.elm-lang.org/Documentation.html

They have been moved to the following locations:
http://package.elm-lang.org/help/design-guidelines
http://package.elm-lang.org/help/documentation-format
I am not able to do a redirect unfortunately. Is that enough information to resolve this issue?

yes, i see they have been fixed now. thank you!


Fix info upgrade codemod failing when optional description string is not supplied

Issue:
#2132
What I did
Added a check
How to test
Is this testable with jest or storyshots?
yes, can't figure out how to run the tests though.
Does this need a new example in the kitchen sink apps?
no
Does this need an update to the documentation?
no
If your answer is yes to any of these, please make sure to include it in your PR.

Please fix the unit test


Python Consumer

Changes
sdx-collect rewritten to use python
How to test
Run tests/ check travis build
Run as part of sdx-compose
Who can test
Anyone but @elliott-jenkins

👍


[Doc Request]: export the website as a local file

Is there an existing issue about this doc request?

[X] I have checked the existing issues.

Describe the doc request.
To support commercial customer, we need to find a way to export this whole use guide as a local file: could be a pdf with indexes.

a good reference: https://help.sap.com/docs/r/product/SAP_HANA_PLATFORM


Directly use IntermediateOutputPath.

Some environments like BenchmarkDotNet set it to an absolute path. Instead of appending it to the project directory, we just use it and hope MSBuild takes care of the rest.
Likely fixes a bug reported in the Farkle Discord server.

Fix is validated. Merging…


fix: typo in Card.jsx and Detail.js

Closes issue #70
Please NOTE- I have just changed the name that won't affect the functionality, I haven't changed the variables names / file names --> that are named as contributer.
https://github.com/anushbhatia/Social-Scheduler/blob/9d347b6047d2e0c92349e57a010d473a0680ebd8/src/lib/contributers.js#L7
https://github.com/anushbhatia/Social-Scheduler/blob/cf9cfa048a3afefa96d2e453cafd8de4d437cdd9/src/components/Detail.js#L3
https://github.com/anushbhatia/Social-Scheduler/blob/9d347b6047d2e0c92349e57a010d473a0680ebd8/src/lib/contributers.js#L26

Closes issue #70
Please NOTE- I have just changed the name that won't affect the functionality, I haven't changed the variables names / file names --> that are named as contributer.
https://github.com/anushbhatia/Social-Scheduler/blob/9d347b6047d2e0c92349e57a010d473a0680ebd8/src/lib/contributers.js#L7
https://github.com/anushbhatia/Social-Scheduler/blob/cf9cfa048a3afefa96d2e453cafd8de4d437cdd9/src/components/Detail.js#L3
https://github.com/anushbhatia/Social-Scheduler/blob/9d347b6047d2e0c92349e57a010d473a0680ebd8/src/lib/contributers.js#L26

Nice fix. Even I didn't notice that


Contribution

Hey @kitten, I really loved useEditable, And I'm reading its magical source as a junior, Do you have any idea that I can add to the project or some todos.
Thanks.

Hiya 👋
Happy you're interested in helping out! That reminds me, I have to add some more standard documents to the repo;
Anyway, I currently believe the API is pretty complete for a first version, so I haven't put down any ideas for new features quite yet.
But creating new examples in CodeSandbox could help more people get started quickly with the hook! For instance you could try to create an example that adds auto-suggestions to an editable. They don't have to be complex but an example that looks at onChange, sees how the text ends, and maybe shows a Dropdown overlay, outside of the editable markup, would be an interesting demo!
What do you think? 🙌

I loved that idea. I'll work on them, And I'll share it here.

Can I create it with the example you made on codesandbox, I mean can I work with the Highlight tokens?

#2


Use the same method for cloning each repository

Some repositories that used to be private were using a different URL / method when cloning during install, this makes everywhere use the same.

I merged this into another branch and it passed all tests there.


doc: update instructions for installing from source

go get & go install behavior has changed since Go 1.17: https://go.dev/doc/go-get-install-deprecation

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Joseph Daniel seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

welp, used the wrong email to commit. will reopen with proper email.


feat(UsaFooterAddress): implement UsaFooterAddress component

ISSUES CLOSED: #32

Codecov Report

Merging #307 (ab9db2d) into develop (e99f152) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #307      +/-   ##
===========================================
+ Coverage    98.61%   98.63%   +0.01%
===========================================
  Files           97       98       +1
  Lines         1231     1247      +16
  Branches       194      198       +4
===========================================
+ Hits          1214     1230      +16
  Misses          10       10
  Partials         7        7

Impacted Files
Coverage Δ

...c/components/UsaFooterAddress/UsaFooterAddress.vue
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Stimulus Autocompleter refactor

Takes some of the DOM element building and event binding out of the Stimulus JS controller, puts it in the template markup, more in line with Stimulus conventions (less JS, indicating interactivity with data attributes in the HTML).
When the user selects a match, controller now copies the record ID, if there is one, from the data of the matched string to a hidden field — but removes it as soon as the user modifies the input further.
Does not do anything with the ID yet...

coverage: 94.393% (-0.004%) from 94.397%
when pulling 6c9ebb9666387016584902de10b786d7308e2bd5 on autocompleters-refactor-js
into 977aeb9aea51af9bc1a760fa1b5db7f42dcc6538 on main.

coverage: 94.393% (-0.004%) from 94.397%
when pulling 6c9ebb9666387016584902de10b786d7308e2bd5 on autocompleters-refactor-js
into 977aeb9aea51af9bc1a760fa1b5db7f42dcc6538 on main.


Fluid Equilibrium Issue

I'm not sure what is causing this, but the fluid is not leveling out properly. for instance, if you add a drain in the bottom of a LARGE body of water. The water will develop a funnel but when sealed the funnel will not level out with surrounding fluid. Likewise, if for instance, water flows through a cavern into a ravine, water will not level out but rather travel 8 blocks and then stop. I'm not sure if this whole issue is due to the bug mentioned in the mod description that causes water to stop flowing so yeah.

Yes this is the limitation mentioned in the readme. Because I still rely on the vanilla fluid physics for a lot of things (on purpose) there are a few edge cases where block updates are not properly propagated. This is an issue I've been scratching my head on for a few years now. Maybe I'll come up with a solution in the future.

Yeah I was talking about how they want equal out at all. If it's any help the source code for finite fluids (realistic fluid physics) for 1.7.10 has been made available by the mod author. I tried to update it to the latest version of Minecraft a few times but found that it's extremely difficult unless you know a lot about both versions of the forge api in order to properly change any references to it. So if you're trying to Make a new physics engine for water specifically that might be the best place to check.

This mod doesn't implement real water physics on purpose because it would break many established game mechanics. You might find a mod that does what you are looking for here: https://github.com/LolHens/mc-fluid-physics#similar-mods


jQuery.noConflict()  BUG

If two JS files use “$” will conflict。
Use “jQuery.noConflict() ”avoid conflict。
It work in mediaelementjs 2.x

link：http://www.hitow.net/7huo/mediaelement-7huo/demo/noConflict.html

this issue was reported before and got fixed in 3.x version

Mediaelement can play ，But after using jQuery.noConflict (), $ is still equal to jQuery, no release.

row 4284-5309 use (function ($)){  ……   }(_mejs2.default.$);
but row 3843 unused (function ($)){  ……   }(_mejs2.default.$);
row 3850-3852 is error code, will cause a “$” conflict.

So you are saying that piece doesn't work?

if I use jQuery.noConflict(); ，then relinquish jQuery's control of the $ variable.
mediaelement outside code "$" should be “undefined” .

I guess what I'm failing to see it's why this is affecting you. Given the way the plugin is bundled you don't have that scope to rely on undefined variables unless they truly are. If the plugin detects jQuery it will use it for other dependencies or plugins that the player may need

And this is a crucial piece that was introduced to support all were press themes that are already there so it will be difficult to remove this

Sorry I meant Wordpress

So I can only replace $( to jQuery( ,avoid this problem
mediaelement-and-player.zip

Ok let me check this with more detail and come up with the solution that satisfies everybody. The problem is that some are using Zepto as well it's not just jQuery

Maybe you should consider abandoning these JS libraries #2116

I'm glad you brought that up because that's my focus currently. I finished phase 1 so next week I'll start with phase 2 and it won't be more issues with this ;)

I also encountered this issue, in the following circumstances :
I have an old project were JS libraries are loaded / initialized in the following order

legacy library prototypejs is first, and defines window.$
jQuery is second, and is with the noConflict() option to keep window.$ under prototypejs control
mejs is loaded/initialized, which detects jQuery, and it overrwrite window.$ with jQuery in of the following line :
https://github.com/mediaelement/mediaelement/blob/4.2.9/src/js/player/library.js#L8

@rafa8626 why does mejs redefines window.$ (and window.jQuery, window.Zepto or window.ender for that matter) ?
As far as I could see in the whole mejs source code, $ is always contextualized and window.* is not needed for mejs as it always uses mejs.$.
I don't think mejs should touch anything which is usually under control of other libraries, this would prevent any unwanted side effect.
I just submitted the following PR for this problem : https://github.com/mediaelement/mediaelement/pull/2598
What do you think ?


[release/1.5] update Go to 1.16.10

[release/1.5] update Go to 1.16.10
go1.16.10 (released 2021-11-04) includes security fixes to the archive/zip and
debug/macho packages, as well as bug fixes to the compiler, linker, runtime, the
misc/wasm directory, and to the net/http package. See the Go 1.16.10 milestone
for details: https://github.com/golang/go/issues?q=milestone%3AGo1.16.10+label%3ACherryPickApproved
From the announcement e-mail:
[security] Go 1.17.3 and Go 1.16.10 are released
We have just released Go versions 1.17.3 and 1.16.10, minor point releases.
These minor releases include two security fixes following the security policy:

archive/zip: don't panic on (*Reader).Open
Reader.Open (the API implementing io/fs.FS introduced in Go 1.16) can be made
to panic by an attacker providing either a crafted ZIP archive containing
completely invalid names or an empty filename argument.
Thank you to Colin Arnott, SiteHost and Noah Santschi-Cooney, Sourcegraph Code
Intelligence Team for reporting this issue. This is CVE-2021-41772 and Go issue
golang.org/issue/48085.
debug/macho: invalid dynamic symbol table command can cause panic
Malformed binaries parsed using Open or OpenFat can cause a panic when calling
ImportedSymbols, due to an out-of-bounds slice operation.
Thanks to Burak Çarıkçı - Yunus Yıldırım (CT-Zer0 Crypttech) for reporting this
issue. This is CVE-2021-41771 and Go issue golang.org/issue/48990.

[release/1.5] update Go to 1.16.9
go1.16.9 (released 2021-10-07) includes a security fix to the linker and misc/wasm
directory, as well as bug fixes to the runtime and to the text/template package.
See the Go 1.16.9 milestone on our issue tracker for details:

/retest-required

/test pull-containerd-node-e2e


Adding Add Input Manager Axes menu option

This allows a dev to add our defined axes to their InputManager.asset without completely replacing their existing axes.
The edits to the repo's InputManager.asset are a reordering of the axes to match this tool's ordering.
Fixes #1127

@keveleigh let's change the this PR to be the master branch.

@StephenHodgson Will do! I'll also have to rebase the branch to remove all the non-master commits, otherwise I see this:

😄

Oh, well! If only it was that easy!

Rebased to master

Do we want to change the Project Settings options for the Xbox controller to just Enable Controller Support?
Do we want to give people to option to completely overwrite their InputManager.asset? ( I know I would want to for simplicity)

First time I opened the window it didn't show the full list.

If you expanded the window down, did it fix it? Is that a bug in AutoConfigureWindow, or is there a setting I'm not setting?

Pretty sure you can set the minimum window size.
Here's a snippet from ProjectSettingsWindow.cs
        protected override void OnEnable()
        {
            base.OnEnable();

#if UNITY_2017_1_OR_NEWER
            AutoConfigureMenu.ActiveBuildTargetChanged += UpdateSettings;
#endif

            minSize = new Vector2(350, 350);
            maxSize = minSize;
        }

Should I change this menu to exist under Apply Mixed Reality Project Settings, like your current implementation? I'm not sure how important it is for users to select each individual axis vs adding them all at once.

I even encourage you to replace what's there instead of downloading it.  Although, I would like to see a version that adds an optional clean up the input system's extra unused axis ( like Fire1, Submit, etc.)

@keveleigh should we remove the controller option from the Project Settings window?
If we do, I'd like to see the option to download the input settings and replace them all moved to be part of this window instead.
If we don't, Should we make this a secondary window that pops up after we enable the controller support?

I#'d agree, with this alternate way it improves the ability to import the controller axis we need for MRTK.  If so, we should remove the old "Enable Xbox" option, or possibly change it so that it bulk forces this new method instead.

Anything holding this up being merged @StephenHodgson @keveleigh ?
Although it would be good to sort out the point on the "Enable Xbox" option first.

Unsure, just waiting on Kev to update some things. We've also been talking about what we're going to do with the Xbox Controller and Motion Controller unification.

Yep, I've been held up working on other things. I'll try to take a look at this today.

No rush here.  Still need to work on the controller unification as well.  I'm still wondering if we should just remove the Motion Controller from the axis mappings anyway and just get all our data from the InteractionManager.

@StephenHodgson  do you think we can take this in for the upcoming release?


Testing Showcase

There are currently no tests for showcase.
The only job we currently have is https://github.com/janus-idp/backstage-showcase/blob/main/.github/workflows/ci.yaml and it is not even working.
Phase 1: Verify that the Showcase can start and respond correctly (for each PR)

https://github.com/janus-idp/backstage-showcase/issues/554

Phase 2: Create framework/tooling/scripts for easy adding more checks.
Developers should be able to simply define test scenarios where the HTTP check is performed based on the provided app-config.yaml and URL endpoint(s) with the return codes. The check should verify that the provided list of URLs returns the expected results when Showcase starts with the given config.
As a User Story, it would be something like this: As a developer working on Showcase, I want to easily verify that the plugin I've just added to Showcase was enabled correctly.
We don't want to test the plugin functionality, as this is the responsibility of the plugin tests, usually in the plugin repo. But we need to verify that the plugin gets enabled and starts correctly.

this is being work on in https://github.com/janus-idp/showcase-e2e


UMD

In Order to use you library from upkg.com in script tag you need to include
<script>
  exports = Dry = {};
</script>

it would be nice if you'll included UMD module for browser usage as well for node.

I've tried to use your library in codepen and I was need to use code like this:
exports = Dry = {};
var script = document.createElement('script');
script.src = 'https://rawgit.com/skerit/json-dry/master/lib/json-dry.js';
document.head.appendChild(script);
script.onload =function() {
  Dry.registerClass(Pair);
  Dry.registerClass(Nil);
};

UMD would help, you can take look at my fork, I can create PR if you want.


Ripper specs

There are several good Ripper unit tests in test/ but no ripper specs at all.

Is Ripper a thing outside of MRI?
Is it worth porting the tests to specs?

I've quite taken to Ripper since I've been helping test the Rufo project and appreciate the fact that it has zero dependencies and is fast. Rufo formats the entirety of Ruby Specs quite happily by the way! Possibly add to CI eventually?

It is supported on JRuby at least, so it's not MRI-specific.
I am not sure. If it is the exact same tests, it has little value if other implementations can run these Ripper tests (it's not always easy or practical but it's possible). JRuby seems to run a few of them. In some cases it's interesting to port the tests because they are not fine-grained, or it is more complicated to tag failures with MRI tests. But Ripper tests seem fine-grained and duplicating the maintenance effort also has to be considered.

That said, new Ripper specs are welcome, especially if they extend the coverage of what is being tested in Ripper.
From a quick look, Rufo seems nice indeed.
We would have to configure it to be rather flexible, in the same spirit as #444.
While we could add it in this CI, we cannot easily do that for other repos where ruby/spec is synchronized (MRI, JRuby, TruffleRuby). So it has to be very easy to run it when bringing specs from these repos.
If it modifies too much then we increase the chance of conflicts and makes it harder to go through git history.

I ran it on the whole suite and it tooks 7s, that's nice.
After running it once, it seems to show it still formats files even though nothing is changed:
Error: ./command_line/fixtures/bad_syntax.rb has syntax errors
Error: ./library/bigdecimal/exponent_spec.rb has syntax errors
Format: ./core/array/pack/b_spec.rb
Format: ./core/regexp/shared/quote.rb
Format: ./core/string/fixtures/iso-8859-9-encoding.rb
Format: ./core/io/readpartial_spec.rb
zsh: exit 1     rufo .

Would that be a Rufo bug?
It also happens with just rufo ./core/array/pack/b_spec.rb.

Actually I know about these and are due to investigate. Rufo does report syntax errors where it finds them (presumably bad_syntax.rb is bad syntax). exponent_spec.rb suggests a Ripper bug (Rufo has already found two) - but I need to check.
The reformats are almost certainly whitespace-related (Rufo uses Rippers Lexer and Parser in combination to determine comment alignment for instance - if enabled). I'm guessing there are a few more tweaks to be made or an disabled by default option is still causing the Format: report.
The specs have been a very good source of gnarly edge-cases for testing the formatter 😉.
Yes re. CI I agree with your comments - perhaps ultimately a friendly warning here or a manual check process. Its main purpose is for editor integration - although there is a CI option as well.
I'll take a better look at the Ripper tests and assess the usefulness of specs.
Thanks and closing this issue for now.


Crash caused by ssh (1.3.5)

Describe the bug
Adapter crash after updating. Seems that ssh lib update caused this:
https://github.com/misanorot/ioBroker.viessmann/commit/12d6ac711031451dba4b6c0b2589860b3c8f4448
Screenshots & Logfiles
2022-04-04 15:10:42.644  - info: viessmann.0 (12226) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.viessmann, node: v14.19.0, js-controller: 4.0.21
2022-04-04 15:10:42.655  - error: viessmann.0 (12226) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2022-04-04 15:10:42.655  - error: viessmann.0 (12226) unhandled promise rejection: ssh is not a constructor
2022-04-04 15:10:42.656  - error: viessmann.0 (12226) TypeError: ssh is not a constructor
    at readxml (/opt/iobroker/node_modules/iobroker.viessmann/main.js:151:24)
    at Object.start [as ready] (/opt/iobroker/node_modules/iobroker.viessmann/main.js:121:40)
2022-04-04 15:10:42.656  - error: viessmann.0 (12226) ssh is not a constructor
2022-04-04 15:10:43.160  - info: viessmann.0 (12226) terminating
2022-04-04 15:10:43.161  - warn: viessmann.0 (12226) Terminated (UNCAUGHT_EXCEPTION): Without reason
2022-04-04 15:10:43.694  - error: host.ioBroker instance system.adapter.viessmann.0 terminated with code 6 (UNCAUGHT_EXCEPTION)

Versions:

Adapter version: 1.3.5
JS-Controller version:  4.0.21
Operating system: ubuntu

please try 1.3.6

works now, great thank you.


When load an OSM file, is tag: one_way work?

In GenericTrafficRules.cpp, I find a function isOneWay that checks if lanelet is bidirectional, and this function finally check variable  ConstLanelet.inverted_ .
But when load an OSM file map which has tag one_way: no, I find the Lanelet in map still in one direction and lanelet.inerted() function return false. Then, I read OsmHandlerLoad.cpp and notice in function loadLanelets create lanelets without adding inverted parameter.

Oh, I misunderstanding the usage of inverted_ param. I found we can override the canPass function in GenericTrafficRules.h to custom the bidirectional lanelet.
But I wonder why there is no implement in GenericTrafficRules.cpp or GermanTrafficRules,cpp ? The meaning of one_way has already explained in LaneletAndAreaTagging.md  .


Still character encoding issues on the IDK swagger

On my machine I am still having character encoding issues on the IDK swagger ui.
See if this setting fixes the issue

Thx @daffyDukk I´ll take a look on it


Prevents psycopg2 from appending ::bytea to stringy named params in python 3

Fixes #112 by checking the python version before invoking psycopg2's adapt function; if it's python 2 it first encodes the value to bytes, and if python 3, it doesn't encode to bytes.
cc @merritts @nchammas

seems like this partially fixes #112.
simple string value cases work, but unicode still doesnt.
will land and update the tests/docs for this.


Adding claw shape calculator

I would like to add a calculator for claw shape under 2d shape section.
Please assign this issue to me.

#1988
I have already created earlier.

@mehabhalodiya Thanks for telling. I didn't noticed


Merged quartz-beta into quartz-beta-dev

Update Branch for next release

Closing PR, merge to master when released


Add matching delimiter for sed for LDAP auth

Using the fusiondirectory image with NGINX_AUTHENTICATION_TYPE=LDAP, nginx will not start and the docker-compose logs show:
fusiondirectory-app  | sed: unmatched '|'
Line 36 in the functions/10-nginx uses two different delimiters, so this commit just unifies them into a pipe.
https://github.com/tiredofit/docker-nginx/blob/349172d19564cd57d97b272c31d9597b963781ec/install/assets/functions/10-nginx#L36

Tagged as 6.2.8


Experiments with uncoupling Container and Loader (FHL)

Description
FHL experiments around uncoupling the Container from the Loader. First objective is to make Container instantiatable without a Loader, and as a realistic test, have AzureClient do it that way.
Reviewer Guidance
Does this introduce a breaking change?
Any relevant logs or outputs
Other information or known dependencies

I'm not a fan of the approach on this commit, with a static Container.loader, just putting it out there as a possible approach as part of the experiments. Want to see if something breaks in the tests.


195 replace infinity in enrichr response when not using background

Codecov Report

Merging #196 (72f54e2) into main (2528bf0) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #196      +/-   ##
==========================================
- Coverage   70.47%   70.44%   -0.04%
==========================================
  Files          63       63
  Lines        2771     2778       +7
==========================================
+ Hits         1953     1957       +4
- Misses        818      821       +3

Files
Coverage Δ

src/enrichr/functions/enrich.rs
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


i have several question abount comment in instagram

General Question
i have several question abount comment in instagram
Form
Put an [x] if you meet the condition, else leave [ ].

[x] I've searched the Issues
[x] I've read the basic concepts
[x] I'm using the latest version

Question

i want to get all comment without define mediaid (show all comment within user account), any sample?
get comment with filter created date to prevent calling the same data several times

did app has that feature?

@kingbotss if this intragram-private-api does not have above feature,
how can you prepare a lot of media and comment without filtering them by date ?
i'm building an api that retrieve periodically instagram feeds & comments

I think, you can't get user comments.
You have to store in DB, then filter as per your needs.

@kingbotss  thank u for your suggestion, finnaly i keep media id & comment count in database to track updated comment in a media


getting socket timeout error

when i try using client.py for get and put i am getting socket error. Could you please explain how to fix that? please elaborate step 1 of the readme.

did you edit dfs.conf with correct IP address of minion? @leenabhandari


Support for Noteblocks++

I recently made a mod for 1.18 forge/fabric
That extends the vanilla noteblock range from 2 octaves to 6. Instead of just adding sound files and playing them like you do in your datapack, noteblocks++ modifies the noteblock code to support the same range.
all you would need to do to set a noteblock to use the vanilla, upper, or lower octave sets is to set a blockstate property called “octave” to “mid”, “high”, or “low” respectively.
Additional context
https://www.curseforge.com/minecraft/mc-mods/noteblocks

Hello, and thanks for opening the issue!
Unfortunately, support for modded versions of Minecraft isn't planned at the moment, at least for the official program. That's mainly because of the difficulty in maintaining all the different export options (for different mods/versions/MC versions) alongside supporting vanilla Minecraft.
Third-party tools may be developed to expand those possibilities, and we do plan to allow OpenNBS to be extended with plugins in the future. For now, your best option would be to code something based on pigstep, an NBS data pack generator based on pynbs.

It uses architectury so I can backport it all the way to 1.16 but not lower


Change "right sidebar" and add graphic to ease understanding

Methinks there is not a sidebar anymore for this exercise...
Github needs to update the wording in their help guides as well, I'd say.
What do you think?

Ohhh yeah! Thanks for catching this! :sparkles:


WebSocket exception leading to program being stuck

Describe the bug
If an exception occurs while receiving messages from the e2b servers, the following code fails to place anything in the queue, causing the entire flow to get stuck. There is currently no way for us to detect if a WebSocket error has occurred, as the client code abstracts this part away, only adding a log line. It would be beneficial if the client provided a mechanism, such as a timeout feature, that allows us as users of the client library to be aware of errors, enabling us to handle them ourselves.
The issue is happening in the following function of file eb2/sandbox/webscoket_client.py:
  async def _receive_message(self):
      try:
          if not self._ws:
              logger.error("No WebSocket connection")
              return
          async for message in self._ws:
              logger.debug(f"WebSocket received message: {message}".strip())
              self._queue_out.put(message)
      except Exception as e:
          logger.error(f"WebSocket received error while receiving messages: {e}")

To Reproduce
Happens at random, Use the CodeInterpreter class and start a websocket.

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

Expected behavior
Should be a way for the end user to know that there was an error.
Browser console output
Terminal commands & output
WebSocket received error while receiving messages sent 1011 (internal error) keepalive ping timeout; no close frame received
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Linux
Browser [e.g. chrome, safari]
Version : e2b=0.17.1, e2b-code-interpreter=0.0.3

Smartphone (please complete the following information):

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

Additional context
Add any other context about the problem here.

Hey @Neeraj319, can you try switching to the new Beta SDK (https://e2b.dev/docs/guide/beta-migration)? It gets rid of websockets and we are raising more granular exceptions.

Hey @Neeraj319 was this solved in the end?

No, thanks for suggestion though. We can close this.


cancel request context when signal is received

Cancels request context if signal is received. If the request take a while for whatever reason, this will allow a clean shutdown while that request is in progress.

ci is failng w something dumb... merging thanks!!!

Oops, sorry, left the ticker in there. CI would have caught it if it wasn't failing with something dumb :)

no worries :)
On Wed, Jun 13, 2018 at 12:54 PM Dustin Decker<EMAIL_ADDRESS>wrote:

Oops, sorry, left the ticker in there.
Reply to this email directly, view it on GitHub, or mute the thread.

--
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC  511E 18F3 685C 0022 BFF3
pgp.mit.edu


ci: use latest go release

Pull Request Test Coverage Report for Build 280

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

Totals

Change from base Build 119:
0.0%

Covered Lines:
100

Relevant Lines:
127

💛  - Coveralls


Compute "image efficiency" and display in a stats window.

"Efficiency" is basically the property of not having the same information in several different layers.
This metric should indicate what amount of layer overlap there is (in terms of # or files and in total inflated image size). This would give the user an indication that there is room for Dockerfile improvements.

A portion of this was merged into master, specifically showing the layer efficiency in the layerview. Still need to figure out the best way to show overall stats

Completed


Installation troubles

I'm interested in running the code and play around a bit, but I can't get things to work when following this procedure of bash commands

(Creating an anaconda env with python 3.6 Ubuntu 18: mkdir testdir, conda create -n testenv, source activate testenv, cd testdir)
pip install -e "git+https://github.com/dustinvtran/bayesrl.git#egg=bayesrl"
This will actually crash in a first run:

FileNotFoundError: [Errno 2] No such file or directory: '/home/jan/anaconda3/lib/python3.6/site-packages/bayesrl-0.1-py3.6.egg'
But a second time it installs:
pip install -e "git+https://github.com/dustinvtran/bayesrl.git#egg=bayesrl"
Obtaining bayesrl from git+https://github.com/dustinvtran/bayesrl.git#egg=bayesrl
Updating ./src/bayesrl clone
Installing collected packages: bayesrl
Found existing installation: bayesrl 0.1
Uninstalling bayesrl-0.1:
Successfully uninstalled bayesrl-0.1
Running setup.py develop for bayesrl
Successfully installed bayesrl

Then, I can succesfully output a gridworld by running python src/bayesrl/tests/gridworld.py
Unfortunately, other programs such as tests/thompsongridworld.py fail:

python src/bayesrl/tests/thompsongridworld.py
Traceback (most recent call last):
File "src/bayesrl/tests/thompsongridworld.py", line 6, in
from bayesrl.agents.thompsonsampagent import ThompsonSampAgent
File "/home/jan/thesis/bayesian/testdir/src/bayesrl/bayesrl/agents/thompsonsampagent.py", line 1, in
from modelbasedagent import ModelBasedAgent
ModuleNotFoundError: No module named 'modelbasedagent'

And the same error is given for e.g. benchmarks/thompson_gridworld.
Encouraged by its name, I then try
3. cd src/bayesrl/
python setup.py build
python setup.py install
Unfortunately, this does not resolve the import issues:
python tests/thompsongridworld.py:

File "tests/thompsongridworld.py", line 6, in
from bayesrl.agents.thompsonsampagent import ThompsonSampAgent
File "/home/jan/thesis/bayesian/testdir/src/bayesrl/bayesrl/agents/thompsonsampagent.py", line 1, in
from modelbasedagent import ModelBasedAgent
ModuleNotFoundError: No module named 'modelbasedagent'

Worse, also gridworld is down now:

10:41 $ python tests/gridworld.py
Traceback (most recent call last):
File "tests/gridworld.py", line 4, in
from bayesrl.environments import GridWorld
ModuleNotFoundError: No module named 'bayesrl.environments'

I tried many installs/reinstalls and calls from different paths but I cannot resolve these issues. I wonder if these problems are known/recognised/reproducable, and what installation procedure to follow.
A pastebin of the above is found at https://pastebin.com/7CkAEymi
Best regards, Jan

I'm interested in running the code and play around a bit, but I can't get things to work when following this procedure of bash commands

(Creating an anaconda env with python 3.6 Ubuntu 18: mkdir testdir, conda create -n testenv, source activate testenv, cd testdir)
pip install -e "git+https://github.com/dustinvtran/bayesrl.git#egg=bayesrl"
This will actually crash in a first run:

FileNotFoundError: [Errno 2] No such file or directory: '/home/jan/anaconda3/lib/python3.6/site-packages/bayesrl-0.1-py3.6.egg'
But a second time it installs:
pip install -e "git+https://github.com/dustinvtran/bayesrl.git#egg=bayesrl"
Obtaining bayesrl from git+https://github.com/dustinvtran/bayesrl.git#egg=bayesrl
Updating ./src/bayesrl clone
Installing collected packages: bayesrl
Found existing installation: bayesrl 0.1
Uninstalling bayesrl-0.1:
Successfully uninstalled bayesrl-0.1
Running setup.py develop for bayesrl
Successfully installed bayesrl

Then, I can succesfully output a gridworld by running python src/bayesrl/tests/gridworld.py
Unfortunately, other programs such as tests/thompsongridworld.py fail:

python src/bayesrl/tests/thompsongridworld.py
Traceback (most recent call last):
File "src/bayesrl/tests/thompsongridworld.py", line 6, in
from bayesrl.agents.thompsonsampagent import ThompsonSampAgent
File "/home/jan/thesis/bayesian/testdir/src/bayesrl/bayesrl/agents/thompsonsampagent.py", line 1, in
from modelbasedagent import ModelBasedAgent
ModuleNotFoundError: No module named 'modelbasedagent'

And the same error is given for e.g. benchmarks/thompson_gridworld.
Encouraged by its name, I then try
3. cd src/bayesrl/
python setup.py build
python setup.py install
Unfortunately, this does not resolve the import issues:
python tests/thompsongridworld.py:

File "tests/thompsongridworld.py", line 6, in
from bayesrl.agents.thompsonsampagent import ThompsonSampAgent
File "/home/jan/thesis/bayesian/testdir/src/bayesrl/bayesrl/agents/thompsonsampagent.py", line 1, in
from modelbasedagent import ModelBasedAgent
ModuleNotFoundError: No module named 'modelbasedagent'

Worse, also gridworld is down now:

10:41 $ python tests/gridworld.py
Traceback (most recent call last):
File "tests/gridworld.py", line 4, in
from bayesrl.environments import GridWorld
ModuleNotFoundError: No module named 'bayesrl.environments'

I tried many installs/reinstalls and calls from different paths but I cannot resolve these issues. I wonder if these problems are known/recognised/reproducable, and what installation procedure to follow.
A pastebin of the above is found at https://pastebin.com/7CkAEymi
Best regards, Jan

Hi Jan!
I am experiencing the same problem. Did you find the solution?
Shuva


better_sqlite3.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 93. This version of Node.js requires NODE_MODULE_VERSION 108.

I got this error while importing data:
yarn strapi import -f ../seed-data.tar.gz
yarn run v1.22.19
warning ../../../../../package.json: No license field
$ strapi import -f ../seed-data.tar.gz
? The import will delete all assets and data in your database. Are you sure you want to proceed? Yes
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: The module '/home/thanhson/Downloads/tmp/strapi/nextjs-corporate-starter/backend/node_modules/better-sqlite3/build/Release/better_sqlite3.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 93. This version of Node.js requires
NODE_MODULE_VERSION 108. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at Module._extensions..node (node:internal/modules/cjs/loader:1189:18)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Module._load (node:internal/modules/cjs/loader:827:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at bindings (/home/thanhson/Downloads/tmp/strapi/nextjs-corporate-starter/backend/node_modules/bindings/bindings.js:112:48)
at new Database (/home/thanhson/Downloads/tmp/strapi/nextjs-corporate-starter/backend/node_modules/better-sqlite3/lib/database.js:48:64)
at Client_BetterSQLite3.acquireRawConnection (/home/thanhson/Downloads/tmp/strapi/nextjs-corporate-starter/backend/node_modules/knex/lib/dialects/better-sqlite3/index.js:12:12)
at create (/home/thanhson/Downloads/tmp/strapi/nextjs-corporate-starter/backend/node_modules/knex/lib/client.js:254:39)
Error: The module '/home/thanhson/Downloads/tmp/strapi/nextjs-corporate-starter/backend/node_modules/better-sqlite3/build/Release/better_sqlite3.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 93. This version of Node.js requires
NODE_MODULE_VERSION 108. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at Module._extensions..node (node:internal/modules/cjs/loader:1189:18)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Module._load (node:internal/modules/cjs/loader:827:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at bindings (/home/thanhson/Downloads/tmp/strapi/nextjs-corporate-starter/backend/node_modules/bindings/bindings.js:112:48)
at new Database (/home/thanhson/Downloads/tmp/strapi/nextjs-corporate-starter/backend/node_modules/better-sqlite3/lib/database.js:48:64)
at Client_BetterSQLite3.acquireRawConnection (/home/thanhson/Downloads/tmp/strapi/nextjs-corporate-starter/backend/node_modules/knex/lib/dialects/better-sqlite3/index.js:12:12)
at create (/home/thanhson/Downloads/tmp/strapi/nextjs-corporate-starter/backend/node_modules/knex/lib/client.js:254:39) {
code: 'ERR_DLOPEN_FAILED'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

And if I continue to the frontend part, setting the .env and run yarn dev, I get the following error:
event compiled client and server successfully in 4.1s (649 modules) (node:1528142) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time (Usenode --trace-warnings ...` to show where the warning was created)
TypeError: fetch failed
at Object.processResponse (node:internal/deps/undici/undici:5575:34)
at node:internal/deps/undici/undici:5901:42
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:202:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: Error: connect ECONNREFUSED ::1:1337
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1195:16)
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 1337
}
}
TypeError: fetch failed
at Object.processResponse (node:internal/deps/undici/undici:5575:34)
at node:internal/deps/undici/undici:5901:42
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:202:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: Error: connect ECONNREFUSED ::1:1337
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1195:16)
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 1337
}
}
TypeError: fetch failed
at Object.processResponse (node:internal/deps/undici/undici:5575:34)
at node:internal/deps/undici/undici:5901:42
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:202:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: Error: connect ECONNREFUSED ::1:1337
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1195:16)
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 1337
}
}

error src/app/[lang]/utils/fetch-api.tsx (32:10) @ fetchAPI
error Error: Please check if your server is running and you set all the required tokens.
at fetchAPI (./src/app/[lang]/utils/fetch-api.tsx:31:15)
at async getGlobal (./src/app/[lang]/layout.tsx:49:12)
at async RootLayout (./src/app/[lang]/layout.tsx:67:20)
30 |   } catch (error) {
31 |     console.error(error);

32 |     throw new Error(Please check if your server is running and you set all the required tokens.);
|          ^
33 |   }
34 | }
35 |

error src/app/[lang]/utils/fetch-api.tsx (32:10) @ fetchAPI
error Error: Please check if your server is running and you set all the required tokens.
at fetchAPI (./src/app/[lang]/utils/fetch-api.tsx:31:15)
at async getGlobal (./src/app/[lang]/layout.tsx:49:12)
at async Module.generateMetadata (./src/app/[lang]/layout.tsx:52:18)
30 |   } catch (error) {
31 |     console.error(error);

32 |     throw new Error(Please check if your server is running and you set all the required tokens.);
|          ^
33 |   }
34 | }
35 |

error src/app/[lang]/utils/fetch-api.tsx (32:10) @ fetchAPI
error Error: Please check if your server is running and you set all the required tokens.
at fetchAPI (./src/app/[lang]/utils/fetch-api.tsx:31:15)
at async getGlobal (./src/app/[lang]/layout.tsx:49:12)
at async RootLayout (./src/app/[lang]/layout.tsx:67:20)
digest: "781504476"
30 |   } catch (error) {
31 |     console.error(error);

32 |     throw new Error(Please check if your server is running and you set all the required tokens.);
|          ^
33 |   }
34 | }
35 |

error src/app/[lang]/utils/fetch-api.tsx (32:10) @ fetchAPI
error Error: Please check if your server is running and you set all the required tokens.
at fetchAPI (./src/app/[lang]/utils/fetch-api.tsx:31:15)
at async getGlobal (./src/app/[lang]/layout.tsx:49:12)
at async Module.generateMetadata (./src/app/[lang]/layout.tsx:52:18)
digest: "4226281183"
30 |   } catch (error) {
31 |     console.error(error);

32 |     throw new Error(Please check if your server is running and you set all the required tokens.);
|          ^
33 |   }
34 | }
`

You might have to switch to node version 14.* in other to run the seed command.

@stevennt yes and thank you @austin047 make sure you are using at least node 14.19.1 but I would recommend switching to 16.
Let me know if you still have issues.


[request] Save Backtests

Hi,
Another useful feature from my point of view would be saving the Backtests to a local backtest journal.
This would enable one to enhance either the strategy itself or the parameters passed to the strategy.
Things i would save:

Input Parameters
Backtest Results
Trade Journal (which enables to regenerate the chart)
maybe the Strategy File itself in a Blob-Storage (then you don't have to check your VCS for a first quick-comparison)

br.
Johannes

Backtests are cheap and easy to run, what would the end goal be of storing the results on disk?

I store all backtests to csvs using the code you can find in the readme here:
https://github.com/thegamecat/gekko-trading-stuff

Hi @askmike , @thegamecat,
The reason why i would like to persist the results and parameters of backtests is
1 - you can more easily compare the results of different input parameters on the same strategy.
2 - normally a dev will adapt its strategy rapidly in the process of development. If you have several backtests according the version of the strategy it's easier to measure the performance of the backtest KPIs and rate the several stages of strategy. Maybe you are familiar with the quantconnect (https://www.quantconnect.com/) project in order to experience the value of this feature.
@thegamecat thanks for the snippet, I'll look into it.

@JohannesFerner another problem I see is that if you only store the hash of the strat file we cannot show the full strat (if you iterated 10 times and your 5th was the best), so that would leave questionmarks about which version was ran.
Also how would you visualize any of this? The backtest page is very simple at the moment, at the top you configure one and at the bottom you see the results. How would your proposal work?

I don't see why we would need to store/save results, can't we just cache them in memory (vuex)?

This is a great topic for me.
What version was run ?
I solved this by adding variables to the file name which means I can identify it. Equally you could put these in a meta file alongside an output csv.
How would you visualise it ?
Another great question - I just open the files in Excel and manipulate accordingly. Could use any of a myriad of tools, I have been wondering how to output the whole thing to a webapp / trading view viewer, not sure how that would work though. One to consider later.
The backtest page is very simple at the moment, at the top you configure one and at the bottom you see the results. How would your proposal work?
I suspect he would like a trading view output with the points at which a strat bought and sold so you can see at a glance what worked within the context of the indicators used. And be able to flip between different "backtests" to see the variances alongside the pnl of each.
At least that's what I do, just in a clunky way using excel.

Any plans on implementing this or the like? Else old issues should be closed...


Result is not UTC

When providing a date time that is UTC you get back a date time that is UTC false.
Can you make the DateTimePicker UTC aware?
Here is my workaround:
onConfirm: (date) {
DateTime.utc(
  date.year, date.month, date.day,
  date.hour, date.minute,
 );
}

your workaround is perfect 😄, I know where the problem is, you can input a UTC time, and then choose a desired date, then it will return correct year/month/day/hour/sec, but UTC offset is wrong. because picker model create a new DateTime instance when change some time with current time zone. I will fix it in 1.2.0 version

I've fix this issue in 1.2.0, please have a try, if there is any bug, please feel free to contact with me, Thanks for your suggestion


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.3 to before v5.10.46",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=01402cf81051f796dac7c60ca11d6147153ca46a",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=018685461a5b9a9a70e664ac77aef0d7415a3fd5"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "01402cf81051f796dac7c60ca11d6147153ca46a",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "018685461a5b9a9a70e664ac77aef0d7415a3fd5",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "kvm: LAPIC: Restore guard to prevent illegal APIC register access\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.46 by commit 018685461a5b9a9a70e664ac77aef0d7415a3fd5, it was introduced in version v5.3 by commit 01402cf81051f796dac7c60ca11d6147153ca46a. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1000973


Support env from secret

Description
Support for env vars provided from secrets or config maps using envFrom. Based #176
This also solves the problem of external admin credentials overridden by the operator. The new flag spec.deployment.skipCreateAdminAccount disables the operator from creating an admin account.
ping @kfyharukz
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] This change requires a documentation update
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added a test case that will be used to verify my changes
[ ] Verified independently on a cluster by reviewer

Verification steps

Deploy Grafana and provide env vars including GF_SECURITY_ADMIN_USER and GF_SECURITY_ADMIN_PASSWORD from a secret.
Make sure that spec.deployment.skipCreateAdminAccount is set to true.
Make sure the provided login credentials work.
Open a terminal inside the Grafana container and make sure the login credentials work.

@HubertStefanski ah yes, that is expected. Not sure why I wrote this, probably copy pasta.


Please mention in docs that Zuul doesn't support long-lived connections

Our team has been having a very stressful time resolving a bug where a few long-lived connections would cause our application to stop responding to requests.
Finally, after many many hours of our whole team working to resolve it, we came across this comment on a Spring proxy GitHub issue:

Zuul is not built for any sory of long-lived connections, so this does not surprise me.

Long lived connections in zuul are generally a problem.

If Zuul really does not support long-lived connections, please mention this somewhere obvious in your documentation. It's frustrating to learn this only after setting everything up and stress-testing the application.

Can you give more details? Steps to reproduce? Is this about Zuul 1 (what Spring uses) or Zuul 2?

We have fixed our issue by switching from Spring to Nginx. We had some POST requests that (by design) do not receive responses for minutes at a time. That's what I meant by 'long lived'.
@spencergibb in the linked thread seemed to mention that "Long lived connections in zuul are generally a problem." as if it is common knowledge.
Is he wrong?
If it is common knowledge that Zuul 1 does not support long-lived connections, then it should be documented, right?


Shaded jar should include THIRD-PARTY-LICENSES.txt?

Looking at the latest released shaded jar, it strikes me that it should have the dependency licenses more explicitly called out than just the pom.xml files (and random NOTICE files that get included by Maven shading).
Is including THIRD-PARTY-LICENSES.txt the way to go?

@hyandell , The pull request has been created to address the reported issue. The fix will be delivered with the next version of our product. Thank you for your patience and valuable feedback.


Remove multi-statement queries

This commit removes the possibility to have multi-statement queries
which had no full support anyway. This makes the caller responsible
for multi-statement semantics.
Multiple tests are no longer timing-dependent.
Should we need some convenience later on I have some ideas. This
however allows for a clearer separation and simplifies the core semantics.
This is a prerequisite to allow sane query engine instrumentation.
@juliusv

:+1:


Retry operations when nodes are not available

This treats "Unavailable" exceptions the same as read and write timeouts. As a side note, we should switch to an exponential backoff as soon as the async branch is merged.

Thanks for limiting amount of changes before async branch is merged!

https://ocd.appscale.com:8080/job/Daily Build/4920/

Demo: Here's an example on master where a request failed and could have been retried:
https://ocd.appscale.com:8080/job/Hawkeye/14138/artifact/logs-appscale-testing-ca617eb1-4898-448b-b671-68177a1a9a82/symlinks/database/<IP_ADDRESS>/appscale/datastore_server-4002.log/*view*/
2018-04-07 19:47:54,150 ERROR cassandra_interface.py:338 Exception during batch_mutate
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/appscale/datastore/cassandra_env/cassandra_interface.py", line 335, in _normal_batch
    self.session.execute(batch)
  File "cassandra/cluster.py", line 2134, in cassandra.cluster.Session.execute
    return self.execute_async(query, parameters, trace, custom_payload, timeout, execution_profile, paging_state).result()
  File "cassandra/cluster.py", line 4026, in cassandra.cluster.ResponseFuture.result
    raise self._final_exception
Unavailable: Error from server: code=1000 [Unavailable exception] message="Cannot achieve consistency level TWO" info={'required_replicas': 2, 'alive_replicas': 1, 'consistency': 'TWO'}