Use DbgPrint in place of internal _PDCLIB_print

Attempting to minimize executable size, PDClib' print function uses a fair amount of space and is frankly unneeded, also as far as I can tell these aren't actually printed anywhere to the user(?), either the screen or via serial port. So it should be replaced with a call to DbgPrint.
int main(void)
{
    for(;;) {
        DbgPrint("Hello\n");
    }
    return 0;
}

LTO = y
CFLAGS += -Oz -DNDEBUG
CXXFLAGS += -Oz -DNDEBUG
NXDK_CFLAGS += -Oz -DNDEBUG
NXDK_CXXFLAGS += -Oz -DNDEBUG

As is, this results in a 32KB binary. Nuking the while loops in vfprintf and vsnprintf we end up with 28KB.

It should be replaced where? The above code is not part of pdclib.

https://github.com/XboxDev/nxdk-pdclib/blob/nxdk/functions/stdio/vfprintf.c#L47
https://github.com/XboxDev/nxdk-pdclib/blob/nxdk/functions/stdio/vsnprintf.c#L30
Called in both of these places

I doubt you require raise() for your program

I don't, however platform initialization calls it, as well as the printf's mentioned.

crt0 does not call any of these functions.

I'm not interested in doing your size optimization for you, but here's a free hint: Disable D: automounting.

DVD auto mounting adds essentially nothing due to alignment.
I'm not asking you to size optimize for me, I'm reporting an issue where things are being included and compiled that aren't being used, and you admit yourself that the platform init isn't using these functions, as well as functions that produce no user viewable output being redirected to DbgPrint.

I think this is a bit of a niche.

DVD auto mounting adds essentially nothing due to alignment.

His point was that some code must depend on those functions so they end up in the binary.
So some code - like the DVD automount - is probably responsible for those functions being linked.
As @thrimbor mentioned: Your code (or CRT0 which runs your code) doesn't seem to depend on it, so your linker probably links some files which do depend on them.
I think we can look into fixing the size issue if you can actually figure out which functions depend on vfprintf or vsnprintf. Right now, this issue is too vague.
Even if there's a bug (/ misconfiguration) in nxdk, you could work around it.
If you are confident that these functions aren't used, you can probably also replace those functions in the object files if you are desperately size optimizing.. however, in that case there are probably better ways to compress your binary (or its memory footprint).
Eitherway you'll have to dive into object files and compression tooling probably.

I think we can look into fixing the size issue if you can actually figure out which functions depend on vfprintf or vsnprintf. Right now, this issue is too vague.

Removing the forced stack protection and associated bits brings the majority of savings.
https://github.com/XboxDev/nxdk-pdclib/blob/5a3a4c6170f4d544230a43b1575812eeb709514c/platform/xbox/crt0.c#L10
And signal being included is because of malloc, setting #define PROCEED_ON_ERROR 1 removes the abort calls.


mkit cant find AWS Credentials

AWS Credentials are set  via the SAML api and an STS token is set
all credentials are correct in .aws/credentials
running aws configure shows aws key id and secret key are set correctly
eksctl works and so does kubectl
mkit displays following error:
Running in darkbitio/mkit:latest: /home/node/audit/eks.sh
Generating results...[2020-05-28T15:48:30+00:00] ERROR: It appears that you have not set your AWS credentials. See https://www.inspec.io/docs/reference/platforms for details.
[2020-05-28T15:48:32+00:00] ERROR: It appears that you have not set your AWS credentials. See https://www.inspec.io/docs/reference/platforms for details.
[2020-05-28T15:48:35+00:00] ERROR: It appears that you have not set your AWS credentials. See https://www.inspec.io/docs/reference/platforms for details.
[2020-05-28T15:48:37+00:00] ERROR: It appears that you have not set your AWS credentials. See https://www.inspec.io/docs/reference/platforms for details.
[2020-05-28T15:48:39+00:00] ERROR: It appears that you have not set your AWS credentials. See https://www.inspec.io/docs/reference/platforms for details.
[2020-05-28T15:48:42+00:00] ERROR: It appears that you have not set your AWS credentials. See https://www.inspec.io/docs/reference/platforms for details.
[2020-05-28T15:48:44+00:00] ERROR: It appears that you have not set your AWS credentials. See https://www.inspec.io/docs/reference/platforms for details.
done.
Unable to locate credentials. You can configure credentials by running "aws configure".

I saw this:
Is there a need to tell mkit to use  ~/.aws/credentials ....setting the ENV variables breaks my cluster access
USING THE CHEF INSPEC TARGET OPTION TO PROVIDE CREDENTIALS ON AWS
Look for a file in your home directory named ~/.aws/credentials. If it does not exist, create it. Choose a name for your profile; here, we’re using the name ‘auditing’. Add your credentials as a new profile, in INI format:
[auditing]
aws_access_key_id = AKIA....
aws_secret_access_key = 1234....abcd
You may now run Chef InSpec using the --target / -t option, using the format -t aws://region/profile. For example, to connect to the Ohio region using a profile named ‘auditing’, use -t aws://us-east-2/auditing.
To verify your credentials, run
you$ inspec detect -t aws://
== Platform Details
Name:      aws
Families:  cloud, api
Release:   aws-sdk-v2.10.125

If I'm understanding things correctly, your ~/.aws/credentials is being written into with a custom profile name (not default), so inside the container, it needs to know to use that profile instead.  Try adding -e AWS_PROFILE=auditing (or whatever the SAML provided profile name is in your credentials file) to line 54 of the Makefile.  It may help to run make shell-eks to get a shell inside the container with all the AWS envs and mounts in place so you can manually issue aws commands and validate auth came through.

It actually the profile is default in credentials:
[default]
output = json
region = us-west-2
aws_access_key_id = xxxxxxxxxxxxxxx
aws_secret_access_key = xxxxxxxxxxxxxxxxx

I just made a minor change to the mount path in the Makefile.  Can you try it now?

That did the trick. Thanks!

Awesome! 👍


Adding a responsive scroll to Top option

As the the website contain long pages so there must be a responsive scroll to top functionality which scrolls up smoothly

Great start wokring on this


Revised README.md for clarity & concision

Reworded the majority of sentences and paragraphs for clarity and concision. All original information was maintained.

Thanks! my english doesnt sell it very well :D

Hahaha glad I could help! :)


test: add keycloak tests

Adds keycloak tests: coverage is at 87.4% for statements

skip test

The remaining sonarcloud bugs and hotspots are false positives.


Bring an old feature on next versions

Please tick all applicable boxes.

[x] I am using Python 3.5 or higher (run python --version on the command line)
[x] I have followed the official guides to install the bot for my system
[x] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[x] The latest master version (1.9.7)
[ ] The latest review version

What type of issue are you creating?

[ ] Bug
[x] Feature request
[ ] Question

Hello, I'll want that an old feature'll came back.
It's about the "queue" command.
Before, when using queue command, the bot shows the entire list. Now, it shows just show what's playing and a "And x more" underneath.
Please, can you bring that feature back?
Thanks for reading,
Chaos21

??? It's always been that way? Even on 1.9.5 it was done that way. I'm assuming you're list is longer than ones you tried to use before.

see here: https://github.com/Just-Some-Bots/MusicBot/blob/master/config/example_options.ini#L140

Thanks a lot AutumnClove. Thanks for helping.
This issue is now closen, thanks for answering too fast!
Chaos21

Thank @mwallis45 lul


Trigger overdue reservations event not only for scheduled instances, …

…but also for Decommisioned ones
JIRA issues:
DCOS-57771

The Problem is, this is kind of hard to test with an IT.
I've tested this locally by simply skipping the first RESERVE & CREATE operation from marathon to mesos in the code, so marathon thinks it has send the event, but mesos never receives it, basically recreating the scenario from the JIRA ticket.
But I can't really put that into an IT, as it requires changes in the Marathon code.


CI using artifact caching proxy

Description
Trying to use artifact caching proxy to build the project. This should speed up the build a tiny bit.

Submitter checklist

[x] If the issue exists, it is well described and linked in the description
[x] The description of this pull request is detailed and explain why this pull request is needed
[x] The changeset is on a specific branch

feature/ for new feature, or improvements
fix/ for bug fixes
docs/ for any documentation changes

[x] If required, the documentation has been updated
[x] There is automated tests to cover the code change / addition

If there is no test, include an explanation why in the description

[x] Run mvn verify locally and all tests are passing successfully

It is OK to create a pull request which has failing tests if it is created as a draft, is to fix a bug and the first commit is the test to prove the existence of the bug.

[x] There is no new warnings (checkstyle nor spotbugs) on the code

Just by comparing last build stage in main branch and the same stage in this pull request build, we are saving 20min of build time.

After re-reading https://groovy-lang.org/operators.html#_elvis_operator, the operator is not what we wanted exactly.


Datepicker highlights the selected day of the month across all months

When a date is selected on the datepicker, that same date gets highlighted across all of the months.
Here's a video: https://www.screencast.com/t/SrHCLzoS8Er

That is focus and not selection. Where do you think keyboard user focus should be set when the month changes via the mouse? Should it be on the right arrow button when it is clicked?
Personally, I like being able to move the focus with the keyboard while clicking through the months, but I'm open to moving the focus to the month arrow button buttons when they are clicked.
What are you expecting to happen?


Use new references API, update TF provider.

Current dependencies on/for this PR:

main

PR #3   👈

This stack of pull requests is managed by Graphite.


docs: unclear what the difference between Active-Active and HA Cluster Mode are

The server docs have an activeactive and clustermode options but it's not clear what the difference between the two is.
clustermode says it is for "HA" but activeactive is a term for an HA deployment as well. A comment in the Chart values also lists that the two are mutually exclusive with each other, which adds to the confusion. The website's docs for HA mention Active-Active but not "Cluster Mode" as well.
It would be good to clarify the differences between the two, whether one is deprecated or not (since the website doesn't mention cluster mode, maybe it is?), which one is optimal (i.e. most resilient), and what the default is (both are false, so default is not HA?).
#72 is related but was not really answered. The response doesn't point to a specific place in the docs and I have read the docs; it defines these as the same thing as far as I can tell: aqua_cluster_mode='active-active'

Just encountered this myself.
activeactive equates to: https://docs.aquasec.com/docs/active-active-server-mode
clustermode equates to: https://docs.aquasec.com/docs/active-passive-server-mode-to-be-deprecated (as the section https://docs.aquasec.com/docs/active-passive-server-mode-to-be-deprecated#section-activation-of-aqua-server-failover spells out setting this flag).
Links in the readme#Configuration_variables didn't seem right, as it's too verbose.  Perhaps a dedicated section?
Between the readme or the comments, it should also spell out whether leaving both false is permissible.

Active-Active = 'activeactive' in Helm Chart, and Active-Passive = 'clustermode'.  If you are interested in using either mode, one needs to be enabled true, while the other is false.  You can't have both environment variable values set to true at the same time.  Both environment variables values can be set to false too as this is not a mandatory requirement to deploy Aqua.
As you mentioned, the Active-Passive will be deprecated and has a disadvantage versus Active-Active setup.  In Active-Passive, there is a failover process which can take a few minutes for the other aqua-web to reinitialize itself.  When using Active-Active, there is no failover process and there isn't any downtime if one aqua-web pod malfunctions.

Thanks folks, I've made a small PR (#113) to modify the docs to clarify what is what and which is which per your comments

updated Readme, thanks

It looks like #272 #273 #274 word-for-word copied my much earlier PR for docs changes in #113 ... except they didn't add the comment in the values that I did.
Not really kosher to do so without crediting the original author (e.g. list them as author and you as committer)...


fix deprecate apiversion for ingress in testdata

Please provide a description of this PR:
The apiversion extensions/v1beta1 has been deprecated from k8s for a long time.
Although it does not affect the test results, I think it is better to replace them from the test cases.
The apiversion extensions/v1beta1 has been deprecated for k8s ingress for a long time.
Although it does not affect the test results, I think it is better to replace them from the test cases.
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[x] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[x] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@my-git9: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
f2aab8b75e03b55e20ca7612dfb5fe7c915a54c1
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes


qtcreator broken on nixos-unstable

Issue description
/nix/store/x9v0yxy5iybp2m2ccqwqkvxgjy7zrw8f-binutils-2.28/bin/ld: cannot find -lQt5Widgets
/nix/store/x9v0yxy5iybp2m2ccqwqkvxgjy7zrw8f-binutils-2.28/bin/ld: cannot find -lQt5Gui
/nix/store/x9v0yxy5iybp2m2ccqwqkvxgjy7zrw8f-binutils-2.28/bin/ld: cannot find -lQt5Core

when compiling new or existing project in QtCreator. No such issue on nixos-17.03 branch.
Is it only for me?
Steps to reproduce
(careful) rm -r ~/.config/QtProject*
nix-shell -p qtcreator qt5.full gnumake gcc --command qtcreator

try to compile new or existing project
Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)

17.09.git.01c3847 (Hummingbird)

Nix version: (run nix-env --version)
Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
Sandboxing enabled: (run grep build-use-sandbox /etc/nix/nix.conf)

Maybe @romildo can help out here.

I've found that on nixos-17.03, qt5 has dynamic libraries (/nix/store/0ah3j5zvngvy46xp9r1xba9g0snm2l81-qt-5.6.2/lib/.so), while they are missing on nixos-unstable (no /nix/store/2avh0a9yjfr807b4lw677zjnqajhmjjp-qt-5.9.0/lib/.so)

Is it only for me?

I am able to reproduce the issue.

nix-shell -p qtcreator qt5.full gnumake gcc --command qtcreator

Fix: add qt5.qtbase to package list:
nix-shell -p qtcreator qt5.full qt5.qtbase gnumake gcc --command qtcreator

With that the project compiles and runs.
Probably qt5.full used to contain qt5.qtbase and does not anymore.

@romildo That works, thank you! :-)


Instructions are incorrect

You have got 'Now you are set up to create a new Python project. Navigate to File -> New -> Project -> Python and select the type of Python application you are building.'
The sequence should be:
Now you are set up to create a new Python project. Navigate to File -> New -> Project -> Other Languages -> Python and select the type of Python application you are building.
Python should be a first class citizen in the VSTS world and it should not be under 'Other Languages' in any case.

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

ID: 3719902f-d76a-6c2a-5579-0c049b202e1a
Version Independent ID: b0a18748-0d58-0dc4-db77-4a05c56da69b
Content: Ten things you can do on the Data Science Virtual Machine on Azure
Content Source: articles/machine-learning/data-science-virtual-machine/vm-do-ten-things.md
Service: machine-learning
GitHub Login: @gopitk
Microsoft Alias: gokuma

@datarelish - Thanks for the feedback. Looks like you may be using the Windows 2012 edition of the DSVM. We should have explicitly stated to use the Windows 2016 edition of DSVM for this article which is typically refreshed more frequently and has VS 2017 where Python project can be created through File -> New -> Project -> Python. We will update the document and made it more clear.

I'm using Windows 2016 Data Centre edition. Please see the attached snip.
[cid:6a53b8d4-d01e-42ca-ab6b-110fbac57dec]

From: Gopi Kumar<EMAIL_ADDRESS>Sent: 11 September 2018 18:04:26
To: MicrosoftDocs/azure-docs
Cc: Jen Stirrup; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Instructions are incorrect (#14783)
@datarelishhttps://github.com/datarelish - Thanks for the feedback. Looks like you may be using the Windows 2012 edition of the DSVM. We should have explicitly stated to use the Windows 2016 edition of DSVMhttps://azuremarketplace.microsoft.com/marketplace/apps/microsoft-dsvm.dsvm-windows for this article which is typically refreshed more frequently and has VS 2017 where Python project can be created through File -> New -> Project -> Python. We will update the document and made it more clear.
[image]https://user-images.githubusercontent.com/12767235/45375283-5ed64000-b5a9-11e8-8496-1a14e4d59a46.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/14783#issuecomment-420346825, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMjgnS2Q81GIYpySKq1qZSjcfGg7Ye62ks5uZ-0agaJpZM4Wi4W_.

@datarelish - I cannot see the attached snip. Can you please re-attach the same. The screenshot I sent was from a new instance of Windows 2016 edition of DSVM  I just spun up. Are you seeing VS 2017 on your DSVM or is it still VS 2015?

@datarelish - I cannot see the attached snip. Can you please re-attach the same. The screenshot I sent was from a new instance of Windows 2016 edition of DSVM  I just spun up. Are you seeing VS 2017 on your DSVM or is it still VS 2015?

It was from a brand new VM that I spun up today. I have attached it as a file, rather than insert it.

From: Gopi Kumar<EMAIL_ADDRESS>Sent: 11 September 2018 18:31:43
To: MicrosoftDocs/azure-docs
Cc: Jen Stirrup; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Instructions are incorrect (#14783)
@datarelishhttps://github.com/datarelish - I cannot see the attached snip. Can you please re-attach the same. The screenshot I sent was from a new instance of Windows 2016 edition of DSVM I just spun up. Are you seeing VS 2017 on your DSVM or is it still VS 2015?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/14783#issuecomment-420355447, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMjgndL6wlhE72nMPvUyemMq8QfeUKYVks5uZ_N_gaJpZM4Wi4W_.

@datarelish - Was it a Windows 2016 DSVM or a Windows 2012 DSVM? On the Windows 2016 DSVM you should be seeing the VS 2017 as in screenshot above.  Please double confirm for us.

The output from Visual Studio is as follows, which I have taken from same DSVM.
Again, for your reference,

I have attached the Windows 2016 DSVM screenshot from the Same Virtual Machine again for you.
Microsoft Visual Studio Community 2017
Version 15.6.7
VisualStudio.15.Release/15.6.7+27428.2043
Microsoft .NET Framework
Version 4.6.01586
Installed Version: Community
Visual C++ 2017   00369-60000-00001-AA012
Microsoft Visual C++ 2017
Visual F# Tools 10.1 for F# 4.1   00369-60000-00001-AA012
Microsoft Visual F# Tools 10.1 for F# 4.1
Application Insights Tools for Visual Studio Package   8.11.10402.2
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017   15.0.40314.0
ASP.NET and Web Tools 2017
ASP.NET Core Razor Language Services   1.0
Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2017   5.2.51214.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0   15.0.40215.0
Azure App Service Tools v3.0.0
Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio   2.2.9000.1
Microsoft Azure Data Lake Tools for Visual Studio
Azure Data Lake Tools for Visual Studio   2.2.9000.1
Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools   15.0.40215.0
Azure Functions and Web Jobs Tools
C# Tools   2.7.0-beta3-62715-05. Commit Hash: db02128e6e3c4bdfc93e6ec425ac9162b4d4fe80
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Cookiecutter   15.6.18072.2
Provides tools for finding, instantiating and customizing templates in cookiecutter format.
Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events
JavaScript Language Service   2.0
JavaScript Language Service
JavaScript Project System   2.0
JavaScript Project System
Microsoft Azure HDInsight Azure Node   2.2.9000.1
HDInsight Node under Azure Node
Microsoft Azure Hive Query Language Service   2.2.9000.1
Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio   2.0
Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service   2.2.9000.1
Language service for Azure Stream Analytics
Microsoft Azure Stream Analytics Node   1.0
Azure Stream Analytics Node under Azure Node
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.51212.2
Microsoft Continuous Delivery Tools for Visual Studio   0.3
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.
Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package
Node.js Tools   1.4.11027.3
Adds support for developing and debugging Node.js apps in Visual Studio
NuGet Package Manager   4.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
Python   15.6.18072.2
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
Python - Django support   15.6.18072.2
Provides templates and integration for the Django web framework.
Python - IronPython support   15.6.18072.2
Provides templates and integration for IronPython-based projects.
Python - Profiling support   15.6.18072.2
Profiling support for Python projects.
R Tools for Visual Studio   1.3.40104.1351
Provides project system, R Interactive window, plotting, and more for the R programming language.
SQL Server Data Tools   15.1.61801.210
Microsoft SQL Server Data Tools
Test Adapter for Boost.Test   1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test.  The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test   1.0
Enables Visual Studio's testing tools with unit tests written for Google Test.  The use terms and Third Party Notices are available in the extension installation directory.
ToolWindowHostedEditor   1.0
Hosting json editor into a tool window
TypeScript Tools   15.6.20202.3
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools   2.7.0-beta3-62715-05. Commit Hash: db02128e6e3c4bdfc93e6ec425ac9162b4d4fe80
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for AI   <IP_ADDRESS>
An integrated development environment for AI / Deep Learning application development.
Visual Studio Tools for AI: Azure Batch AI   <IP_ADDRESS>
This package provides Azure Batch AI support in Visual Studio Tools for AI.
Visual Studio Tools for AI: Azure Machine Learning   <IP_ADDRESS>
This package provides Azure Machine Learning support in Visual Studio Tools for AI.
Visual Studio Tools for AI: Remote Machine   <IP_ADDRESS>
This package provides Remote Machine support in Visual Studio Tools for AI.
Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake

I have also attached System Info for you as an image.

Thanks @datarelish . On this version can you confirm you can start the Python project like how it is documented in this article :  File -> New -> Project -> Python like what I have on the screenshot I pasted above in this thread?
I did notice one of the links in the prerequisites in the article is still pointing to the older Windows 2012 DSVM image (though you rightly have the desired 2016 edition). We will update it right away to prevent any confusion for other users.

I started the project doing File -> New -> Project -> Python and the issue is still there. I hope that helps.

Thanks Jen. If you able to do File -> New -> Project -> Python I believe that is what we have documented in this article and hopefully that resolves this specific issue of instructions being incorrect. Sorry if I am misunderstanding the underlying issue.
Just to refresh, the original issue you reported at the top of this thread (copied and pasted below) is:
"
Now you are set up to create a new Python project. Navigate to File -> New -> Project -> Other Languages -> Python and select the type of Python application you are building.
"
Just wanted to confirm the original issue reported that the instructions "File -> New -> Project -> Python" being incorrect is not there anymore.
If there are other issues with the workflow please let us know. I can open another issue for you or you can open one yourself (whatever is more convenient).

@datarelish We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.
@gopitk Thanks!


Changed debug max distance to avoid overflow

Changed it to roughly sqrt(FLT_MAX), it's a little less to account for float inaccuracies.
Fixes #1835

Cherry picked into 3.0.3


[FEAT]: Add new user account item (user-buttons)

Description
This PR introduces a new feature by adding the UserAccountItem component, which represents a user account item with user buttons.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

Task linked: CU-86by09y2p user-buttons


Deploy with MariaDB

Saves a step for the user when deploying ONLYOFFICE.

Thanks for contributing to ONLYOFFICE. Nevertheless, we have made decision to revert your changes because:

there is no need in additional steps in the installation process. Script set_configuration.sh already enables the ONLYOFFICE app;
updates on the official documentation can’t be placed on any third-party service;
at the moment we prefer to keep the minimal list of containers by default.

However, we find the idea of adding a separate container with the database for Nextcloud interesting. We surely will extend the configuration settings.


Add szlib support for compatibility with recent hdf5 builds

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] ~Reset the build number to 0 (if the version changed)~
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

My real goal is to build hdfeos5 without hdf5-static, which was removed from hdf5-feedstock in version 1.14.
That will unblock the hdf5114 migrator on the ncl branch.
As a first step, this PR brings hdfeos5 up to speed with regards to newer hdf5 builds that include libaec as a drop-in replacement/implementation of szlib.

@conda-forge-admin, please rerender


No clear way to store JSON in a column

There are obviously many use cases where a dev would like to store JSON in a text column in sqlite.  I personally was not able to get it to work any way other than this:
        ret = await db.execute('insert into ' + tablename + " (json) values ('" + escape(JSON.stringify(upsertConfig.json)) + "' );");
This is less than ideal because to write and read the dev needs to stringify + escape and then visa versa which doesn't scale well for a lot of big json objects.
There's no way to tell from the docs if there's a better way to do it where the library assists with JSON other than the 'create db from json' examples which are not applicable.
Is there a better way to do it using the tool - or is what I posted above the only option?

@micheal-w-wells Thanks for using the plugin. The json object should be converted in a string and store in a TEXT column. I do not understand what the escape function is doing.  So
ret = await db.execute('insert into ' + tablename + " (json) values ('" + JSON.stringify(upsertConfig.json) + "' );");

should work

thanks @jepiqueau - I was using escape() and unescape() to deal with some of the data having single quotes.  I've tried the sqlite 'quote()' call without success.


add quota

add quota in profile settings to show the count of vms and kuberentes the user user has
hide vms and k8s tabs if quota is 0 (vms = 0 and k8s = 0)

https://www.figma.com/file/5wo9b6Sik1J0z4eLf0CHzB/Untitled?node-id=0-1&t=QYgdeJ1fZA0gh3xR-0

@rawdaGastan there're 3 options, please confirm


Android 12 mirror sensitive apps

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: [Debian, Ubuntu 20.04 LTS]
scrcpy version: [Latest (v1.21 I believe) ]
installation method: [manual build]
device model: Google Pixel 3a XL
Android version: [12 (unfortunately)]

Describe the bug
I'm not sure if this counts as a bug or feature request, but, on android 12, apps that prevent screenshots aren't mirrored on the PC :<.
unfortunately for me, my screen is completely broken, and mirroring my device was my last hope for accessing my device data.
have you investigated this issue? and are there any plans to fix it?
I'm a (junior) software engineer and I'm willing to work on this issue in case no one already tried or concluded that it's not possible.
just in case you wanted to read the terminal output:
[server] INFO: Device: Google Pixel 3a XL (Android 12)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 21.0.3
INFO: Trilinear filtering enabled
INFO: Initial texture: 1080x2160

That's expected on Android 12: #2129.


feat: add favro support

Description
Add DefectTrackerType Favro for web app.
Checklist

[x] Tested manually
[x] Unit tests pass with no errors or warnings
[x] Documentation updated (if applicable)
[x] Reviewed by at least 1 other contributor

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Luigi Job Hangs even when hadoop job is completed,

I'm currently running the latest version of Luigi 2.3.3 alongside with Spark 2.0
I have luigi running my spark jobs, as soon as the spark jobs are completed, luigi doesn't recognize or can't tell the job is done is hangs there waiting.

Xin chào :)! Did this resolve itself?


Create README_HU.md

This has been proof read by a third party.

**translation to my native Hungarian language  **

Duplicate of https://github.com/zksync/credo/pull/69


simplify code using object shorthand in storage views

Description

This PR is related to issue: ui: Simplify code #4956
It uses object shorthand notation from Javascript - ES6 to simplify the .vue files in storage view.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[x] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@davidjumani @utchoang  Ptal, thx!

@davidjumani In my opinion, the shorthand object does not apply to the data() object, but only to the objects that are used in the handling functions of the method, mounted, created,...? What do you think?

@blueorangutan ui

@sureshanaparti a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_multiplication_x:
(SL-JID-885)

While using object shorthand is a good idea, creating variables with empty / null / static values just to be returned a couple of lines down can actually reduce the readability. @Damans227 Can you look at other areas where doing so will make reading the code easier or simplify it ? Thanks

While using object shorthand is a good idea, creating variables with empty / null / static values just to be returned a couple of lines down can actually reduce the readability. @Damans227 Can you look at other areas where doing so will make reading the code easier or simplify it ? Thanks

That makes sense. I will go ahead and close this PR.


Upgrade 4.5 -> 4.6 hangs on ovirt IPI at CSI Driver Operator

Describe the bug
Triggered an upgrade within the console of a 4.5.0-0.okd-2020-10-15-235428 cluster towards 4.6. Upgrade went fine until storage is stuck with the error: OVirtCSIDriverOperatorCRProgressing: OvirtDriverControllerProgressing: Waiting for Deployment to deploy controller pods.
Cluster operators dns, machine-config, and network are still on 4.5. All others report as 4.6.
Version
4.6.0-0.okd-2020-11-27-200126 ovirt IPI
How reproducible
Can't reproduce as resources not available

Log bundle

must-gather: https://1drv.ms/u/s!AhsStU0_yWDegUXpTfbwE7Bq67IV

That seems to be affecting OCP as well - https://bugzilla.redhat.com/show_bug.cgi?id=1904385.
Lets track the issue there as its not OKD-specific


feat: four new clustering wrappers and a tutorial notebook

Thanks for the addition, @cassales ! Please add the required resource (gif) to solve the error


small config updates

To center on the flood and feature a better gage

I think this will be obsolete soon (I think we are close to merging the code using the reference.json) and the parameters changed are all in reference.json.

no prob. I can PR a change in reference.json when that work is merged


Fixes #2429. Error when replacing a word in textView.

Fixes #2429 - It was allowing negative indexing.
@tig don't forget to doing a cherry-pick to the v1. Thanks.
Pull Request checklist:

[x] I've named my PR in the form of "Fixes #issue. Terse description."
[x] My code follows the style guidelines of Terminal.Gui - if you use Visual Studio, hit CTRL-K-D to automatically reformat your files before committing.
[x] My code follows the Terminal.Gui library design guidelines
[x] I ran dotnet test before commit
[ ] I have made corresponding changes to the API documentation (using /// style comments)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any poor grammar or misspellings
[x] I conducted basic QA to assure all features are working

@tig don't forget to doing a cherry-pick to the v1. Thanks.

@BDisp I don't know how to do that, I guess:

Can you help?

I use the Visual Studio 2022 for that. I'll submit a PR to the v1.

Well, the cherry-pick seems not be apply for this situation. Maybe by to belong to a different branch header. I'll do by hand and submitting a PR.

@tig I figured it out. I was trying doing the cherry-pick from the v2_develop branch and the option was unavailable. Then I tried doing from my PR branch and the cherry-pick was available.


new release to include subscription endpoint configuration fix

Can we get a new release pushed to npm with https://github.com/apollographql/embeddable-explorer/pull/250 in it?

Hi! apologies I might have forgot that step but the newest version should include this :)


handle return null empty will rewrite to empty string

This could have weird consequences for people switching Spark version, so we won't include in Spark 2.X.


Dogecoin node has stopped syncing

The node has stopped syncing with the below logs:
2024-01-02 05:21:41 connect() to <IP_ADDRESS>:22556 failed after select(): Connection refused (111)
2024-01-02 05:21:53 connect() to <IP_ADDRESS>:22556 failed after select(): Connection refused (111)
2024-01-02 05:23:49 version handshake timeout from 17374
2024-01-02 05:24:02 connect() to <IP_ADDRESS>:22556 failed after select(): Connection refused (111)
2024-01-02 05:24:06 version handshake timeout from 17375
2024-01-02 05:24:29 version handshake timeout from 17376
2024-01-02 05:26:27 connect() to <IP_ADDRESS>:22556 failed after select(): Connection refused (111)
2024-01-02 05:26:37 version handshake timeout from 17377
2024-01-02 05:27:14 connect() to <IP_ADDRESS>:22556 failed after select(): Connection refused (111)
2024-01-02 05:27:15 connect() to <IP_ADDRESS>:22556 failed after select(): Connection refused (111)
2024-01-02 05:27:16 version handshake timeout from 17378
2024-01-02 05:27:28 version handshake timeout from 17379
2024-01-02 05:27:29 version handshake timeout from 17380
2024-01-02 05:27:43 connect() to <IP_ADDRESS>:22556 failed after select(): Connection refused (111)
2024-01-02 05:27:58 version handshake timeout from 17381
2024-01-02 05:28:04 version handshake timeout from 17382
2024-01-02 05:28:23 connect() to <IP_ADDRESS>:22556 failed after select(): Connection refused (111)
2024-01-02 05:28:23 connect() to <IP_ADDRESS>:22556 failed after select(): Connection refused (111)

Below is the docker compose file we are using to start the node:
    node-dogecoin:
        image: dogecoin:latest
        container_name: dogecoin_container
        restart: always
        ports:
            - "3332:22555"
            - "22556:22556"
        environment:
            PRINTTOCONSOLE: 1
            RPCUSER: "****"
            RPCPASSWORD: "***"
        volumes:
            - /***/node-dogecoin/data:/dogecoin/.dogecoin
            - /***/node-dogecoin/dogecoin-data:/data
        command:
            - "-onlynet=ipv4"
            - "-reindex"
            - "-txindex"
            - "-rpcworkqueue=128"
            - "-rpcthreads=128"
            - "-dbcache=1024"
            - "-rpcallowip=<IP_ADDRESS>/0"
            - "-rpcbind=<IP_ADDRESS>"
            - "-rpcbind=dogecoin_container"
            - "-blocksonly=1"

Verified and the ports are not blocked. Please help resolve this issue

Do you see any connections when you run:
netstat -antp | grep -i doge ?

@DemonRx : I tried running the above command but could not see any response.

@DemonRx : I tried running the above command but could not see any response.

The daemon isn't running

@DemonRx : Could you please let me know how can we start running the daemon. And earlier just with the above setup the node was syncing fine.

if you pass -reindex into the default startup command, every time you start up your node will parse the entire chain and reindex it. So you'll want to drop that.

@patricklodder : I tried re-running the node again by removing the reindex but that did not help the node to sync and i still see the same error logs as mention above.

Alright, let's triage this step by step. For starters:

What dogecoind version are you using in your docker image and from what source? Can you share a Dockerfile so that we can try to reproduce your image?
What does the head of the log say when you start the node - i.e. the first 100 lines?
What's the output of dogecoin-cli getnetworkinfo?

We are using the below Dockerfile

FROM debian:latest
ARG VERSION=latest
ENV USER=dogecoin
ENV DATADIR=/${USER}/.dogecoin
# Update root env, to behave like user when using executables
ENV PATH=$PATH:/${USER}/bin
ENV HOME=/${USER}
RUN apt update
# Install dogecoin from github releases (https://github.com/dogecoin/dogecoin/releases)
RUN apt install -y wget gosu python3 man
RUN wget https://github.com/dogecoin/dogecoin/releases/download/v${VERSION}/dogecoin-${VERSION}-x86_64-linux-gnu.tar.gz && \     mkdir ${USER} && \     tar -xvf dogecoin-${VERSION}-x86_64-linux-gnu.tar.gz -C ${USER}  --strip-components=1
# User configuration
WORKDIR /${USER}
RUN adduser ${USER} --home /${USER} --disabled-password --gecos "" && \     chown -R ${USER}:${USER} .
COPY docker-entrypoint.py /entrypoint.py
ENTRYPOINT ["python3", "/entrypoint.py"]

Logs on starting the node

2024-01-02 16:58:48 Dogecoin version v<IP_ADDRESS>-31afd1331 2024-01-02 16:58:48 InitParameterInteraction: parameter interaction: -blocksonly=1 -> setting -whitelistrelay=0 2024-01-02 16:58:48 Assuming ancestors of block 77e3f4a4bcb4a2c15e8015525e3d15b466f6c022f6ca82698f329edef7d9777e have valid signatures. 2024-01-02 16:58:48 ParameterInteraction: parameter interaction: -blocksonly=1 -> setting -walletbroadcast=0 2024-01-02 16:58:48 Default data directory /dogecoin/.dogecoin 2024-01-02 16:58:48 Using data directory /dogecoin/.dogecoin 2024-01-02 16:58:48 Using config file /dogecoin/.dogecoin/dogecoin.conf 2024-01-02 16:58:48 Using at most 125 automatic connections (1048576 file descriptors available) 2024-01-02 16:58:48 Using 32 MiB out of 32 requested for signature cache, able to store 1048576 elements 2024-01-02 16:58:48 Using 4 threads for script verification 2024-01-02 16:58:48 scheduler thread start 2024-01-02 16:58:48 HTTP: creating work queue of depth 128 2024-01-02 16:58:48 Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcuser for rpcauth auth generation. 2024-01-02 16:58:48 HTTP: starting 128 worker threads 2024-01-02 16:58:48 Using BerkeleyDB version Berkeley DB 5.3.28: (September  9, 2013) 2024-01-02 16:58:48 Using wallet wallet.dat 2024-01-02 16:58:48 init message: Verifying wallet... 2024-01-02 16:58:48 CDBEnv::Open: LogDir=/dogecoin/.dogecoin/database ErrorFile=/dogecoin/.dogecoin/db.log 2024-01-02 16:58:48 Bound to [::]:22556 2024-01-02 16:58:48 Bound to <IP_ADDRESS>:22556 2024-01-02 16:58:48 Cache configuration: 2024-01-02 16:58:48 * Using 128.0MiB for block index database 2024-01-02 16:58:48 * Using 8.0MiB for chain state database 2024-01-02 16:58:48 * Using 888.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space) 2024-01-02 16:58:48 init message: Loading block index... 2024-01-02 16:58:48 Opening LevelDB in /dogecoin/.dogecoin/blocks/index 2024-01-02 16:58:48 Opened LevelDB successfully 2024-01-02 16:58:48 Using obfuscation key for /dogecoin/.dogecoin/blocks/index:<PHONE_NUMBER>000000 2024-01-02 16:58:48 Opening LevelDB in /dogecoin/.dogecoin/chainstate 2024-01-02 16:58:48 Opened LevelDB successfully 2024-01-02 16:58:48 Using obfuscation key for /dogecoin/.dogecoin/chainstate: 6528c669df551b38

When I run the command dogecoin-cli getnetworkinfo from inside the container. I get the below response
error: Could not locate RPC credentials. No authentication cookie could be found, and no rpcpassword is set in the configuration file (/dogecoin/.dogecoin/dogecoin.conf)

Dockerfile

Is the entry point file taken from https://github.com/dogecoin/docker/blob/main/1.14.5/bullseye/entrypoint.py or somewhere else?

No authentication cookie could be found, and no rpcpassword is [..]

you'll probably need to add -rpcuser=<RPCUSER> and -rpcpassword=<RPCPASSWORD> to your cli command (before getnetworkinfo).

@patricklodder : Below is the response after running the command dogecoin-cli -rpcuser=** -rpcpassword=** getnetworkinfo from the dogecoin container
{   "version": 1140500,   "subversion": "/Shibetoshi:1.14.5/",   "protocolversion": 70015,   "localservices": "0000000000000005",   "localrelay": false,   "timeoffset": 0,   "networkactive": true,   "connections": 1,   "networks": [     {       "name": "ipv4",       "limited": false,       "reachable": true,       "proxy": "",       "proxy_randomize_credentials": false     },     {       "name": "ipv6",       "limited": true,       "reachable": false,       "proxy": "",       "proxy_randomize_credentials": false     },     {       "name": "onion",       "limited": true,       "reachable": false,       "proxy": "",       "proxy_randomize_credentials": false     }   ],   "relayfee": 0.00100000,   "incrementalfee": 0.00010000,   "softdustlimit": 0.01000000,   "harddustlimit": 0.00100000,   "localaddresses": [   ],   "warnings": "" }
The entrypoint and Dockerfile were taken from https://github.com/dogecoin/dogecoin/pull/2337/files

@patricklodder : Any update on this?

@patricklodder : Below is the response after running the command dogecoin-cli -rpcuser=** -rpcpassword=** getnetworkinfo from the dogecoin container
{   "version": 1140500,   "subversion": "/Shibetoshi:1.14.5/",   "protocolversion": 70015,   "localservices": "0000000000000005",   "localrelay": false,   "timeoffset": 0,   "networkactive": true,   "connections": 1,   "networks": [     {       "name": "ipv4",       "limited": false,       "reachable": true,       "proxy": "",       "proxy_randomize_credentials": false     },     {       "name": "ipv6",       "limited": true,       "reachable": false,       "proxy": "",       "proxy_randomize_credentials": false     },     {       "name": "onion",       "limited": true,       "reachable": false,       "proxy": "",       "proxy_randomize_credentials": false     }   ],   "relayfee": 0.00100000,   "incrementalfee": 0.00010000,   "softdustlimit": 0.01000000,   "harddustlimit": 0.00100000,   "localaddresses": [   ],   "warnings": "" }
The entrypoint and Dockerfile were taken from https://github.com/dogecoin/dogecoin/pull/2337/files

Looks like you're online since the daemon responded. Check if the blocked are synced against an explorer

@Swornatoya
### Retrieve list of Active Dogecoin Nodes and insert into dogecoin.conf ###
### Prepends "addnode=" to each IP ###

#! /bin/bash
wget -q https://api.blockchair.com/dogecoin/nodes -O - | egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' > dogecoinNodeList.txt && sed -i "s/^/addnode=/" dogecoinNodeList.txt #| && cat dogecoinNodeList.txt

Here's a simple script you can poll the blockchair API for current list of active Doge nodes and add them to your dogecoin.conf

Here's a simple script you can poll the blockchair API for current list of active Doge nodes and add them to your dogecoin.conf

Recommend against this because this gives a third party the power to eclipse attack your node - also see some of the discussion in #3253.
Have you found a problem with the usual peer discovery methods? The posted log doesn't show that there's an issue with that.

Any update on this?

@Swornatoya I am after many attempts unable to reproduce this on any of my (x86_64) systems with 1.14.5.

Have you eliminated Docker's bridge configuration and/or any firewall rules that would prevent bytes from coming in? Are you able to reproduce this issue on another host too?
You could rename peers.dat from the datadir, if this helps it would mean that you have a corrupted address database (which could have been a malicious effort; note that it would be a lot safer to use 1.14.6 for this, because it has additional protection against eclipse attacks.)

@patricklodder : I tried renaming the peers.dat but that did not help.
I was trying to setup a new node and placed the Dockerfile and dockerentrypoint.py and then tried to build the image with command : sudo docker build ./ -t dogecoin:v1.14.5 and also I passed the version as 1.14.5 in the Dockerfile I getting the below errors:
#0 1.208  28200K .......... .......... .......... .......... .......... 99% 21.4M 0s
#0 1.211  28250K .......... .......... .......... .......... .......... 99%  193M 0s
#0 1.211  28300K .......... .......... .......... .......... .......... 99%  206M 0s
#0 1.211  28350K .......... ......                                     100%  259M=0.2s
#0 1.211
#0 1.211 2024-02-01 09:34:30 (132 MB/s) - 'dogecoin-1.14.5-x86_64-linux-gnu.tar.gz' saved [29046800/29046800]
#0 1.211
#0 1.323 sha256sum: dogecoin-1.14.5-x86_64-linux-gnu.tar.gz: FAILED
#0 1.323 WARNING: 1 computed checksum did NOT match
------
Dockerfile:28
--------------------
  27 |     # see https://github.com/docker-library/official-images#security
  28 | >>> RUN cd /tmp && \
  29 | >>>     wget https://github.com/dogecoin/dogecoin/releases/download/v${VERSION}/dogecoin-${VERSION}-x86_64-linux-gnu.tar.gz && \
  30 | >>>     echo "${VERSION_HASH} dogecoin-${VERSION}-x86_64-linux-gnu.tar.gz" | sha256sum -c && \
  31 | >>>     tar -xvf dogecoin-${VERSION}-x86_64-linux-gnu.tar.gz --strip-components=1 && \
  32 | >>>     cp share/man/man1/*.1 /usr/share/man/man1 && \
  33 | >>>     cp bin/dogecoin* /usr/local/bin && \
  34 | >>>     chown ${USER}:${USER} /usr/local/bin/dogecoin* && \
  35 | >>>     chmod 4555 /usr/local/bin/dogecoin* && \
  36 | >>>     rm -rf /tmp/*
  37 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /tmp &&     wget https://github.com/dogecoin/dogecoin/releases/download/v${VERSION}/dogecoin-${VERSION}-x86_64-linux-gnu.tar.gz &&     echo \"${VERSION_HASH} dogecoin-${VERSION}-x86_64-linux-gnu.tar.gz\" | sha256sum -c &&     tar -xvf dogecoin-${VERSION}-x86_64-linux-gnu.tar.gz --strip-components=1 &&     cp share/man/man1/*.1 /usr/share/man/man1 &&     cp bin/dogecoin* /usr/local/bin &&     chown ${USER}:${USER} /usr/local/bin/dogecoin* &&     chmod 4555 /usr/local/bin/dogecoin* &&     rm -rf /tmp/*" did not complete successfully: exit code: 1

Please let me know if I am missing anything here. I copied the Dockerfile and dockerentrypoint.py from https://github.com/dogecoin/dogecoin/blob/a21cc8870c14b752cf75b9f8b356c84d358c8ef1/contrib/docker/Dockerfile
Nothing is being blocked by the firewall and also getting the same error with 1.14.6

Hi all,
I am facing exactly the same issue.  My node sync seems stopped on the block height 4954439 each time
I am using a configuration (Dockerfile & docker-compose) that has works many times on some previous VPS i had (ubuntu) but with my last VPS (ubuntu also) it is totally stuck on the same block each time (i have retried the operation many times, i have tried to delete the peers.dat and rerun the node but nothing change)
Here are the logs, i have taken 2 differents screenshots  showing the same results (sync stopped on block height 4954439)

my dockerfile :
FROM debian:latest ARG version RUN apt update && apt upgrade -y && apt install -y curl gpg ca-certificates tar dirmngr RUN curl -o dogecoin.tar.gz -Lk https://github.com/dogecoin/dogecoin/releases/download/v${version}/dogecoin-${version}-x86_64-linux-gnu.tar.gz RUN tar -xvf dogecoin.tar.gz RUN rm dogecoin.tar.gz RUN install -m 0755 -o root -g root -t /usr/local/bin dogecoin-${version}/bin/* EXPOSE 22555 EXPOSE 22556 CMD ["dogecoind", "-printtoconsole"] LABEL name="dogecoin-node" version="${version}" description="Dogecoin fullnode container based off Debian"
my docker-compose file :
`
version: '3.8'
services:
dogecoin-node:
build:
context: .
dockerfile: Dockerfile
args:
version: '1.14.6'
image: dogecoin-node:latest
ports:
- "22555:22555"
- "22556:22556"
volumes:
- /app/dogecoin-node/volume:/root/.dogecoin
- /app/dogecoin-node/dogecoin.conf:/root/.dogecoin/dogecoin.conf
command: ["dogecoind", "-conf=/root/.dogecoin/dogecoin.conf"]
restart: unless-stopped
`
my dogecoin.conf :
printtoconsole=1 server=1 listen=1 paytxfee=0.01 maxconnections=150 rpcuser=user rpcpassword=pass rpcport=22555 maxmempool=8000 rpcworkqueue=100 txindex=1 rpcallowip=<IP_ADDRESS> dbcache=16384
Do you know how to unlock the situation ? i am on it for few days
thanks for your help

Thanks @patricklodder for your attention.
On my side :

OS : Ubuntu Release: 22.04
Docker version : Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.1
Daemon.json : don't have this file on the system

Another information : when the sync is stuck with the log i have showed, it is impossible to stop the node properly. I was connected in the container direclty with "docker exec -it ..." and i had run the "dogecoin-cli stop" command.
The dogecoind process continue to run but never stop by itself after 30 min. After that i have to force the container to stop using "docker stop" and when i have run the node again using the "docker-compose up" command, the sync has restarted at 80% (it was as more than 98% when the sync was stopped so it is really frustrating)
And each time the sync stopped on the block height 4954439.
I really don't understand what happened

I will set up a fresh ubuntu 22.04 and test overnight.

@Dogihub I cannot reproduce your error; I synched past 4954439 with your Dockerfile:
2024-02-23 11:35:23 UpdateTip: new best=3ac8ddaea330e0ef5872cd659e628ea345bcab516dbc0b8fbc8da9c5b6ea4573 height=5101840 version=0x00620104 log2_work=75.931572 tx=272134307 date='2024-02-23 11:35:03' progress=1.000000 cache=1715.4MiB(7272205tx)

I was able to reproduce an OOM situation due to this line in your config (I read over it initially), but this probably didn't happen for you:
maxmempool=8000

Having a 16GB dbcache + an 8GB mempool means you need at least 28 GB RAM available. (The maximum effective queue size for most of the network is  24 * 60 * 1MB = 1440 MB so an 8GB mempool with default expiry makes no sense as a setting, because it'll just expire any transactions aged 24h after an inflow volume of 1440MB/day, in the best case). For me, because I ran a 20GB RAM host with no swap, dogecoind got OOM killed around block 4.5M when my cache started taking the extra space from mempool.
However: If you have swap space on your host, this is where things may get really slow and dogecoind may become unresponsive.
All in all, I think that:

Your issue is not related to the one from OP. The outcome may look the same, but the cause is probably different.
You need to tune your memory settings a bit: 16GB dbcache can work fine (I run this on large production nodes too) but I'd recommend just keeping the default 300MB mempool, or, if you're looking at retaining unconfirmed historical transactions for a specific use-case, increment mempoolexpiry by 1 for every 60 MB you add to maxmempool over 1440MB. Please make sure you have enough available RAM, at least dbcache + maxmempool + 4GB, and make sure your host doesn't ever swap the cache.

@patricklodder thanks for your answer.
My VPS has 120GO of RAM so i was thinking it was widely enough but i take your advice and i am trying right now with the folling dogecoin.conf (in fact i have just remove the maxmempool parameter to use the default one):
printtoconsole=1
server=1
listen=1
paytxfee=0.01
maxconnections=150
rpcuser=user
rpcpassword=pass
rpcport=22555
rpcworkqueue=100
txindex=1
rpcallowip=<IP_ADDRESS>
dbcache=16384

I keep you in touch

@patricklodder unfortunatly it seems to be again the same things on another block height this time :

Logs is stuck on this for 3 hours now
I just try to stop the process properly with dogecoin-cli stop and log is now stuck on this :
dogecoin-node_1  | 2024-02-24 07:07:10 tor: Thread interrupt
dogecoin-node_1  | 2024-02-24 07:07:10 addcon thread exit
dogecoin-node_1  | 2024-02-24 07:07:10 torcontrol thread exit
dogecoin-node_1  | 2024-02-24 07:07:10 scheduler thread interrupt

I force the container stop by using "docker stop" :
root@vmi1632568:/app/dogecoin-node# docker stop 237e42da79f7
Error response from daemon: cannot stop container: 237e42da79f7: tried to kill container, but did not receive an exit event

I just run another try without the dbcache parameter this time.


how to auth by postman

Hi
How to config POSTMAN for access REST API without add token as manually?
Thanks

@essivision: You can use header: Authorization = "Bearer " + access_token

I want to add email and password to POSTMAN and itself get token and set in header. Is it possible?

@essivision : You can login with email password then set the token in APIs. I don't know if postman cant hold process you want, but it has Manage Preset feature which help you quickly use/change predefined values


Asset validation failed

Asset validation failed
Invalid Signature. Code object is not signed at all. The file at path “AppProject.app/Frameworks/ADEUMInstrumentation.framework/Materials/xcode_build_dsym_upload.sh” is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose “Clean All” in Xcode, delete the “build” directory in the Finder, and rebuild your release target

In Addition
Asset validation failed
Invalid Bundle. The bundle AppProject.app/Frameworks/ADEUMInstrumentation.framework does not support the minimum OS Version specified in the Info.plist. (ID: a06010d1-b5e8-4800-bb18-f833bcefbe99)

Hi, I would also like this to be addressed. It seems like it is an issue when building with Xcode 15.3
If it's not fixed we will be forced to remove this SDK.

having same issue also with XCode 15.4, any workaround besides XCode 15.2 ?

Hi @ababeel , @bon-dan ,
Issue is identified and fix for the same will be available in the next release for the Swift Package manager. You will not see same issue in cocopods distribution please try the same.

Hi @ababeel , @bon-dan ,
Issue is identified and fix for the same will be available in the next release for the Swift Package manager. You will not see same issue in cocopods distribution please try the same.

@ManoharaReddyP when is the next release scheduled? we are not planning to integrate cocoapods just for this one library


Add webcam sharing ability

First of all, congrats on this awesome telestrating app.
In some setups, involving external gear (Blackmagic ATEMs for instance), the Program output or the cleanfeed is not a screen or a sharable window. However, most of them can be connected via USB and send the PGM through a webcam feed.
Do you think it would be possible to use a webcam feed instead of a screen share?

I think this could be possible using the getUserMedia api. Essentially replacing the getDisplayMedia() call in webConnection.js.
In theory this would allow you stream a webcam instead of a display surface. It would probably need some extra work to enumerate the devices if you have more than one thing detected as a webcam as I don't think the browser does it for you (although maybe it does?). It may also need some work to get the correct aspect ratio between whatever the webcam gives and the OBS source you are trying to display onto, but I think it would probably work.
If you want to try it out, just change the line mentioned above to:
this.#stream = await navigator.mediaDevices.getUserMedia({
  video: true,
  audio: false,
});

And it'll share the webcam instead of a display (you might have to do additional tweaking to get the correct webcam if you have more than one - the mdn link should explain how).
I don't actually have any of the tech you mentioned to be able to confirm if it works with those or not.

I'll try to modify it to have it working. It looks like we need to add a deviceId in the video object when using getUserMedia in order to select the webcam.
That will require some frontend modifications to make it releasable: select between display capture vs webcam selection.


json codec for publish payload

Supports legacy formats and field labels that are
still needed internally. It will likely be a long time
before we can fully deprecate and simplify those
paths.
Also has some to make it more efficient when working
with SmallHashMap values.

Was bummed to notice that this doesn't include a WebApi. Is there any updated plan for some rudimentary publishing functionality?

I'm hoping to get it done by end of the week.

:joy:


Added SetSize functionality

Added terminal/pty resize functionality and utility function to inherit size from master's pty to slave. Changes type winsize to make it accessible from outside the package.

Just curious if you intend to merge this?


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


rust-analyzer support rustdocflags?

I'm using rust-analyzer in vs-code.
This is awesome!
I want to use this with ./.cargo/config.toml like that
[build]
rustdocflags = [ "--html-in-header", "./.cargo/docs-header.html" ]

This html is include nice headers for documents.
Is this supported?

Details
I'm writing mathematical lib and bin, using katex for document.
./.cargo/docs-header.html including katex css and javascript link.
write code like that
/// $a * b + c$
pub struct CalABC<T>{...}

then, cargo doc --open --no-deps (reference .cargo/config.toml -> ./.cargo/docs-header.html)

I'm expecting vs-code to show like above, but

I want to see doc formatted by katex...
Is there any idea?

Duplicate of https://github.com/rust-analyzer/rust-analyzer/issues/5321.


Unable to load ffmpeg on Windows (win32 ImportError)

Hello, I have installed pyffmpeg on Windows 11 via pip (Python 3.9.12):
py -m pip install pyffmpeg
From the interpreter, I can import pyffmpeg without issue, but when I try to run a function,  e.g.:
>>> import pyffmpeg
>>> pyffmpeg.FFmpeg()

I get the following error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\ASC\AppData\Local\Programs\Python\Python39\lib\site-packages\pyffmpeg\__init__.py", line 50, in __init__
    self._ffmpeg_file = Paths().load_ffmpeg_bin()
  File "C:\Users\ASC\AppData\Local\Programs\Python\Python39\lib\site-packages\pyffmpeg\misc.py", line 55, in load_ffmpeg_bin
    from .static.bin.win32 import win32
ImportError: cannot import name 'win32' from 'pyffmpeg.static.bin.win32' (C:\Users\ASC\AppData\Local\Programs\Python\Python39\lib\site-packages\pyffmpeg\static\bin\win32\__init__.py)

I have removed and reinstalled with no luck. The same command works fine when running on macOS.

@forceflow1049 The files were removed and were not put back. That was why

@forceflow1049 it has been fixed in v.2.3.02.
Please update it.
Sorry for the delay and thanks for reporting the issue.


Support of django 1.8.

Currently the project don't support django 1.8. The project use MiddlewareMixin come with django 1.10. Django 1.8 is still used I would to know if you are ok to add the support of this django version.

Sure - want to open up a PR that does this? I'd like to stick to using MiddlewareMixin where possible, but we can always fallback to support versions of Django before 1.10 without the mixin.


fix(typo): fix then/than in rounded error messages

Got the error yesterday and spotted the typo
All Submissions:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Does your submission pass tests?

@hrgdavor thanks for the quick review! I cherry picked it here: https://github.com/jscad/OpenJSCAD.org/pull/1328


Implement AsyncClient::InsertObject()

Hi @coryan this seems to be a good initiation of my journey towards contribution to FOSS projects.
can you please assign this to me ??

I do not believe this is a good bug to get started. It would require using a lot of ad-hoc tooling in the google-cloud-cpp project.  I will ping you in a separate bug that may be a better start.

We will try to schedule this for 2023/H2

This is now scheduled for 2023/H2


Bump exhibitor to update aws sdk version to support unpublished govcloud regions

Older versions of the AWS SDK didn’t allow for unpublished AWS region
overrides via configuration file in .aws - this breaks gov’t customers
ability to us the aws_s3 storage option for exhibitor.

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Work in Progress

@mesosphere-mergebot bump-ee

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready for Review

Hi, would you mind patching your PR to bump exhibitor by just one more commit (or equivalently, the latest HEAD) to include https://github.com/dcos/exhibitor/commit/a7c5084ec1d8c1da12024e91e9f07d53367a3f0b?

If you'd rather not I'll create a separate PR. I am hoping to piggy back on your work here :)

@gpaul go ahead and add it here. Keith will not mind. Having a common goal will make this land faster. In return can please do me a favor a fix that pr template for Keith please? ;-)

Great - will do

Rebased on master (removing 'merge master into xxx' commit generated by github) and bumped exhibitor further. TODO(gpaul): update PR description

Hmm I guess I can't LGTM something to which I made the last commit. Changing my review to arbitrarily "request changes".

What should the PR description be?  I can change it

Here you go
## High-level description

Bump Exhibitor for:
- AWS SDK setting of region, with support for endpoint override.
- Enable specifying the Endpoint Suffix in the azure connection string

## Corresponding DC/OS tickets (obligatory)

These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

  - [DCOS_OSS-1940](https://jira.mesosphere.com/browse/DCOS_OSS-1940) exhibitor: bump aws sdk version to support unpublished govcloud regions
  - [DCOS_OSS-1941](https://jira.mesosphere.com/browse/DCOS_OSS-1941) exhibitor: enable specifying the Endpoint Suffix in the azure connection string

## Related tickets (optional)

Other tickets related to this change:

  - [DCOS_OSS-<number>](https://jira.mesosphere.com/browse/DCOS_OSS-<number>) Foo the Bar so it stops Bazzing.

## Checklist for all PRs

  - [ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
  - [x] Read the [DC/OS contributing guidelines](https://github.com/dcos/dcos/blob/master/contributing.md)
  - [x] Followed relevant code rules [Rules for Packages and Systemd](https://github.com/dcos/dcos/tree/master/docs)

## Checklist for component/package updates:

If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath `packages`), then in addition to the above please also include:

  - [x] Change log from the last version integrated (this should be a link to commits for easy verification and review): [exhibitor](https://github.com/dcos/exhibitor/compare/2c0f5e2a9d9962d0b02dd022fe8980a95cb5f53b...4965c0c9e3e2150dd5bd5af44d55204bb605a5ba)
  - [ ] Test Results: [link to CI job test results for component]
  - [ ] Code Coverage (if available): [link to code coverage report]
___

@gpaul can you find someone please? Thanks

@jgehrcke PTAL?

@mesosphere-mergebot bump-ee

Rebased on master once again to rerun bump-ee

@mesosphere-mergebot bump-ee

@mhrabovcin can you inspect the CI error https://teamcity.mesosphere.io/viewLog.html?buildId=884905&buildTypeId=DcOs_Open_Test_IntegrationTest_AzureArm and leave proper note here and in JIRA?

@mesosphere-mergebot ship_it_label_status_check

teamcity/dcos/test/azure/arm failure:
[10:21:48][1821] Failed to execute script cli
[10:21:48]Traceback (most recent call last):
[10:21:48]  File "dcos_launch/cli.py", line 133, in <module>
[10:21:48]  File "dcos_launch/cli.py", line 125, in main
[10:21:48]  File "dcos_launch/cli.py", line 117, in do_main
[10:21:48]  File "dcos_launch/arm.py", line 53, in delete
[10:21:48]  File "dcos_launch/platforms/arm.py", line 303, in delete
[10:21:48]  File "site-packages/azure/mgmt/resource/resources/v2016_02_01/operations/resource_groups_operations.py", line 308, in delete
[10:21:48]  File "site-packages/azure/mgmt/resource/resources/v2016_02_01/operations/resource_groups_operations.py", line 300, in get_long_running_output
[10:21:48]msrestazure.azure_exceptions.CloudError: Azure Error: ResourceGroupNotFound

Already tracked https://jira.mesosphere.com/browse/DCOS_OSS-1877

@mesosphere-mergebot override-status teamcity/dcos/test/azure/arm DCOS_OSS-1877


PurgeItemsAsync with DiscardPendingOperations Unexpected Behaviour

The PurgeItemsAsync method of OfflineTable accepts a query and PurgeOptions, allowing pending operations to be discarded.
Expected Behaviour
I expected it to discard operations for the entities in the query.
Actual Behaviour
In release 6.0.5 and earlier it purges all operations in the OperationsTable for the specified table.
Suggested Change
In Microsoft.Datasync.Client\Offline\SyncContext.cs, DiscardTableOperationsAsync could be extended or overloaded with a method that takes a "query" parameter. PurgeItemsAsync could then use this method to be more selective in the pending operations it deletes.

Smells like a bug - I'll take a look after Ignite.

Since the query parameter for the PurgeItemsAsync is totally different from the operations queue, this is going to be "hard".  I'll need to adjust the query ahead of time to only return the IDs for the purged items, then remove the operations based on tableName and ItemId from both the table and the operations queue.
This is much more of a major change that first envisioned, and it's a behavioral breaking change.  I agree with you that this is what should be happening.  I'm just unsure of the timeline right now.

Since the query parameter for the PurgeItemsAsync is totally different from the operations queue, this is going to be "hard". I'll need to adjust the query ahead of time to only return the IDs for the purged items, then remove the operations based on tableName and ItemId from both the table and the operations queue.
This is much more of a major change that first envisioned, and it's a behavioral breaking change. I agree with you that this is what should be happening. I'm just unsure of the timeline right now.

Yes, I can see it is an awkward one. It caught us out, but we've been able to code around it so it isn't a priority for us.

Since you have worked around it, I'm going to close this for v6.  (If anyone is having issues that haven't reported it - let me know in a new issue).
I'll fix this in v8.


[BUG]branch-0.6-release: In pca_demo, singular_values are NOT equal

In code block 10, when comparing cuml to scikitlearn, comparing singular values returns "not equal"
compare pca: cuml vs sklearn          singular_values_ NOT equal
compare pca: cuml vs sklearn               components_ equal
compare pca: cuml vs sklearn       explained_variance_ equal
compare pca: cuml vs sklearn explained_variance_ratio_ equal

Ran twice to confirm.
ONLY happens when using the mortgage dataset.   the random values case returns equal

Onur wanted me to add that these were working from a docker container built from branch-0.6 source on 03/11.

closed as this was fixed in 0.6


Fix web server removing double slash is https URL.

There was an issue where if you go to the main page for a Nomination project and search for a URL there to see if it exists and it does not exist, the tool takes you to a page to nominate the URL. On that page when it puts the URL into the nomination form for you automatically, the URL was only going in with one of the slashes in 'https://'.
ping @somexpert

:thumbsup:


Disable for external links?

Hi, sorry if I'm a little green here--is there a way to disable this for external links?
I'm porting over an old blog that has mostly 'https://' and some local assets but still want to have enhanced:img/ run only on local images.
Thanks!

I’m not sure I understand - why are you using external links with the enhanced image component in the first place?

So in the Markdown I'll have ![Some external image](https://some.url/123.png "An image") for things I'm not hosting and also ![Some internal image](../my-image.png "An image to optimize") for ones I am. When I try and run the site with this plugin it crashes because I believe it's trying to make every MD image into an enhanced image. Is that right?


textdiffuser download images error

Describe the bug
Model I am using (textdiffuser):
When I run the following command, some images cannot be downloaded due to network or source issues.
img2dataset --url_list=url.txt --output_folder=laion_ocr --thread_count=64  --resize_mode=no
For images that have not been successfully downloaded, we cannot move them to the corresponding file according to the index.
When training the dataset, do I need to delete folders without images to ensure compliance with the following structure?
├── 28330/
│   ├── 283305839/
│   │   ├── caption.txt
│   │   ├── charseg.npy
│   │   ├── image.jpg   # Is it necessary during training?
│   │   ├── info.json
├── ├── └── ocr.txt

Could you help me? Thanks a lot.

+1

yeah, if the folders do not contain images, please remove it.


Interested in port to 1.12?

Hi @Vashmeed!
I've ported this forward to 1.12 and was wondering if you might be interested in the changes? Let me know and I'll submit a PR for it. This is a super useful mod for testing oregen changes, so I'd love to see it updated. :)

Hey @dizzyd!
That sounds awesome and I imagine will help a lot of people out!
Please do request a PR whenever you can =]

Hi @Vashmeed!
I submitted the PR earlier this morning. Please let me know if you have any concerns/issues.


feat: support arbitrary values in helm install

support setting arbitrary values in installing kong by helm to support setting images.effectiveSemver to fix parsing semver in s integration tests against kong nightly image.
REVIEW: move the setting of other values to addon.addtionalValues?

Codecov Report
Patch coverage: 53.84% and project coverage change: -38.16% :warning:

Comparison is base (045419a) 60.20% compared to head (caaf805) 22.04%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #776       +/-   ##
===========================================
- Coverage   60.20%   22.04%   -38.16%
===========================================
  Files          48       48
  Lines        3905     3914        +9
===========================================
- Hits         2351      863     -1488
- Misses       1262     2924     +1662
+ Partials      292      127      -165

Flag
Coverage Δ

integration-test
22.04% <53.84%> (-38.16%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

pkg/clusters/addons/kong/addon.go
20.36% <0.00%> (-39.55%)
:arrow_down:

pkg/clusters/addons/kong/builder.go
60.86% <70.00%> (-25.37%)
:arrow_down:

... and 35 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


add google cloud functions to examples

Will do this together with aws lambda next week

Added google cloud examples in this PR: https://github.com/upstash/upstash-redis/pull/654


@media queries

Hi all,
I'm new to the node world and currently experimenting with email-templates. AFAIK, juice2 supports media queries. What's the best practice for using them in email-templates? Split the css into 2 parts, include the media queries in the html.* and put everything else to the style.? I can't put them into style., since they're not included in the rendered html, but they have to be there in order to work.
Thanks!

Hi @csiszi!
You can check out the juiceOptions parameter, which has a way to tell juice not to remove the media queries.
You can pass them like here:
https://github.com/niftylettuce/node-email-templates#template-engine-options
And here's the complete list of options:
https://github.com/automattic/juice#options
In particular there's preserveMediaQueries and removeStyleTags. If this worked please do let me know to close this issue.

Hi @jeduan ,
thanks for the answer! I've tried preserveMediaQueries, but it's not working in this case (or I'm doing something wrong). node-email-templates is using juice.inlineContent, which takes a html (*.html.* in this case) and a css (*.style.*), and returns the inlined html. It's working, but it doesn't add MQs (or anything else) to the <head> section, just returns the inlined html. From juice doc:
It does not look at <style> or <link rel="stylesheet"> elements at all.

Maybe I'm missing something, but I couldn't find a way to actually add contents (the whole css or just the MQ's or any other part) to the rendered html from the *.style.*. MQs are just the most common parts that need to be included (and not inlined), but you can actually use pseudo selectors in emails (in gmail too!), and since they can't be inlined, they have to live in the <head> too.

Sounds like juice.inlineContent is a bit too limited. Perhaps we need an option to make email-templates use juice.juiceResources instead of style.* files. Then link tags can be used to import css.
Though style transformation from less, etc... will need a separate flow.
However IMHO that might not be a totally bad thing. This file extension based transformation doesn't lend itself well to using other transforms like postcss and autoprefixer anyways.

It requires a bit of acrobatics when you're using gulp (to order separate tasks to transform .less files and to build the EmailTemplate). But I can confirm that using juiceResources instead of inlineContent and importing styles via <link> instead of style.* works better.

I am also running into this issue. Have you got an example of the method you are suggesting. I have gulp watching all my Stylus/PostCSS content so there should always be a rendered CSS file that is created that I could consume. This seems to be a big issue in a world where responsive emails are so important and need media queries. For the record I am using Zurb Ink for mine.

@jeduan great to see some updates on this project. I think this for me is my biggest issue with it killing responsive emails, which are pretty much a necessary feature of emails with mobile. Any thoughts around this from what @dantman suggested?

If you are using Handlebars (or another templating language) then you can have a separate css file for your media queries and then use the Handlebars partial to inject the contents of the css file into your main page.

v3.x is released, see https://github.com/niftylettuce/email-templates#automatic-inline-css-via-stylesheets


Question - is there a way to debug the shared lib/plugin?

As the title asks, is there a way to hook up gdb to the generated .so to debug (breakpoints, stepping, etc)?
I'm using VS Code and I can debug a normal D lang program w/ the webfreak extension but I'm not sure how/if one can do this for something like this called from Godot itself.
Any advice would be greatly appreciated.

Hi, just like you normally do but specify godot as start program and pass project as parameters (exact command line can be obtained when running godot with verbose flag), you can see real examples here [1]
[1] https://github.com/godot-dlang/godot-dlang/blob/master/.vscode/launch.json

That worked perfectly.  What I ended up doing is:
"version": "0.2.0",
"configurations": [
    {
        "name": "Godot Debug",
        "type": "gdb",
        "request": "launch",
        "target": "/home/dsobiera/bin/godot/Godot_v4.1.2-stable_mono_linux.x86_64",
        "arguments": "${workspaceFolder}/project.godot",
        "cwd": "${workspaceRoot}",
        "valuesFormatting": "parseText"
    }
]

Thank you!


CONTEXT always provide the ARM64 definition

I'm currently trying to use GetThreadContext on an x64 system and It seems that CONTEXT definition always return the ARM64 variant of it.
After testing multiple releases, I found that the last version that returned the appropriate definition for it is 0.13.0.
This is a regression of #774.

Hm, don't think we regressed here as we never added the support to begin with (https://github.com/microsoft/windows-rs/issues/858). We'll get that fixed, thanks!


Error when using a file in a git repository as an asset in spacy projects config

Using a file in a git repository as an asset in a spacy project configuration fails because the code expects only directories.
How to reproduce the behaviour
Use a file in a git repository as an asset in the projects.yml as described in the documentation:

path: Path of the file or directory to download, relative to the repo root.

Here is a code example trying to use spacy's citation file as an asset:
assets:
  - dest: "spacy-citation.cff"
    git:
      repo: "https://github.com/explosion/spaCy"
      branch: "master"
      path: "CITATION.cff"

Then run spacy project assets which fails with the following (reduced) stacktrace:
Traceback (most recent call last):
 ...
  File "/venv/lib/python3.8/site-packages/spacy/cli/project/assets.py", line 39, in project_assets_cli
    project_assets(
  File "/venv/lib/python3.8/site-packages/spacy/cli/project/assets.py", line 105, in project_assets
    git_checkout(
  File "/venv/lib/python3.8/site-packages/spacy/cli/_util.py", line 407, in git_checkout
    shutil.copytree(str(source_path), str(dest))
  File "/usr/lib/python3.8/shutil.py", line 555, in copytree
    with os.scandir(src) as itr:
NotADirectoryError: [Errno 20] Not a directory: '/tmp/tmpw_23425/CITATION.cff'

The reason for the error is that shutil.copytree expects a directory and not a single file.
Your Environment

Operating System: Ubuntu 20.04
Python Version Used: 3.8.10
spaCy Version Used: 3.4.4

We would need to port https://github.com/explosion/spaCy/pull/12181 to weasel.


Palindrome Number

❗Write Code in Only One Language ( CPP , C , Java , Python )
Give File Name :  Palindrome_Number  ✅ In respective language folder
📑 DESCRIPTION
Palindrome Number Given an integer x, return true if x is a palindrome, and false otherwise.

Example 1:

Input: x = 121
Output: true
Explanation: 121 reads as 121 from left to right and from right to left.

Example 2:

Input: x = -121
Output: false
Explanation: From left to right, it reads -121. From right to left, it becomes 121-. Therefore it is not a palindrome.

Example 3:

Input: x = 10
Output: false
Explanation: Reads 01 from right to left. Therefore it is not a palindrome.

Constraints:

-231 <= x <= 231 - 1

Follow up: Could you solve it without converting the integer to a string?

can you assign it to me !

i would love to work on this problem
could you please assign this task to me!

Hi Hitesh_wadile,
I'm able to this task using Java, If you're satisfied, You can assign me. Thank you! Have a nice day!

I can work on this Issue in Java, C and Python. Can you assign it to me please?

I wanna work it

Hello! Hitesh I am from RCPIT Shirpur. Could you assign me this task

@ShubhamBorse16 this issue assign to you

I have created a pull request for submitting the solution in Python. Please review it.

@hitesh-wadile Could you please assign me this issue?

Can you please this to me for a python based solution?

please assign this issue to me @hitesh-wadile


[WIP] Update nodegit

Fixes https://github.com/atom/git-diff/issues/88 and https://github.com/atom/git-diff/issues/89.

(Once this lands I'll cherry-pick it into beta.)


Ossm MultiTenant migration instructions

What type of PR is this?

[ ] Enhancement / New Feature
[ ] Bug Fix
[ ] Refactor
[ ] Optimization
[ ] Test
[ ] Documentation Update

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Related Issue/PR #
Additional information:

@cam-garrison @yannuil tagging y'all as well for review if you can

I had some comments mostly on style, semantics and a bit of organization.. but in general, this looks great! I feel like I could do it without stressing too much :).

/override ci/prow/e2e-ocp-4-17 ci/prow/e2e-ocp-4-16-arm ci/prow/e2e-kind ci/prow/scorecard

@FilipB you mind overriding the test failures since this is just a docs change?

/hold
let me squash first

/unhold

/override ci/prow/e2e-ocp-4-17 ci/prow/e2e-ocp-4-16-arm ci/prow/e2e-kind ci/prow/scorecard

/override ci/prow/e2e-ocp-4-16 ci/prow/gencheck ci/prow/integration

/ok-to-merge


Unable to find /ryu/app

So when i install ryu, i don't find any /ryu/app directory in /python2.7/dist-packages/ and therefore unable to get any builtin topologies i.e simple_switch.py
Munim shabir

Can somebody help, please ?


Show Toasts /Notifications on User SignUp and SignIn

Can I work on showing toasts/notifications on user sign up and signing and on giving wrong credentials and invalid credentials? Currently , it's showing a normal alert can I add some toast notifications.
Please assign to me as GSSOC'21

#84

I have made PR Request . Please Review it

@avinashkranjan @Utkarsh1999 can i work on this ?

@avinashkranjan @Utkarsh1999 can i work on this ?


Degrease the log levels in remoting layer

Regarding #499

This change is

Coverage remained the same at 63.709% when pulling b489e1e4bbc2af6ae080eb8a40bcac9cde83bd80 on DegreaseLogLevels into ef6a8ee9c5af1b45d43955426c21c15aae262f54 on master.

Coverage remained the same at 63.709% when pulling b75c9ff56d221b73f6a117959ef5df676eb87bc8 on DegreaseLogLevels into ef6a8ee9c5af1b45d43955426c21c15aae262f54 on master.

Coverage remained the same at 63.709% when pulling b75c9ff56d221b73f6a117959ef5df676eb87bc8 on DegreaseLogLevels into ef6a8ee9c5af1b45d43955426c21c15aae262f54 on master.


Ability to customize service startup timeout (fixes #157)

Codecov Report

Merging #158 into master will increase coverage by 0.35%.
The diff coverage is 89.18%.

@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
+ Coverage   74.21%   74.56%   +0.35%
==========================================
  Files           5        5
  Lines         570      578       +8
==========================================
+ Hits          423      431       +8
  Misses        128      128
  Partials       19       19

Flag
Coverage Δ

#unittests
74.56% <89.18%> (+0.35%)
:arrow_up:

Impacted Files
Coverage Δ

config/config.go
91.17% <100%> (-0.13%)
:arrow_down:

selenoid.go
72.78% <84.21%> (+0.17%)
:arrow_up:

main.go
63.7% <88.88%> (+1.98%)
:arrow_up:

Continue to review full report at Codecov.

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


Switch association mechanism for forecast data to city to use bilinear interpolation

Description
Mentors have said they currently use bilinear interpolation on a city's coordinates to calculate the pollutant values to use from forecast data.
At the moment we're using nearest, so let's change it to be in sync
Acceptance Criteria

We use bilinear interpolation as the method to associated city with pollutant forecast data

Test Checklist:

[x] Test Analysis & discussion with developer
[x] Write Test Cases / Charters
[x] Test Cases & Charters Reviewed
[ ] Test Cases / Charters Executed
[x] Regression tests executed
[ ] Write Automation tests for regression

Given there is a city with latitude and longitude
When the forecast process is run
Then the data associated with the city is done via bilinear interpolation

Only regression tested forecast db as in_situ is too unstable


Refresh walkthrough data, especially building outlines

The OSM community frequently has discussions about how to teach new users to map better.  This often takes the form of "new users are not drawing nice building outlines" and iD is usually made into a scapegoat.
I am a strong believer that "showing" someone what to do is better than "telling" them what to do.  iD's walkthrough is amazing - it can take a user who has never edited a map before and have them making meaningful contributions to OSM in under 10 minutes.
The walkthrough data in Three Rivers, MI strikes a pretty good balance of showing the user a "complete" map without drifting too far into "micromapping".  We want to show new users what is possible, what is expected of them, yet not overwhelm them.
One thing we can improve in the walkthrough is to show new users more building outlines.  The walkthrough data has some building outline coverage, but most of the city does not have them.  We should refresh the outlines from live OSM data so that new users see how building outlines should look when traced properly.

I'm noticing a bunch of things that should be refreshed, to bring the walkthrough up to current OSM best practices.  Just going to note them here:

[ ] Street names - no St, Ave, abbreviations
[ ] Add some building outlines
[ ] Add some more POIs
[ ] Paths crossing roads need a junction node
[ ] Add some sidewalk/crosswalks
[ ] Traffic signals
[ ] Oneways in parking lots


update Blkio Tests name

Signed-off-by: Ma Shimiao<EMAIL_ADDRESS>

Maybe this test could use a small comment. Which part is invalid here? The device? The weight? Something else? It is not immediately clear to me. Might be good to update it while we're editing it.

I think /dev/sdX is clearly a invalid device name.

@Mashimiao @MHBauer it's a follow-up from #18716 right ?
LGTM :wink:

I think @MHBauer is right, and wouldn't hurt to have an assert fail even when the weight is invalid (in the same test should be ok)

Alright, so it looks like I'm not the only person being confused if the "device" or the "rate"
being invalid is tested (https://github.com/docker/docker/pull/18716#issuecomment-165190475).
@Mashimiao can you add a comment what is being tested? (also in the tests modified in https://github.com/docker/docker/pull/18716)
to prevent future confusion

@MHBauer @runcom actually the weight is also invalid in this test (should be 10-1000)

current test shouldn't be updated cause 5 is an invalid value and test is called InvalidWeightDevice so it's testing an invalid weight (as I see it)
So, why are we changing sda to sdX here? sda could be a valid device so here we're interested in an invalid weight, which 5 is.
I don't understand the PR now, test is clearly green on master

@runcom, @thaJeztah, @MHBauer and @tophj-ibm  At first, I really wanted to test invalid weight for blkioweightdevice. But according to #18716, I find /dev/sda is not always a right path for test in different test environment. So I decide to change case names, after that I think we will clearly know what we are testing.

I think this is a lot clearer. LGTM (for what it's worth)
We should also (not necessarily in this PR) add a test for an invalid weight for blkio weight-device, because it's a slightly different case than invalid blkio weight.

@tophj-ibm   yes, we should. I used to try, but it seems we can't find out and promise a device is valid in all of test environment.

LGTM