PPA validation adjustment

This is the minimal update to fix #1097 but it might not be the best solution.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


vm_devbox: vm left in strange state after systemctl start ...

VBoxManage list vms sees the vm. VBoxManage list runningvms and vagrant status both report the vm isn't running. But, the ports it opens are still in use and ps reports a process running that I imagine in the process running the vm `/usr/lib/virtualbox/VBoxHeadless --comment vm_devbox__default_1706914636725_53375 --startvm de13588f-3c97-4004-9e9a-10c41c77a177 --vrde config.
I can't run vagrant up manually on the vm because there are port conflicts. vagrant halt does nothing. Killing that VBoxHeadless process frees up the ports.
If I run the start script by hand then the vm is started fine. So, that leads me to believe it is systemd. I wonder if it is cleaning up the processes (some of them...) that start created when the start script exits? I see the KillMode config in the systemd.service docs but it seems only applicable to ExecStop.

https://serverfault.com/a/982333 ?

No dice. I adapted it to use vagrant instead of vbox cli. Maybe vagrant does something different...

PrivateTmp was the culprit...

Fixed by https://github.com/radiasoft/rsconf/pull/441


Incorrect Display of Category Titles in Zh-Hans i18n Document Page

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[ ] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description
In the i18n environment, on the Zh-Hans document page, the next button's title related to categories is displayed in English instead of Chinese. However, this issue is not present in documents.

Unfortunately, the category.json file is not applicable in the i18n environment, and there is no available option to modify it in the current.json file.
Reproducible demo
https://github.com/Lorde627/FydeOS-enterprise-docs
Steps to reproduce

create i18n folder
fill with the content
yarn build && yarn serve

Expected behavior
the categories title display normally just like the docs.
Actual behavior
In the i18n environment, on the Zh-Hans document page, the next button's title related to categories is displayed in English instead of Chinese. However, this issue is not present in documents.
Your environment

Public source code: https://github.com/Lorde627/FydeOS-enterprise-docs
Public site URL: https://lorde627.github.io/FydeOS-enterprise-docs/
Docusaurus version used: latest
Environment name and version (e.g. Chrome 89, Node.js 16.4): Microsoft Edge
Operating system and version (e.g. Ubuntu 20.04.2 LTS): macOS

Self-service

[ ] I'd be willing to fix this bug myself.

Your text is not really easy to understand.
Is the problem you are describing that "Getting Started" is not translated on this page?
Page: https://docusaurus.io/zh-CN/docs/installation

This PR is an attempt to fix it: https://github.com/facebook/docusaurus/pull/8123
Duplicate of https://github.com/facebook/docusaurus/issues/8118


Update .editorconfig with many changes

Enforced naming conventions
ConfigureAwait for DataAccess (only)
Always use primary constructor and other .NET 8 conventions
Fix all warnings from updated editorconfig

This change is

Codecov Report
Attention: 45 lines in your changes are missing coverage. Please review.

Comparison is base (8edf47e) 70.12% compared to head (95e0586) 70.08%.

Files
Patch %
Lines

.../Serval.Grpc/Utils/WriteGrpcHealthCheckResponse.cs
0.00%
5 Missing :warning:

src/SIL.DataAccess/MongoRepository.cs
84.00%
3 Missing and 1 partial :warning:

src/SIL.DataAccess/DataAccessExtensions.cs
62.50%
3 Missing :warning:

src/Serval.ApiServer/Startup.cs
50.00%
3 Missing :warning:

src/Serval.Client/Client.g.cs
25.00%
3 Missing :warning:

...lation/Controllers/TranslationEnginesController.cs
66.66%
3 Missing :warning:

...val.Translation/Services/GrpcServiceHealthCheck.cs
57.14%
3 Missing :warning:

...ooks/Consumers/TranslationBuildFinishedConsumer.cs
0.00%
3 Missing :warning:

...hooks/Consumers/TranslationBuildStartedConsumer.cs
0.00%
3 Missing :warning:

src/SIL.DataAccess/MemoryDataAccessConfigurator.cs
0.00%
2 Missing :warning:

... and 10 more

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #312      +/-   ##
==========================================
- Coverage   70.12%   70.08%   -0.05%
==========================================
  Files         150      150
  Lines        6930     6843      -87
  Branches     1095     1095
==========================================
- Hits         4860     4796      -64
+ Misses       1627     1603      -24
- Partials      443      444       +1

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

I compiled it from editorconfigs from aspdotnet and a few other areas.  It includes:

ASPDOTNET variable naming
fairly stringent style guidelines - there is only one way to do it
No single-line null throwing

The goal is to have the review process take less time overall because these issues are auto-resolved.

src/Serval.Grpc/Utils/WriteGrpcHealthCheckResponse.cs line 18 at r1 (raw file):
Previously, Enkidu93 (Eli C. Lowry) wrote…
Is this really best practice? I suppose this code is unlikely to be extended very much. I was taught to never use if without braces in c-inspired languages except perhaps in a freestanding, single-line (of course) if-statement - and absolutely never in nested statements. Without braces, it's easy to add cases or more lines of condition-guarded logic incorrectly. The auto-formatting helps, but even so. Like I said, maybe in this function it's not an issue, but I'm not sure I'd like warnings attached to all of my if statements which I might leave with braces intentionally for extensibility/readability.

The only issue I found with Csharpier formatting has been nested foreach statements.  Yes, this is relying on the nesting for clarity and having the code be readable as if it was python.  Currently, we are doing a mix of each throughout our code - this is to encode that yes, you don't have to put in braces in each place.  If you want to for clarity, it is still possible.

tests/Serval.ApiServer.IntegrationTests/DataFilesTests.cs line 70 at r1 (raw file):
Previously, Enkidu93 (Eli C. Lowry) wrote…
I do think these are fairly clear with 'var', but I suppose it doesn't hurt. Maybe some of these settings should be configured differently for tests?

These are the rules:
csharp_style_var_for_built_in_types = false:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = false:suggestion

There is a specific definition of "is apparent" which is a little different than the normal reading of it.  I have set it so that the use of var is deterministic - and there would be no questions about whether it was appropriate or not.

.editorconfig line 198 at r2 (raw file):
Previously, Enkidu93 (Eli C. Lowry) wrote…
Why the change to suggestion on this particular one?

This one should be a warning...

src/SIL.DataAccess/ExpressionHelper.cs line 32 at r2 (raw file):
Previously, Enkidu93 (Eli C. Lowry) wrote…
Explain this one to me - what's the idea behind changing the generic name?

Renamed to TConstant.  It was complaining about https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1715.

.editorconfig line 82 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
I don't like the s_ for static fields. Static read-only fields are essentially constants, so I prefer them to use pascal case.

https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/identifier-names#naming-conventions

Static fields start with s_. This convention isn't the default Visual Studio behavior, nor part of the Framework design guidelines, but is configurable in editorconfig.

https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/naming-rules
Example: const modifier includes static and readonly
Consider the following two naming rules:

Constant fields are PascalCase.
Non-public static fields are s_camelCase.
Rule 2 is more specific and takes precedence, so all non-public constant fields are s_camelCase. To resolve the issue, you can define an intersection rule: non-public constant fields are PascalCase.

https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-type-members
❌ DO NOT use a prefix for field names.
For example, do not use "g_" or "s_" to indicate static fields.

.editorconfig line 82 at r2 (raw file):
Previously, johnml1135 (John Lambert) wrote…
https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/identifier-names#naming-conventions

Static fields start with s_. This convention isn't the default Visual Studio behavior, nor part of the Framework design guidelines, but is configurable in editorconfig.

https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/naming-rules
Example: const modifier includes static and readonly
Consider the following two naming rules:

Constant fields are PascalCase.
Non-public static fields are s_camelCase.
Rule 2 is more specific and takes precedence, so all non-public constant fields are s_camelCase. To resolve the issue, you can define an intersection rule: non-public constant fields are PascalCase.

https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-type-members
❌ DO NOT use a prefix for field names.
For example, do not use "g_" or "s_" to indicate static fields.

Ghaaa!  Microsoft contradicts itself!  What should we do?!?!?!?!
Hmm... the design principle of not adding [a-z]_ as a prefix appears sensible.  The only fixed prefixes and appended phrases are I for interfaces and Async for async calls.  Let's just use Pascal.

.editorconfig line 173 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
This should be a suggestion.

Makes sense - tell the user but don'e mandate.  EngeineService.cs is a good example.

src/Serval.ApiServer/Program.cs line 3 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
I really would prefer not to disable warnings. Is there no better way to fix this?

I don't see a way: https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1724.  Unless we want to remove the pattern (anti-pattern) of using globals, disabling the warning may be best.

src/Serval.ApiServer/Serval.ApiServer.csproj line 11 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
If we aren't using the documentation files, then we don't need to generate them. We won't need to suppress the related warnings as well.

CSC : warning EnableGenerateDocumentationFile: Set MSBuild property 'GenerateDocumentationFile' to 'true' in project file to enable IDE0005 (Remove unnecessary usings/imports) on build (https://github.com/dotnet/roslyn/issues/41640) [/home/johnml1135/repos/serval/tests/Serval.ApiServer.IntegrationTests/Serval.ApiServer.IntegrationTests.csproj]

src/Serval.Shared/Services/ZipContainer.cs line 8 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
There's got to be a better way to handle this.

I think it is part of using the Disposable base.  When was that written?  Can we get rid of the DisposibleBase in Serval - doesn't dotnet have something standard that fills this need?

src/Serval.Shared/Services/ZipContainer.cs line 8 at r2 (raw file):
Previously, johnml1135 (John Lambert) wrote…
I think it is part of using the Disposable base.  When was that written?  Can we get rid of the DisposibleBase in Serval - doesn't dotnet have something standard that fills this need?

Will these updates work - remove DisposableBase, implement IDisposable and Dispose() and call GC.SuppressFinalize(this)?  If they work, I will use for all instances.

src/SIL.DataAccess/MongoRepository.cs line 11 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
Why were some braces removed for multiline if statements and some added?

I was wanting to remove most of them.  I can revert them.  Machine will not have these changes.

src/SIL.DataAccess/MongoSubscription.cs line 109 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
This shouldn't be disposed here. These kinds of changes should be made in a separate PR.

One option is to start this one from scratch as well - copy over the editorconfig and fix minimally.  What do you think?

src/SIL.DataAccess/MongoSubscription.cs line 109 at r2 (raw file):
Previously, johnml1135 (John Lambert) wrote…
One option is to start this one from scratch as well - copy over the editorconfig and fix minimally.  What do you think?

I removed that dispose and checked - I did not add any more dispose in Serval - just a GC.SuppressFinalize(this); in ZipContainer.

src/Serval.Shared/Services/ZipContainer.cs line 8 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
I think that's fine. It is better than adding ugly suppress warning pragmas in every disposable class. It is a bit annoying that we can't use the DisposableBase class that implements the dispose pattern for us. Maybe it would be better to just turn the check into a suggestion.

What is the difference between DisposableBase and IDisposable?  Why was DisposableBase created in the first place?

.editorconfig line 82 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
To tell you the truth, I never create static fields that aren't also read-only (essentially constants). To me that is a code smell.

All to Pascal.  Also, we are checking for CA2211.

src/SIL.DataAccess/MongoRepository.cs line 11 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
Yes, please revert them. We only want to remove the braces on if...else statements where every statement body is only a single line.

Updated.

src/Serval.ApiServer/Program.cs line 3 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
Can you just remove the global using that is causing this conflict?

Hmmm.  If we get rid of DisposableBase, we may be able to get rid of SIL.Core which has the SIL.Program...

src/Serval.Shared/Services/ZipContainer.cs line 8 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
DisposableBase implements the dispose pattern properly. It can be a bit tricky to get right and it makes it very clear where things should be disposed by providing the DisposeManagedResources and DisposeUnmanagedResources methods.

Done.

src/Serval.ApiServer/Program.cs line 3 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
I think we should just make this rule a suggestion.

I'll make it a suggestion and revert changes.

src/Serval.Shared/Services/ZipContainer.cs line 8 at r2 (raw file):
Previously, johnml1135 (John Lambert) wrote…
Done.

I'll revert all to DisposableBase.


untitledX.py is unavailable

From<EMAIL_ADDRESS>on 2009-09-11T07:12:12Z
When creating a new python file a warning message appears saying that
"untitledX.py" (where X is a number:) is unavailable.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=30

From pierre.raybaut on 2009-09-12T00:49:06Z
Status: Accepted

From pierre.raybaut on 2009-09-12T07:22:12Z
fixed in v1.0.0beta7
Status: Fixed


Update version compatibility matrix in README.md

Versions match the version of Kafka they're built against.

1.X versions do not follow Kafka versioning schema anymore.

Yes - unfortunately this was a mistake on my side. I'll release 1.1.0-kafka110 shortly and update the README.

I've released 1.1.0-kafka1.1


User editable title & desc of link

What i have noticed is that sometimes the metadata description for links is not available or doesnt provide enough resource to identify the link.
I was wondering if we can have in addition to meta details, a custom optional description. Which user can include to throw more descriptive weight into the links

Will be implemented soon in next upgrade.


Python extension is not working

VSCode Version: 1.2.0
OS Version: Windows 10

Steps to Reproduce:

I don't have any idea about it.
But in others like javascript, c# I can get the extension.

@anonymous432 What is the id of the python extension you are using?

Closing. Did not receive a response in 14 days.


raidboss: round timeline time to avoid micro jumps

I noticed this while doing #5577 and it seemed inefficient, as any change like this often causes timerbars to be re-added entirely. It's invisible to the user, but a little silly to do. A better change in the future might be to re-use and update the times on bars rather than just add/remove them entirely, but that's out of scope for me right now.


error after chosing the data directory

Using OS X, El Capitan

@pviljaka please check the wallet in the latest release, it should work properly on systems 10.7+ now.

@monyxcoin Hi team, this is fresh wallet install on the system. Old wallet has been uninstalled with AppCleaner.
This is an error what I'm getting on my system. Ignore/Reopen doesn't open an app.

Here is log file https://pastebin.com/kWu9aQHA
As far as I can tell, I will use wallet on Windows machine. Mac is my machine what I'm using at work and wanted to help the team to keep blockchain running smoothly from the beginning.  If wallet works on Sierra and High Sierra, than don't waste your resources on ElCapitan support. I know that you have more important things to take care of!
Just wanted to share how I stand but I'm more than happy to help and do more testing if needed!

I´m with AlexCosta405 on this, but thanks for putting time and try to help us

Thanks for the useful information and not putting pressure on me!
Anyway I'll be able to get my hands on El Capitan on this week/next week, so I'll thoroughly test the wallet on this system.

Windows wallet is released, I'll try to compile the wallet for earlier macOS soon.


fix: align exchange version with cockpit api

Description
Cockpit api was using a more recent version of exchange framework.
Additional context

Gravitee.io Automatic Deployment
🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:

use it directly by updating your project with version: 5.0.7-bump-exchange-api-SNAPSHOT
download it from Artifactory here

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

5.0.8
GitHub release

Your semantic-release bot :package::rocket:


Own Data Information

Hi,
I am trying to generate my own data and as input I need panorama and minimesh. I can get the building footprint using QGIS and for panorama images I used Pano Fetch google chrome plugin( The Pano Scrapper Plugin is said to be not working in the link given)

How can I generate the mesh? Whether QGIS is used for this or the following link can be used?
(https://github.com/tordanik/OSM2World/)
I have Panorama Images using Pano Fetch.  How to generate Panos/todo.list which contain the panorama ID?
In the readTrace file,

what the following file/folder path should contain:
/home/twak/dump/blah
/home/twak/Desktop/frames.xml
/home/twak/Desktop/minimesh/
?

The mesh pipeline is quite involved to get working.
1/ I would suggest using a tool such as this and then manually aligning the mesh.
2/ I do not not know anything about pano-fetch, so can't help. You can check out the example datasets for the expected data-format of the todo file. The panorama filenames encode the location and rotation of the panoramas.
3/ ReadTrace is very rough code (working on GL calls from chrome) - I haven't used it for a while, and if you cannot understand the code, I suspect it would be difficult to use. I suggest using the above (much more refined) tool to create meshes today.


OL: Enhancement to use template for OLVM deployment

Description
The code changes to use template for OLVM deployment.

PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes in the description.
[ ] Verify PR checker results and fix any coding errors.
[ ] Included LISAv2 sample test results to demonstrate code functionality.

Quality of Code and Contribution Guidelines

[ ] I have read the contribution guidelines.

The test summary for Deploy test
[LISAv2 Test Results Summary]
Test Run On           : 03/04/2019 06:10:03
VHD Under Test        : core-image-minimal-x64-dev.wic.vhd
Total Test Cases      : 1 (1 Passed, 0 Failed, 0 Aborted, 0 Skipped)
Total Time (dd:hh:mm) : 0:0:20
ID TestCaseName                                                                TestResult TestDuration(in minutes)
1 BVT-VERIFY-DEPLOYMENT-PROVISION                                                   PASS                 1.48
    FirstBoot : PASS
    FirstBoot : Call Trace Verification : PASS
    Reboot : PASS
    Reboot : Call Trace Verification : PASS


Add blog post draft for security pipeline tools

Current status: David works on an update locally and will push new commit in near time

LGTM - approved from my side. Cannot approve in Github because co-author

Waiting for review from @garloff to minimize misunderstandings in SCS security offering :slightly_smiling_face:


Fix uncaught exception occurring when reading in a message containing non-unicode bytes

also, some doc updates and test updates

could not find a way to effectively create a scala test for this. i can test manually and verify the change works. i've attempted to create a python action to write non-unicode message to kafka. problem is that the non-unicode bytes get escaped when reading in the file while creating the action. manually invoking the action works. but i don't see away around the encoding and escaping/replacing that java/scala do

@dubeejw would you mind having a look


Google DNS not working - potentially need to set user agent string

godns 1.9.1 doesn't seem to successfully update my ddns with Google. The messaging looks successful:
C:\Users\jeff\Desktop\GoDNS>godns.exe
[GoDNS] 2019/08/30 18:46:20 GoDNS started, entering main loop...
[GoDNS] 2019/08/30 18:46:20 Creating DNS handler with provider: Google
[GoDNS] 2019/08/30 18:46:21 currentIP is: [censored]
[GoDNS] 2019/08/30 18:46:21 Going to sleep, will start next checking in 300 seconds...

however, checking Google Domains, the last update for my DNS was stated to be months ago.
To check, I made the request directly via a browser to the end point using the same config/username/password/domain, and this successfully updated my ddns IP.
https://CENSORED:CENSORED@domains.google.com/nic/update?hostname=CENSORED.net&myip=CENSORED
I noticed that UpdateIP() in the Google handler does not set a user agent when sending the request to the Google API endpoint. Per Google's API documentation, you should set a user agent when updating DNS: "Note: You must set a user agent in your request as well. Web browsers will generally add this for you when testing via the above url."
Note the user agent might be required for other services as well, as it is one of the few things public API endpoints can use to ban "bad" bots who improperly use APIs without actually banning specific IPs directly - not saying this is the case here, but just noting in general.
Edit: is there a way I can set user agent via the configuration?

Thanks for your feedback, I'll add it.

@jfritz Please try this version https://github.com/TimothyYe/godns/releases/tag/V1.9.2
You can set the user agent via the configuration now.

Alright, the user agent was probably an issue, but I dug deeper (since it still wasn't working) and found another problem (which I hope is probably the last/root cause issue). Sorry for all the hassle here.
The username:password need to be provided via HTTP Basic Auth, not as query string parameters or POST data as the code is currently doing. Below is an example from the Google Domains API documentation.
Tl;dr - this might be as simple as using req.SetBasicAuth(username, password) and removing the values.Add("username:password", ...).

Really appreciate with your feedback.
I don't have a google domain account since it is not supported in my country.
You may try this version: https://github.com/TimothyYe/godns/releases/tag/V1.9.3

Hi @jfritz , is this issue fixed already? I plan to close this issue...

Hi @TimothyYe, have you confirmed with any test users that Google DNS Update is working?
I'm getting the following feedback in a Windows environment:
E:\Repositories\godns-2.1>godns.exe [GoDNS] 2020/04/22 16:09:23 GoDNS started, entering main loop... [GoDNS] 2020/04/22 16:09:23 Creating DNS handler with provider: Google [GoDNS] 2020/04/22 16:09:24 currentIP is: [censored] [GoDNS] 2020/04/22 16:09:24 [censored] Start to update record IP... [GoDNS] 2020/04/22 16:09:24 Update IP success: notfqdn [GoDNS] 2020/04/22 16:09:24 Going to sleep, will start next checking in 21600 seconds...
However, updating manually in the browser works 'https://CENSORED:CENSORED@domains.google.com/nic/update?hostname=CENSORED.net&myip=CENSORED'

@hemming1 Hmmm, Google Domain is unavailable in my country, however, I'll find a way to register an account and try to reproduce this issue.

@jfritz Were you able to get your domain ip to update successfully?

I ultimately I ran into crunch time at work and it prevented me from
debugging the issue further. I did get the direct web request updates to
work as you mentioned earlier.
On Thu, Apr 23, 2020, 11:07 AM Brad Hemmingsen<EMAIL_ADDRESS>wrote:

@jfritz https://github.com/jfritz Were you able to get your domain ip
to update successfully?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/TimothyYe/godns/issues/46#issuecomment-618489051, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABCAQ5YL5FFK2KOGRYTZBLROBRVNANCNFSM4ISR6WSQ
.

@TimothyYe  would it be useful if I setup a temporary domain for you to test on?

@BradHemmingsen That would be great! Thanks!

@BradHemmingsen Now I get another error, it seems that DDNS is not enabled for this temporary domain. Would you pls help to enable it?
nohost - The hostname does not exist, or does not have Dynamic DNS enabled.

When I registered the domain this morning it said it might take 24-48
hours. I'll give you credentials to one of my real ones.
wrt1900ac.bradhemmingsen.com
Username: KvuWPEOqEu6iResU
Password: wbfssPagJ9IIFmwA
On Thu, Apr 30, 2020 at 10:58 AM Timothy<EMAIL_ADDRESS>wrote:

@BradHemmingsen https://github.com/BradHemmingsen Now I get another
error, it seems that DDNS is not enabled for this temporary domain. Would
you pls help to enable it?
nohost - The hostname does not exist, or does not have Dynamic DNS enabled.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/TimothyYe/godns/issues/46#issuecomment-621944543, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD2ATQZVCWYB23VCZ5MPX5LRPGN4FANCNFSM4ISR6WSQ
.

@BradHemmingsen Issue has been fixed, pls try this pre-release version:
https://github.com/TimothyYe/godns/releases/tag/V2.1.1


Remove pydantic support

We are still on pydantic v1 (current stable version is v2). It is not worth it to actually support it directly.
This means a breaking change. We should bump up our versioning before publishing.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.51%. Comparing base (8a47e13) to head (4b3ac32).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##              main      #22      +/-   ##
===========================================
- Coverage   100.00%   99.51%   -0.49%
===========================================
  Files           14       10       -4
  Lines         1029      833     -196
===========================================
- Hits          1029      829     -200
- Misses           0        4       +4

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


Example code (in codesandbox) is wrong, and doesn't work even after fixing it

I need to use the directive mode, however, it doesn't work.
I noticed the codesandbox (here) has an example using the directive mode. You should just need to comment out <component-example/> and uncomment the directive one.
However the code for DirectiveExample.vue is wrong, it should be:
<template>

vue-code-highlight example

          let isPalindrome = (word) => {
            let [length, result] = [word.length, true];
            for (let i = 0; i < length / 2; i++) {
            if (word[i] !== word[length - 1 - i]) result = false;
            }
            return result;
            }
            module.exports = isPalindrome;

</template>

But it gives wrong result (i.e., no syntax highlight)

The repository got quite outdated during the years. I will need to update it to newer setup, esp. vue–cli-service version and get rid of some obsolete code. This should fix the issue.


Clarifying Error

We found many users were having issues with this help reply, thinking it meant to type the command again.

I think this is a good change. This is something that users of my bot get caught up on constantly. I've resorted to just disabling the missing argument prompts and just sending an error message instead.

There are much better ways than making a ridiculous amount of text, one of which is currently in the works, which is just accepting either the full command or the argument. Be patient and it'll come.

Great. What's the planned behavior if the user tries to send a different command than the one that triggered the prompt?

I'm sorry but no, slapping some CAPS and bold into a users face just looks horrible and will def not solve the underlying issue we have here.

You're probably right, but doing nothing doesn't solve the underlying issue either. Look forward to seeing the fix that's "in the works".

Still waiting on your "in the works solution." Meanwhile, UX suffers.


Fix ping NFS server on ssvm-check.sh

Description
Part of script ssvm-check.sh checks if the secondary storage is mounted on the SSVM. If it is not mounted, it tries to ping the "NFS server"; This process infers that the "NFS server" is the seventeenth element of file /var/cache/cloud/cmdline; however, the index of the elements can vary according to some configurations (vide SecondaryStorageManagerImpl#finalizeVirtualMachineProfile). For instance, in https://github.com/apache/cloudstack/pull/6348#issuecomment-1310020312 it is trying to ping the netmask. Futhermore, we do not have the information of the NSF server in the /var/cache/cloud/cmdline file.
This PR intends to fix the check by adding the secondary storage server address to the file and retrieving it by the name. If the property is not in the file, it tries to validate the storage gateway to mitigate the "storage not mounted" situation.
Types of changes

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

Feature/Enhancement Scale or Bug Severity
Bug Severity

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

How Has This Been Tested?
...

Looks good @GutoVeronezi  (except that I don´t like parameter expansions in debug level mesaages) but
shouldn´t we apply this on #6348 to help investigate why this PR keeps failing consistently?

@DaanHoogland, I think this fix could help in the #6348 troubleshooting. I will do more manual tests and add some unit tests before putting this as ready.

@GutoVeronezi you have conflicts :(

@DaanHoogland, here follows the tests:
I recreated the SSVM:
2023-02-01 15:46:27,304 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] (Work-Job-Executor-3:ctx-f0e60658 job-1060/job-1065 ctx-066f71f0) (logid:b55ecf19) Found [nfs://<IP_ADDRESS>/mnt/secondary-storage] as secondary storage's URL for SSVM [s-216-VM].
2023-02-01 15:46:27,304 INFO  [o.a.c.s.SecondaryStorageManagerImpl] (Work-Job-Executor-3:ctx-f0e60658 job-1060/job-1065 ctx-066f71f0) (logid:b55ecf19) Using [<IP_ADDRESS>] as address of secondary storage of SSVM [s-216-VM].

Then, I verified the content of /var/cache/cloud/cmdline
root@s-216-VM:~# cat /var/cache/cloud/cmdline
template=domP type=secstorage host=<IP_ADDRESS>,<IP_ADDRESS> port=8250 name=s-216-VM zone=1 pod=1 guid=s-216-VM workers=5 authorized_key=c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FETC9OVmNPZnRVNU9WMHIyYmNxV2tUOXdySTdOV3pHTnM4Y3UzaTFWaWszbzJESUoyM284cWFHaUtLZHRlMDdTdDBVRnU5TUlBdFlxZ05kVzJnNXNzS2puaU84QVZKMFUrZ1o5bGdYUS9NaTRDT1lTNDhuQzNJaFhBUW14SlZCNDR4V2FtemhmNHBCNndIaDJqeFFCSUFLVTBVelNWWFd6SmtXYjA3M0ZFUUdraDJlV2F6YXN4ZVVsQmFRcDNNUnFla3Jmdks1WHFOVERUdGI1YUpNZTFqOUl3Yk84b0VtcmpyVnZDZnlvaXo3Wi9FTnlkaVl4TXlxdHlCei9pSW11dGQ0YXlET1JQYjNyaGVwUGZCMkJvdFFIRGtsMDN1UzdEMjVPZ21EaVZweVdzalhKY2lSeEorWm53SDdFR0tMejBMbnN4QUlkVitwZ3FzTVE4ZmhNcUYybkx2TFlwejZvYWlTUnRGTlEyUERqZU9aRVAzeGRUUDkwbXpzUmpteGhaZ2JBU3pRUE5lRWYwZ1RmeXFmTjIrUThZYkFyWmhLRDJUeDFPQ2hmTFRPbUNBUkNjbjFRUmkrV29BUmhoVkZmNmhCeU9xalZXdEZVblR4L0NCaDBMdjVyNU5aK0ZIelNLRDJVYjJ0NXVhWDVXaFo4Ym1LT3JPNDh2NDVjd1dTYzA9IGNsb3VkQGNsb3Vkc3RhY2stbGFiLW1hbmFnZW1lbnQtMQo= resource=com.cloud.storage.resource.PremiumSecondaryStorageResource instance=SecStorage sslcopy=false role=templateProcessor mtu=1500 eth2ip=<IP_ADDRESS> eth2mask=<IP_ADDRESS> gateway=<IP_ADDRESS> public.network.device=eth2 eth0ip=<IP_ADDRESS> eth0mask=<IP_ADDRESS> eth1ip=<IP_ADDRESS> eth1mask=<IP_ADDRESS> mgmtcidr=<IP_ADDRESS>/24 localgw=<IP_ADDRESS> private.network.device=eth1 eth3ip=<IP_ADDRESS> eth3mask=<IP_ADDRESS> storageip=<IP_ADDRESS> storagenetmask=<IP_ADDRESS> storagegateway=<IP_ADDRESS> internaldns1=<IP_ADDRESS> dns1=<IP_ADDRESS> dns2=<IP_ADDRESS> nfsVersion=null keystore_password=czQ0aXNGUXZwa1J2N2FuNg== useHttpsToUpload=true secondaryStorageServerAddress=<IP_ADDRESS>

To test the script, I stopped the service cloud, unmounted the storage, and executed the script:
root@s-216-VM:~# systemctl stop cloud
root@s-216-VM:~# umount /mnt/SecStorage/e265f9ca-e368-313d-8ccc-7a4c4a1adc41
root@s-216-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
================================================
First DNS server is  <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
WARNING: cannot ping DNS server
route follows
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>         <IP_ADDRESS>    <IP_ADDRESS>         UG    0      0        0 eth2
<IP_ADDRESS>         <IP_ADDRESS>   <IP_ADDRESS> UGH   0      0        0 eth1
<IP_ADDRESS>     <IP_ADDRESS>         <IP_ADDRESS>     U     0      0        0 eth0
<IP_ADDRESS>    <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 eth2
<IP_ADDRESS>    <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 eth3
<IP_ADDRESS>   <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 eth1
================================================
Good: DNS resolves cloudstack.apache.org
================================================
ERROR: Storage nfs is not currently mounted
Verifying if we can at least ping the storage
Storage address is <IP_ADDRESS>, trying to ping it
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=64 time=1.720 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=2.342 ms
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.720/2.031/2.342/0.311 ms
Good: Can ping nfs storage address
================================================
Management server is <IP_ADDRESS>,<IP_ADDRESS>. Checking connectivity.
2023/02/01 20:19:12 socat[5764] E write(5, 0x55c330088000, 1): Connection refused
Good: Can connect to management server <IP_ADDRESS> port 8250
2023/02/01 20:19:15 socat[5768] E connecting to AF=2 <IP_ADDRESS>:8250: Connection timed out
Good: Can connect to management server <IP_ADDRESS> port 8250
================================================
ERROR: Java process not running.  Try restarting the SSVM.

Then, I repeated the test removing secondaryStorageServerAddress from /var/cache/cloud/cmdline:
root@s-216-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
================================================
First DNS server is  <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
WARNING: cannot ping DNS server
route follows
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>         <IP_ADDRESS>    <IP_ADDRESS>         UG    0      0        0 eth2
<IP_ADDRESS>         <IP_ADDRESS>   <IP_ADDRESS> UGH   0      0        0 eth1
<IP_ADDRESS>     <IP_ADDRESS>         <IP_ADDRESS>     U     0      0        0 eth0
<IP_ADDRESS>    <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 eth2
<IP_ADDRESS>    <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 eth3
<IP_ADDRESS>   <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 eth1
================================================
Good: DNS resolves cloudstack.apache.org
================================================
ERROR: Storage nfs is not currently mounted
Verifying if we can at least ping the storage
Storage address is empty, trying to ping storage network gateway instead (<IP_ADDRESS>)
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=64 time=3.980 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=1.264 ms
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.264/2.622/3.980/1.358 ms
Good: Can ping nfs storage network gateway
================================================
Management server is <IP_ADDRESS>,<IP_ADDRESS>. Checking connectivity.
2023/02/01 20:22:54 socat[6030] E write(5, 0x55c336b75000, 1): Connection refused
Good: Can connect to management server <IP_ADDRESS> port 8250
2023/02/01 20:22:57 socat[6034] E connecting to AF=2 <IP_ADDRESS>:8250: Connection timed out
Good: Can connect to management server <IP_ADDRESS> port 8250
================================================
ERROR: Java process not running.  Try restarting the SSVM.

@GutoVeronezi
can you create an issue for follow-up ? thanks

@DaanHoogland @weizhouapache
I created issue #7162.


Patch dependency vulnerabilities

High:
CVE-2022-41721
CVE-2022-41723
CVE-2023-45288
CVE-2023-44487
CVE-2023-39325
Medium:
CVE-2023-3978
CVE-2023-48795
CVE-2022-41717

These are from https://github.com/grafana/beyla/blob/main/configs/offsets/shopify/go.mod
I tried to upgrade to last version (1.43.3) but I'm getting this.
go: downloading github.com/Shopify/sarama v1.43.3
go: shopify_sarama_off imports
        github.com/Shopify/sarama<EMAIL_ADDRESS>parsing go.mod:
        module declares its path as: github.com/IBM/sarama
                but was required as: github.com/Shopify/sarama

I guess we have to ignore these somehow as we are not directly impacted?

Oh I see, I think we should mark our offsets directory as excluded from scans, because we have old offsets code. The project moved ownership from Shopify to IBM, but we need the old Shopify offsets for folks that haven't upgraded their dependencies.


Profile: Fix propTypes warning on team membership

Fixing a noisy propType warning, adding a test.

selfie


[SPARK-26742][K8S] Update Kubernetes-Client version to 4.1.2

What changes were proposed in this pull request?
https://github.com/apache/spark/pull/23814 was reverted because of Jenkins integration tests failure. After minikube upgrade, Kubernetes client SDK v1.4.2 work with kubernetes v1.13. We can bring this change back.
Reference:
Bump Kubernetes Client Version to 4.1.2
Original PR against master
Kubernetes client upgrade for Spark 2.4
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Unit Tests:
All tests passed.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Spark Project Parent POM 3.0.0-SNAPSHOT:
[INFO]
[INFO] Spark Project Parent POM ........................... SUCCESS [  2.343 s]
[INFO] Spark Project Tags ................................. SUCCESS [  2.039 s]
[INFO] Spark Project Sketch ............................... SUCCESS [ 12.714 s]
[INFO] Spark Project Local DB ............................. SUCCESS [  2.185 s]
[INFO] Spark Project Networking ........................... SUCCESS [ 38.154 s]
[INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [  7.989 s]
[INFO] Spark Project Unsafe ............................... SUCCESS [  2.297 s]
[INFO] Spark Project Launcher ............................. SUCCESS [  2.813 s]
[INFO] Spark Project Core ................................. SUCCESS [38:03 min]
[INFO] Spark Project ML Local Library ..................... SUCCESS [  3.848 s]
[INFO] Spark Project GraphX ............................... SUCCESS [ 56.084 s]
[INFO] Spark Project Streaming ............................ SUCCESS [04:58 min]
[INFO] Spark Project Catalyst ............................. SUCCESS [06:39 min]
[INFO] Spark Project SQL .................................. SUCCESS [37:12 min]
[INFO] Spark Project ML Library ........................... SUCCESS [18:59 min]
[INFO] Spark Project Tools ................................ SUCCESS [  0.767 s]
[INFO] Spark Project Hive ................................. SUCCESS [33:45 min]
[INFO] Spark Project REPL ................................. SUCCESS [01:14 min]
[INFO] Spark Project Assembly ............................. SUCCESS [  1.444 s]
[INFO] Spark Integration for Kafka 0.10 ................... SUCCESS [01:12 min]
[INFO] Kafka 0.10+ Token Provider for Streaming ........... SUCCESS [  6.719 s]
[INFO] Kafka 0.10+ Source for Structured Streaming ........ SUCCESS [07:00 min]
[INFO] Spark Project Examples ............................. SUCCESS [ 21.805 s]
[INFO] Spark Integration for Kafka 0.10 Assembly .......... SUCCESS [  0.906 s]
[INFO] Spark Avro ......................................... SUCCESS [ 50.486 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:32 h
[INFO] Finished at: 2019-03-07T08:39:34Z
[INFO] ------------------------------------------------------------------------

Please review http://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Please hold this PR until @shaneknapp confirms. Not sure if minikube get updated on Jenkins side.

Can one of the admins verify this patch?

yep, gonna run these changes manually against the k8s integration tests now.  main conversation taking place here:  https://issues.apache.org/jira/browse/SPARK-26742

testing against the 4.1.2 client passed.  after i complete the upgrade on the ubuntu workers, i'll approve and trigger this build.
see also:  https://issues.apache.org/jira/browse/SPARK-26742?focusedCommentId=16787090&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16787090

I also successfully finish integration test on v1.10.13 ! I will also try v1.11.7 v1.12.6 and v1.13.3
Run completed in 7 minutes, 31 seconds.
Total number of tests run: 15
Suites: completed 2, aborted 0
Tests: succeeded 15, failed 0, canceled 0, ignored 0, pending 0
All tests passed.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Spark Project Parent POM 3.0.0-SNAPSHOT:
[INFO]
[INFO] Spark Project Parent POM ........................... SUCCESS [  4.647 s]
[INFO] Spark Project Tags ................................. SUCCESS [  3.894 s]
[INFO] Spark Project Local DB ............................. SUCCESS [  2.867 s]
[INFO] Spark Project Networking ........................... SUCCESS [  5.506 s]
[INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [  3.178 s]
[INFO] Spark Project Unsafe ............................... SUCCESS [  3.026 s]
[INFO] Spark Project Launcher ............................. SUCCESS [  3.903 s]
[INFO] Spark Project Core ................................. SUCCESS [ 32.987 s]
[INFO] Spark Project Kubernetes Integration Tests ......... SUCCESS [08:28 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  09:28 min
[INFO] Finished at: 2019-03-07T10:51:01-08:00
[INFO] ------------------------------------------------------------------------

ok to test

Test build #103152 has started for PR 24002 at commit d4a155c.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8606/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8606/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/8606/
Test FAILed.

java.net.ProtocolException: Expected HTTP 101 response but was '404 Not Found'
	at okhttp3.internal.ws.RealWebSocket.checkResponse(RealWebSocket.java:229)
	at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:196)
	at okhttp3.RealCall$AsyncCall.execute(RealCall.java:206)
	at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
19/03/07 11:53:57.968 OkHttp https://<IP_ADDRESS>:8443/... ERROR ExecWebSocketListener: Exec Failure: HTTP:404. Message:404 page not found

Looks like  that's the same error before upgrade?

From raw logs, seems kubernetes cluster is v1.10.0?
+ /home/jenkins/bin/session_lock_resource.py minikube
+ /home/jenkins/bin/post_github_pr_comment.py
Attempting to post to Github...
 > Post successful.
+ minikube --vm-driver=kvm2 start --memory 6000 --cpus 8
Starting local Kubernetes v1.10.0 cluster...

Test build #103152 has finished for PR 24002 at commit d4a155c.

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

Merged build finished. Test PASSed.

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

yeah, the k8s/minikube test is supposed to fail.  i just wanted to make sure that the regular PRB build passed.

@shaneknapp Got you. I don't know they're two different flows. Good to know. :D

@shaneknapp @gatorsmile Look like changes against 2.4 has been closed. Is this one ready to merge?

This can't be merged until the k8s integration tests pass. That would mean they would fail on every other k8s-related PR, and we can't have that.

@vanzin Thanks. I am a little bit confused about test status. It doesn't show any status on my end.
PR triggered job fails.
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8606/
But seems it get success later by manual kicked test by @shaneknapp ?
Test build #103152 has finished for PR 24002 at commit d4a155c.
This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.
@shaneknapp could you take a look?

I'm just making a point that this PR should not be merged until the actual, automatic, k8s it run passes.
Unless you're willing to manually monitor all k8s-related PRs and manually run integration tests on them, and report the results.

I'm just making a point that this PR should not be merged until the actual, automatic, k8s it run passes.
Unless you're willing to manually monitor all k8s-related PRs and manually run integration tests on them, and report the results.

ah, gotcha.  :)
it's a matter of timing this w/the 2.4.1 release.  do we do the infra/k8s/minikube upgrade before or after the code freezes or wait until afterwards.
there was a lot of traffic on dev@ about the 2.4.1 RCs, but this bit may have been lost in the noise.  i'll send out an email later and see what people's thoughts are.

@shaneknapp  @vanzin  Thanks for explanation. Now I get it.

Merging to master (while Shane messes with jenkins).


a improve about Unsupervised learning

I noticed that changing the seed in the example of unsupervised learning can lead to inaccurate results, and I found that the last layer function has become a quadratic function (Figure 4). I think the last layer function should remain a Gaussian function, so I added a feature called keep_fit
The effect is as follows

simple change：

Hi, it is still Gaussian but just a part of it, so locally it looks like a quadratic function. The real problem with seed=55 looks like the regularization lamb is too large (for seed=55, although this penalty strength seems to work fine for other seeds). Please let me know decreasing lamb can solve your problem for seed=55.

Also, although the Gaussian function is fixed, the input and output affine transforations are learnable. By keep_fit, you make sure the affine transformations are always identity. Glad that you solved it, although I'm not sure if general users would find this feature useful. And please try the regularization trick I mentioned above and let me know how that works.

I see that you have a bool keep_fit, that sounds reasonable. If you want, you can do a PR (set keep_fit=False by default since it will slow down things a bit I guess).


Use Senzing SDK for Python packaging

See https://github.com/Senzing/stream-loader/issues/246

Blocked.  Awaiting resolution on ENTITY_TYPE management

Pull Requests:

https://github.com/Senzing/resolver/pull/76


[Util] macro to wait condition

Update macro to wait timed-out condition.

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #179. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


Fix spark_udf invocation to work with mlflow 1.0 api

Adapted to minor breaking change in mlflow api.

Thanks for the review @ueshin! You are right  - (the path, run id) has to be changed to model uri everywhere. The uri should come from the user. I pushed an update.

btw, currently mlflow 1.0.0 seems not properly deployed on conda-forge.
It's available only for linux-64(https://anaconda.org/conda-forge/mlflow).
Even for linux-64, it conflicts with python 3.6 or 3.7 ..
SpecsConfigurationConflictError: Requested specs conflict with configured specs.
  requested specs:
    - mlflow[version='>=1.0']
    - mypy
    - sphinx==2.0.1
  pinned specs:
    - python=3.6

Hi @tomasatdatabricks,
Seems like the mlflow 1.0.0 is deployed on conda-forge now.
Could you continue working on this please?

Hi @tomasatdatabricks, I took this over. Could you review #477 if you have time? Thanks.


embedded objects are not supported

Current coverage is 100.00%

Merging #20 into master will increase coverage by +1.50% as of 8786d1f

@@            master     #20   diff @@
======================================
  Files           14      14
  Stmts          200     200
  Branches        45      45
  Methods          0       0
======================================
+ Hit            197     200     +3
+ Partial          2       0     -2
+ Missed           1       0     -1

Review entire Coverage Diff as of 8786d1f

Powered by Codecov. Updated on successful CI builds.

😎😎😎

:smile:
I'll wait for javaslang-rc1 (5 days, right?) and then will publish javaslang-jackson-rc1

yes, rc-1 will be ready then!


Swift: explicitly cast UInt32 to dispatch_flags_t

Because dispatch_flags_t is a sized enumeration on Windows, the type
is not implicitly constructed (as in C/C++).  Add the explicit
constructor call, which should be portable to all the targets.

@swift-ci please test

@ktopley-apple - this fixes the Windows build and should work across all the targets

I'm concerned about what type is being picked for the numericCast here. This might cause problems when using a flag whose high bit is set.

I'm concerned about what type is being picked for the numericCast here. This might cause problems when using a flag whose high bit is set.

dispatch_block_flags_t only has 6 defined bits, all at the low-order end, so in reality this should not be a concern. We have the practical problem that the raw value for this type is not the same on all platforms (and not even on all versions of the same platform) and there seems to be no other way to write one line of code that will convince the compiler to do the "right thing".

The build failed. I saw this same failure when I last tried to fix this in a similar way. I filed a Radar on the compiler for that. It looks like the only way around this for now is to put back the Win32 conditional and use the previous version of the code for the Windows build.

Closing this since it doesn't work in favour of #446


Create ddl sql file

Create a ddl sql file with all the create table commands.

Pushed the ddl.sql file


[CHANGE] Remove back button on keygen

Please remove the back button when keygen is kicked off.
If user is unable to create vault, let timeout happen after 2 minutes and display error screen.
According to figma:

fixed in https://github.com/vultisig/vultisig-windows/pull/547


Strip out fluff text from digest emails to make them cleaner

This is a PR to make the digest emails leaner.  The PR is still a WIP and not ready for review.

@rishig I've started to work on a PR based on your changes in 50b2524a012271c5885f5203fed47143b333e3c9. I had a few questions/thoughts:

would it not be useful for new communities just getting started on Zulip, or small communities to have New members displayed in the digest emails?
It seems too aggressive a cleanup to remove the salutation, and an introductory line explaining what the digest contains.

vs

cool, thanks!
I think the goal of these digest emails should be clickthrough rate into reopening Zulip. On the two points you mentioned:

I'm not sure how much new members joining would cause someone to reopen Zulip (we should definitely have a way for the admin to be emailed when new members join, but that should be "they get an email immediately" rather than several days later).
Our current header greatly reduces the amount of message content we can fit above the fold, and extra words there creates a place for missing or bad translations.
In general I can imagine a well-designed version of the digest email that has some additional muted text at the top, but I think nothing is better than the current state? Note that the subject line does provide some context.

@timabbott I think this PR is ready for review. Thanks!

This looks great, rebased and merged, thanks @punchagan!  I guess the next step is to move the model for digests being disabled in most organizations to be a realm setting rather than a server-level setting?

I guess the next step is to move the model for digests being disabled in most organizations to be a realm setting rather than a server-level setting?

Do you mean that we want to remove the server level setting completely? Currently, there are two settings - one at the server level and one at the realm level. The settings UI takes both into account to decide if we want to show the toggles for digest emails (both user level and realm level).
The settings logic would definitely be simpler, if we got rid of the server level setting, but things should already work as they are, if we turn on the server-level setting.

Oh, right, what I wanted to do was:

Change the default for the server-level setting to enabled
Change the default for the realm-level setting to disabled (including a database migration for cases where the server-level setting was disabled).

That preserves the current defaults situation while making it possible for us to turn this on for zulipchat.com organizations.


Specify language when adding image descriptions

Descriptions on Wikimedia Commons are usually multilingual. Specifying the language of description is considered important and is basically mandatory in the official Commons uploader. However our app does not currently enable specification of language.
There could be a roll-out menu like I show below:

The technical implementation into resulting Commons pages is then rather simple. The descriptions are encased in language templates like this one (for English description): {{en|PLACEHOLDER TEXT OF DESCRIPTION}}.
If we want, we could even allow users to add several descriptions, in any number of languages. The descriptions are then just added one after another like this: {{en|PLACEHOLDER TEXT OF DESCRIPTION}}{{cs|Another description but now in Czech}}.

This should be a very quick thing to add. If it provides so much value to our users I am sure we can find an eager contributor who can help us implement it. Both the parts should be easy enough ie specifying the language and allowing users to add several descriptions.

@maskaravivek I would like to take this up

Hi @maskaravivek  I want to take this up

Sure, go ahead! Can you share mocks for the screen once you start working on it?

Thanks @maskaravivek, Will update you with the  mocks as soon as i am done :-)

@VojtechDostal Can the title also be multiple languages? If that's the case then the language selection drop-down can be common for both title and description.
By default, the drop-down should be showing the phone's language selected by default.
Moreover, a little plus button below the title and description can let the user add it in a different language.

Sure the title is usually typed in a specific language, but it can also be something like "DFHTTRHTHT.jpg", you can name your pictures like that and there is nothing to stop you (at worst someone will rename it). You cannot provide more than one language variant of the title (currently) because the title is filename at the same time. This may change in future with Structured Commons. But currently there is no way to mark language of title of files in Wikimedia Commons.

Great thanks for the clarification @VojtechDostal!
Here's the scope of this task.

have a drop-down for selecting the language while entering the description
the drop-down should by default have phone's language selected
there can be a plus button below the description textbox letting the user add the description in another language
once the description is set by the user, it should be updated on commons using the following format.

{{en|PLACEHOLDER TEXT OF DESCRIPTION}}{{cs|Another description but now in Czech}}

One small modification. I just realized it should rather be like this:
{{en|1=PLACEHOLDER TEXT OF DESCRIPTION}}{{cs|1=Another description but now in Czech}}
Language template with the "1=" construct is the correct format used by Commons Uploader.

Thanks @VojtechDostal! Have updated the scope based on your comment. :)

@maskaravivek @VojtechDostal  Can i conclude, that the requirement is to

Add an option to select the language with the description (which would be defaulted to user's current phone number)
2.There would be a plus button below the description, which would add a new row(every time it is clicked), looking the same as above, and finally submit would send a list of descriptions instead of just one (which is the current behaviour), in the format  {{en|1=PLACEHOLDER TEXT OF DESCRIPTION}}{{cs|1=Another description but now in Czech}}

Yes @ashishkumar468 . If the app for any reason fails to load the default language of the system, you can instead insert {{unknown language|1=PLACEHOLDER}}.

@VojtechDostal @maskaravivek Cool, will update once done

@VojtechDostal @maskaravivek Could you guys point me to some api for image upload, as in from where I could see what all languages are supported and what exactly would be the key used for a language while uplaod

@VojtechDostal @maskaravivek The issue is open. Is there still a bug that needs to be fixed or a feature that needs to be added?

This is a feature request :-)

Yes. I meant, since the issue has not been closed, is there any feature (or part of it) that is left to be implemented?

This is implemented in master and should be released in 2.9. :) Thanks all!


Support selected Gif and LivePhoto.

Support selected Gif file.
It can be get gif file. and Live Photos.

76a280e50a751df370a0a979fbbd7b3f9cda281d

Hi,dear author,
How can I get GIf only ?

Hi,dear author, How can I get GIf only ?

Looking for the same thing. Did you find anything?


[Apps][Imageupdate-addcontent][1512111]

Updated image.
Updated code section.

Docs Build status updates of commit 518abad:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/icons/vsc-toolkit.png
:white_check_mark:Succeeded
View

msteams-platform/messaging-extensions/how-to/action-commands/respond-to-task-module-submit.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 2e6f46c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/icons/vsc-toolkit.png
:white_check_mark:Succeeded
View

msteams-platform/messaging-extensions/how-to/action-commands/respond-to-task-module-submit.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit e0a0b7c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/icons/vsc-toolkit.png
:white_check_mark:Succeeded
View

msteams-platform/messaging-extensions/how-to/action-commands/respond-to-task-module-submit.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit e87c5f4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/icons/vsc-toolkit.png
:white_check_mark:Succeeded
View

msteams-platform/messaging-extensions/how-to/action-commands/respond-to-task-module-submit.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 0e75a6b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/icons/vsc-toolkit.png
:white_check_mark:Succeeded
View

msteams-platform/messaging-extensions/how-to/action-commands/respond-to-task-module-submit.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Replace K8S task watcher to K8S task informer

Purpose of the pull request
I'd like to replace K8S task watcher to informer. Sometimes watcher may not receive full watcher events for a Job, which may make K8S task stuck in the wrong status(See issue) Besides, compared with watcher, informer can get all events that job had even before informer was running.  Informer provides a better way to cache and retrieve resources from the Kubernetes API server efficiently based on watcher, which can highly reduce API server workload.

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Hi @zhaohehuhu, you should better link an issue.

@Gallardot  PTAL

Is there any way to add K8sTask test case?

Is there any way to add K8sTask test case?

+1. Adding test cases for k8stask is highly necessary.
Additionally, I am not very familiar with the difference between watcher and informer in the k8s java-client.  Can you explain the difference between watcher and informer, or provide some reference documents? @zhaohehuhu

Is there any way to add K8sTask test case?

There is a UT for K8sTask. But it's not easy to do a full test case that covers every things in K8S task.

Is there any way to add K8sTask test case?

+1. Adding test cases for K8sTask is highly necessary.
Additionally, I am not very familiar with the difference between watcher and informer in the k8s java-client. Can you explain the difference between watcher and informer, or provide some reference documents? @zhaohehuhu

I can provide the doc. But you can click on the issue I mentioned earlier for details now.


Remove / Stop / dequeue / Unschedule a cron job ?

how to do it via code ? not tasking about via web page .. but which method to call for this stuff ?

Hello @syedali90
Suppose you have two scheduled workers:
schedules = Sidekiq.get_all_schedules
# => {
"high_freq"=>
  {"cron"=>"0 * * * * *", "class"=>"HighFreqWorker", "queue"=>"worker", "description"=>"low"},
"low_freq"=>
  {"cron"=>"0 */2 * * * *", "class"=>"LowFreqWorker", "queue"=>"worker", "description"=>"high"}}

To unschedule high_freq you can try the following:
schedules = schedules.reject { |k, v| k == 'high_freq' }
Sidekiq.schedule = schedules

Also, there's another hacky way to achieve the same effect:
Sidekiq.set_schedule('high_freq', { noop: nil })

In both cases, the dynamic flag must be set to true

thanks for detailed reply :)


Outputs not compatible with Blue Iris

I am getting Video, but no sound in blue iris.
The output codecs don't align with any of the inputs to blue iris.
Can we get a codec that is supported by blue iris added?

Surely Blue Iris supports AAC audio

I have tried, I am running go2rts that is included in frigate 12.
when I goto the go2 page port:1984 I get the links, and they work there.
so I am getting sound into go2.
but it does not want to acknowledge it in blue iris

but it does not want to acknowledge it in blue iris

right, that is most likely an issue with the stream that is being pulled since by default frigate applies a default_query that only pulls AAC audio. So the URL you are using in Blue Iris should have ?video&audio at the end of it

I have tried rtsp://<IP_ADDRESS>:8554/m_f_hallway_main?video=all&audio=all
I have tried others according to the doc, but none seemed to work

then it is likely to be a blue iris config issue, go2rtc does not change the codec from the camera unless you configure it to and even then blue iris supports them

I have even tried transcoding, and forcing the codec on the blue iris side.
my request comes more from the default that Blue iris wants is "64 kbps G.711. u-law"
and I was hoping that could be added as a transcode option.

go2rtc is fully customizable, you can add whatever transcode options you want

I have tried the ones listed in the docs.
unfortunately, I can't find any other examples of someone using the output of go2 into blue iris.
maybe I am thinking of this problem wrong.

ohh, I did not know this. thank you.
where do I pout these?

found out where, made my own like you just showed, output works in vnc, doesn't work in blue iris.
thank you for your help, I will reach out to blue iris to see if they can help me.


decide on what to automate

For example,

the filtering steps (can they all be automated?)
forking of any qualifying repositories to this organization
submitting issues in repositories that qualify

We chose to automate most of the filtering steps, but make fork (to this org) and send PRs by hand. We decided to forego making issues, because it will be difficult to keep track of the status of each when we move on to new projects. Better to make PRs, then people can accept or decline that and be done.


AddImagePart extension method to support GetImagePartType feature

I was unsure of where to add the functionality described in #1081
I ultimately decided that it might be best to create an ImagePartExtensions class that:

Defines a GetImagePartType method given an associated file extension string.
Overloads AddImagePart with a version that takes the file extension string and adds the ImagePart using the native method, but retrieving the ImagePartType via the above method.

If there is a better place / approach for this feature, please let me know so that I have a better grasp on where to accomplish similar features in the future should they arise. Thanks!

/azp run

I believe you should still be getting a warning about public APIs. If not, let's see if the build passes here

What do I need to do in order to add ImageTypeExtensions and AddImagePart to the public API?

You should get a warning in VS that it's not part of the public API and be offered to add it to the list

Sorry, I was using VS Code and didn't have any way of adding to the public API. Should be good to go now with the exception that it is giving end of life warnings for .NET Core 2.1. I merged with the latest from main here, and I'm still getting EOL warnings.

those warnings are fine. Thanks for the heads up about VS code. Do you have the csharp extension added in there?

/azp run

LGTM! Thanks

No worries, thanks for the help!

those warnings are fine. Thanks for the heads up about VS code. Do you have the csharp extension added in there?

I sure do. It didn't underline the class name or the extension method for me to pull up suggested actions the way it did in VS.
I primarily work from a monorepo where I have a single Web API, an Angular library, and multiple Angular apps, so VS Code works a lot better for me on the day to day. Example repo if interested.


Bump up to v0.10.21-SNAPSHOT

As the JRuby removal is a big change, I'm going to split versions released.

#1332, #1337, #1333, #1334: v0.10.20
#1336, #1338: v0.10.21

Thanks!


Telepath: StaticBlock

Looks good to me! I like how you've handled the HTML and text cases...
Merged in da6b082276bb9572b21cfe60c105415b61339591.


Dataflow Job Fails with ClassNotFoundException: org.slf4j.spi.LoggingEventBuilder

Expected Behavior
I expected that the Dataflow job using the Mercari Dataflow Template would run successfully without any issues.
Current Behavior
The Dataflow job is encountering the following error:
Caused by: java.lang.ClassNotFoundException: org.slf4j.spi.LoggingEventBuilder

This issue started occurring on January 12, 2024. Initially, on January 12th, I was able to resolve it by retrying the job, but since the following day, retries have not been successful.
I suspect that this issue is not related to changes in the Dataflow Template image, as no changes have been made since around December 11th. The problem seems to be on the Dataflow side.
This issue is happening in both the asia-northeast1 and us-central1 regions.
I have encountered this error with two different versions of the Mercari Dataflow Template:
The latest master branch (SHA: f39d77feaf01b82cddfcb84eaa311b01f6c0e875)
The v0.10.0 tag
Context
This issue is causing disruptions in our Dataflow jobs. I have attached the full console log for reference.
console_logs.zip

I'm not sure why, but after building and deploying the Docker image using the gcloud command, as shown in the following workaround, the error no longer occurs.
# generate fat jar. ignore errors
mvn clean package -DskipTests
gcloud --project="${PROJECT}" \
    dataflow flex-template build \
    "gs://${DATAFLOW_BUCKET}/template/mercari.json" \
    --image-gcr-path="${IMAGE}" \
    --sdk-language="JAVA" \
    --jar=target/solution-bundled-0.10.0.jar \
    --env=FLEX_TEMPLATE_JAVA_MAIN_CLASS=com.mercari.solution.FlexPipeline \
    --flex-template-base-image=JAVA17

Thank you for the quick fix and detailed explanation!
I comfirmed that the latest version works in my enviroment.
We're always grateful for the convenience your project!


Initial Timescale DB support

This PR implements a Timescale DB backend for inserting data into QuantumLeap as proposed in #228.
At a glance
This PR brings in the following new features:

full support for storing NGSI entities in Timescale, including geographical features, structured types and arrays
runtime selection of storage backend to use (Crate or Timescale) depending on tenant
full support for NGSI Simple Location Format (SLF), including conversions to/from GeoJSON and WKT (geocoding.slf package)
support for converting GeoJSON to/from WKT and GeoJSON to/from WKB (geocoding.geojson package)
automated Timescale backend setup
automated generation of Crate-to-Timescale migration scripts

Read on for the details!
The new Timescale backend
From now on, you'll be able to stash away your precious NGSI entities in Timescale using the existing notify endpoint. This new backend is made up of Postgres with both the Timescale and PostGIS extensions:
-------------------------
| Timescale     PostGIS |          ---------------
| --------------------- |  <-----  | QuantumLeap |-----O notify
|       Postgres        |          ---------------
-------------------------

This means we get a rock-solid, battle-tested, open source database, Postgres that is, along with excellent support for advanced spatial functionality (PostGIS) and fairly robust support for time
series data (Timescale). The mechanics of converting an NGSI entity to tabular format stay pretty much the same as in the Crate backend except for a few improvements:

NGSI arrays get stored as (indexable & queryable) JSON as opposed to the flat array of strings in the Crate backend.
NGSI GeoJSON and SLF attributes get stored as spatial data that can be indexed and queried---full support for spatial attributes is still patchy in the Crate backend.

For examples of how NGSI data gets stored in Timescale, look at test_timescale_insert.py. For the gory details of the translation process you'll have to look at the translators.timescale module---not for the faint-hearted though!
Note: querying & retrieving data
This PR doesn't implement any querying or retrieving of data through the QuantumLeap REST API as is available for the Crate backend. This means that for now the only way to access your data is to query the Timescale DB directly. But we're going to implement data querying and retrieval through the REST API for the Timescale backend too in the upcoming releases, so watch this space :-)
QuantumLeap Timescale DB setup
Before you can start playing around with the new Timescale backend, you'll have to bootstrap the QuantumLeap DB and perhaps you may also want to migrate some data from Crate. Well, you're in luck since we've automated most of the process with the quantumleap-db-setup Python self-contained script in the timescale-containerdirectory. The script does these three things, in order:

Bootstrap the QuantumLeap database if it doesn't exist. We create a database for QuantumLeap with all required extensions as well as an initial QuantumLeap role. If the specified QuantumLeap DB already exists, we skip the bootstrap phase.
Run any SQL script found in the specified init directory---defaults to ./ql-db-init. We pick up any .sql file in this directory tree and, in turn, execute each one in ascending alphabetical order, stopping at the first one that errors out, in which case this script exits.
Load any data file found in the above init directory. A data file is any file with a .csv extension found in the init directory tree. We expect each data file to contain a list of records in the CSV format to be loaded in a table in the QuantumLeap database---field delimiter , and quoted fields must be quoted using a single quote char '. The file name without the .csv extension is taken to be the FQN of table where data should be loaded in whereas the column spec is given by the names in the CSV header, which is expected to be there! Data files get loaded in turn following their alphabetical order, stopping at the first one that errors out, in which case this script exits.

(2) and (3) are mostly relevant for data migration which you can read about in the section below, but you can obviously use the script to execute whatever SQL you like.
Notice the script doesn't automagically make Postgres pop up out of thin air, so you'll have to have a working Postgres 10 or above server with the Timescale and PostGIS extensions already installed on it. But if you just can't wait for some action, use the Docker compose file in timescale-container/test to spin up a Timescale container (with PostGIS) and another container that will run the script using timescale-container/test/ql-db-init as init directory. You should wind up with a working Timescale DB, complete with some tables and test data.
Using the Timescale backend
Once you have a Postgres+Timescale+PostGIS server with a freshly minted QuantumLeap DB in it, well, you may just as well make QuantumLeap use it :-) To do that, you'll have to specify some environment variables and edit a YAML file. Here's how. The environment variables to use are:

POSTGRES_HOST: the hostname or IP address of your Timescale server. Defaults to timescale if not specified.
POSTGRES_PORT: the server port to connect to, defaults to 5432.
POSTGRES_DB_NAME: the name of the QuantumLeap DB, defaults to quantumleap.
POSTGRES_DB_USER: the DB user QuantumLeap should use to connect, defaults to quantumleap.
POSTGRES_DB_PASS: the above user's password, defaults to *. (Please change it!!!)
QL_CONFIG: absolute pathname of the QuantumLeap YAML configuration file. If not set, the default configuration will be used where only the Crate backend is available.

The YAML configuration file specifies what backend to use for which tenant as well as the default backend to use for any other tenant not explicitly mentioned in the file. Here's an example YAML configuration:
tenants:
    t1:
        backend: Timescale
    t2:
        backend: Crate
    t3:
        backend: Timescale

default-backend: Crate

With this configuration, any NGSI entity coming in for tenant t1 or t3 gets stored in Timescale whereas tenant t2 gets to use Crate. Any tenant other than t1, t2, or t3 gets the default Crate backend.
Migrating from Crate
If you'd like to migrate tables from Crate to Timescale, we have a self-contained Python script to help with that. You'll find it in timescale-container, the script is called crate-exporter.py. It exports rows in a given Crate table and generates, on stdout, all the SQL statements you need to import that data into Timescale. These include creating a corresponding schema, table and hypertable in Postgres as needed. Notice the script generates DDL statements that, when executed, will result in the exact same table structures the QuantumLeap Timescale backend would have generated on seeing NGSI entities corresponding to the rows stored in the Crate table.
Here's an example usage
$ python crate-exporter.py --schema mtyoutenant --table etdevice \
    > mtyoutenant.etdevice-import.sql

where we export all the rows in the Crate table mtyoutenant.etdevice. The generated file contains all the SQL statements to recreate the table and insert the data in Timescale. You may want to put this file in the quantumleap-db-setup script's init directory so that data gets migrated automatically for you when you bootstrap the QuantumLeap DB on Timescale as explained earlier.
By default the script exports all the rows in the Crate table, but you can also use the --query argument to specify a query to select only a subset of interest as shown below:
$ python crate-exporter.py --schema mtyoutenant --table etdevice --query \
    "SELECT * FROM mtyoutenant.etdevice where time_index > '2019-04-15';"

@chicco785 I reckon I've documented most of what's going on with this PR---see above. Hope I've managed to give you enough details for the cloud deployment, if not give me a shout!

I've sanitised the test data, thanks! Regarding the docs, I've just opened an new issue for that: #233.

see also: #237


Support system log on UI

Add a tab "system log" on admin options pane.
1.Only admin can download the logs.
2.The log files will be packaged upon click on UI.

This is optional

When revisiting I don't think this is a right design, we should rely on user's internal logging tools to do that instead of bundling it in Harbor.


Change avatar image from Jazzicon to Blockies

Fixes #593 .

@ironwebstar the pixels don't look right in the connected wallet and the spaces

They should look more like this

@ironwebstar it doesn't seem to work for different sizes. The visible pixels should be the same everywhere in the UI where we use the Avatar component.

So, pixel scale needs to be passed by props, I think.

Why passing at props? We have already the size with props and the number of pixel is always the same.

@ironwebstar Are you going to complete with PR?

This was merged in another PR


FailedPredicateException message

Reduce size of generated code by emitting predicate text instead of full failed predicate message. Full message is constructed with String.format in the FailedPredicateException constructor.

done manually


Cocoapods version check fails on Travis CI

Bug report

CHECKLIST

[x] I have read the issue reporting guidelines

[x] I confirm this is a suspected bug or issue that will affect other users

[ ] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.

[x] I have read the documentation thoroughly and it does not help solve my issue.

[x] I have checked that no similar issues (open or closed) already exist.

Current behavior:

On travis CI, when using image xcode11.5 which comes with CocoaPods v1.9.2, when running
ionic cordova platform add ios

prints the following at some point :
Failed to install 'cordova-plugin-firebasex': Error: cocoapods version is invalid - please reinstall<EMAIL_ADDRESS>Resolving dependencies...

1.9.2

    at checkCocoapodsVersion (/Users/travis/build/Alpha-health/perspectives-app/plugins/cordova-plugin-firebasex/scripts/ios/before_plugin_install.js:19:15)

    at module.exports (/Users/travis/build/Alpha-health/perspectives-app/plugins/cordova-plugin-firebasex/scripts/ios/before_plugin_install.js:7:5)

    at runScriptViaModuleLoader (/Users/travis/.nvm/versions/node/v12.14.1/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:181:32)

    at runScript (/Users/travis/.nvm/versions/node/v12.14.1/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:157:16)

    at /Users/travis/.nvm/versions/node/v12.14.1/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:125:20

    at processTicksAndRejections (internal/process/task_queues.js:94:5)

Failed to restore plugin "cordova-plugin-firebasex" from config.xml. You might need to try adding it again. Error: Error: cocoapods version is invalid - please reinstall<EMAIL_ADDRESS>Resolving dependencies...

1.9.2

cordova-plugin-firebasex: Preparing Firebase on iOS

[ERROR] An error occurred while running subprocess cordova.

        cordova platform add<EMAIL_ADDRESS>exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.

In spite of this error, though, the build carries on.
Expected behavior:
The plugin should be installed properly as 1.9.2 complies with ^1.9.0.
Steps to reproduce:

Not 100% sure if this is related to Cocoapods version or the Travis environment.
In there, running
pod --version
prints out
Resolving dependencies...
1.9.2

Screenshots

Environment information

Cordova CLI version

cordova -v

Cordova platform version

cordova platform ls

Plugins & versions installed in project (including this plugin)

cordova plugin ls

Dev machine OS and version, e.g.

OSX

sw_vers

Windows 10

winver

Runtime issue

OS details

Building on OSX

iOS build issue:
Build language: objective-c

Build id: 175871121

Job id: 361678322

Runtime kernel version: 19.4.0

travis-build version: 01e86bea

Build image provisioning date and time

Tue May 26 19:33:34 GMT 2020

Operating System Details

ProductName:	Mac OS X

ProductVersion:	10.15.4

BuildVersion:	19E287

Git version

git version 2.26.2

bash version

GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)

Copyright (C) 2007 Free Software Foundation, Inc.

GCC version

Apple clang version 11.0.3 (clang-1<IP_ADDRESS>)

Target: x86_64-apple-darwin19.4.0

Thread model: posix

InstalledDir: /Applications/Xcode-11.5.GM.Seed.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

LLVM version

Apple clang version 11.0.3 (clang-1<IP_ADDRESS>)

Target: x86_64-apple-darwin19.4.0

Thread model: posix

InstalledDir: /Applications/Xcode-11.5.GM.Seed.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Pre-installed Ruby versions

ruby-2.6.6

Pre-installed Node.js versions

v10.20.1

v12.16.3

v12.17.0

v13.14.0

v14.3.0

v4.9.1

v6.17.1

v8.17.0

mvn -version

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)

Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec

Java version: 13.0.2, vendor: N/A, runtime: /usr/local/Cellar/openjdk/13.0.2+8_2/libexec/openjdk.jdk/Contents/Home

Default locale: en_US, platform encoding: UTF-8

OS name: "mac os x", version: "10.15.4", arch: "x86_64", family: "mac"

Other information:

I believe the install fails because of the code in
https://github.com/dpa99c/cordova-plugin-firebasex/blob/cee0c4e9e28c5680191ce04ba5a0952a47133b19/scripts/ios/before_plugin_install.js#L10-L23
That code expects the output of pod --version to be a single-line string with a version number (which seems like a valid assumption) , but it therefore fails to parse this multiline string
Resolving dependencies...
1.9.2

One option might be to be a bit more laxist, and expect the version number to be on the last line of the stdout, and just validate that part.

Update : I could also reproduce it on a different Travis image (XCode12) which comes with Cocoapods v1.9.3 (the latest I believe)
pod --version
also prints
Resolving dependencies...
1.9.3

and therefore the build shows the same message :
Failed to install 'cordova-plugin-firebasex': Error: cocoapods version is invalid - please reinstall<EMAIL_ADDRESS>Resolving dependencies...

1.9.3

    at checkCocoapodsVersion (/Users/travis/build/Alpha-health/perspectives-app/plugins/cordova-plugin-firebasex/scripts/ios/before_plugin_install.js:19:15)

    at module.exports (/Users/travis/build/Alpha-health/perspectives-app/plugins/cordova-plugin-firebasex/scripts/ios/before_plugin_install.js:7:5)

    at runScriptViaModuleLoader (/Users/travis/.nvm/versions/node/v12.14.1/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:181:32)

    at runScript (/Users/travis/.nvm/versions/node/v12.14.1/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:157:16)

    at /Users/travis/.nvm/versions/node/v12.14.1/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:125:20

    at processTicksAndRejections (internal/process/task_queues.js:94:5)

Failed to restore plugin "cordova-plugin-firebasex" from config.xml. You might need to try adding it again. Error: Error: cocoapods version is invalid - please reinstall<EMAIL_ADDRESS>Resolving dependencies...

1.9.3

cordova-plugin-firebasex: Preparing Firebase on iOS

[ERROR] An error occurred while running subprocess cordova.

        cordova platform add<EMAIL_ADDRESS>exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.

Maybe the best approach is to use a regex to extract the version number from the stdout before comparing it with semver:
/\d+\.\d+\.\d+/


Low fps when aligning depth to color in resolution 1270*720  - rs2 d435

Required Info

Camera Model
{ D435 }

Firmware Version
(Open RealSense Viewer )

Operating System & Version
{ Linux (Ubuntu 16)

Kernel Version (Linux Only)
(4.4.0-141-generic)

Platform
PC nuc

SDK Version
{  2.17 }

Language
{C++ on qt }

Segment
{Robot }

Issue Description
I've been trying to show the aligned color and depth frames in imshow using different ways but the problem is that I get around 8 fps of images 1270*720. use usb 3.2.
At lower resolution it 18 fps.
I try to use the issue #2321  but it not help me.
In RealSense-Viewer It seems to have 30 frames per secondץ
there is way to fix that ?

Anther user who had low FPS performance with imshow and had also read #2321 got better results by building librealsense with CUDA support to offload processing work into the GPU.
https://github.com/IntelRealSense/librealsense/issues/2376
CUDA support is typically offered in Nvidia graphics chips.  The link below describes how to build with CUDA, and an alternative GPU offload method if you do not have CUDA.
https://github.com/IntelRealSense/librealsense/issues/4905#issuecomment-533854888

Tanks, I will  try that and update :)

@zofnatb,  it is highly likely to be the case of CPU being fully utilized. Frame alignment operation is indeed CPU-intensive. You can use htop to get actual results.
I'm not sure that you can run CUDA on NUC but on the SDK level you need to verify that the library is compiled with optimizations turned on (cmake .. -DCMAKE_BUILD_TYPE=release)
BTW, the viewer does not generate aligned images. To check the performance of align class on a specific platform you'd probably need to run rs-align and rs-align-advanced

@MartyG-RealSense  I don't think I can use CUDA in my NUC.
@ev-mp  how can I verify that on my SDK level  the library is compiled with optimizations turned on (cmake .. -DCMAKE_BUILD_TYPE=release) ?  Sorry I'm very new to this.
thanks.

@zofnatb, if you're using Debian packages then the optimizations are already turned on, so the FPS you get are probably very close to the max that NUC can provide.
In case you build the SDK from source then you need to apply the mentioned flag during CMAKE configuration step
You can also experiment with switching to lower resolution/applying decimation filter - this will increase FPS at the expense of depth or color resolutions.

@ev-mp
Thank you very much for solving this problem.