Refactor single file into basic module

Here, I've refactored the submission_controller.py script into a pip-installable module which contains (at the moment) only the BaseSubmissionController.
I've moved the AdditionTableSubmissionController example to the examples/ directory and added a PwBaseSubmissionController example, which will need some more generalization in the future if kept.
I also added a simple pre-commit configuration, yapf style, and pyproject.toml based on other AiiDA projects (aiida-quantumespresso and aiida-core).

There are some things to fix, I'll just merge and fix them! Thanks!


Check if hashes in unit tests are calculated properly

https://github.com/foundry-rs/starknet-foundry/pull/332#discussion_r1280639609

Please delete this TODO, because nobody knows what it's about


jfrog 2.50.1 - Invalid SARIF file for GHAS upload

Describe the bug
Hello all,
The current jfrog release (2.50.1) produces an invalid SARIF 2.1.0 file when running a scan:
jf scan  --format sarif
The resulting SARIF file is invalid per to the validator SARIF 2.1.0 validation ( https://www.jsonschemavalidator.net/ )

"shortDescription": null,
Invalid type. Expected Object but got Null.
Schema path:
https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json#/definitions/multiformatMessageString/type

The generated file cannot be loaded to GHAS.  This was working with the 2.48 CLI.
Current behavior
Generated SARIF file fails validation:

"shortDescription": null,
Invalid type. Expected Object but got Null.
Schema path:
https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json#/definitions/multiformatMessageString/type

Reproduction steps
Generate SARIF file using jfrog cli:
jf scan  --format sarif  >  TEST.sarif
Paste TEST.sarif file to the https://www.jsonschemavalidator.net/
Expected behavior
Validation should be error free.
JFrog CLI version
jf version 2.50.1
Operating system type and version
Centos 8
JFrog Artifactory version
"version" : "7.55.10"
JFrog Xray version
{"xray_version":"3.65.2","xray_revision":"bca527a"}

Hi @rseeton,
Thank you for bringing this issue to our attention. This bug is already a known issue, and we have addressed and fixed it in this pull request: https://github.com/jfrog/jfrog-cli-core/pull/996
The fix will be included in the next release of the CLI. Your feedback is much appreciated.

jfrog-cli 2.50.2 produces a clean SARIF file, thanks!


Set swiftcryptollc.com Domain

https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site

Updated the DNS to resolve from swiftcryptollc.com to the github page.


SSL certificate for services.greenbutton.data has expired

Hi,
The SSL certificate for services.greenbutton.org has expired as of 01/21/2015. As a result, API calls to the GreenButton sandbox are failing unless SSL certificate verification is turned off when making API calls. Please see attached snapshot of the certificate expiration. Could you please review and update the SSL certificate?

Thanks,
Adi

Thanks Adi.
We know. Should have resolved by Monday.
Cheers,
Marty
Sent from my iPad

On Jan 24, 2015, at 6:37 PM, Aditya Degwekar<EMAIL_ADDRESS>wrote:
Hi,
The SSL certificate for services.greenbutton.org has expired as of 01/21/2015. As a result, API calls to the GreenButton sandbox are failing unless SSL certificate verification is turned off when making API calls. Please see attached snapshot of the certificate expiration. Could you please review and update the SSL certificate?
Thanks,
Adi
—
Reply to this email directly or view it on GitHub.

Great, thanks for the prompt response.

This is now complete


Improve parameter names.

Changes documentation to indicate support for axially rotating planar laser scanners in 3D.

I signed it!

Fixes #40


Add E2E test for deploying an integration using configmap/secret key filtering

Follow-up on #3543 #3544.
Could you please add test runs with key filtering scenarios after the following ones for both configmap and secret? https://github.com/apache/camel-k/blob/main/e2e/global/common/config/config_test.go#L84
https://github.com/apache/camel-k/blob/main/e2e/global/common/config/config_test.go#L143

Corresponding PR https://github.com/apache/camel-k/pull/3585


Column Push down pruning

@FabianMeiswinkel  is this still a valid issue?

I believe this is done, closing it.
@xinlian12  / @FabianMeiswinkel please feel free to re-open this if this is still valid.


Body tag is antiquated

Hey guys,
Google and the HTML5 standard now recommend that web developers no longer use the  tag.
See Google's styleguide: https://google.github.io/styleguide/htmlcssguide.html
It would be better if we could customize where the Rails gem inserts intercom's JS, or if it would just insert the code at the bottom of the application layout file.
Cheers!

Do you mean something like the intercom_script_tag helper? e.g., in a layout you could
<%= intercom_script_tag %>

Yes?

That said, it might be nice to totally disable this feature. Perhaps via an ENV Var?


Test all implemented loss functions.

Went through implementations of pointwise and pairwise. Didn't find any bug.


fix: do not use mergeable_state and poll twice per github docs

This PR ignores the mergeable_state field and polls the PR at least twice per the github docs.
closes #61

pre-commit.ci autofix

pre-commit.ci autofix


Site is down

not a code issue I just genuinely don't know a better place to report to besides maybe irc. Doesn't look like the content of the site is in this repo either which is a real bummer

Yeah, see https://outage.sr.ht/. Closing because nothing can be done from the Sway side.

Doesn't look like the content of the site is in this repo either which is a real bummer

It’s all in this repo. The site is mostly a landing page, the documentation is in the man pages and wiki.


= ~ with extra space generates syntax error code

= ~ with extra space generates syntax error code

Fixed in v1.013


Unable to login to web interface with Windows authentication and Internal membership

You may remember me from the excitement that was ticket #668.
Today I tried a fresh install of 6.3. Unlike before I've been able to get a clone working fairly quickly. However I haven't been able to log into the web interface when my AuthenticationProvider is Windows.
I started by logging in as admin while using Cookies. I created a user that matches my Windows username (and had to give it a password), and created a repo and made my new user an admin for it.
Then I changed my provider to Windows. At this point I was able to clone the repo using my Windows username/password. However, I could not log into the web interface. Interestingly, using my Windows password generated a  "The username or password provided is incorrect" error, but using the password I entered when creating the user just looped back to the login screen with no error. This suggests to me that even with the Windows auth provider, it's still checking against the internal password.
The log messages that get generated from the web interface:
2017-11-10 17:26:43.309 -05:00 [Verbose] EF: Validating user "brianhv"
2017-11-10 17:26:43.480 -05:00 [Verbose] EF: User "brianhv" validation result Failure

Please ses #755

I have this problem.
This is due to a remote attribute [WebAuthorize] in Index() method( from HomeController  and RepositoryController) (look 710 ).  I added this attribute and the service worked fine.

If I can make the time I'm about to release a 6.4.0 which removes the troublesome PR 710

@willdean , thanks!  but the problem with anonymous access to the repositories will not be solved..

@2r0ck No, sure - the new feature will be gone for now, but at least it won't be broken for existing AD users who are currently being told to downgrade to 6.2.1


Rules to ODEs

A potential feature to implement: in section 6 of https://lmcs.episciences.org/6628 (the "voter model") there is an example which uses a combinatorial analysis of rewrite rules and produces continuous time evolution dynamics. This requires the computation of partial overlaps between rewrite rules.

with https://github.com/AlgebraicJulia/Catlab.jl/pull/821 this is now possible

How long do you think it would talk to implement their process?

It's definitely a research project with the potential of unknowns to pop up, but I'd guess 1-3 mo if it's something I occasionally work on.
I can already see that https://github.com/AlgebraicJulia/Catlab.jl/issues/860 will be prerequisite since it works with spans up to isomorphism

Ok so not something we can knock out for a quick demo!

I used to be really interested in this stuff (limiting behavior of stochastic systems), here's a nice introduction that introduces it generically https://www.sciencedirect.com/science/article/pii/S0166531613000023
Hope it helps somehow. There was some later work that extended it to non-Markovian systems, getting integro-differential systems instead of ODEs.


Fix WeakHashList losing one item when upgrading storage.

What does the pull request do?

Fixes WeakHashList dropping one item when storage was being upgraded. This was noticeable in DevTools when switching tabs.

You can test this PR using the following package version. 0.10.999-cibuild0020068-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


[MSI] System.UnauthorizedAccessException: The specified user '' does not have the permissions required to access the configuration store.

As the title suggests, my App Service is getting an unauthorized access exception when trying to connect with MSI to my AAC.
The rest of the stack trace:
System.UnauthorizedAccessException: The specified user '<guid>' does not have the permissions required to access the configuration store.
   at Microsoft.Azure.AppConfiguration.ManagedIdentityConnector.ManagedIdentityConnector.GetConnectionString(Uri endpoint, Permissions permissions, RequestOptions options, CancellationToken cancellationToken)
   at Microsoft.Azure.AppConfiguration.ManagedIdentityConnector.ManagedIdentityConnector.GetConnectionString(Uri endpoint, Permissions permissions, CancellationToken cancellationToken)
   at Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions.ConnectWithManagedIdentity(String endpoint)
   at API.Program.<>c__DisplayClass1_0.<CreateWebHostBuilder>b__3(AzureAppConfigurationOptions options) in d:\a\1\s\API\Program.cs:line 27
   at Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationSource.<>c__DisplayClass2_0.<.ctor>b__0()
   at Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationSource.Build(IConfigurationBuilder builder)
   at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()

By looking through the resources I found that I'm supposed to give the app service the Contributor role, so I did that, waited a few minutes and restarted the app service.

However I'm still getting unauthorized exceptions.
My app services uses the following config
//...
<TargetFramework>netcoreapp3.0</TargetFramework>
//...
<PackageReference Include="Microsoft.Extensions.Configuration" Version="3.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="3.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="3.0.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.AzureAppConfiguration" Version="2.1.0-preview-010380001-1099" />

It works properly when I run the app locally.
I can see in the IAM that I have the Owner role.
Any ideas on what I can do to fix this?

The issue seems to have resolved itself. About 40 minutes after granting the Contributor role the app service is now no longer getting the UnauthorizedAccessException.


Wierd and random Error

I get this error sometimes like when players join and other events.
http://pastebin.com/ScvW8ud4

This is an upstream Netty issue. A new version of Netty fixes this, but it probably won't be out for at least a few months.


Failing KNNJNITests test

I'm trying to build the k-NN from sources v<IP_ADDRESS> https://github.com/opendistro-for-elasticsearch/k-NN/releases
How to reproduce it:
curl -L https://github.com/opendistro-for-elasticsearch/k-NN/archive/v<IP_ADDRESS>.tar.gz -o ./knn-v<IP_ADDRESS>.tar.gz
tar -xzf knn-v<IP_ADDRESS>.tar.gz

# Get nmslib
cd /home/elasticsearch/k-NN-<IP_ADDRESS>/jni/external
git clone https://github.com/nmslib/nmslib.git
cd /home/elasticsearch/k-NN-<IP_ADDRESS>/jni/external/nmslib
git checkout a2d6624e13

cd /home/elasticsearch/k-NN-<IP_ADDRESS>

# Start plugin build
./gradlew
./gradlew build

Error obtained:
2> REPRODUCE WITH: ./gradlew ':test' --tests "com.amazon.opendistroforelasticsearch.knn.index.KNNJNITests.testQueryHnswIndex" -Dtests.seed=97B922DFF419C552 -Dtests.security.manager=false -Dtests.locale=zh-Hant-TW -Dtests.timezone=America/Danmarkshavn -Druntime.java=14
  2> java.lang.AssertionError: expected:<126.0> but was:<11.224972>

Indeed, checking the code, the euclidean distance from [1,1,1,1] to [5,6,7,8] is sqrt((5-1)^2 + (6-1)^2 + (7-1)^2 + (8-1)^2) = 11.224. The test expects to be 126, that is the square of the euclidean distance.
Given that the comments say scores are evaluated using Euclidean distance I'd expect the right value to be 11.224. Indeed the tests were correct before this PR: https://github.com/opendistro-for-elasticsearch/k-NN/pull/291/files#diff-0f493d0f86a1b19c9bc913d73cdd2c39e1e61c0651622035ce4af91563869821L102-R111
Also this test seems to be failing for the same reason:
2> REPRODUCE WITH: ./gradlew ':test' --tests "com.amazon.opendistroforelasticsearch.knn.index.KNNJNITests.testQueryHnswIndexWithValidAlgoParams" -Dtests.seed=97B922DFF419C552 -Dtests.security.manager=false -Dtests.locale=zh-Hant-TW -Dtests.timezone=America/Danmarkshavn -Druntime.java=14
  2> java.lang.AssertionError: expected:<126.0> but was:<11.224972>

For similar reason:
  2> REPRODUCE WITH: ./gradlew ':test' --tests "com.amazon.opendistroforelasticsearch.knn.index.codec.KNN87Codec.KNN87CodecTests.testMultiFieldsKnnIndex" -Dtests.seed=97B922DFF419C552 -Dtests.security.manager=false -Dtests.locale=mt-MT -Dtests.timezone=Europe/Warsaw -Druntime.java=14
  2> java.lang.AssertionError: expected:<0.03846154> but was:<0.1667>

Thank you for your help.

Hi @jaume-ferrarons,
I believe the issue is that the <IP_ADDRESS> release expects nmslib 2.0.6, and you are using nmslib 2.0.11. Reverting to nmslib 2.0.6 will solve the issue.
If you want to use nmslib 2.0.11, you can checkout the opendistro-1.12 code (which is ahead of v<IP_ADDRESS> tag) and build from source:
git clone https://github.com/opendistro-for-elasticsearch/k-NN.git
cd k-NN
git fetch
git checkout opendistro-1.12
./gradlew build

Hi @jaume-ferrarons,
I believe the issue is that the <IP_ADDRESS> release expects nmslib 2.0.6, and you are using nmslib 2.0.11. Reverting to nmslib 2.0.6 will solve the issue.
If you want to use nmslib 2.0.11, you can checkout the opendistro-1.12 code (which is ahead of v<IP_ADDRESS> tag) and build from source:
git clone https://github.com/opendistro-for-elasticsearch/k-NN.git
cd k-NN
git fetch
git checkout opendistro-1.12
./gradlew build

Hello @jmazanec15,
Thank you, that solved the issue and finished the build!
Still, it may be worth to review the tests to make sure the description match with the test.

Hello @jmazanec15,
Thank you, that solved the issue and finished the build!
Still, it may be worth to review the tests to make sure the description match with the test.


/HLIMITS with small x range, < 0.15 degree, does not use longitude labels

Reported by Ansley B Manke on 13 Dec 2004 19:06 UTC
define axis/x=-180:360:180/units=degrees xfull
define axis/y=90s:90n:90/units=degrees yfull
! Range is > 0.15, and the longitude ranges are correct:
! 47.76oW, 47.72oW, etc.
CONTOUR/FILL/hlimits=312.23:312.3801/vlimits=37.03:40.91 0*x[Here the range is exactly 0.15, and the axis labels are unlabelled
! 312.24, 312.28, ...
CONTOUR/FILL/hlimits=312.23:312.380/vlimits=37.03:40.91 0*x[gx=xfull](gx=xfull]*y[gy=yfull]
!)*y[is in the automatic axis formatting code, in axis_format called by
disp_set_up.  There is a number, res_del = (hi_val - lo_val)/n_res, where n_res
is 15. If this number is less than or equal to 1, then the routine
get_prec_digits decides that Ferret will need 3 digits after the decimal point
to resolve the longitude labels, and axis_format.F sets up up to not use
longitude labelling on numbers that need more than 6 decimal places to resolve
(312.23 but not 312.234).
The issue of whether values are later converted to degrees W is a separate
issue.  Taking that into account would fix this particular example, but we would
still have the same problem with numbers that should be plotted with East
longitude, like:
CONTOUR/FILL/hlimits=162.23:162.3801/vlimits=37.03:40.91 0*x[gx=xfull](gy=yfull]
This)*y[gy=yfull]
Is this number n_res too large?  It represents an upper bound for the number of
labelled tic intervals along the X axis.  If n_dec is smaller, the example is
fixed.  In practice, the number of labelled tics on the X axis is more like 5 or 6.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1129

Comment by<EMAIL_ADDRESS>on 16 May 2005 16:44 UTC
Removing Joe Mclean from the CC list after Joe's departure.

Comment by<EMAIL_ADDRESS>on 12 Aug 2005 21:05 UTC
fixed as outined in previous comments in this bug report;
fer/fmt/get_prec_digits.F
fer/plt/axis_ends.F
fer/plt/axis_format.F
fer/plt/disp_set_up.F
fer/plt/plot_set_up.F


Include directive miscolored when preceded by single-line comment

Example:
#include <sys/neutrino.h>	// Comment
#include <sys/mman.h>		// Comment

In the above example, the first #include would be my normal syntax color but the second #include is a different color. If I use a multi-line comment, /* ... */, syntax coloring is normal for both directives.
I'm on: Windows 7, ST3 Build 3083

Thanks for reporting this, I was able to reproduce it.
I'm on a journey now, but I hope I'll be able to see what I can do about this next week.


Question about hooking

On the README file, it says Osiris using trampoline and Vmt hooking. Is there a way to make it EXCLUSIVLY use trampoline hooking, as Vmt hooking is very detected by VAC.

it uses MinHook (trampoline) by default.

it uses MinHook (trampoline) by default.

Would that mean it would not be detected for it's hooking method? And would only be detected for things like signature being sus?

it doesnt use vmt if you dont define it in hooks


Add server number to get_connection_info endpoint

Add server number to get_connection_info endpoint
Login is already required, and the server number doesn't seem like particularly privileged information
Had a user request this

Output would look like:
{
  "result": {
    "name": "Saucymuffin's [BEER] Haus & Squidd Cafe Part Deux",
    "port": "8010",
    "link": "http://localhost:8010",
    "server_number": "1"
  },
  "command": "get_connection_info",
  "arguments": null,
  "failed": false,
  "error": null,
  "forwards_results": null
}

Not sure if it would be smarter to cast server number to an int since that would make more sense, but it's kind of whatever.

I changed it but only on the endpoint result, get_server_number is used all over the place internally and wasn't sure without a bunch of looking if I'd accidentally break something.


Disable slang profiler in production build

Fix issue #4167.
Add --production-build=true in our build system to indicate the production build which is ONLY used when publish a new release.
In production build, we will disable the SLANG_PROFILER.

Is there a performance or memory cost if we don't disable it on the release build? If not much, can we just keep it?

Is there a performance or memory cost if we don't disable it on the release build? If not much, can we just keep it?
Edit: Is it possible to measure how much performance difference it makes when we don't disable it in release build?

There is no such measurement yet, but I don't expect it could cause much performance cost.

I'm thinking about that we should make the profiling in the hierarchical way.
For example:

No profile at all.
Just slang time and downstream time
Break down slang time to semantics check, IR generation, IR link, target emit
Further breakdown each phase in level 2.

Then accept a compile option to specify the profiling level.

So let's stage this change for now, and have some discussion in next dev meeting to find out how to should proceed.

I am fine with checking in the changes here, but we need to add the flag for both premake and cmake, given that we are still in this transitionary period where both build systems exist. We need a timeline to retire premake so we don't have to constantly maintain both build configs.


Error when comparing files

after checking out files from GIT and trying to merge the conflict the following error can be found in OUTPUT:
[Error - 9:52:42 AM] Please report this issue to https://github.com/microsoft/al/issues including information on how to reproduce it, if possible.
Processing of message 'textDocument/hover' failed with error: 'Specified argument was out of the range of valid values.
Parameter name: index'
StackTrace:
at Microsoft.Dynamics.Nav.CodeAnalysis.Text.SourceText.LineInfo.get_Item(Int32 index) in C:\Agent_work\41\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Text\SourceText.cs:line 684
at Microsoft.Dynamics.Nav.CodeAnalysis.Text.TextLineCollection.GetPosition(LinePosition position) in C:\Agent_work\41\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Text\TextLineCollection.cs:line 75
at Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces.DocumentExtensions.d__7.MoveNext() in C:\Agent_work\41\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces\Shared\Extensions\DocumentExtensions.cs:line 167
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.HoverRequestHandler.d__1.MoveNext() in C:\Agent_work\41\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\HoverRequestHandler.cs:line 33
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.RequestHandlerBase`1.d__1.MoveNext() in C:\Agent_work\41\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\MessageProtocol\GenericRequestHandlerBase.cs:line 23
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.d__5.MoveNext() in C:\Agent_work\41\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\Endpoints\RequestRegistry.cs:line 60

Might be that our 'hover' handler does not expect certain constructs created by a merge.

@AndriusAndrulevicius do you still have a repro for this? It looks like your code had some merge symbols inserted by git, and you have placed your mouse cursor above something.
If you could reconstruct an example of the file and share it wit us, it would be very helpful.

Found a repro


Performance improvements for nightwatch tests

Summary
This is an attempt to improve performance by running night watch tests all at once rather than per package.  That way the web pack dev server only gets started once.

+1


discord not detecting rich presence

Hello, I wanted to send about an issue if this was about the application or just discord not recognizing it well and wondering if this is an issue you could solve, thank you

Actually, I didn't see any errors in this application on my computer; it was just working normally.
Maybe it was because of your Discord? You can try these ways to fix it:

Try restarting both your Discord application and DAWRPC.
Try opening both Discord and DAWRPC without administrator permission. You just need to open it normally.
Make sure that you have enabled Activity Status in your Discord application settings.
Check if there's any antivirus software or firewall that's blocking DAWRPC or Discord.
You can also try restarting your computer or reinstalling your Discord application.
Also, from next time, you should try troubleshooting your own Discord application or the presence on your computer first before reporting that issue to any Discord Presence Application's Support Page or repository. Just report an issue if you have tried these ways above and it didn't help; and you're sure that the error actually comes from the presence application.
Anyways, thank you for your report, and I'm really sorry about your bad experience with my application.

I tried this before but still not working


Ignores updates to Spring 6

LGTM, another solution for #1001 (comment)

Nice, missed that completely :)


⚠ ClamAV has degraded performance

In 295ce0a, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 86 ms

Resolved: ClamAV performance has improved in 7d9f4f1.


problem with background

basicly i dont know how to use custom background, theres no way to see where the default one is to replace it so yea.....

Yea i will guide you through it

in your root folder (.minecraft) make a new folder called resources then one inside of that called items, then another called textures.
put the picture you want in this folder and call it mypicture.jpeg.
Now go to your config folder and find CustomMain Menu, edit Mainmenu.json (i use notepad++) scroll all the way down and find background replace the code there with this
"background":
{
        "image" : "",
        "slideshow":
        {
          "images": [ "modpack:textures/thisone.jpg", "modpack:textures/tester.jpg", "modpack:textures/ice.jpg", "modpack:textures/wond.jpg", "modpack:textures/land.jpg", "modpack:textures/north.jpg" ],
            "displayDuration" : 100,
            "fadeDuration" : 20
			"sync" : true

im confused... all i see is panorama and background is in it, so do i take
panorama and replace it with that or what?
On 19 April 2017 at 16:16, zarzwour<EMAIL_ADDRESS>wrote:

in your root folder (.minecraft) make a new folder called resources then
one inside of that called items, then another called textures.
put the picture you want in this folder and call it mypicture.jpeg.
Now go to your config folder and find CustomMain Menu, edit Mainmenu.json
(i use notepad++) scroll all the way down and find background replace the
code there with this
"background":
{
    "image" : "",
    "slideshow":
    {
      "images": [ "modpack:textures/thisone.jpg", "modpack:textures/tester.jpg", "modpack:textures/ice.jpg", "modpack:textures/wond.jpg", "modpack:textures/land.jpg", "modpack:textures/north.jpg" ],
        "displayDuration" : 100,
        "fadeDuration" : 20
  	"sync" : true

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lumien231/Custom-Main-Menu/issues/183#issuecomment-295285418,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AaBp7-h-5au5lIatYHk7_h3oEWujNKD6ks5rxhdJgaJpZM4M6L2E
.

Yes. Replace it. I think that was obvious. Sorry...


Feat Added versioning Module and PDF function in IPSR Section

Summary
What The Diff was unable to process this PR. Please log in to learn more.
A fun joke about this PR
What The Diff was unable to process this PR. Please log in to learn more.

Merging to address comments later


Failed to compile with x errors . These dependencies were not found:

I am using this lib with NuxtJS + Typescript.
And this error comes up while using the urlMetaData function.
I double-checked by removing the function and the error was gone.
Image for reference:

Sorry for delay, this should be fixed in version 3.0.1
https://www.npmjs.com/package/url-metadata
Feel free to reopen if you need a backport to version 2.x.x.


Next.js redirect with conditions

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
arn:aws:amplify:eu-central-1:341253789890:apps/d2v7xru8aevic2
Region
u-central-1
Amplify Console feature
Redirects
Describe the bug
Next.js has redirects with conditions and it's work in local. But on aws amplify it doesn't work. https://nextjs.org/docs/api-reference/next.config.js/redirects.
Expected behavior
    async redirects() {
        return [
            {
                source: '/(.*)',
                has: [
                    {
                        type: 'header',
                        key: 'User-Agent',
                        value:
                            'Mobile|Android|BlackBerry'
                    }
                ],
                destination: 'https://m.alifshop.tj',
                permanent: false
            }
        ]
    }

that code work on local well. But on amplify not.
Reproduction steps
When I tried code on local it's work but on server not.
Build Settings
No response
Additional information
No response

Hi 👋, thanks for opening! While we look into this...
If this issue is related to custom domains, be sure to check the custom domains troubleshooting guide to see if that helps. Also, there is a more general troubleshooting FAQ that may be helpful for other questions.
Lastly, please make sure you've specified the App ID and Region in the issue!
Hi it's exactly related to next.js redirects.
that part not working on aws amplify(

@calavera @ErikCH @mwarkentin @hyandell

Thanks for opening this issue. We get notified when issues are open, there is no need to ping people 😄 We've added it to the backlog.

Thanks for opening this issue. We get notified when issues are open, there is no need to ping people 😄 We've added it to the backlog.

Thank you very much

Good day, @hloriana.
Did you see this problem?

Hi,
I have the same problem.
There is a way to solve this?

I think I am running into the same issue. My original hunch was that Amplify is tweaking the headers because the request is proxied through CloudFront.
Looks like user agent is actual user-agent: Amazon CloudFront, when it hits the backend.
My app is trying to use host to redirect on. However that is set to host: prod.us-west-2.gateway.amplify.aws.dev, with an extra header for the original  x-forwarded-host: pr-xxx.randomid.amplifyapp.com.
I swapped our has clause to match the new forwarded for header, but that gives a 502.
< HTTP/2 502
< content-type: text/html
< content-length: 1022
< server: CloudFront
< date: Thu, 23 Mar 2023 18:11:47 GMT
< x-cache: LambdaValidationError from cloudfront
< via: 1.1 f82a4020c8fc9b14a403737c65661074.cloudfront.net (CloudFront)
< x-amz-cf-pop: ORD58-P1
< x-amz-cf-id: 0oW9eco22AbmI93_q6REVDn9XzON8ftWqJ5tNrrqoSDTmdj4Zm6Abw==
<

Not sure how to proceed right now, I'll update if we find a solution.

2yrs now. I am still facing this issue

This feature has just been supported with our latest launch! Thanks for your patience. I'm closing this issue as resolved.
Check out the details here: https://aws.amazon.com/blogs/mobile/cdn-caching-improvements-for-better-app-performance-with-aws-amplify-hosting/


Nested scroll containers create weird jumping on Android

Godot version
3.4.4, 3.3.4
System information
Android
Issue description
I'm trying to implement a "Netflix"-like library with several horizontal scroll containers, embedded in a vertical scroll container.
On desktop everything works fine but on Android the vertical and horizontal scroll seem to influence each other which leads to a weird jumping of the whole ui.
https://user-images.githubusercontent.com/21098503/181903550-569d4aed-bd82-4987-9832-26e273884f9a.mp4
Steps to reproduce
Open the sample project and export or run it on an Android phone.
Try to scroll vertically and horizontally and notice the jumpy behavior.
Minimal reproduction project
APK:
Testproject.apk.zip
Godot project:
testproject.zip

related issues:
https://github.com/godotengine/godot/issues/41661
https://github.com/godotengine/godot/issues/57356

This could be caused by event acceptance. When the child control does not accept the event, its parent control will try to accept it. The ScrollContainer also doesn't accept events when it can't scroll.

Duplicate of #61816 that's fixed with #62289 and it's 3.x version #62290 and will be included in 3.5.


Visual effects are visible in the program but not in the player

Describe the bug
Visual effects are visible in the program but not in the exported exe played with the player
Please complete the following information):

OS: win
Version: 3.2.2 (NOT standalone)
Graphics card: NVIDIA GeForce GTX 960

To Reproduce
Steps to reproduce the behavior:

Copy and paste the example below
Export it and run in it with the player

Or create an Op-sequence of
Text->RenderTarget->Glow->Output
Expected behavior
In the example is a text with a glow. The text is visible, the glow isn't.
Additional context
Below is an example. Bt the problem occurs with other Ops like KochKaleidoskope, Blur etc.

[
{
"Name": "Object",
"Id": "fa8331cd-dfaa-4a03-b95e-fcad41f96cc1",
"Inputs": [],
"Children": [
{
"Id": "9609ff86-60f1-4cf5-8fd9-3bf2ce7f0796"/Text/,
"SymbolId": "fd31d208-12fe-46bf-bfa3-101211f8f497",
"InputValues": [],
"Outputs": []
},
{
"Id": "18ebf2f0-adb0-48b6-ad94-af3d0b80efb5"/RenderTarget/,
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
"InputValues": [],
"Outputs": []
},
{
"Id": "ba95ff50-69eb-4bfc-86f9-7cb3255753e3"/Glow/,
"SymbolId": "d392d4af-4c78-4f4a-bc3f-4c54c8c73538",
"InputValues": [
{
"Id": "4927a3fc-87ff-44e7-88c0-499e3efcca55"/GlowAmount/,
"Type": "System.Single",
"Value": 0.55
}
],
"Outputs": []
}
],
"Connections": [
{
"SourceParentOrChildId": "9609ff86-60f1-4cf5-8fd9-3bf2ce7f0796",
"SourceSlotId": "3f8b20a7-c8b8-45ab-86a1-0efcd927358e",
"TargetParentOrChildId": "18ebf2f0-adb0-48b6-ad94-af3d0b80efb5",
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
},
{
"SourceParentOrChildId": "18ebf2f0-adb0-48b6-ad94-af3d0b80efb5",
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
"TargetParentOrChildId": "ba95ff50-69eb-4bfc-86f9-7cb3255753e3",
"TargetSlotId": "f6bdd487-c16e-4fb0-bfba-b3801f121314"
}
]
},
{
"Id": "fa8331cd-dfaa-4a03-b95e-fcad41f96cc1"/Object/,
"InputUis": [],
"SymbolChildUis": [
{
"ChildId": "9609ff86-60f1-4cf5-8fd9-3bf2ce7f0796"/Text/,
"Size": {
"X": 110.0,
"Y": 23.0
},
"Position": {
"X": 1190.3899,
"Y": 364.9026
}
},
{
"ChildId": "18ebf2f0-adb0-48b6-ad94-af3d0b80efb5"/RenderTarget/,
"Size": {
"X": 110.0,
"Y": 36.0
},
"Position": {
"X": 1340.3899,
"Y": 364.9026
}
},
{
"ChildId": "ba95ff50-69eb-4bfc-86f9-7cb3255753e3"/Glow/,
"Size": {
"X": 110.0,
"Y": 36.0
},
"Position": {
"X": 1490.3899,
"Y": 364.9026
}
}
],
"OutputUis": []
}
]

Log-file shows an error:
18:09:28.995 (Info): Failed to create pixel shader 'image-fx-bloom.hlsl'.
18:09:28.995 (Warning): Trying to issue draw call, but pixel and/or vertex shader are null.
18:09:28.996 (Error): Failed to compile shader 'image-fx-bloom.hlsl': Unable to find file
Using previous resource state.
18:09:28.996 (Info): Failed to create pixel shader 'image-fx-bloom.hlsl'.
18:09:28.996 (Warning): Trying to issue draw call, but pixel and/or vertex shader are null.

'image-fx-bloom.hlsl' is missing under Resources/lib/img/fx
But inside Tooll the log-file shows no errors on export.

With Toolls standalone-version the glow is exported correctly!
With the "normal" version it isn't. On my computer. :o)

yes all you need to do is copy the Player directory from the Visual Studio version to the Standalone root folder and export functionality should be available in Standalone.. preview 3.2.2

This issue can be closed. It was a problem with changed internal Ops.


[TASK] Create a diagram accurately representing the game rules

What needs to be done?
We had a bunch of ideas floating around about the rules. We need to narrow our cone of uncertainty, and decide conclusively what the game rules are.
What should be delivered?
Ideally, a state machine or something similar representing a complete first iteration of the game rules. It should handle any edge cases you can imagine. Upload as a PDF to a new folder: /design/prototypes.
Additional info
Since this is something that affects the general direction of the project, let's make sure to keep everyone in the loop.

Added the logic of the game, and multipliers in the pdf. Defined which suite wins, and which loses. Defined the logic of penticons being neutrals.


feat: add CI/CD workflow

Description
CI : Linting and testing
CD : Deploy sample python app in Koyeb.
PR Type
What kind of change does this PR introduce?

[ ] Bug Fix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Related Issues
Issue Number: N/A
Checklist
Put an "x" in the boxes that apply. You can also add additional tasks if needed.

[ ] I have tested the changes locally and they work as expected.
[ ] I have added/updated relevant documentation (if applicable).
[ ] My code follows the project's coding standards and conventions.
[ ] I have reviewed my own code and ensured it is clear and understandable.
[ ] I have requested a code review from at least one team member.
[ ] I have addressed any feedback received during the code review.
[ ] All new and existing tests pass successfully.
[ ] I have made sure that the branch is up-to-date with the base branch.

Other information

Need to check the Koyeb deployment again.


Kotlin anonymization transformation

Refactor Java anonymization
Create a common base for JVM anonymizations
Create Kotlin Anonymization (it passes all tests but maybe we need to cover some more cases)

oh sorry, maybe should we add a doc about kotlin anonymization with examples?


Async Access Token Fix

Revert change to access token logic. Restores two-step acquisition of access tokens on asynchronous calls.

How do we prevent ourselves from regressing this again?


Rename the repository, package and module

Context
The pytest documentation mentions a naming convention that the packages implementing pytest plugins should follow, that we missed when creating the repository first time:
"All specifications and implementations follow the pytest_ prefix naming convention, making them easy to distinguish and find."
Proposed change
I propose we change the repository name and the name of the package from jupyterhub-pytest-plugin to pytest_jupyterhub to respect the pytest convention and make the package more discoverable.
I believe all project that follow this convention will automatically go into the list at https://docs.pytest.org/en/latest/reference/plugin_list.html#plugin-list which will improve discoverability.
Alternative options

We could also choose not to rename it, because I don't think not following the naming convention will create any issues in using the pytest plugins in this project. But since we are just begging the project and we don't have projects depending on it, nor a version released, we should take advantage of this and change it now.
Who would use this feature?

Renaming it, will make the project more discoverable for projects or users wanting to test their own jupyterhub spawner
and/or authenticator implementations using these plugins.
(Optional): Suggest a solution

[ ] @GeorgianaElena renames the repository to pytest-jupyterhub
[ ] @Sheila-nk:

[ ] renames the package name from jupyterhub-pytest-plugin to pytest-jupyterhub
[ ] renames the module name from jupyterhub-pytest-plugin to pytest_jupyterhub

[ ] ..?

From looking over the listed projects in the pytest plugin-list the pytest_ naming convention is specific to only the plugin repository and the plugin package. The module does not need to have the pytest_ prefix.
So we can rename the repository to pytest-jupyterhub and the package to pytest_jupyterhub but maintain the name of the initial module jupyterhub_spawners.py.
What do you think?

This sounds good! I'll proceed with renaming the repo then


addPercent and subtractPercent now calculates float percentage numbers

I'm not an expert with Javascript but did my best.
Just a small change to make addPercent and subtractPercent work with decimal values when using $.

Please add a unit test which confirms that the fix worked.

Just added the test you asked. Do I have to do anything else? I'm just learning about all that git/github mechanics. I just made another commit on the float-percentage-support branch, is that ok?

These tests (and more decimal percentage tests) pass without your proposed code change. Can you provide an example test that would fail without your code change?

Closing as invalid. Please reopen if you can come up with a test case that fails.


Fix Chainer version in Travis

Another version of #349. In this version, we don't have to update miner version of v2.

It is OK this time, but can you not make a duplicate PR?

LGTM

can you not make a duplicate PR?

I'm sorry. I thought making a new commit is easier than commenting your existing PR.

I understand that.
How about sending a PR to my branch?
I do not like to have a duplicate PR at chainer/chainercv because the older PR has to be closed.

How about sending a PR to my branch?

OK, I will do so from next time.


multiple rules generate esp-idf/main/lib/usrsctp/usrsctplib/libusrsctp.a

I've checked out & patched as described in the readme, but get a build issue:
ninja: error: build.ninja:18619: multiple rules generate esp-idf/main/lib/usrsctp/usrsctplib/libusrsctp.a [-w dupbuild=err]
I've repeated the git clone & patch operations several times with the same result. I believe my ESP-IDF environment & tools is 4.3.2, though I reverted the esp-idf code to 4.3.1 so I could patch mbedtls. I'm building on Windows 10.
`D:\src\tvd\ESP32\aws-kinesis-video-webrtc>idf.py menuconfig
Executing action: menuconfig
Running cmake in directory d:\src\tvd\esp32\aws-kinesis-video-webrtc\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 d:\src\tvd\esp32\aws-kinesis-video-webrtc"...
-- Found Git: D:/Program Files/Git/cmd/git.exe (found version "2.31.0.windows.1")
CMake Warning at C:/Users/xxx/esp/esp-idf/tools/cmake/git_submodules.cmake:52 (message):
Git submodule components/mbedtls/mbedtls is out of date.  Run 'git
submodule update --init --recursive' to fix.
Call Stack (most recent call first):
C:/Users/xxx/esp/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check)
C:/Users/xxx/esp/esp-idf/tools/cmake/build.cmake:165 (__build_get_idf_git_revision)
C:/Users/xxx/esp/esp-idf/tools/cmake/idf.cmake:50 (__build_init)
C:/Users/xxx/esp/esp-idf/tools/cmake/project.cmake:7 (include)
CMakeLists.txt:5 (include)
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/xxx/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/xxx/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/xxx/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Users/xxx/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/Users/xxx/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file D:/src/tvd/ESP32/aws-kinesis-video-webrtc/sdkconfig
D:/src/tvd/ESP32/aws-kinesis-video-webrtc/sdkconfig:321 CONFIG_ESP32_PANIC_PRINT_REBOOT was replaced with CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT
D:/src/tvd/ESP32/aws-kinesis-video-webrtc/sdkconfig:512 CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE was replaced with CONFIG_ESP_COREDUMP_ENABLE_TO_NONE
D:/src/tvd/ESP32/aws-kinesis-video-webrtc/sdkconfig:988 CONFIG_SEMIHOSTFS_MAX_MOUNT_POINTS was replaced with CONFIG_VFS_SEMIHOSTFS_MAX_MOUNT_POINTS
D:/src/tvd/ESP32/aws-kinesis-video-webrtc/sdkconfig:989 CONFIG_SEMIHOSTFS_HOST_PATH_MAX_LEN was replaced with CONFIG_VFS_SEMIHOSTFS_HOST_PATH_MAX_LEN
-- Found PythonInterp: C:/Users/xxx/.espressif/python_env/idf4.3_py3.8_env/Scripts/python.exe (found version "3.8.7")
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- App "webrtc_example" version: 6e9598d-dirty
-- Adding linker script C:/Users/xxx/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/Users/xxx/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script C:/Users/xxx/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/Users/xxx/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script C:/Users/xxx/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script D:/src/tvd/ESP32/aws-kinesis-video-webrtc/build/esp-idf/esp32/esp32_out.ld
-- Adding linker script C:/Users/xxx/esp/esp-idf/components/esp32/ld/esp32.project.ld.in
-- Adding linker script C:/Users/xxx/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld
############################## start llhttp ##############################
############################## start wslay ##############################
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - not found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - not found
-- Looking for winsock2.h
-- Looking for winsock2.h - not found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
CMake Warning (dev) at main/lib/wslay/lib/CMakeLists.txt:43 (add_library):
ADD_LIBRARY called with SHARED option but the target platform does not
support dynamic linking.  Building a STATIC library instead.  This may lead
to problems.
This warning is for project developers.  Use -Wno-dev to suppress it.
KVS_LIBWSLAY_INCLUDE_DIRS:D:/src/tvd/ESP32/aws-kinesis-video-webrtc/main/lib/wslay/lib/includes;D:/src/tvd/ESP32/aws-kinesis-video-webrtc/build/esp-idf/main/lib/wslay/lib/includes
############################## start srtp ##############################
-- Looking for byteswap.h
-- Looking for byteswap.h - not found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for machine/types.h
-- Looking for machine/types.h - not found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for sys/int_types.h
-- Looking for sys/int_types.h - not found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - not found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for sigaction
-- Looking for sigaction - not found
-- Looking for inet_aton
-- Looking for inet_aton - not found
-- Looking for usleep
-- Looking for usleep - not found
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of uint64_t
-- Check size of uint64_t - done
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Performing Test HAVE_INLINE
-- Performing Test HAVE_INLINE - Success
############################## start sctp ##############################
-- No build type selected, using DEBUG
-- Looking for include file sys/queue.h
-- Looking for include file sys/queue.h - found
-- Looking for include files sys/socket.h, linux/if_addr.h
-- Looking for include files sys/socket.h, linux/if_addr.h - not found
-- Looking for include files sys/socket.h, linux/rtnetlink.h
-- Looking for include files sys/socket.h, linux/rtnetlink.h - not found
-- Looking for 4 include files sys/types.h, ..., netinet/ip_icmp.h
-- Looking for 4 include files sys/types.h, ..., netinet/ip_icmp.h - not found
-- Looking for include file stdatomic.h
-- Looking for include file stdatomic.h - found
-- Looking for usrsctp.h
-- Looking for usrsctp.h - not found
-- Performing Test have_sa_len
-- Performing Test have_sa_len - Failed
-- Performing Test have_sin_len
-- Performing Test have_sin_len - Failed
-- Performing Test have_sin6_len
-- Performing Test have_sin6_len - Failed
-- Performing Test have_sconn_len
-- Performing Test have_sconn_len - Failed
-- HAVE_SCONN_LEN
-- Performing Test has_wfloat_equal
-- Performing Test has_wfloat_equal - Success
-- Performing Test has_wshadow
-- Performing Test has_wshadow - Success
-- Performing Test has_wpointer_aritih
-- Performing Test has_wpointer_aritih - Success
-- Performing Test has_wunreachable_code
-- Performing Test has_wunreachable_code - Success
-- Performing Test has_winit_self
-- Performing Test has_winit_self - Success
-- Performing Test has_wno_unused_function
-- Performing Test has_wno_unused_function - Success
-- Performing Test has_wno_unused_parameter
-- Performing Test has_wno_unused_parameter - Success
-- Performing Test has_wno_unreachable_code
-- Performing Test has_wno_unreachable_code - Success
-- Performing Test has_wstrict_prototypes
-- Performing Test has_wstrict_prototypes - Success
-- Compiler flags (CMAKE_C_FLAGS): -mlongcalls -Wno-frame-address -std=c99 -pedantic -Wall -Wextra -Wfloat-equal -Wshadow -Wpointer-arith -Wunreachable-code -Winit-self -Wno-unused-function -Wno-unused-parameter -Wno-unreachable-code -Wstrict-prototypes
-- Performing Test has_wno_address_of_packed_member
-- Performing Test has_wno_address_of_packed_member - Success
-- Performing Test has_wno_deprecated_declarations
-- Performing Test has_wno_deprecated_declarations - Success
CMake Warning (dev) at main/lib/usrsctp/usrsctplib/CMakeLists.txt:183 (add_library):
ADD_LIBRARY called with SHARED option but the target platform does not
support dynamic linking.  Building a STATIC library instead.  This may lead
to problems.
This warning is for project developers.  Use -Wno-dev to suppress it.
############################## start webrtc ##############################
-- Looking for include file ifaddrs.h
-- Looking for include file ifaddrs.h - not found
-- Looking for getifaddrs
-- Looking for getifaddrs - not found
-- Looking for getenv
-- Looking for getenv - found
-- Looking for include file netinet/tcp.h
-- Looking for include file netinet/tcp.h - not found
-- Kinesis Video WebRTC Client path is D:/src/tvd/ESP32/aws-kinesis-video-webrtc/main/lib/amazon-kinesis-video-streams-webrtc-sdk-c
-- dependencies install path is
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
-- Could NOT find Threads (missing: Threads_FOUND)
-- Found PkgConfig: D:/gstreamer/1.0/msvc_x86_64/bin/pkg-config.exe (found version "0.29.2")
-- Checking for module 'gstreamer-1.0'
--   Found gstreamer-1.0, version 1.20.0
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.62.6
-- Checking for module 'gstreamer-app-1.0'
--   Found gstreamer-app-1.0, version 1.20.0
-- Checking for module 'gobject-2.0'
--   Found gobject-2.0, version 2.62.6
gstreamer found. Will build gstreamer samples
-- Components: app_trace app_update asio bootloader bootloader_support bt cbor cmock coap console cxx driver efuse esp-tls esp32 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_ipc esp_local_ctrl esp_netif esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos hal heap idf_test jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb ulp unity vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: C:/Users/xxx/esp/esp-idf/components/app_trace C:/Users/xxx/esp/esp-idf/components/app_update C:/Users/xxx/esp/esp-idf/components/asio C:/Users/xxx/esp/esp-idf/components/bootloader C:/Users/xxx/esp/esp-idf/components/bootloader_support C:/Users/xxx/esp/esp-idf/components/bt C:/Users/xxx/esp/esp-idf/components/cbor C:/Users/xxx/esp/esp-idf/components/cmock C:/Users/xxx/esp/esp-idf/components/coap C:/Users/xxx/esp/esp-idf/components/console C:/Users/xxx/esp/esp-idf/components/cxx C:/Users/xxx/esp/esp-idf/components/driver C:/Users/xxx/esp/esp-idf/components/efuse C:/Users/xxx/esp/esp-idf/components/esp-tls C:/Users/xxx/esp/esp-idf/components/esp32 C:/Users/xxx/esp/esp-idf/components/esp_adc_cal C:/Users/xxx/esp/esp-idf/components/esp_common C:/Users/xxx/esp/esp-idf/components/esp_eth C:/Users/xxx/esp/esp-idf/components/esp_event C:/Users/xxx/esp/esp-idf/components/esp_gdbstub C:/Users/xxx/esp/esp-idf/components/esp_hid C:/Users/xxx/esp/esp-idf/components/esp_http_client C:/Users/xxx/esp/esp-idf/components/esp_http_server C:/Users/xxx/esp/esp-idf/components/esp_https_ota C:/Users/xxx/esp/esp-idf/components/esp_https_server C:/Users/xxx/esp/esp-idf/components/esp_hw_support C:/Users/xxx/esp/esp-idf/components/esp_ipc C:/Users/xxx/esp/esp-idf/components/esp_local_ctrl C:/Users/xxx/esp/esp-idf/components/esp_netif C:/Users/xxx/esp/esp-idf/components/esp_pm C:/Users/xxx/esp/esp-idf/components/esp_ringbuf C:/Users/xxx/esp/esp-idf/components/esp_rom C:/Users/xxx/esp/esp-idf/components/esp_serial_slave_link C:/Users/xxx/esp/esp-idf/components/esp_system C:/Users/xxx/esp/esp-idf/components/esp_timer C:/Users/xxx/esp/esp-idf/components/esp_websocket_client C:/Users/xxx/esp/esp-idf/components/esp_wifi C:/Users/xxx/esp/esp-idf/components/espcoredump C:/Users/xxx/esp/esp-idf/components/esptool_py C:/Users/xxx/esp/esp-idf/components/expat C:/Users/xxx/esp/esp-idf/components/fatfs C:/Users/xxx/esp/esp-idf/components/freemodbus C:/Users/xxx/esp/esp-idf/components/freertos C:/Users/xxx/esp/esp-idf/components/hal C:/Users/xxx/esp/esp-idf/components/heap C:/Users/xxx/esp/esp-idf/components/idf_test C:/Users/xxx/esp/esp-idf/components/jsmn C:/Users/xxx/esp/esp-idf/components/json C:/Users/xxx/esp/esp-idf/components/libsodium C:/Users/xxx/esp/esp-idf/components/log C:/Users/xxx/esp/esp-idf/components/lwip D:/src/tvd/ESP32/aws-kinesis-video-webrtc/main C:/Users/xxx/esp/esp-idf/components/mbedtls C:/Users/xxx/esp/esp-idf/components/mdns C:/Users/xxx/esp/esp-idf/components/mqtt C:/Users/xxx/esp/esp-idf/components/newlib C:/Users/xxx/esp/esp-idf/components/nghttp C:/Users/xxx/esp/esp-idf/components/nvs_flash C:/Users/xxx/esp/esp-idf/components/openssl C:/Users/xxx/esp/esp-idf/components/partition_table C:/Users/xxx/esp/esp-idf/components/perfmon C:/Users/xxx/esp/esp-idf/components/protobuf-c C:/Users/xxx/esp/esp-idf/components/protocomm C:/Users/xxx/esp/esp-idf/components/pthread C:/Users/xxx/esp/esp-idf/components/sdmmc C:/Users/xxx/esp/esp-idf/components/soc C:/Users/xxx/esp/esp-idf/components/spi_flash C:/Users/xxx/esp/esp-idf/components/spiffs C:/Users/xxx/esp/esp-idf/components/tcp_transport C:/Users/xxx/esp/esp-idf/components/tcpip_adapter C:/Users/xxx/esp/esp-idf/components/tinyusb C:/Users/xxx/esp/esp-idf/components/ulp C:/Users/xxx/esp/esp-idf/components/unity C:/Users/xxx/esp/esp-idf/components/vfs C:/Users/xxx/esp/esp-idf/components/wear_levelling C:/Users/xxx/esp/esp-idf/components/wifi_provisioning C:/Users/xxx/esp/esp-idf/components/wpa_supplicant C:/Users/xxx/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: D:/src/tvd/ESP32/aws-kinesis-video-webrtc/build
Running ninja in directory d:\src\tvd\esp32\aws-kinesis-video-webrtc\build
Executing "ninja menuconfig"...
ninja: error: build.ninja:18619: multiple rules generate esp-idf/main/lib/usrsctp/usrsctplib/libusrsctp.a [-w dupbuild=err]
ninja failed with exit code 1`

@ycyang1229 Hoping you might be able to look at this, I'm not very familiar with CMake/Ninja etc.

@TVD-Contributor wanted to check in and see if you found any solution in the meantime? I am running into the same issue for the same file.

@TVD-Contributor wanted to check in and see if you found any solution in the meantime? I am running into the same issue for the same file. Cannot pinpoint where this duplication is occurring.

Glad you found a work-around. My solution was to comment out this line in main\lib\usrsctp\usrsctplib\CMakeLists.txt (line 203 in my copy):

set_target_properties(usrsctp-static PROPERTIES OUTPUT_NAME "usrsctp")

I also needed to add an audio track in order for the demo to work in Chrome (I think it was?) by uncommenting these lines in AppCommon.c (lines 649-660). Without it, it'll be missing from the ESP32's SDP and Chrome will reject the negotiation, as Chrome demands all of its media tracks are at least acknowledged. It can be simply set to "inactive" but it must be present.

CHK_STATUS((queryMediaAudioCap(pAppConfiguration->pMediaContext, &codec)));
CHK_STATUS((addSupportedCodec(pStreamingSession->pPeerConnection, codec)));
pAudioTrack->kind = MEDIA_STREAM_TRACK_KIND_AUDIO;
pAudioTrack->codec = codec;
//audioRtpTransceiverInit.direction = RTC_RTP_TRANSCEIVER_DIRECTION_SENDONLY;
audioRtpTransceiverInit.direction = RTC_RTP_TRANSCEIVER_DIRECTION_INACTIVE;
STRCPY(pAudioTrack->streamId, APP_AUDIO_TRACK_STREAM_ID);
STRCPY(pAudioTrack->trackId, APP_AUDIO_TRACK_ID);
CHK_STATUS((addTransceiver(pStreamingSession->pPeerConnection, pAudioTrack, &audioRtpTransceiverInit, &pStreamingSession->pAudioRtcRtpTransceiver)));

CHK_STATUS((transceiverOnBandwidthEstimation(pStreamingSession->pAudioRtcRtpTransceiver, (UINT64) pStreamingSession, onBandwidthEstimationHandler)));

@TVD-Contributor Thanks for the response! Appreciate the extra info about the audio. I was able to configure, but am currently running into compile errors when trying to build. I am curious if you ran into these also? It's mostly error: redefinition of typedef 'UINT32' with different type for multiple files. Just wanted to check just in case.

@dhornacek-spindance I don't recall those compiler errors when compiling with ESP-IDF 4.3.1 environment (and make sure you follow the full steps to apply all the patches supplied in the AWS-KVS sample). So that's Xtensa esp-2021r1-8.4.0 - obviously I'm targeting ESP32 (not ESP32S2 etc.). I'm using VSCode.
I haven't tried compiling for IDF 4.4 yet.

@dhornacek-spindance Oh, I'm also on Windows, perhaps the redefinitions are a consequence of WIN32 being defined, or not?

I ma having same build error. I am using idf v4.4.1. Anyone guides to fix this problem. Above fixes are not working either.

@TVD-Contributor wanted to check in and see if you found any solution in the meantime? I am running into the same issue for the same file. Cannot pinpoint where this duplication is occurring.
Update (5/4) - @TVD-Contributor we were able to get past this, and successfully configure, by pointing master back to commit 05cd8cd0a0ad2d660bf0d499c9cc6810983a2a8f which is just before usrsctp was added. I think this module only affects the data channeling feature. Obviously not a fix by any means but a workaround in the meantime in case anyone else runs into this.
Will this let me accept offers and set ice candidates?

Please try the new commits and it should be fixed.


Link to Aleph.js outdated

Link to Aleph.js in manual/basics/react is outdated. New URL is https://alephjs.org/

This was fixed in https://github.com/denoland/manual/commit/91c904ffc48db073ef78aa5d4ad5e4c91dd15285. This issue should be closed.


React transition: flashing Login screen when loading authorized routes even when logged in

Describe the bug
When you navigate to an authorized route like /daily-data the Login screen is flashing. This is not easily replicable on local, but load up the staging site to reproduce.
Impact
Users may believe they have logged out and become discombobulated.
To Reproduce
Steps to reproduce the behavior:

Go to staging and login
Navigate to the Daily Data page
Observe the quick flash of the login page
Sit and wonder why that happens

Expected behavior
Your authentication should be recognized and not redirect to login briefly or otherwise.

This seems to be related to the <Security> component offered by the Okta React library. I'm looking into this now and wanted to make a ticket to track it.


REQUEST_MESSAGE vs custom getters like REQUEST_CAMERA_INFORMATION

It's currently part of the list for MAVSDK v2, and though I don't think I can contribute an implementation, I think I can contribute a (relatively informed) opinion.
TL;DR: I don't think this can go in MAVSDK v2 :see_no_evil:.
We cannot detect what the receiver supports
There is no way to detect if the receiver supports REQUEST_MESSAGE, because the requested message could have been requested by someone else, or it could be transmitted spontaneously by the receiver. So making statistics to try to guess stuff like "was this CAMERA_INFORMATION message an answer to my request, or is it a coincidence?" is probably not worth it by far.
Also each message is independent. So even if we managed to detect that REQUEST_MESSAGE is supported for CAMERA_INFORMATION, it would not say anything about e.g. REQUEST_PROTOCOL_VERSION.
What we can do

Push the receivers to support both messages (i.e. the drone should support both REQUEST_MESSAGE(<camera_information>) and REQUEST_CAMERA_INFORMATION.
Keep the old way in MAVSDK until we feel like we can completely drop it.

In other words, the implementation work is not on the MAVSDK side, but on the receiver side (e.g. make sure that PX4/Ardupilot support the newer messages, make sure that cameras do, push proprietary players to do it).
Some day, maybe we will feel comfortable in dropping the old way and telling people "well if your drone does not support the new way, that's your problem".

Thanks for bringing this up. Let's talk through it and make a decision.
My question is: Wouldn't a receiver that doesn't support REQUEST_MESSAGE nack it and therefore tell you that it doesn't support it?

Wouldn't a receiver that doesn't support REQUEST_MESSAGE nack it

I don't think so :thinking:. One problem with MAVLink is that the specs do not require to  nack unsupported messages. I am pretty sure I have seen implementations that just ignore unsupported messages (resulting in a timeout, indistinguishable from an actual timeout in a sane way IMO).
So same thing there: one would have to make it a requirement to nack unsupported messages, ask implementations to change to that, and in a few years when we are fairly sure that all the implementations we care about do it, we could rely on nacks :innocent:.

So actually UNSUPPORTED is for a command that is not supported but not necessarily for a command param that is not supported. So, in that case, it should probably be failed. I would argue a decent camera implementation would do that, rather than timing out.
So what about switching to the new REQUEST_MESSAGE command and if it gets UNSUPPORTED, FAILED or a timeout, then we fall back to the old one?
This means that old implementations would still work, just slower, while new ones will work nicely, and quickly. What am I missing?

Actually, maybe one thing we could do is always use both from MAVSDK. I think that could work :thinking:.

But I see many problems there

Yes, there are many problems. But at some point switching and saying we don't support the old way also doesn't work and also has problems. So my idea is to try hard and do a best effort solution that - while having corner cases - generally works.

For instance, it is legal to broadcast the command and expect multiple systems/components to broadcast their message.

Yes, it gets indeed tricky with multiple systems and components, so let's only use these commands to specific sysid/compid pairs and not use broadcast.

Should we somehow keep a state in MAVSDK that says "I am pretty sure that this drone supports the new message because I got an answer once"?

I think you're missing something here. A success is not if we receive the message that we asked for but we receive the ack AND the message. That's a definite confirmation that it worked.

Yes, exactly!

In v3 I want to remove the MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES.


Add issue and PR templates

Fixes #180

Thanks @KaptenJansson!
LGTM.

I will merge this despite the test failure, it has to do with that the we do not have enough vertical resolution in the window manager thus the button is not clickable. I will fix separately (done this already in other repos).


Relation names

The names of relationships between ASGS features updated to more closely match the ASGS documentation, viz. asgs:isAggregationOf and asgs:aggregatesTo

As discussed in meeting yesterday @jyucsiro @ashleysommer


Simplifying optimizer state?

As I understand it, the design for optimizer states

allows arbitrary trees for parameters.
allows arbitrary subtrees per parameter leaf for an optimizer's state.
requires extraction and storage of tree definitions on init to not loose information on the boundary between the two.
requires transformation before and after serialization ((un)pack_optimizer_state) with a marker datatype (JoinPoint) for the same reason. Direct serialization is not possible since PyTreeDef is not serializable.
makes states hard to read for humans (one big flat list of arrays, separate tree definitions).

As an alternative, one could assume that the optimizer's subtrees are always tuples, which would sacrifice 2 in order to get rid of 3, 4 and 5. From a library standpoint, getting rid of 4 and 5 would be quite valuable, especially since 4 obstructs using the same method for storing parameters and optimizer states. For all currently implemented optimizers, the new restriction doesn't seem to be a big deal, since optimizers already store tuples (or single elements) per parameter leaf. We could even allow namedtuple.
Are there other considerations that I overlooked?

I wrapping JAX' optimizers to implement the described design in JAXnet, indeed leading to the mentioned benefits.


Possible incorrect C code for double divided by long

Hi
I noticed that:
float x = 123.0;
int y = 5;
var z;
let z = x / y;
produces:
z = zephir_safe_div_double_long(x,  (double) y TSRMLS_CC);
Casting y do double here seems incorrect given that the function expects a long for its 2nd arg.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

It's still doing it.


Move api and util to internal/pkg

Type of change

Improvement (structure, hygiene)

Description
fabric-ca is not currently structured or fit to be
consumed by external clients.
This change moves the api and util folders under
internal/pkg.
Additional details
Plan is to restructure the code in a manner similar to https://github.com/golang-standards/project-layout
We should be able to install the server and client and perhaps have a client library as well.

I merged this but the builds do not work locally or in CI. Gives me all sorts of warm fuzzy feelings. I'll either fix this (in the next 30) or revert.


Remove CSRF implementation from Grape

What: Remove CSRF implementation from Grape
Why: Close #18
How:

Add standard gem for formatting
Add instructions on how to configure formatting in VS Code
Remove CSRF implementation in Grape.
Add fonts to assets pipeline and fix font-face references in SCSS files

Notes
Grape endpoint just have 2 endpoints to create and read non-profits
GET  |  /v1/nonprofit/:id(.:format)      | Return a nonprofit.
POST |  /v1/nonprofit(.:format)          | Register a nonprofit
GET  |  /v1/swagger_doc(.:format)        | Swagger compatible API description
GET  |  /v1/swagger_doc/:name(.:format)  | Swagger compatible API description for specific API

I think this work was just starting and is not the direction we are moving now given we are implementing other apps with GraphQL APIs. We need to create follow up tickets for:

Remove the Grape API and merge these actions (create and fetch a non-profit) to Rails controllers.
Change React references to point to Rails controllers instead of Grape controllers.
Remove Swagger, won't be needed since we won't use REST.

This is the follow up ticket to remove Grape https://github.com/debtcollective/fundraising/issues/27

@orlando I ran the specs and there's one (1) failing.
Let's add also a task to have a CI to run them and verify this on a PR level

I fixed the spec, so I will merge this branch.


Node 12+ support

Upgrade all dependencies
Support Node 12+ (or maybe even 14+?)

Will be closed by #100


Update README to differentiate installation from source and from the extensions manager

Consider update the README to differentiate what need to be done when installing from source vs when downloading from the extensions manager.

https://github.com/mazurowski-lab/SlicerSegmentWithSAM/tree/main#installation

@jcfr Thank you for the recommendation! Your request has been implemented in the following commit:
https://github.com/mazurowski-lab/SlicerSegmentWithSAM/commit/43e0d14bd62b4e261e84fa67df331795f577960c


Add credits field to external activities [#130192661]

@scytacki I made the user change in the spec.

@scytacki Updated again...


Update explore-features.md

Fix typo

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66ea5d8d35bcb9fb608d01ed--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66ea609140a287023a49c604--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66ea613140a28702c449c6be--harness-developer.netlify.app


Fix Font

When you have maximized screen or fullscreen then the font on tabgui is fucked and not clear but in small window mode it is

I am aware of this issue, but unfortunately the problem is with the FontManager, which I did not make.
You can temporarily fix the issue by setting the Gui Scale in the Video Settings to "normal" (or "auto" if your screen is 1920x1080p)

Fixed in the commit ce7f451


Distributed deep learning problem on yarn.

[ec2-user@ip-10-0-0-27 image-classification]$ ../../tools/launch.py --launcher=yarn -n $DEEPLEARNING_WORKERS_COUNT -H $DEEPLEARNING_WORKERS_PATH python train_mnist.py --gpus $(seq -s , 0 1 $(($DEEPLEARNING_WORKER_GPU_COUNT - 1))) --network lenet --kv-store dist_sync $DEEPLEARNING_WORKERS_PATH

It still says
Traceback (most recent call last):
  File "../../tools/launch.py", line 88, in <module>
    main()
  File "../../tools/launch.py", line 78, in main
    raise RuntimeError('Unknown submission cluster type %s' % args.cluster)
RuntimeError: Unknown submission cluster type yarn

There are  a number of errors in your command:
(1) Please change --launcher=yarn to --launcher yarn.
(2) Remove -H $DEEPLEARNING_WORKERS_PATH. Note that -H is for ssh or mpi not yarn.
(3) If you have built jar through build.bat, put it in your working dir, or configure it using  --yarn-app-dir $your working dir.
You can find more information in launch.py and yarn.py.

Thank you @qiyuangong
If I remove -H , how does mxnet find each machine?

@guotong
Honestly, I am not familiar with that part. To the best of my knowledge, this job is done by client or AppMaster. You can find more information in tracker.py and ApplicationMaster.java.
By the way, you should set more memory for containers (2-4GB), otherwise they will run out of memory.

export HADOOP_HOME='your_hadoop_home_path'

@formath Thank you. Do I need to install hadoop by myself on ec2 ?

https://github.com/dmlc/xgboost/blob/master/doc/tutorials/aws_yarn.md  You can setup a yarn cluster on ec2.  But I have no actual operation about this.

Personally, I suggest running distributed training with --launch local, which launch all nodes with subprocess, so you can debug locally. Use export PS_VERBOSE=1 or export PS_VERBOSE=2 to print more detail.  The only drawback is that you have to kill all processes manually when something goes wrong.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


My code is not wrong, but why doesn't the browser display the page?Cry for help

Version
2.5.2
Reproduction link
http://jsdm.com/
Steps to reproduce

What is expected?
The page shows goods.com. Merchants.
What is actually happening?
The page shows goods.com. Merchants.

new Vue({
el: '#app',
template: '',
components: { App }
});
That's it. Something changed in version 2.0.


error "Locomotive::Coal::UnauthorizedError" how should i do

I'm newbie for locomotivecms. I have a question. I can't pull and deploy the site from engine which installed on my company server to wagon on my machine, the error is "Pulling...\Locomotive::Coal::UnauthorizedError", but i can pull and deploy to locomotivecms demo server as anytime I want, how should I do?
Sorry for my english.

hi @surachet6,
What's the version of the Locomotive instance running on your company server? What's the version of Wagon you're using?

Sorry, forget the above error. It was because of my server was in private network not accessible from my local development machine. Does Locomotive support deployments through SSH tunnels?

I'd say yes, I don't see why it wouldn't


Need to find a method to authenticate users on the iPhone/iPad

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.31.0
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
1.4.10
Public or Confidential Client?
Public
Description
Using MSAL in our Office Add-in.
Upgrading to MSAL v2 has led to some login issues.
For mobile app: sso for ios fails, Add-in doesn't work on mobile.
For desktop app: If the silent login fails, the Add-In tries a popup login instead, but instead of login popup user gets "Look for an app in the Microsoft Store". It appears that the consent popup also fails, so it might be that Outlook blocks all popups.
For web app: The popup login works as expected in OWA.
What is the recommended way to authenticate our users in our Office Add-in. We need it to work in Office on the web, Office on Windows, and Office on iPhone/iPad.
To our knowledge, the @Azure-DevOps-Alerts/msal-browser library does not support interactive login in Office Add-Ins. We have tried both the popup and the redirect interaction method. Silent login works as expected.
Using the SSO functionality in the OfficeRuntime works as expected for Office on the web and Office on Windows, but is not supported on Office on iPhone/iPad.
We have yet to find a method to authenticate our users on the iPhone/iPad, is this not supported at all?
MSAL Configuration
{
  auth: {
    authority,
    clientId,
    navigateToLoginRequestUrl: false,
    postLogoutRedirectUri: baseUri,
    redirectUri: baseUri
  },
  system: {
    loadFrameTimeout: 10000,
    loggerOptions: {
      loggerCallback,
      piiLoggingEnabled: false,
      logLevel: LogLevel.Verbose,
      correlationId: '1234'
    },
  },
  cache: {
    cacheLocation: 'localStorage',
    storeAuthStateInCookie: true,
  },
}

Relevant Code Snippets
No response
Identity Provider
Azure AD / MSA
Source
External (Customer)

This is the logs from Outlook Desktop when the required consent popup is blocked.
localhost-1676024094451.log
We think the crucial part here is: Error - error opening popup empty_window_error: window.open returned null or undefined window object.
When is comes to mobile app: It's the native iOS Outlook app running an Office Add-In with MSAL.

@malvina-kochkina Office Add-ins do not support interactive token acquisition directly. You have to open a popup dialog through the Office API and then invoke loginRedirect inside that dialog. Please take a look at [this sample]https://github.com/OfficeDev/Office-Add-in-samples/blob/main/Samples/auth/Office-Add-in-Microsoft-Graph-React/utilities/office-apis-helpers.ts).
On the iOS/mobile case in general (without Office Add-in context), we discourage the use of the popup interaction since mobile browsers have a very different and often restricted implementation of popups. The same redirect approach described above should work on mobile browsers if Office Add-ins can open a new tab like it's a popup as the login dialog.

It is still an issue. We will try an approach with Office.context.ui.displayDialogAsync and get back with the results.

Status so far. I was able to check that it is possible to open dialog window via window.Office.context.ui.displayDialogAsync(dialogLoginUrl, { height: 40, width: 30 }, (result) => { console.log('msg received'); }) function in iPhone. I will try to implement auth redirect flow inside that dialog window and get back with the results.

Hi!
I was finally able to get access token via Office.context.ui.displayDialogAsync, but we have to disable quite a lot of security policies.
Is it possible to use that access token with @azure/msal-XXX libraries somehow or I need to have my custom authentication logic?
Because after I got token from Office.context.ui.displayDialogAsync and called const { result, error } = useMsalAuthentication(InteractionType.Silent, authenticationRequest); I got error again
*** useAuthentication [false,false,[],null,{"errorCode":"login_required","errorMessage":"AADSTS50058: A silent sign-in request was sent but no user is signed in. The cookies used to represent the user's session were not sent in the request to Azure AD. This can happen if the user is using Internet Explorer or Edge, and the web app sending the silent sign-in request is in different IE security zone than the Azure AD endpoint (login.microsoftonline.com). Trace ID: a3959b2a-ae73-41d0-8d44-81d4e8714a00 Correlation ID: 6943291e-6274-49d7-b715-4e940d3e966a Timestamp: 2024-03-08 08:02:08Z","subError":"","name":"InteractionRequiredAuthError","timestamp":"","traceId":"","correlationId":"6943291e-6274-49d7-b715-4e940d3e966a","claims":""}]

What makes me think that I can't rely on @azure/msal-xxx libraries when I get token via Office.context.ui.displayDialogAsync. Is it true?


disable coveralls.io comments

It is starting get a little bit annoying that coveralls comments to for every push to PR.
Maybe we should consider disabling coveralls comments (this can be done in coveralls.io settings). Increase or decrease of coverage for PR can be still seen in status checks.
I think that only one who has permission to change coveralls.io settings are repository admins (@sebgoa)

disabled ;-)
If someone wan't that enabled. let me know. we can turn that on if there is a reason for it.


'gap' alias removed (accidentely) from git plugin

the commit 5b75cc7880de1931a0507800d90eb77ed659fa46 removes gap alias on line 77

See discussion here about gg* and gap: https://github.com/robbyrussell/oh-my-zsh/pull/2790#issuecomment-110689393

This was no accident! it was murder! cold-blooded murder I tell you!!!

Until we build a safe aliasing system for OMZ, you can set the gap alias in your personal config, or you are welcome to suggest a new alias for git add --patch.

Also please close #3983.


Shows "No manifest.lkml file available" even the file exists in root directory

Hi experts,
Strangely I keep getting this message during each run. It looks like mnufest.lkml is only found when I modified it a bit and merged into production, but then every following run simply ignores it.
I put the manifest.lkml file in the root dir of the folder:
project_name: "operate_solutions"

# LAMS
# rule_exemptions: {
#   F1: "Removed after discussion with Ray"
#   F2: "Removed after discussion with Ray"
#   K1: "Removed as there is a bug"
#   K3: "Removed after discussion with Ray"
#   E1: "Removed after discussion with Ray"
#   E2: "Removed after discussion with Ray"
#   T2: "Removed after discussion with Ray"
#   T4: "Removed after discussion with Ray"
#   T5: "Removed after discussion with Ray"
#   T6: "Removed after discussion with Ray"
#   T7: "Removed after discussion with Ray"
#   T8: "Removed after discussion with Ray"
#   T11: "Removed after discussion with Ray"
#   T13: "Removed after discussion with Ray"
#   T14: "Removed after discussion with Ray"
#   T15: "Removed after discussion with Ray"
# }

## Test

The GitHub Action reads:
(copy-pasting might mess up indentation but I'm sure it's correct in my repo)
## Linter
name: lams-linter
on:
  pull_request:
    branches:
      - master

jobs:
  linter:
    runs-on: ubuntu-latest
    name: LAMS LookML Linter Job
    steps:
    - name: Checkout your LookML
      uses: actions/checkout@v3
    - name: Setup Node
      uses: actions/setup-node@v1
      with:
        node-version: '10.x'
    - name: Install LAMS
      run: npm install -g @looker/look-at-me-sideways@2
    - name: Get changed files
      id: changed-files
      uses: tj-actions/changed-files@v34
      with:
        files: |
          **/*.lkml
    - name: List all changed files
      run: |
        for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
          lams --reporting=save-no --report-license-key=${{ secrets.LOOKER_LICENSE_KEY }} --source=$file
        done

Any thought? To help a bit I can also list the debugging log from a failed run. You can see it completely ignored all exempted rules:
##[debug]Evaluating condition for step: 'List all changed files'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: List all changed files
##[debug]Loading inputs
##[debug]Evaluating: format('for file in {0}; do
##[debug]  lams --reporting=save-no --report-license-key={1} --source=$file
##[debug]done', steps.changed-files.outputs.all_changed_files, secrets.LOOKER_LICENSE_KEY)
##[debug]Evaluating format:
##[debug]..Evaluating String:
##[debug]..=> 'for file in {0}; do
##[debug]  lams --reporting=save-no --report-license-key={1} --source=$file
##[debug]done'
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating steps:
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'changed-files'
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'outputs'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'all_changed_files'
##[debug]..=> 'explores/explores_mz_product_reporting/tsae_iap_test.explore.lkml views_BQ_ads-bi-prd/test/tsae_iap_test.view.lkml'
##[debug]..Evaluating Index:
##[debug]....Evaluating secrets:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'LOOKER_LICENSE_KEY'
##[debug]..=> '***'
##[debug]=> 'for file in explores/explores_mz_product_reporting/tsae_iap_test.explore.lkml views_BQ_ads-bi-prd/test/tsae_iap_test.view.lkml; do
##[debug]  lams --reporting=save-no --report-license-key=*** --source=$file
##[debug]done'
##[debug]Result: 'for file in explores/explores_mz_product_reporting/tsae_iap_test.explore.lkml views_BQ_ads-bi-prd/test/tsae_iap_test.view.lkml; do
##[debug]  lams --reporting=save-no --report-license-key=*** --source=$file
##[debug]done'
##[debug]Loading env
Run for file in explores/explores_mz_product_reporting/tsae_iap_test.explore.lkml views_BQ_ads-bi-prd/test/tsae_iap_test.view.lkml; do
  for file in explores/explores_mz_product_reporting/tsae_iap_test.explore.lkml views_BQ_ads-bi-prd/test/tsae_iap_test.view.lkml; do
    lams --reporting=save-no --report-license-key=*** --source=$file
  done
  shell: /usr/bin/bash -e {0}
##[debug]/usr/bin/bash -e /home/runner/work/_temp/1f46[2](https://github.com/Technologies/looker-operate/actions/runs/3390385444/jobs/5635048408#step:6:2)42[3](https://github.com/Technologies/looker-operate/actions/runs/3390385444/jobs/5635048408#step:6:3)-25[4](https://github.com/Technologies/looker-operate/actions/runs/3390385444/jobs/5635048408#step:6:4)8-4b6f-a8b9-2876236f7c2d.sh
Parsing project...
> Parsing done!
Checking rules...
> E1
> E2
> F1
> F2
> F3
> F4
> K1-2-3-4
> T1
> T2-10
> Rules done!
   	Rule   	Location                                       	Description
🛈 	.......	project........................................	No manifest.lkml file available
🛈 	.......	project........................................	Manifest properties:
🛈 	E1.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	E2.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	F1.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	F2.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	F3.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	F4.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	K1.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	K2.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	K3.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	K4.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	T1.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	T3.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	T4.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	T[5](https://github.com/Technologies/looker-operate/actions/runs/3390385444/jobs/5635048408#step:6:5).....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	T[6](https://github.com/Technologies/looker-operate/actions/runs/3390385444/jobs/5635048408#step:6:6).....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	T[7](https://github.com/Technologies/looker-operate/actions/runs/3390385444/jobs/5635048408#step:6:7).....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	T[8](https://github.com/Technologies/looker-operate/actions/runs/3390385444/jobs/5635048408#step:6:8).....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
Parsing project...
> Parsing done!
Checking rules...
> E1
> E2
> F1
> F2
> F3
> F4
> K1-2-3-4
> T1
> T2-10
> Rules done!
   	Rule   	Location                                       	Description
🛈 	.......	project........................................	No manifest.lkml file available
🛈 	.......	project........................................	Manifest properties:
🛈 	E1.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	E2.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	F1.....	...............................................	Evaluated [9](https://github.com/Technologies/looker-operate/actions/runs/3390385444/jobs/5635048408#step:6:9) matches, with 0 exempt and 0 erroring
🛈 	F2.....	...............................................	Evaluated 9 matches, with 0 exempt and 0 erroring
🛈 	F3.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	F4.....	...............................................	Evaluated 9 matches, with 0 exempt and 0 erroring
🛈 	K1.....	...............................................	Evaluated 1 matches, with 0 exempt and 1 erroring
🛈 	K2.....	...............................................	Evaluated 1 matches, with 0 exempt and 0 erroring
🛈 	K3.....	...............................................	Evaluated 1 matches, with 0 exempt and 0 erroring
🛈 	K4.....	...............................................	Evaluated 1 matches, with 0 exempt and 0 erroring
🛈 	T1.....	...............................................	Evaluated 0 matches, with 0 exempt and 0 erroring
🛈 	T3.....	...............................................	Evaluated 1 matches, with 0 exempt and 0 erroring
🛈 	T4.....	...............................................	Evaluated 1 matches, with 0 exempt and 0 erroring
🛈 	T5.....	...............................................	Evaluated 1 matches, with 0 exempt and 0 erroring
🛈 	T6.....	...............................................	Evaluated 1 matches, with 0 exempt and 0 erroring
🛈 	T7.....	...............................................	Evaluated 1 matches, with 0 exempt and 0 erroring
🛈 	T8.....	...............................................	Evaluated 1 matches, with 0 exempt and 0 erroring
❌  	K1.....	v: tsae_iap_test...............................	No Primary Key Dimensions found in tsae_iap_test
Error: Process completed with exit code 1.
##[debug]Finishing: List all changed files
0s
0s
1s

Some update:
I finally decided to remove the --source argument and it works afterwards. Just curious is it intended? What is the syntax of --source if say I just want to check A.lkml and B.lkml while still enable manifest.lkml being found?

Yes, this is intended behavior at the moment. I know some users that want to do incremental linting have successfully set it up by simply manually add the manifest.lkml file into the source argument along with their modified files

Hi @markus-zhang-unity - I just wanted to loop back around since your use case here is around wanting to only lint changed files. LAMS v3.1-,v3.1,-This%20update%20introduces) released today has a beta feature to support incremental linting use cases, and I'm welcoming feedback from users before moving this to GA. Let me know if you have any feedback or questions about it!


Should SftpSession::create truncate the file?

SftpSession::create does not include the truncate flag and is not documented to truncate the file but the equivalent rust standard library method is documented to truncate the file.

Thanks for noticing. It's fixed now


Update Scalar Field example

Following on from the BBH update, I also want to update the Scalar Field example to make it more useful.
The key things I want to do are:

Make the initial conditions solve the constraints - probably changing to an oscillaton profile (@ThomasHelfer has many examples)
This will require us to add a function to read in an array of data via SmallDataIO (I think @TaigoFr has this already), which is a very useful general feature. We probably also want an initial condition class which interpolates such an array of (radius, variable) data onto the grid for a specified variable.
I will leave the ChiRelaxation class file but I want to remove this from the Example. One should now use the IC finder which does the same thing only faster and more accurately.
Remove the ScalarField::sf_object part of the ScalarField class, and more generally remove the splitting up of the SF vars and metric vars. This was intended to allow inheritance of the rhs and emtensor code in a ComplexScalar field class, but overall I think that the ugliness does not justify the avoidance of repeated code. (This is based on having tried the same approach for a ProcaField, where things get even uglier). I have to confess that @ThomasHelfer said this originally, but I ignored him :-)
Add a ComplexScalarField class and make a test to check that the Real and Im parts match the ScalarField class evolution and em_tensor. This way the duplicated code is checked to ensure it matches for both.
I would change the regridding condition to make it a fixed hierarchy of 2:1 grids which is the best option for a stable oscillaton and also a nice example to have in the code.
Add a small IO routine to extract the central value of the field and chi, which can then be plotted to show stability of the oscillations.
Add a Density class which calculates rho and stores it
Add another wiki page which describes how to use and check the example, e.g. by adding self interactions to destabilise the field as in https://arxiv.org/abs/1609.04724.

Please add any other suggestions here!

It would also be useful to add a params_very_cheap.txt so that it can be run easily on a desktop as a quick test.

Also want to add the feature to select plot vars via the params file, as in #117.

Also want to add the feature to select plot vars via the params file, as in #117.

This is done.
Not really related to this PR, but would also be useful to amend nan check to output position not IntVect.

@TaigoFr has done this in his own code I believe.

I do have it in my code. It's quite a trivial addition, but very useful!
Sorry for having closed and re-opened, my bad.

Ah great. No sorry, I should have made this a new issue. But I plan to deal with this one soon so I thought I might put it in at the same time, since as you say it is quite a minor change. But if you want to put it in before that's ok for me!

Another misc tidy up todo : Fix header guards on Source/CCZ4/CCZ4UserVariables.hpp

Another misc tidy up todo : Fix header guards on Source/CCZ4/CCZ4UserVariables.hpp

I thought it was actually broken when I read this comment!


Trademark Infringement

Hi guys - cool project. I like the command line functionality. As the founder of Hak5 and the WiFi Pineapple project I'm not keen on you using the term "WiFi Pineapple" without my express permission. I know you didn't mean anything hostile by it - but this is one of those things where if I don't protect my trademark, I lose it. Thanks for understanding and best of luck with the project.
Legal stuff advised by my attorney:
It has come to my attention that you are using the WIFI PINEAPPLE trademark. The trademark is deceptively similar to our trademark Registration Number 4651494, WIFI PINEAPPLE word mark. This constitutes a reproduction or counterfeit imitation thereof. Your use of the trademark will constitute an infringement of our registered and common law rights. I demand that you cease and desist from this activity as soon as possible and in the event, within 5 days from your receipt of this letter. If action is not taken by you to cease and desist within the given time frame, I will have no choice but to take appropriate legal action against you.
Sincerely,
Darren Kitchen
Manager, Hak5 LLC

Hey @hak5darren -
Thanks so much for your note. We sincerely apologize - we had no idea "Wifi Pineapple" was trademarked, and had no intention of interfering. We will remove the term from our repository and code base immediately. Thanks for reaching out, and please don't hesitate to reach out with any other questions or concerns.
Best,
Piña Colada Team

<3

<3 let us know if there's anything else!


Create Proof of Concept

Features

Repository Implementation of a datastore
Models for file based configuration for review
Handle Webhooks for pull request event from github

Tests
Test for repository implementation of models
closes #7

The following steps need to be taken before the PoC can be merged to main

create a unit of work abstraction for the jobs inside a deployment
deployments need to be persisted on the database

Model needs to be able to go through the store implementation => the job can be persisted as is with a simple key

basic startup of the application should be doable via main.py

Approving Pull Request as doc phase is done and product will be implemented fully Wirth future requests