Where can we get the python3 script to receive and display CSI info in real time?

"python3 script to receive and display CSI info in real time"
Where can we get the script?
thanks for your help very much.

./active_ap/host_processing_pyqt.py
This file may be what you are looking for.

thanks for your help very much!
------------------ 原始邮件 ------------------
发件人:                                                                                "Rui-Chun/ESP32-CSI-Collection-and-Display"                                                                                @.>;
发送时间: 2023年10月29日(星期天) 凌晨5:00
@.>;
<EMAIL_ADDRESS>主题: Re: [Rui-Chun/ESP32-CSI-Collection-and-Display] Where can we get the python3 script to receive and display CSI info in real time? (Issue #3)
./active_ap/host_processing_pyqt.py
This file may be what you are looking for.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

You should run this Python script on your computer and keep your computer in the same Wi-Fi with ESP32. First flash the code (either active_ap or active client) to ESP32, then establish a Wi-Fi connection with another device. ESP32 will send "filtered" packets to your computer, which contain CSI info for display. You may need to update IP address in that script. You can check the debug output from ESP32 for more info about how it works and why it does not work.


Remove mandatory variant_flags

What is the context of this PR?
Related to https://github.com/ONSdigital/ons-schema-definitions/pull/32#discussion_r207161581
variant_flags is being checked for in the metadata parser, but it's never used in the code.
How to review
Nothing should break. Run some surveys from the launcher.

Its used in census_household.json variant_flags.sexual_identity which should be changed to just sexual_identity

If any variant_flags are used, it should be defined, ie https://github.com/ONSdigital/eq-survey-runner/blob/06cf7215f9a6799a6ffb20a9e9611e1fc0e0194d/data/en/census_household.json#L13-L25

Launching census_household / census_individual breaks for me...
@jonnyshaw89 is working on refactoring the go-launch, but this is where it's being set
https://github.com/ONSdigital/go-launch-a-survey/blob/1914c3d4d6c61b5346c2510018ed2f303d759746/authentication/auth.go#L136


differ: expose newWalkingDiff() for standalone buildkit

ref: https://github.com/moby/buildkit/pull/116/files#r137484219
Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>

Codecov Report

Merging #1485 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1485   +/-   ##
=======================================
  Coverage   40.82%   40.82%
=======================================
  Files          23       23
  Lines        2920     2920
=======================================
  Hits         1192     1192
  Misses       1451     1451
  Partials      277      277

Continue to review full report at Codecov.

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

updated PR @dmcgowan

LGTM


SettingsList.Item should have a itemStyle prop

Item has a leftMargin of 15 in styles.titleBox that offsets the border as well. Id like to change the itemView style but there doesnt seem to be an API for it. I can do a pull request if needed to allow itemStyle as a prop of SettingsList.Item. Thoughts?

I opened up all of the hardcoded styles that I'm using, allowing for you to customize all of it, but also allows for it to have the same default settings as well


Prevent KFP install timeouts during stack up

Pre-requisites
Please ensure you have done the following:

[x] I have read the CONTRIBUTING.md document.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have added tests to cover my changes.

Types of changes

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

Describe changes
The Kubeflow Kustomize repository is quite large, as it consists of
several components. As a consequence, kubectl apply -f can sometimes
fail with a timeout while it's git-cloning the files locally. To prevent
that, a custom timeout value of 1 minute is used instead of the
kustomize default value of 27 seconds.
[1] kustomize option to allow configurable git timeouts: https://github.com/kubernetes-sigs/kustomize/pull/3900

Nice! Do you think 1 minute is enough or should we increase it even further?

The default 27 seconds were almost enough to allow me to install kubeflow manually after a couple of retries. I think 1 minute is enough, yes. In any case, we can bump it again if we run into problems later.


add language zh-tw (Traditional Chinese)

This is exciting! Is there anyone available to review this before we merge?

@sethvincent
Ok, I guess it's perfect now

@sethvincent finished, you can merge now, thanks.

wooooooo


Is It Possible to Use Microphone and Speaker for Real-Time Voice Calls via SIP?

Hi,
Thanks for this awesome project! I’m looking to set up a door intercom system using the SIP integration. Is it possible to configure the system to handle real-time voice communication via a microphone and speaker, allowing two-way communication (similar to a regular phone)? If so, how would this be implemented?

Currently ha-sip is meant to be a headless system and this feature is available nor planned.


pageserver: move page_service's  import basebackup / import wal to mgmt API

I want to fix bugs in page_service (issue) and the import basebackup / import wal stand in the way / make the refactoring more complicated.
We don't use these methods anyway in practice, but, there have been some objections to removing the functionality completely.
So, this PR preserves the existing functionality but moves it into the HTTP management API.
Note that I don't try to fix existing bugs in the code, specifically not fixing

it only ever worked correctly for unsharded tenants
it doesn't clean up on error

All errors are mapped to ApiError::InternalServerError.

Waiting for review from team compute https://neondb.slack.com/archives/C04DGM6SMTM/p1720542945296569


[WIP] Vulkano renderer

This is a WIP pull request for vulkano support. I wanted to create a PR early, for visibility and to get feedback/input on what needs to be included for what is considered a full renderer backend. I've implemented the bare basics from what I could see from the glium examples, but welcome further input on what all needs to be implemented. Would close #91
TODO:

[x] Working imgui rendering
[x] winit key/mouse events (for cross support with vulkan-win)
[ ] imgui image support (this doesn't seem to be supported in any of the other renderers either?)
[x] Code conformance, lock vulkano+etc versions
[x] clippy and rustfmt pass
[ ] renderer should not use unwrap, and we should return RendererError instead in all error cases
[ ] the vulkano renderer converts all ImDrawVert values to Vertex values. Is there no way to avoid this? It feels like a fairly big overhead, because in every frame we need to both 1) allocate a new vector (for collect()), and 2) go through all vertexes

Please let me know if I'm missing anything.

This code is now functionally complete, supporting imgui in the same capacity as the other backends. Image support is not implemented, but it doesn't seem that is implemented in any of the other examples either.

Thanks for the hard work! There's been a lot of changes in master, so could you rebase the branch?
I don't know vulkan at all, but I'll try to give the pull request a proper look after it's up to date.
Here's some notes after a very quick glance:

vulkano feature imgui-sys doesn't seem to have any effect? It should be removed if it's not needed
custom texture support has landed in master. It shouldn't be very tricky to add, but needs to be supported before we can merge vulkan support to master
renderer should not use unwrap, and we should return RendererError instead in all error cases
the vulkano renderer converts all ImDrawVert values to Vertex values. Is there no way to avoid this? It feels like a fairly big overhead, because in every frame we need to both 1) allocate a new vector (for collect()), and 2) go through all vertexes

Sorry for the long delay. I have picked this up again, and have so far fixed the majority of your items. I've updated the root checklist to reflect the rest needed.

No worries! :smile:
I've got two new review comments based on a very quick look:

The new renderer crate should use Rust 2018 and its conventions (e.g. no extern crates, import macros instead of using macro_use, etc...). Clippy + Rustfmt can probably help a lot here
Dependency versions should be explicit (two digits, e.g. 1.0) and wildcard versioning (*) should not be used


⚠ Bio Links has degraded performance

In 7132750, Bio Links (https://bio.rheinklang.events/links) experienced degraded performance:

HTTP code: 200
Response time: 1938 ms

Resolved: Bio Links performance has improved in 6979988 after 24 minutes.


migrator: teach the tool to handle ArrayMemberUpdate and OptionalArrayMemberUpdate attributes emitted from swift-api-digester.

This bridges the function call arguments that used to be of type [String] and
now become [StringRepresentableStruct].

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge


When preparing Windows system image, sysprep /generalize /oobe /shutdown /unattend:unattend.xml failed due to "Failed to remove apps" error

When executing sysprep /generalize /oobe /shutdown /unattend:unattend.xml, sysprep reported an error.

Error messages in %WIBDIR%\System32\Sysprep\Panther\setupact.log,

According to the error message: "failed to remove apps for the current user: 0x80073cf2", we first need to remove package Microsoft.LanguageExperiencePackzh-CN_183<IP_ADDRESS>_neutral_8wekyb3d8bbwe
Open a powershell, execute the following command:
remove-appxpackage -package Microsoft.LanguageExperiencePackzh-CN_183<IP_ADDRESS>_neutral_8wekyb3d8bbwe

After remove the package, try sysprep again.


Failed to load url error when using sveltekit and jsdom environment (0.34.1)

Describe the bug
I have "Failed to load url" error when using sveltekit and jsdom environment for setupFiles file. It works fine with vitest 0.33, this error appear only in vitest 0.34.1
Reproduction

Create empty sveltekit project with vitest npm create svelte@latest my-app or clone my repo with all dependencies and files: https://github.com/EugeneDraitsev/vitest-setup-files-bug
Add jsdom to dependencies, add empty setupTest.ts and use following vite.config.ts

export default defineConfig({
	plugins: [sveltekit()],
	test: {
		include: ['src/**/*.{test,spec}.{js,ts}'],
		environment: 'jsdom',
		setupFiles: './setupTest.ts'
	}
});

Run yarn test and see "Failed to load url" error

If you comment environment: 'jsdom', or downgrade vitest to 0.33.0, then it will work fine
System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (24) x64 13th Gen Intel(R) Core(TM) i7-13700KF
    Memory: 13.58 GB / 31.82 GB
  Binaries:
    Node: 18.15.0 - ~\scoop\apps\nvm\current\nodejs\nodejs\node.EXE
    Yarn: 1.22.19 - ~\scoop\apps\yarn\current\bin\yarn.CMD
    npm: 9.5.0 - ~\scoop\apps\nvm\current\nodejs\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1992.0), Chromium (115.0.1901.188)
    Internet Explorer: 11.0.22621.1

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Previously Vitest was running in SSR mode even if environment was JSDOM.
Vite doesn't allow accessing files outside of the root folder by default. Since 0.34.0, Vitest uses web mode to load all files inside a test suite, and because of this Vite fallbacks to fs.allow rules. You need to allow files outside of root to be served manually:
export default defineConfig({
	plugins: [sveltekit()],
	test: {
		include: ['src/**/*.{test,spec}.{js,ts}'],
		environment: 'jsdom',
		setupFiles: './setupTest.ts'
	},
	server: {
		fs: {
			allow: ['./setupTest.ts']
		}
	}
});

Thank you for explanation! It works fine with server configuration


Example URLs for relationships

I think it would make it more straightforward if suggested relationship URLs in the examples are changed in the  following manner:
{
  "type": "articles",
  "id": "1",
  "title": "Rails is Omakase",
  "links": {
    "self": "http://example.com/articles/1",
    "authors": {
      "self": "http://example.com/articles/1/authors/self",
      "related": "http://example.com/articles/1/authors/related",
      "linkage": [
        { "type": "people", "id": "9" }
      ]
    }
  }
}

It looks more consistent, and it also easier to extend. For example:
{
  "type": "articles",
  "id": "1",
  "title": "Rails is Omakase",
  "links": {
    "self": "http://example.com/articles/1",
    "authors": {
      "self": "http://example.com/articles/1/authors/self",
      "related": "http://example.com/articles/1/authors/related",
      "target": "http://example.com/articles/1/authors/target/snapshot_12345",
      "linkage": [
        { "type": "people", "id": "9", "target": "http://example.com/people/9" }
      ]
    }
  }
}

FYI, related issues: #471, #477

I'm sorry but I don't think this makes a whole lot of sense.
Nested URLs of the form /foo-resource/<id>/bar-resource look good and are quite standard. They are completely self-explanatory. What value does it add to append a redundant related segment, the meaning of which must be obtained from the documentation?
Importantly, if the related resource URL is put behind related, then requesting all articles by the guy who authored article 1 would look like this:
http://example.com/articles/1/author/related/articles/related

IMO that's confusing and super ugly.
There's no 1:1 correspondence between URLs and the internal structure of resource objects anyway, so I find the consistency argument dubious.

I agree with @bintoro. I don't see the value of this addition. If you wish, you could achieve your desired consistency by dot-notating your relations rather than slash separating them.
e.g.
GET /articles/1/author.articles


Bump DuckDB version to 0.10.0

Hi,
Not entirely sure if my understanding is correct, but DuckDB is bundled with this plugin, is that correct?  If so, does this package need to be rebuilt/released to support DuckDB 0.10.0?
Thank you!

Hey Nat-- no, all we do here is specify a minimum DuckDB version (currently 0.7.0); you should be able to use any DuckDB version greater than that with the 1.7.x line of adapters.
I do periodically bump the minimum version the adapter supports (e.g. I will likely bump things to 0.8.0+ pretty soon to clean up some cruft), but I almost always go out of my way to support multiple versions of DuckDB so folks can upgrade at their leisure.


Supports on R-CAR V3M/H3 series ?

May i ask, does this meta-layers support Renesas R-CAR V3M/H3 families ? Recently i have struggled to get tensorflow working on these platforms.

Hello @jasonakon, thanks for getting in touch.
Currently this project is only for the Renesas RZ/G1 series of SoCs. However support will be added for RZ/G2 in the next couple of months. Once this work is done it shouldn't be too much of a task to port over to R-Car Gen3.
Let me know if there is anything else I can help you with.
Regards, Chris

Hi @patersonc , was wondering are you from Renesas ?
Because i'm one of the the developers on the Renesas R-CAR GEN3 which struggling in setting-up tf & tflite environment.
Hopefully, if you could give me some hints on the compatible "local.conf and bblayers.conf" on the rcar gen3 platform. Thank you !

Yep. Drop me a line internally.
We hope to release support for RZ/G2 in the next couple of weeks.

Hello @jasonakon,
Did you manage to make any progress with building for R-Car Gen3 in the end?
Kind regards, Chris

Hi @patersonc ,
We're still struggling on getting the recipe to work. We were wondering whether u guys are possible to have time to try out the meta-renesas-ai in V3M ?

Hello @jasonakon,
I've done a quick play and managed to get a build for H3 Salvator-X completed, and tested it on a H3 3.0 4GB Salvator-XS platform.
See my commit 60a9721eb30280fb5a422411409900aa80f5c15a. Simple build instructions are available in https://github.com/patersonc/meta-renesas-ai/blob/rcar-support/meta-tensorflow/templates/salvator-x/build_instructions.md.
Hopefully this helps you.
Regarding V3M, it's not something I've dealt with before, but hopefully what I've done for H3 should be enough to get you on your way.
Kind regards, Chris

I've also added a patch to add tensorflow-lite support now: 60a9721eb30280fb5a422411409900aa80f5c15a


typo: Double word "the"

@nschonni : Thanks for your contribution! The author, @tknandu, has been notified to review your proposed change.

Merging the typo fix


refactor(cdk/listbox): convert all directives to standalone

Converts all of the @angular/cdk/listbox directives to standalone. It provides the ability to use these directives as host directives.

Not sure why it failed, @crisbeto could you please help figure out what's wrong here?

I'm not sure either. Can you try to rebase?

@crisbeto done. Now it seems need to add some labels, but I don't have permission for that.


buildbot: 0.9.0rc4 -> 0.9.0.post1

buildbot: 0.9.0rc4 -> 0.9.0.post1

updates buildbot to version 9 release
adds nixos configuration module
fixes buildbot-www package deps
re-hardcode path to tail

@FRidh @copumpkin @ryansydnor this PR is WIP, as still working thru the buildbot nixos configuration module.

@copumpkin @FRidh @grahamc @Mic92 ready_for_review

I haven't looked deeply yet, but two things jump to mind:

You need to include your module in the big list o' modules that NixOS includes (https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/module-list.nix)
I'd probably call the module buildbot-master or something similar, since it seems likely that people will eventually want a buildbot-worker module to handle worker configuration.

ready_for_review

Bump @copumpkin, @Mic92

@copumpkin added both functionality of passing entire raw config and/or just override a few default variables. should be ready for merge?

will take a look at it later this day. In case I forget it, feel free to ping me again after 24h.

I tested the module now with "LocalWorker". I made some changes to the module
in this branch: https://github.com/Mic92/nixpkgs/commits/buildbot See commit message for details.

@Mic92 cherry-picked your buildbot refactor commit to this PR


Publish metadata

Summarise the changes this Pull Request makes.
@martincostello  said:

but I guess really would need to see a PR of approach 2 to compare and contrast

For comparison with #447. This is a variant - merge one or the other, not both.
In this fork, PublishEnvelope is replaced by PublishMetadata, which does not contain the message. In the general case, both are supplied. So the signature for publish methods is in this case
Task PublishAsync(Message message, PublishMetadata metadata, CancellationToken cancellationToken)

and the metadata can be null.  There are overloads/extension methods to handle simpler cases and forward them to the most general case.
This should not affect the "wire format" of messages sent.
I have no strong preference between these PRs, and both approaches work.
Please include a reference to a GitHub issue if appropriate.

I've but WIP on this on the basis that we don't know which candidate is the winner yet between this and #447.

Right now I prefer #449 over #447, on the basis that

Design-wise, not all of this data needs to be a "wrapper" for the message.  the MessageAttribute are are sent with the message, but the Delay is not, it is instructions on how to publish. It doesn't need to enclose the message.

Practicality wise, moving from PublishAsync(m, ctx); to the new equivalent PublishAsync(m, null, ctx); seems more familiar than PublishAsync(new PublishEnvelope(m), ctx);

Things that are out of scope of this PR, but can be added in a non-breaking way later:

A global IDictionary<string, MessageAttributeValue> MessageAttributes or default PublishMetadata that is configured once at startup, and defaulted onto every message sent. Might be useful for setting common properties?
Any global Func<PublishMetadata,PublishMetadata> or Action<PublishMetadata> or similar for manipulating requests in an arbitrary manner.  We don't have a candidate use for these and for existing simple things, just supplying the value is much simpler.
Any Func<SendMessageRequest, SendMessageRequest> or Action<SendMessageRequest> etc on the PublishMetadata.  Again, possible in a non-breaking way, but we don't have a candidate use for these.

For item 1, that's something we could probably add to the new builder stuff once #431 gets to master.


Add withStateHandlers hoc

Can we get withStateHandlers too please?

This is definitely something we want to add. I'll try to free up time next week to implement this one.


[CI][Python] wheel-manylinux2014-* sometimes crashed on pytest exit

Describe the bug, including details regarding any error messages, version, and platform.
wheel-manylinux2014-cp38-amd64 2022-12-20 nighty:
https://github.com/ursacomputing/crossbow/actions/runs/3738813751/jobs/6345300403#step:9:775
= 4294 passed, 382 skipped, 18 xfailed, 2 xpassed, 4 warnings in 522.05s (0:08:42) =
/arrow/ci/scripts/python_wheel_unix_test.sh: line 95:    79 Segmentation fault      (core dumped) python -m pytest -r s --pyargs pyarrow

wheel-manylinux2014-cp39-arm64 2022-12-20 nighty:
https://app.travis-ci.com/github/ursacomputing/crossbow/builds/259026563#L5708
= 4324 passed, 352 skipped, 18 xfailed, 2 xpassed, 1 warning in 141.20s (0:02:21) =
/arrow/ci/scripts/python_wheel_unix_test.sh: line 95:    15 Segmentation fault      (core dumped) python -m pytest -r s --pyargs pyarrow

Component(s)
Continuous Integration, Packaging, Python

This is still happening, core dump on those wheel jobs yesterday:
wheel-manylinux2014-cp310-arm64
wheel-manylinux2014-cp311-amd64
wheel-manylinux2014-cp37-amd64
wheel-manylinux2014-cp39-amd64
wheel-manylinux2014-cp39-arm64
I am marking this as a release blocker.

I can sort of reproduce; you have to go through the release verification process. Still trying to get GDB inside this process so I can try to backtrace (the test that SIGINTs itself is giving me a bit of trouble). I can't yet reproduce with a 22.04 container directly; trying to make sure the setup is exactly the same.

And now I can no longer get the crash to reproduce either, so I'm not sure I can make much headway on this.

This is now the last non-archery blocker, with the difficulty in reproducing this should it still stay a blocker?

It does seem to have happened on the latest test-fedora-35-python-3 on Azure too: https://dev.azure.com/ursacomputing/crossbow/_build/results?buildId=42753&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=d9b15392-e4ce-5e4c-0c8c-b69645229181&l=5623
===== 6762 passed, 356 skipped, 18 xfailed, 2 xpassed in 295.11s (0:04:55) =====
/arrow/ci/scripts/python_test.sh: line 60: 22828 Segmentation fault      (core dumped) pytest -r s ${PYTEST_ARGS} --pyargs pyarrow
139

I am not entirely sure this is a blocker for the release at this point. It's quite difficult to reproduce and flaky (not always happens) and it only seems to happen on test exit (as all tests are successful). I would probably remove it from being a blocker on the release and keep investigating around it. @kou @lidavidm what are your thoughts about moving it out of the release?

I am OK with this, though we will have to note it at verification time.
Can we get some more systematic approaches to solving this? Would it be possible, for instance, to backtrace failing tests automatically, or upload a core dump? In #33720 I'm going to try enabling both PYTHONFAULTHANDLER and catchsegv to see if we can get any more info on what's happening.

https://github.com/aws/aws-sdk-cpp/issues/1833 ?

I am not too familiar with this but as far as I understand this is not something we have introduced on this release, right? I can't see any change on how we deal with the S3Client and we have not changed the version of aws-sdk-cpp yet: https://github.com/apache/arrow/issues/20272

Right.

As suggested by @lidavidm this is causing release verification (https://github.com/apache/arrow/pull/33751) to be a bit painful.
I had to retry the wheel-manylinux2014-cp39-amd64 11 times for it to succeed (1 of the early failures was due to a failure uploading the artifact): https://github.com/ursacomputing/crossbow/actions/runs/3949372445/jobs/6760493478
And currently verify-rc-binaries-wheels-linux-conda-latest-amd64 is still failing with the crash on pytest exit after several retries: https://github.com/ursacomputing/crossbow/actions/runs/3954649758/jobs/6772203240
Those have been the only jobs that have been having the issue as far as I am aware but it has been quite consistent on those. I wanted to raise that so it is taken into account on the release vote.

…maybe we could just leak the S3 client as a workaround?

We can probably do that indeed. We just have to make sure to disable S3 on ASAN and Valgrind CI jobs.

Judging by the reconstructed stack trace (thanks @lidavidm !), this has nothing to do with OpenSSL but with calling a logging method:
CurlHandleContainer::~CurlHandleContainer()
{
    AWS_LOGSTREAM_INFO(CURL_HANDLE_CONTAINER_TAG, "Cleaning up CurlHandleContainer.");
    for (CURL* handle : m_handleContainer.ShutdownAndWait(m_poolSize))
    {
        AWS_LOGSTREAM_DEBUG(CURL_HANDLE_CONTAINER_TAG, "Cleaning up " << handle);
        curl_easy_cleanup(handle);
    }
}

The definition of AWS_LOGSTREAM_INFO is:
    #define AWS_LOGSTREAM_INFO(tag, streamExpression) \
        { \
            Aws::Utils::Logging::LogSystemInterface* logSystem = Aws::Utils::Logging::GetLogSystem(); \
            if ( logSystem && logSystem->GetLogLevel() >= Aws::Utils::Logging::LogLevel::Info ) \
            { \
                Aws::OStringStream logStream; \
                logStream << streamExpression; \
                logSystem->LogStream( Aws::Utils::Logging::LogLevel::Info, tag, logStream ); \
            } \
        }

Looks like there is a global static RegionResolver that has an S3Client and that S3Client is being destroyed after S3 has already been destroyed?

Yes, it's probably that. Though "S3 has already been destroyed" is a bit vague (is it after DLL unload?).

Shall we try this: https://github.com/apache/arrow/commit/59cc8cdf1be90da30086325c41d3e7d49d1483b9 ?
finalize_s3 will reset the region resolver before shutting down s3.

This may solve the problem in pytest, but will not solve it for users. We may try an atexit hook...

I agree that this isn't a good fix for users.  I'm not sure an atexit hook would work though because it won't be called before the static state is destroyed:

The functions may be called concurrently with the destruction of the objects with static storage duration and with each other, maintaining the guarantee that if registration of A was sequenced-before the registration of B, then the call to B is sequenced-before the call to A, same applies to the sequencing between static object constructors and calls to atexit: see std::exit

Ah! No, a C atexit hook would probably not work. I'm talking about a Python atexit hook. However, there is the flipped issue that it might be called too early (potentially leaving Arrow threads making calls into a finalized AWS SDK).

Note original problem: "there is a global static RegionResolver that has an S3Client and that S3Client is being destroyed after S3 has already been destroyed". So the static RegionResolver destructor is called too late...

Ah! No, a C atexit hook would probably not work. I'm talking about a Python atexit hook. However, there is the flipped issue that it might be called too early (potentially letting Arrow threads make calls into a finalized AWS SDK).

Perhaps it is time then for an arrow::Shutdown method?

Perhaps it is time then for an arrow::Shutdown method?

That wouldn't really solve the issue I mentioned, would it? :-)

That wouldn't really solve the issue I mentioned, would it? :-)

A python atexit hook could call arrow::EnsureShutdown.  In arrow::Shutdown we would first shut down the thread pools.  Then we would shut down S3.

@pitrou @lidavidm
I prototyped a shutdown mechanism this morning (https://github.com/apache/arrow/commit/9d62b2c9f349c4f896d88367b8a0145baed74ba3) and I think it could work but I realized there might be another way we can solve this problem as we ran into a similar problem with open telemetry.
We added the concept of Executor::KeepAlive which is a method that registers a resource with our thread pool instance and keeps that resource alive until all threads have exited.  Our OT code then uses this to ensure that OT is not shutdown until all threads have exited.
We can extend this mechanism to S3.  The main drawback will be that a call to FinalizeS3 will not actually call Aws::ShutdownAPI until process exit (after the thread pool has shut down).  Would this be an acceptable workaround?  It would allow us to safely use a python atexit hook to call FinalizeS3.

How would that work in this case? Something which keeps the AWS SDK alive until after all S3 clients have been destroyed?

How would that work in this case? Something which keeps the AWS SDK alive until after all S3 clients have been destroyed?

S3's finalize would be guarded by a shared_ptr (or some kind of reference count). One copy would live with the thread pools (as a resource).  Well, one copy with each thread pool.  One copy would live with S3Finalize.
Python's atexit would call S3Finalize which would decrement the shared pointer by 1
As the process closes the thread pool is shut down as part of the normal destruction of static state.  Once it finishes it then clears it's "resources" which would include the S3 finalizer.
The reference count would now drop to 0 and it should be safe to finalize S3 (presumable the user is done because we have hit python atexit and presumably arrow is done because the thread pools are shutdown).
We would then call Aws::ShutdownAPI as the destructor for the shared_ptr.

It sounds like we can give this a try @westonpace .


card collapse does not work on online demo form section

http://coreui.io/demo/Static_Demo/components-forms.html

Hi @khaninejad
Thanks for letting us know! This will be fixed in the very next release.

fixed

I'm closing this since the the issue is no longer active and it appear it was answered above. Please comment and it will be reopened if you feel the issue has not been resolved / the question has not been answered.


Question: Where are tags downloaded to?

Sorry, I can't label my own report, but this is a question. I'm on windows 10 and used the tag loader feature. My question is, where are those tags saved to? I imagine its just a list of tags in a file but they have to be saved somewhere.
Also while I have you, why does the wiki in grabber only work like, 20% of the time. usually it shows nothing, even when I know there is a wiki entry for that tag. But Alot of the time when it does show a wiki entry, it disappears after a few seconds!

I have the same question.

My question is, where are those tags saved to? I imagine its just a list of tags in a file but they have to be saved somewhere.

Tags are saved in the directory:
C:\Users\%USERNAME%\AppData\Local\Bionus\Grabber\sites

Which has a sub-directory per source then per site. At the bottom of the structure, you'll have a tags.txt file which is easily readable. Sometimes, it can also be a tags.db file in SQLite format.
So for example for Gelbooru, it's in:
C:\Users\%USERNAME%\AppData\Local\Bionus\Grabber\sites\Gelbooru (0.2)\gelbooru.com\sites.txt

If you're on linux or mac, you can also open the settings directory from the "File" menu.

Also while I have you, why does the wiki in grabber only work like, 20% of the time. usually it shows nothing, even when I know there is a wiki entry for that tag. But Alot of the time when it does show a wiki entry, it disappears after a few seconds!

Sounds like a bug to me 🤔

Thank you for the question response. I've looked into the tags, is it really necessary to download all the tags? Especially if a large number of tags on a given site have 0 images associated with them?
Also as for the bug, what would be the best way for me to collect data on it to give to you?

Especially if a large number of tags on a given site have 0 images associated with them?

The tag loader only download tags with more than 20 associated images.

I've looked into the tags, is it really necessary to download all the tags?

You can also download the already-generated ones here:
https://github.com/Bionus/imgbrd-grabber/releases/tag-databases

Also as for the bug, what would be the best way for me to collect data on it to give to you?

The crash reporter should generate a DMP file for you, but the best is to do a screen recording of the process.
Otherwise, just writing down the reproduction steps.


Turkish version of chapter 3 topics

update 03.0, 03.1, 03.2, 03.3, 03.4 and 03.5 for Turkish

#1315 has been merged with this pull request.


Added Jeitto as one of happy Airflow users!

Added Jeitto as one of happy Airflow users!
Jeitto [@BrennerPablo, @ds-mauri

@BrennerPablo the company names need to be in alphabetic order. Please fix!

@BrennerPablo the company names need to be in alphabetic order. Please fix!

Thanks!

@BrennerPablo Awesome.. now one nit.. please prepend [AIRFLOW-XXX] to your commit message. We generate release notes from the first lines of commit messages, so this reads better. You don't need to create a JIRA for this trivial change, so you can use the placeholder value (XXX).
Bonus points if you can squash your commits into 1.

Welcome aboard!!! Yours is the 200th official company to list themselves on the company list!!!


adds GDK Xbox d3d12 compatibility with dxgi wrapper

Requires

GENie PR: https://github.com/bkaradzic/GENie/pull/546
BX PR: https://github.com/bkaradzic/bx/pull/287

Original code by devonsoft.

Closing to replace with cleaned up version.


Build error

@iSOLveIT Hey, thanks for creating this GitHub action. I am trying to use if for a project but getting this error.
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3, iSOLveIT/sphinx-pdf-generate-action@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

The above statement was just a warning that was resolved with updating actions/setup-python@v3 to actions/setup-python@master.
Actual issue is with PDF Build,
  The HTML pages are in ../../../../../tmp/pages-79HULxBdMi.
  Traceback (most recent call last):
    File "/opt/hostedtoolcache/Python/3.11.8/x64/bin/sphinx-pdf-generate", line 8, in <module>
      sys.exit(main())
               ^^^^^^
    File "/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/sphinx_pdf_generate/cli.py", line 124, in main
      raise PDFGenerateException(
  sphinx_pdf_generate.cli.PDFGenerateException: The The PDF metadata file, 'pdf_metadata.json', not found in the output directory. Check: /tmp/pages-79HULxBdMi
  Error: Invalid status code: 1
      at ChildProcess.<anonymous> (/home/runner/work/_actions/lorforlinux/sphinx-pdf-generate-action/main/main.js:9:19)
      at ChildProcess.emit (node:events:514:28)
      at maybeClose (node:internal/child_process:1105:16)
      at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
    code: 1
  }
  Error: Invalid status code: 1
      at ChildProcess.<anonymous> (/home/runner/work/_actions/lorforlinux/sphinx-pdf-generate-action/main/main.js:9:19)
      at ChildProcess.emit (node:events:514:28)
      at maybeClose (node:internal/child_process:1105:16)
      at ChildProcess._handle.onexit (node:internal/child_process:305:5)

Hi @lorforlinux
Thank you for reporting the issue. I will take a look into the problem and get back to you.


Improved logging when invalid rows

Add custom IndexError handler so that you can print out the line number of the CSV that caused the problem

Hi,
Not sure why the travis CI tests failed.  They pass when I run them locally:
(dazzag_csv2parquet) xxx@zzzz:~/code/dazzag_csv2parquet$ pytest
=============================================================================================== test session starts ===============================================================================================
platform linux -- Python 3.6.8, pytest-5.2.4, py-1.8.0, pluggy-0.13.0
rootdir: /home/xxx/code/dazzag_csv2parquet
plugins: cov-2.8.1
collected 25 items

csv2parquet/test_argparse.py ..........                                                                                [ 40%]
csv2parquet/test_write.py ...............                                                                                [100%]

=============================================================================================== 25 passed in 0.27s ================================================================================================

Codecov Report

Merging #14 into master will decrease coverage by 0.47%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   98.28%   97.81%   -0.48%
==========================================
  Files           5        5
  Lines         409      411       +2
==========================================
  Hits          402      402
- Misses          7        9       +2

Impacted Files
Coverage Δ

csv2parquet/csv2parquet.py
96.11% <50%> (-1.08%)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks for the contribution! I added a test case, merged & released as 0.0.9.


Support Node.js 16.x

Add support for Node.js 16
Fixes #51

@smithki I forgot to update that I published<EMAIL_ADDRESS>with your improvements. Thanks again!

Hi @austinkelleher. Is there anything preventing the release of v0.9.0? Really interested in trialing this package for a serverless PDF generation solution. Unfortunately, the transitive vulnerabilities mentioned in #51 prevent this. All the best!

@mfarrow701 This was a total accident. I'll get this published today! Thank you for the ping.

No problem @austinkelleher, these things happen - much appreciated 🙏

@mfarrow701 Published<EMAIL_ADDRESS>

Outstanding - thank you 🙌


[FR] - Feature Request: Priority Sorting

It would be good to add filtering by priority. If not, I cannot see what is of high priority and whats not on a given day.

agreed, actually a sorting combination system is under design, but it might take quite some time because I am busy with something else currently.

Hi, thanks for your reply. One more thing, adding to the previous: group by heading!
This is something that the task plugin already allows, so maybe its not that difficult to implement.


Update canonical build from source docs to reflect actual usage.

Both myself and our users have been falling down the hole of using an unsupported generator and fat fingering development options when we just want to be copy/pasting. I think how I have this laid out strike a balance.

Could also update the sample build commands in other files to include -GNinja for easier copy/paste.
I do wish the concise versions of these commands were good enough as defaults (e.g. just bazel build iree/... or cmake --build)... but the extra characters and complexity are probably worth it here :/

I mean, they do/should work, but they funnel people into undefined territory that makes it hard to support them when they show up. I see it as a support cost trade-off.

Pushed commits addressing my own comments.


RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.cuda.HalfTensor) should be the sam

Regarding blip2_feature_extraction.ipynb found in: https://github.com/salesforce/LAVIS/blob/main/examples/blip2_feature_extraction.ipynb
When running on CPU it works fine, but on GPU I'm getting this error:
RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.cuda.HalfTensor) should be the same
I tried using model.half() and image = image.to(torch.float16) but it doesn't seem to work.
This happens in the following code:
features_multimodal = model.extract_features(sample)
@dxli94 any ideas how to solve it?

In load_model_and_preprocess
I just made it: model = model.float() and commented if device == "cpu":
Will check later how to do use weights half() as well. If you have a solution until then please let me know.

#169 should be able to fix this. Could you kindly help confirm?

@AnaRhisT94 is it working now?
With https://github.com/salesforce/LAVIS/commit/baad2d7c8df599d8d9b081ba2e946626eaa2dc34, CPU support should also work.

I also met this problem when using blip2_qformer model. I change the parameter 'vit_precision' with 'fp32'. This makes my code work. I hope it can help you.

I also met this issue. It is weird that the issue arises in some function but not others that all calls the visual encoder self.ln_vision(self.visual_encoder(image)). Does anyone know why?


Remove the build skuba command from testrunner

It makes no sense to have this in here since we already have a
build or install target in the root's Makefile.
It is also giving testrunner more responsibilities that it should
have.
Also does some code format refactor.

I agree with the change, we should be calling skuba commands as much as possible. I would have liked to see the whitespace changes in a separate commit, though.

Hi @stefsuse I have addressed your comments sorry about the mix of spaces and code refactor.

Anything marked (future) is a suggestion not really about your change.

Including the future suggestions


fork consuming so much memory

`import pandas as pd
import re
import time
import tldextract
import sqlalchemy
from mpire import WorkerPool
from mpire.utils import make_single_arguments

from db_connection import db_conn

from unidecode import unidecode

def init_db_conn(work):
    work['engine'] = db_conn(dbname,user,password,host,port_db)

def close_db_conn(work):
    work['engine'].close()

def replace_special_characters(company_name):
    pattern = r'[\W\s_]'
    modified_name = re.sub(pattern, '', company_name)
    return modified_name.lower()

def normalize_text(text):
    text = unidecode(text)
    return text

def domain_cleaner(domain):
    filtered_domain = tldextract.extract(domain)
    return filtered_domain.registered_domain

def main(work,list_df):
    conn = work['engine']
    cur = conn.cursor()
    input_row = list_df['input_row']
    input_columns = list_df['input_columns']
    data = pd.DataFrame([input_row],columns=input_columns)
    data = data.dropna(subset=['company_name', 'domain'])
    data['company_name'] = data['company_name'].apply(normalize_text)
    data['domain'] = data['domain'].apply(normalize_text)
    for i, row in data.iterrows():
        if len(row["company_name"]) > 1 and len(row['domain']) > 1:
            uncleaned_company_name = row["company_name"]
            start_time = time.time()
            company_name = replace_special_characters(row["company_name"])
            domain = domain_cleaner(row['domain'])
            try:
                insert_query = f"INSERT INTO {output_table_name} (company_name,sanitized_company_name, domain) VALUES ('{uncleaned_company_name}','{company_name}', '{domain}')"
                cur.execute(insert_query)
                connection.commit()
                end_time = time.time()
                final = end_time - start_time
                print(final)
                # print("Saved to database")
            except Exception as e:
                print(e)
                with open('db_insertion_error.txt', 'a') as file:
                    file.write(str(e) + '\n')
                    work['engine'].rollback()
            finally:
                cur.close()

if __name__ == __main__:

    dbname = "test"
    user = ""
    password = ""
    host = ""
    port_db = "5432"
    output_table_name = "companies"
    connection = db_conn(dbname=dbname, user=user, password=password, host=host, port_db=port_db)
    table_name = 'input_company_table'
    # data = pd.read_csv(file_location , encoding='utf-8')
    input_engine = sqlalchemy.create_engine(
        f"postgresql://{user}:{password}@{host}:5432/{dbname}")
    conn_stream = input_engine.connect().execution_options(
        stream_results=True)
    input_table_query = f'select * from {table_name}'

    chunk = 100
    input_df = pd.read_sql_query(input_table_query, conn_stream, chunksize=chunk)
    for input_chunk in input_df:
        batch_row = 100
        input_row_batch = [input_chunk.loc[count:count + batch_row] for count in range(0, chunk, batch_row)]

        for input in input_row_batch:
            args = [{'input_row': input_row,
                     'input_columns': input_chunk.columns,
                     } for _, input_row in input.iterrows()]
        # a, b = "company_name", "domain"
            list_df = make_single_arguments(args, generator=False)
            with WorkerPool(
                    n_jobs=1, start_method="fork", use_worker_state=True, keep_alive=True
            ) as pool:
                results = pool.map_unordered(main, list_df,
                                             worker_init=init_db_conn,
                                             worker_exit=close_db_conn, chunk_size=(batch_row / 2))

I am using fork (OS - ubuntu 22 - jelly)  for every chunk the memory is slowing increasing after some time its reaching the max and programming is stopping.

Well, you're sending quite a lot of data to the workers, which is not recommended. If you really must though, then try using max_lifespan, which restarts workers every now and then. This was implemented exactly for dealing with memory slowly increasing over time.
But actually, I would advice you to set up multiple database connections, one for each worker (which you already do) and let the workers retrieve the data from the table_name themselves. Perhaps querying with some offset and limit parameters so each worker will work on a separate chunk of data. This saves you from serializing the data from the main process, sending it over the queue and de-serializing it at the worker, which saves you a lot of memory overhead.
A few more optimizations to consider:

Create the WorkerPool outside the for-loop just once. Starting/closing workers is time-consuming. Right now, the keep_alive=True won't do anything because you recreate the pool each time. And of course, set n_jobs > 1
Also try setting chunk_size to just 1, which should reduce memory as well. Otherwise it will already send chunk_size * n_workers * 2 tasks over the queue in your case.
You retrieve chunks of data of size 100 (chunk_size) and then create batches also with size 100 (batch_row). Wouldn't you then just end up with len(input_row_batch) == 1?
I'm not sure why you're converting the dataframe to a list first and then convert it back to a dataframe in the worker. It seems to be you can just pass on slices of the dataframe to each worker, but I might be wrong
The pattern in replace_special_characters can be compiled once and reused by all workers.

Closing issue due to inactivity


Custom objective cv index

So I have a problem with custom objective function and cross validation. I am passing an external parameter used in custom objective func called errors
def metric_func_generator(cls, errors: np.ndarray):
    def _metric_softmax(predt: np.ndarray, dtrain: lightgbm.Dataset) -> (str, float, bool):
        n_classes = errors.shape[1]
        predt = predt.reshape((n_classes, -1)).T
        n_rows = predt.shape[0]

        # calculate softmax of prediction (weights)
        predt = np.exp(predt)
        sp = predt.sum(axis=1)
        sp = np.repeat(sp, n_classes).reshape(n_rows, n_classes)
        predt = predt / sp

        # calculate weighted error
        rowsumerrors = predt * errors

        return "Weighted-OWA", rowsumerrors.sum(), False
    return _metric_softmax

But the proble is that when I use lightgbm cv function, a portion of predt is passed as expected but I could not get the train and test indices to filter external errors to calculate objective function. How could I achieve it?

@quancore Thanks for using LightGBM. The used_indices in dtrain should give the actual data indices of the Dataset passed to the customized objective function. So we can use the dtrain.used_indices to index the errors.


chore: add rustc version

Which issue does this PR close?
Closes #
Rationale for this change
Add rustc version in version info

What changes are included in this PR?

Rename  CSE_CERES_META_NODE_ADDR to  CERESDB_SERVER_ADDR
Add rustc version

Are there any user-facing changes?
No

How does this change test
No need

Codecov Report

Merging #672 (9b5c718) into main (9e06dcc) will increase coverage by 0.26%.
The diff coverage is 28.67%.

:exclamation: Current head 9b5c718 differs from pull request most recent head d918b20. Consider uploading reports for the commit d918b20 to get more accurate results

@@            Coverage Diff             @@
##             main     #672      +/-   ##
==========================================
+ Coverage   67.28%   67.55%   +0.26%
==========================================
  Files         283      281       -2
  Lines       44491    44305     -186
==========================================
- Hits        29935    29929       -6
+ Misses      14556    14376     -180

Impacted Files
Coverage Δ

analytic_engine/src/instance/write.rs
86.95% <ø> (-0.10%)
:arrow_down:

analytic_engine/src/lib.rs
98.76% <ø> (ø)

common_types/src/lib.rs
100.00% <ø> (ø)

common_util/src/lib.rs
100.00% <ø> (ø)

server/src/grpc/remote_engine_service/mod.rs
0.00% <0.00%> (ø)

src/bin/ceresdb-server.rs
1.53% <0.00%> (-0.25%)
:arrow_down:

table_engine/src/remote/model.rs
0.00% <0.00%> (ø)

analytic_engine/src/sst/parquet/meta_data.rs
87.35% <100.00%> (+3.73%)
:arrow_up:

common_util/src/runtime/mod.rs
96.29% <100.00%> (ø)

components/parquet_ext/src/prune/min_max.rs
94.04% <100.00%> (+1.14%)
:arrow_up:

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


merge const and non-const fns where possible

Right now there's a whole tree of const and non-const fns, because at one point I was trying to use some non-const stuff inside add() or something. But it turns out that was slower than just using the const version. So now there's a bunch of duplicated stuff where it's not necessary. I think the only things that do need to be split are mod_p and matmul.

Fixed in 0.3.1


Add thomasloven/hass-favicon

ignore the bot for now, it's not blocking yet

I just added an info file anyway


Update shadowwarrior.sh

Working on some changes to fix up and streamline the Shadow Warrior module. Not quite done but getting close. Discussion at: https://retropie.org.uk/forum/topic/31580/suggestions-for-ports-2/148?_=1647040167941

you do know that you dont have to make it look exactly like the ones they have in RP. right.
None of these will never be included in with the mains.
Cleaning them up is fine, but you seem to be trying to make them match the RP ones to the letter. i just dont want you to waste your time on things that are not really needed.
thats why i dont try to make anything match, if they work then they work. 90% of people aint going to care what the script looks like. even Mitu when asked does not push to have everything match.
but if thats what you want to do. go for it.

I'm just trying to write clean, consistent code, to use on my own system, within the framework that is already there. If it is patterned after the official script modules, that is because this is meant to be an extension of that work and so of course I look to them for inspiration and structure. If I don't see a good reason for deviating from that structure, I don't.
Good code should not just "work," but also be easy to read and understand. Consistency helps with that, a lot. Maybe no one else cares what it looks like, but I still do.

but also be easy to read and understand.
that kinda made me laugh, not at you. but other then the people who wrote RP, no one under stands what any of it means or does with it comes to the RP helper codes.
for me the way i have the scrips now and the commands they have i understand perfectly, since thats what the other people will tell you to use.
Using the special things from RP helpers is confusing for me. but im working on that
they used not to help much with people asking for help when it came to scripts. but it seems to be getting better.
granted the RP helpers to me still reads like stereo instructions. lol


WIP: Add a Ell batched matrix format, kernels and tests

This PR adds a batched ELL matrix format, kernels and test. In a similar fashion to batch::matrix::Dense, it only applies to batch::MultiVector for now and has only the minimal required functionality.
TODO

[ ]  Add CUDA kernels and tests
[ ]  Add HIP kernels and tests
[ ]  Add DPCPP kernels and tests
[ ]  Update docs

format!

format!

format!

format!


Generalized n-dimensional Perlin Noise

Attempt to merge https://github.com/ararslan/ProceduralNoise.jl/pull/2.

Due to type instability, the PR is currently slower by a factor of ~200. perlin3d is the old specialized code.
julia> @benchmark perlin($1.1, $2.2, $3.3)
BenchmarkTools.Trial: 10000 samples with 3 evaluations.
 Range (min … max):   8.805 μs …  3.553 ms  ┊ GC (min … max): 0.00% … 99.26%
 Time  (median):     10.980 μs              ┊ GC (median):    0.00%
 Time  (mean ± σ):   12.312 μs ± 56.249 μs  ┊ GC (mean ± σ):  7.86% ±  1.72%

             ▄█   ▁
  ▁▁▂▅▆▃▂▂▂▂▂██▆▃██▄▂▁▂▁▁▁▁▁▂▂▂▃▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ ▂
  8.81 μs         Histogram: frequency by time          19 μs <

 Memory estimate: 13.20 KiB, allocs estimate: 164.

julia> @benchmark perlin3d($1.1, $2.2, $3.3)
BenchmarkTools.Trial: 10000 samples with 982 evaluations.
 Range (min … max):  45.930 ns … 290.740 ns  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     49.089 ns               ┊ GC (median):    0.00%
 Time  (mean ± σ):   54.981 ns ±  17.501 ns  ┊ GC (mean ± σ):  0.00% ± 0.00%

  ▆██▅▁    ▂▃▂▁    ▁▂▂▁                                        ▂
  ██████▇▇██████████████▇▇▆▇▇▇▆▇█▇▇▆▇▆▆▇▆▅▇▆▇▆▅▅▆▅▅▆▅▆▅▅▅▄▅▄▅▆ █
  45.9 ns       Histogram: log(frequency) by time       134 ns <

 Memory estimate: 0 bytes, allocs estimate: 0.

Comparing the outputs, it looks like the generalized version has some artefacts:
using ProceduralNoise
using ImageCore

rg = 0:0.01:20
A = Gray.([perlin(x, y) for x in rg, y in rg])
B = Gray.([perlin3d(x, y, 0.0) for x in rg, y in rg])

New:

Old:

@NikulinVs would you be interested in getting this running?


Adds support for editing the robots.txt on a website

Closes #3103
Summary
Adds support to edit Robots.txt in the Persona Bar's Configuration Manager feature.
This supports instances where there may be multiple robots.txt files for multi-portal instances.  An included update detects the correct mode to render in CodeMirror based on the file extension of the "configuration" file in question.

Please review again at your convenience, @mitchelsellers .  :)

@hismightiness I just tested this feature out (hindsight, should have tested before approving/merging), but there appears to be an issue loading the Robots.txt file.  I am getting ready to start working on swapping out the CodeMirror editor to monaco-editor.  I'll see if I can figure out what is going on while I'm in there.

Hmmm... That (obviously) was not happening to me.  "It works on my machine."  😆
What underlying errors are you seeing?

Never mind... I just cleaned everything and pulled from Dev and it's happening to me now.  I'm working on a fix right now.
Dnn.PersonaBar.ConfigConsole.Services.ConfigConsoleController - System.IO.FileNotFoundException: Could not find file 'c:\Robots.txt'.
File name: 'c:\Robots.txt'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
   at Dnn.PersonaBar.ConfigConsole.Services.ConfigConsoleController.GetConfigFile(String fileName)

Okay, I found the cause.  For some reason, this line returns the path as \\Robots.txt:
var doc = File.ReadAllText(Path.Combine(Globals.ApplicationMapPath, "\\", configFile));

But when I put it back to what it was before the code review, it works. (Also, this is the way it's done in Config.cs in at least one spot.)
var doc = File.ReadAllText(string.Concat(Globals.ApplicationMapPath, "\\", configFile));


Flipswitch wave animation

If I press on the round button in a FlipSwitch the wave animation is triggered and the wave goes through the button which looks nice but on the left and right side the wave is bordered by the rectangle and not the rounded corners which looks not so nice ;) Is this possible to fix?

Unfortunately I cannot change the complete behavior because there will be an SVG-Element attached that ignores the overflow attributes.
But I will make some changes with the next update that the ripple there would be "light" so the user won't see it.

Just updated in commit https://github.com/godesign/nativeDroid2/commit/1576169fca8a15763e9c1e0c1813eed18fc1d89b#diff-cd44164adab6e7dd5df3c7823a7fb31fR78

Nice work!


List supported Kubernetes versions

Supported Kubernetes versions depend on the PKE version at the moment.
We need a list of Kubernetes versions that the current PKE version has prebuilt images for. Alternatively, if no such images exist, list the latest Kubernetes versions, hard-coded (?) into Pipeline (instead of Cloudinfo).

Closing as we will stick to the latest Kubernetes version.


[FEATURE] - Check if Always on VPN enabled

Today, I spent half the day trying to understand why your app wasn't connecting to my server, only to find out that it was because I had 'always on VPN' enabled in another app, even though I wasn't connected to the VPN. Therefore, I recommend implementing a check to see if 'always on VPN' is enabled.

Hello! I'm sorry, that sounds really frustrating. 😞  I agree, this would be a good feature to add. I'll look into it.


Nano integration

Description
This is the second pull-request (of 2) for #8 Nano integration, which contains the Nano implementation in wallet-core (C++ APIs, C interface & bindings updates).
Closes #8.

Testing instructions
Unit-tests in wallet-core and all (Swift, Android, JS) bindings.
Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] Prefix PR title with [WIP] if necessary.
[x] Add tests to cover changes as needed.
[x] Update documentation as needed.

All right, did the address prefix and balance-as-string related changes and rebased this branch on latest master.

Tried resolving conflicts but messed something up. Do you ming having a look @roosmaa ?

The tests with variables like value36 are the problem here. Adding 2 coins at the same time is difficult as both try to use the same variables. I'll just rebase it now, but in the future, it would be better to refactor the unit-tests to not use numbers, either by using value<coin-name> or by using sub-scopes:
void test() {
    {
        auto value = ...;
        ASSERT_EQ(value, 'something');
    }
    {
        auto value = ...;
        ASSERT_EQ(value, 'else');
    }
}

I completely agree.

And rebase done


There are untranslated strings in the localized 'Change Access Tier' dialog

Storage Explorer Version: 1.17.0
Build: 20201222.4
Branch: main
Platform/OS: Windows 10/ Linux Ubuntu 16.04 / MacOS Catalina
Architecture: ia32/x64
Language: All
Regression From: Not a regression
Steps to Reproduce

Launch Storage Explorer.
Open 'Settings' -> Application (Regional Settings) -> Select 'Français' -> Restart Storage Explorer.
Expand one storage account -> Blob Containers.
Upload one blob -> Right click it -> Click the localized 'Change Access Tier...'.
Check whether all strings are translated.

Expected Experience
All strings are translated in the localized 'Change Access Tier' dialog.
Actual Experience
There are untranslated strings in the localized 'Change Access Tier' dialog.

Verified on build main/20210428.4. The string 'Standard' isn't translated.

@cristianosuzuki77 any thoughts on this? Given how many instances of the string are untraslated, I would almost guess that this was intentional?


[FLINK-20072][docs] Add documentation for FLIP-107

What is the purpose of the change
Documents all features of FLIP-107.
Brief change log
Updates:

DDL
Kafka connector
Upsert Kafka connector
Debezium format

Fixes various issues with:

Kinesis connector
Format page
Connector page

Additionally, fixes nullability in Debezium metadata.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? docs

Thanks @sjwiesman. I hope I could address all you comments.


[ko] Translate docs/tasks/configure-pod-container/user-namespaces into Korean

This is a Feature Request

What would you like to be added
Translate docs/tasks/configure-pod-container/user-namespaces into Korean
Why is this needed
Not Translated into Korean
Comments
link : https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/
/language ko
/assign

@WESTZERO115 감사합니다!
/triage accepted


[vim bindings] regexp support (sort) fixed cursor pos (ex/search)

Hi everybody,
First there is a little improvement from my point of view, in the ex and search history navigation : the cursor is sticked to his position (and to his end when some text is selected).
And for the sort command there is regular expression support and also :

n argument support (same as d)
not sorting lines that doesn't match the pattern (for regexp and arguments) like vim do

PS: sorry i forgot about the console.log and tabulation. Is it possible to check again ? i have replaced my commit.

It seems your commit is still the old one (with trailing whitespace and console.log). Could you update the branch?


Accept Drive letter as drive info

It works if I write "1" instead of "D". But I wan't to call the CLI via C# via powershell and I am not aware of any way to get the drive number, just the letter.

Etcher version: 1.0.0
Operating system and architecture: Win10
Error We can't find D on your system. Did you unplug the drive?

Command: ./etcher index.js --no-check 2017-07-05-raspbian-jessie.zip --drive D --yes --unmount

Moved question to this place because etcher-cli is deprecated


Use system language by default

Description
Currently English is set as default language for osmand.net/map.

Change language priority in Chrome chrome://settings/languages

ToDo
User not logged in:

[x] Use System / Browser default language for UI

User logged in:

[x] Use System / Browser language by default until user changed it
[x] Switch to System / Browser language after log out

Settings

[x] Add new item System (Device language) for Display language option.

Review

Screenshot

Chrome
Safari

[ ] Use proper language names


src/sap.m/src/sap/m/themes/base/FlexBox.less: Invalid semicolon

OpenUI5 version: latest
Browser/version (+device/version): N/A
Any other tested browsers/devices(OK/FAIL): N/A
URL (minimal example if possible): https://github.com/SAP/openui5/blob/master/src/sap.m/src/sap/m/themes/base/FlexBox.less
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

N/A

What is the expected result?
What happens instead? There's an invalid semicolon in the FlexBox.less file at line 41, terminating the .sapMFlexBox > .sapMFlexBoxFit style. This is invalid CSS syntax, and causes some parsers such as less4j to fail
Any other information? (attach screenshot if possible)

Hi Chuck,
a fix is done and being reviewed.
Thanks
Andreas

Fix is applied in master and will be downported to 1.38 and above.

Thanks Andreas!


encode json consistently across libraries

Rationale
Resolve compatibility across libraries
Related Pull Requests

Changes

Would love to see some junit test cases, but that can be a change on develop

https://github.com/LabKey/platform/pull/5117


influxdb 0.9 compatibility?

It looks like this plugin isn't 0.9 compatible. I'm trying to use it against influxdb 0.9 and getting:
2015-06-04 15:07:04 -0700 [warn]: fluent/output.rb:354:rescue in try_flush: temporarily failed to flush the buffer. next_retry=2015-06-04 15:07:05 -0700 error_class="InfluxDB::Error" error="404 page not found\n" plugin_id="object:3fd80a06ce04"
This looks a lot like this: https://github.com/influxdb/influxdb/issues/2032
Assuming the problem is indeed 0.9 compatibility, it would be great to have a 0.9 compatible branch of this repository.

We use official influxdb gem. Supporting 0.9 in influxdb gem is enough.
This plugin doesn't lock gem version so you can use any version of influxdb gem.

I check influxdb-ruby repository and I don't know why influxdb team doesn't release new gem...

Yes, thank you for looking into this. I'm not quite sure how ruby package management works, but if you could create a 0.9 branch of fluent-plugin-influxdb when the 0.9 influxdb gem is released that would be great. (Or use master and move fluent-plugin-influxdb 0.8 to a separate branch).

It depends on influxdb gem for 0.9.
If influxdb gem for 0.9 changed its client API, I will consider it.

I have the same issue. I think it's influxdb/influxdb-ruby#91 that's the source of this issue. The entire gem just does not support the latest version of influxdb yet.
The 0.8 API is still used, see for instance client.rb.

When pull request #23 is added, support for 0.9 will work. Influxdb-ruby 0.2.0 has been released so any new installs of this gem will break since the version isn't locked and 0.2.0 doesn't support Influx 0.8.


feat(get-cluster-info): reporting on eks clusters versions

This action gathers info and creates a markdown file that contains each EKS cluster in k8s management including name, region, EKS version and helm version.

What is this for?

@abatilo I added a description

What is this for?

@abatilo I added a description

Can you rewrite this to not be Docker-based action. Docker-based actions rebuild the action container every time the workflow runs, which adds a non-insignificant time to how long the workflow takes. Please consider rewriting this as a composite action.

@marcind I refactored this to be a composite action.

Can you rewrite this to not be Docker-based action. Docker-based actions rebuild the action container every time the workflow runs, which adds a non-insignificant time to how long the workflow takes. Please consider rewriting this as a composite action.

@marcind I refactored this to be a composite action.

@marcind I'm going to take your suggestion and move this into the repository that it will be used in since it does not need to be very generic.

@marcind I'm going to take your suggestion and move this into the repository that it will be used in since it does not need to be very generic.


Enforce cert check when verify_ssl_cert=True

The Client class simply skipped the CA certificate check when no
certificate had been supplied but verify_ssl_cert is set to True. From
the outside this looks like the certificate check passed. If no
certificate has been supplied via parameter or environment variable, we
should fail.

Of course 👍


UniTS model hard-coded "cuda:0" when loading pretrain weights

https://github.com/microsoft/ProbTS/blob/d299e1cc26df337b9aff9e5951df7d652f74c2f5/probts/model/forecaster/point_forecaster/units.py#L1014
This should be made more robust to support various devices.

Fixed with #24

Maybe need a better way to specify device when inference.


7295 pure + alias this + 7296 regression

7295 Alias This + Pure + pointsTo = rejects-valid
7296 [2.058] Regression:  Cannot swap RefCounted
Suppress errors while determining 'alias this' while looking for a template match. If an error occurs, treat it as a failed match. Bug 7296 is a Phobos regression, where a minor change has triggered this bug.
Ideally the matching step would completely ignore purity and safety, only checking them after a match is found -- that would give better error messages. But to do that cleanly would involve some very intrusive changes. Even then I think errors should still be gagged while doing the alias this transformation.

Don, please add "fix issue NNNN" as part of the commit message, so that bugzilla gets automagically updated when pulled.

Sorry, I realized that only after I'd made the pull request.
On 26 January 2012 09:44, Walter Bright
<EMAIL_ADDRESS>wrote:

Don, please add "fix issue NNNN" as part of the commit message, so that bugzilla gets automagically updated when pulled.

Reply to this email directly or view it on GitHub:
https://github.com/D-Programming-Language/dmd/pull/640#issuecomment-3665941


Landing a stack causes reviews to be dismissed on the top stack

When landing a stack, when changing the top PR's base, reviews get dismissed automatically when "Dismiss stale pull request approvals when new commits are pushed" is enabled.

This breaks the workflow in repos with that option enabled. Honestly not sure what to do about it, though...

This is a limitation of the current design.


Fee estimates are sometimes lower than real fee

Just checking...

[X] This is a cardano-wallet bug.
[X] I am using the latest cardano-wallet release.
[X] I am using the correct cardano-node version for that release of cardano-wallet.

Version
v2022-01-18 (git revision: a5085acbd2670c24251cf8d76a4e83c77a2679ba)
Platform
Linux cardano-relay-test 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux
Installation method
Binary from GitHub release page
Network configuration
testnet
Context
Right now when I am sending multiple assets the estimated fee is actually lower than real fee, especially when I am sending more than 2 assets. With 5 assets I usually end up paying about 0.02 ADA more than estimation.
cardano-wallet should be able to calculate this more precisely. When sending just ADA and no native assets, the fee estimates are correct.
Description
Steps to Reproduce

Create TX with many native assets
Request fee estimate
Perform TX and observe real fee
...

Expected behavior
Real fee should never be more than estimated fee
Actual behavior
Real fee is higher than highest estimate

sorry I found there was error in my own code, fee estimated are correct


Fix typo when checking for this.emitEventOnUpdate

In #29, due to a last-minute rename I mistyped the property getter. This PR fixes that error.

Merged and available in v1.0.16. Thanks!

So fast, thank you!


Dart development compiler support

Description

Steps to Reproduce

Some (general) steps to reproduce are:

Create a polymer.dart project
enable strong_mode in analysis_options.yaml
run dartdevc
observe strong-mode errors

There is a lot more involved here, as I don't think that the dev compiler supports reflection to the degree that un-transformed polymer apps would need it.

thanks for the quick response - are you saying there there might be a solution involving running the transformers up-front?

The real solution here is to migrate polymer and all of its related transformers over to package:build (or source_gen, which uses build). Ultimately I think this comes down to some work in package:initialize and package:reflectable, which rewrite their own sources in a transformer (see https://github.com/dart-lang/initialize/blob/master/pubspec.yaml#L22 and https://github.com/dart-lang/reflectable/blob/master/reflectable/pubspec.yaml#L24). This is how they switch between reflective/codegen modes, and is not possible in package:build since rewriting sources is banned.
Angular solves this with a separate entrypoint that you use for bootstrapping the app (angular2/platform/browser[_static].dart). If you are doing codegen always you can just import the static one directly instead of relying on the transformer. For package:initialize the same approach can easily be taken, but I think its more difficult for package:reflectable.

The alternative using transformers is you have to run pub build and then dartdevc each as part of your dev cycle, which would be quite painful (and slow).

cc @eernstg

I haven't been working on reflectable for a while (the time just melts away
as you do other things ;-), but I want to take the experiment using the
build package and make that available in the published version of
reflectable. The main issue is organizational: A naive approach to doing
this will create a lot of duplicate files (for instance, because the import
structure of a test using build is different from the import structure of a
test using a transformer, and the main function needs to contain an extra
statement in the version using build, etc). So maybe we should just accept
the massive redundancy (and write a script to compare the copies and ensure
that they stay pseudo-identical as they should). I definitely want to make
this happen real soon now (finally..).
On Fri, Nov 18, 2016 at 6:41 PM, Jacob MacDonald<EMAIL_ADDRESS>wrote:

cc @eernstg https://github.com/eernstg
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/polymer-dart/issues/721#issuecomment-261593642,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJKXUlfHU0T9n-_4zZoeUGa9zsewrP-nks5q_eMygaJpZM4K2Air
.

--
Erik Ernst  -  Google Danmark ApS
Skt Petri Passage 5, 2 sal, 1165 København K, Denmark
CVR no. 28866984

Ok, I can't remember the specifics @eernstg but Ideally we wouldn't have to actually change any imports outside of the entry point file. I think in the reflectable case that would require some additional boilerplate in the entrypoint even for reflective apps though (you would have to register some reflective implementation, which you would import via reflectable_mirrors.dart or something). Is that an option do you think? Overall it would probably make things a lot more sane (and this is what polymer/web_components/initialize do).

I still haven't had an opportunity to spend time on reflectable, but I just noticed this remark:

are you saying there there might be a solution involving running the transformers up-front?

You should be able to use arbitrary transformers by writing your code in a package, specifying the transformers in 'pubspec.yaml', running them via pub build --mode=debug the_relevant_directory, and then continue processing the files in $PACKAGE_ROOT/build/the_relevant_directory, e.g., compiling them with dartdevc. That may be very inconvenient comparing to other workflows, but it should in principle do the job.

Will the polymer support dartdevc in the future?

it's already supporiting it : https://pub.dartlang.org/packages/polymerize


Ability to run wapm execute (wax)

wax is a command that runs wapm execute XYZ under the hood.
This command does two things:

Search for XYZin the wapm command database
Install the package in a temporary folder
Run it (similar to wapm run)

More info here: https://medium.com/wasmer/introducing-wax-a-webassembly-package-runner-d69943209d58
Since wapm run is now fully implemented I think we should be quite close to be able to run wax in the terminal!

This one should be fairly straight forward by the looks of it - might look at just compiling it to WASI with the wasi-net/wasm-bus dependency to get the sub process support and see if that does the trick.
Will finish the wasm-bus first though before doing it so that its more stable... about half way through the coding so far.

Now that the wasm-bus is finished I had a look at this and indeed it was rather easy to implement:
Its a built-in command rather than a WASM application for now
wax python


Apply rustfmt

Depends on #71.
Decided to run rustfmt because I didn't have anything better to do... Even though I'd like to use a formatting tool I don't have a strong opinion on whether we should stick with this. Overall I think the formatting looks OK.
I'm using some unstable rustfmt settings so it requires the nightly version (cargo +nightly fmt).

I don't mean to start a flamewar, I was curious how it would look.

Codecov Report

Merging #72 into master will increase coverage by 0.03%.
The diff coverage is 90.95%.

@@            Coverage Diff            @@
##           master     #72      +/-   ##
=========================================
+ Coverage   88.27%   88.3%   +0.03%
=========================================
  Files          10      10
  Lines        2481    2693     +212
=========================================
+ Hits         2190    2378     +188
- Misses        291     315      +24

Impacted Files
Coverage Δ

src/bridge_state.rs
95.12% <100%> (-0.12%)
:arrow_down:

src/voter_set.rs
100% <100%> (ø)
:arrow_up:

src/bitfield.rs
81.13% <78.12%> (-0.04%)
:arrow_down:

src/testing.rs
88.73% <82.08%> (-1.22%)
:arrow_down:

src/voter/voting_round.rs
77.56% <83.01%> (-0.46%)
:arrow_down:

src/voter/past_rounds.rs
91.12% <92.85%> (-0.33%)
:arrow_down:

src/voter/mod.rs
83.92% <92.96%> (+0.71%)
:arrow_up:

src/lib.rs
86.74% <93.93%> (+2.69%)
:arrow_up:

src/vote_graph.rs
97% <94.73%> (+0.05%)
:arrow_up:

src/round.rs
93.02% <95.23%> (-0.64%)
:arrow_down:

Continue to review full report at Codecov.

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


Update omnibus and deps to pull in cache fix

Result of bundle update omnibus
@jdmundrawala

kicking off a build

@danielsdeleo :shipit:


Updated file Champs.html in Cricket

As I described in the issue , I updated and improves the champs.html file now it's shows the winner of every Odi , T20 and test world cup champions in the 21st century.
Please look it out and merge my pull request.
I'm a SSOC contributor @Vikash-8090-Yadav

Issue NO ?

Issue number 282 @Vikash-8090-Yadav

@Vikash-8090-Yadav sir please merge the request

Thanks!!


Transaction Balance Details

https://github.com/DarkFlorist/lunaria/blob/141defc28b8dd67d48eecbbeafafc7b8460b6831/app/ts/components/TransactionPage/TransactionDetails.tsx#L157-L185
In the Transaction Details page it has a field for Balance Before Transaction.  There are a couple problems with this:

It is actually Balance After Transaction.
It is actually Current Balance.

At a minimum, the text should be changed to say After.  However, if we want to show balance before/after a particular transaction then we will need to do notably more work to achieve this.

Figure out which block the transaction showed up in.
Query for account's balance for the previous block.
Query for account's balance for the block the transaction was in.
Store both of these values in local storage along with other transaction details because querying old blocks may not be possible long after the transaction is mined.
Present data from local storage, don't re-query every time the user loads the transaction details.

Remove the component


Add FreeOffice

[x] I have checked that this app does not already have a pending request and has not previously been declined.

SoftMaker Office is already available via deb-get, it this needed?

SoftMaker Office is already available via deb-get, is this needed?

I don't think its necessary since onlyoffice works pretty well...from my very recent testing few hours ago.

FreeOffice seems to be extremely limited. I'll close this as I don't see the value of including it given the other Office Suites that deb-get already supports.


Create an article about practical usage

When you send the app/landing page to users, they maybe know the goal of the app, but they don't know what it can do exactly.
For example, what is the best exporter? What can I do with Google Sheets? How to create charts?
I plan to write a blog post about my flow

Currently in draft: https://bscstudent.netlify.app/caspion

Published


Python: Service Loopback not working

Problem Description
Hello,
im currently trying to test an module written in Python. The tests involves communicating through eCAL. Everything is done inside a single python process, if enable loopback communication everything works for pub/sub communication.
But if I try to do the same with services the applications freezes (does not even react to ctrl-c). Setting loopback has no effect (freezes with and without).
How to reproduce
I have created a minimal sample:
 import sys
import time

import ecal.core.core as ecal_core
import ecal.core.service as ecal_service

def main():
    # print eCAL version and date
    print("eCAL {} ({})\n".format(ecal_core.getversion(), ecal_core.getdate()))

    # initialize eCAL API
    ecal_core.initialize(sys.argv, "local_services")

    # set process state
    # ecal_core.enable_loopback(1)
    ecal_core.log_setlevel(1)

    # create a server for the "DemoService" service
    server = ecal_service.Server("TestService")

    # define the server method "foo" function
    def req_callback(method_name, req_type, resp_type, request):
        print("'TestService' method '{}' called with {}".format(method_name, request))
        return 0, bytes("thank you for calling foo :-)", "ascii")

    # define the server methods and connect them to the callbacks
    server.add_method_callback("foo", "", "", req_callback)

    client = ecal_service.Client("TestService")

    # define the client response callback to catch server responses
    def client_resp_callback(service_info, response):
        if service_info["call_state"] == "call_state_executed":
            print(
                "'DemoService' method '{}' responded : '{}'".format(
                    service_info["method_name"], response
                )
            )
            print()
        else:
            print(
                "server {} response failed, error : '{}'".format(
                    service_info["host_name"], service_info["error_msg"]
                )
            )
            print()

    client.add_response_callback(client_resp_callback)

    request = bytes("hello world", "ascii")

    while ecal_core.ok():
        time.sleep(1.0)
        print("Sending request")
        client.call_method("foo", request)
        print("Sent request")

    # destroy server
    server.destroy()

    # finalize eCAL API
    ecal_core.finalize()

if __name__ == "__main__":
    main()

Which results in this output (includes me killing the process):
❯ python3 combined.py
eCAL v5.13.2 (20.06.2024)

Sending request
[Service Server] [fe80::cfac:233b:f30c:78cd%wlan0:46445 -> fe80::cfac:233b:f30c:78cd%wlan0:34886] Client has connected. Using protocol version 1.
[Service Client] [fe80::cfac:233b:f30c:78cd%wlan0:34886 -> fe80::cfac:233b:f30c:78cd%wlan0:46445] Connected to server. Using protocol version 1
zsh: killed     python3 combined.py

How did you get eCAL?
Custom Build / Built from source
Environment

eCAL Version: v5.13.2 (2024-06-20 13:23:00 +0200)
Arch Linux (rolling)
Python 3.12.6
Python Package version: 5.13.2

eCAL System Information
------------------------- SYSTEM ---------------------------------
Version                  : v5.13.2 (2024-06-20 13:23:00 +0200)
Platform                 : linux

------------------------- CONFIGURATION --------------------------
Default INI              : /etc/ecal/ecal.ini

------------------------- NETWORK --------------------------------
Host name                :
Host group name          :
Network mode             : local
Network ttl              : 1
Network sndbuf           : 5 MByte
Network rcvbuf           : 5 MByte
Multicast cfg version    : v1
Multicast group          : <IP_ADDRESS>
Multicast mask           : <IP_ADDRESS>
Multicast ports          : 14000 - 14010
Multicast join all IFs   : off
Bandwidth limit (udp)    : not limited

------------------------- TIME -----------------------------------
Synchronization realtime : "ecaltime-localtime"
Synchronization replay   :
State                    :  synchronized
Master / Slave           :  Master
Status (Code)            : "everything is fine."  We found the problem that caused this issue.
It is resolved in this PR: https://github.com/eclipse-ecal/ecal/pull/1760
When the builds are done you can try out the wheels from the GH Actions build or, if it is not urgent, there will we also a release with this fix coming.
Small "workaround": If you call "call_method" with a timeout like this (in ms) it also works:

client.call_method("foo", request, 100)

The behaviour differs a little bit like this, but it could unblock you.
Let us know, if the new packages resolve your issues.
Many greetings
Peter

Implementation:

master: https://github.com/eclipse-ecal/ecal/pull/1760
v5.13: TBD
v5.12: TBD

Hello @Peguen and @KerstinKeller,
First of thank you for the swift response. I can confirm that everything works with the new wheel from the GH actions you linked.
The timeout parameter also seems to work, at least in my example application at the top.
Greetings
Marius

@mariuskreutzer No problem, thanks for reporting.
However, I'd recommend you to take the latest wheels build from support/v5.13 instead of the current master.
We'll also schedule a new 5.12 / 5.13 bugfix release sometime next week.


Support for @warning and @brief in function docs' hover popup

While working on a module, which has some specific requirements, I noticed that the doxygen text marked with @warning or @attention does not display at all in the docs' hover popup. Moreover, it would be great to handle @brief in a separate line.
Edit: I just found out that double newline is also not supported...

/extC++


Node 12 compatibility

This PR does a lot of changes to update to a new NaN with node 12 compatibility. Not all changes were mandatory, as most address thing that are currently deprecated (warnings) but not removed.
The commits can (and probably should) be reviewed individually.
The most controversial is the last one (d0bff89): It appears that in node an empty vector tile toJSON() returns [] instead of {}, which makes more sense since it returns an empty array but I'm not sure exactly what change in node12 has triggered this change in behaviour and whether you might want to add some kind of warning in the documentation.
References https://github.com/mapnik/node-mapnik/issues/921

I am working through this PR still, I am sorry its just massive and changes lots of things (for the better) so it might take a bit.

No worries. Thanks a lot for the effort

Not at all complete in my review, but ran into thoughts as I thought about how we handle Async. In other libraries we have shifted to using a design like this:
https://github.com/mapbox/node-cpp-skel/blob/master/src/standalone_async/hello_async.cpp#L73
Should we shift to doing something like this and kill the "baton" concept for good in a change like this?

Yes, it'd nice to move away from using libuv directly. One thing to note for that example is that I don't see how to handle references to other native javascript objects that you need to keep alive until the callback is done. Do you add them to the class and a reference in the constructor and a release in the constructor or am I missing something and it's handled automagically?
Anyhow, I went for Nan::AsyncResource because it was what required the least changes / effort in the current setup, so I'd prefer having a different PR to change all the baton concept into Nan::AsyncWorker.

Using Nan::AsyncResource async_resource(func); seems a little suspect to me.

If you are refering to the __func__ name I chose because it makes for an unique name and easy to find the function if it gets logged somewhere (I don't know what the async hook type is really used for).

Great, thanks ^
Should we update mapnik-vector-tile' 3.0.0` ? Also, I see a few complier warnings with clang-8
/cc @Algunenano @flippmoke

Should we update mapnik-vector-tile 3.0.0 ?

I'm personally not using MVTs through node-mapnik anymore, but I'd say yes.

Also, I see a few complier warnings with clang-8

I also get some  warnings, one unused variable (src/mapnik_vector_tile.cpp:1366:27) and also some coming from mapnik-vector-tile and boost/gil that should be addressed in their own repos.


jcenter is going away, publish jars to another repo

jcenter is going away.
Quote from gradle issue

The JCenter repository is being shut down at the end of April, and as such Gradle needs to be updated to not depend on it any more and instead revert to mavenCentral()

@Sineaggi Thanks for sharing. We're aware of it and moving to MavenCentral.

Right I did see some of the test jars here. Thanks!

@Sineaggi We switched to MavenCentral and you can find the first version (3.8.1) in there.
We'll upload new versions to MavenCentral while serving old versions in JCenter until Feb. 01, 2022.

@jaeopt thanks, the new library works like a treat.


Implement Lazy Initialization to Prevent Warnings for Deprecated Services

Description
This Pull Request introduces lazy initialization for MonitoringService and ServerService, effectively reducing the occurrence of warnings related to these deprecated services. By instantiating these services in TM1Service only when they are actually needed, we minimize the warnings for the majority of use cases where these services are not used.
Furthermore, this PR suppresses expected warnings in tests: This allows the tests to run without cluttering the output with warnings that were anticipated.
Benefits

Cleaner Output: By avoiding unnecessary warnings, the console output during development and testing is cleaner and easier to read.

Focus on warnings where developer action is required.

Thread Safety Consideration
Please note that this implementation is not thread-safe. If needed, we have to rewrite some parts of the PR.

I don't think it would be reasonable to complicate the code and assure thread safety for these two deprecates services.
Happy to merge as is.


Use TMPDIR if defined

This came up using git-info on Android in Termux, where there is no /tmp directory.


JavaScript: Accordion: Improvements

Platform: JavaScript
Challenge: Accordion
Path: https://github.com/sadanandpai/frontend-mini-challenges/tree/main/native/machine-coding/accordion
Description:
Accordion functionality to be improved similar to React Accordion
Issues:

No "Is multiple open accordion allowed?" option
Animation issues while opening and closing the accordion tabs

Note: UI may remain as it is

@sadanandpai can you please assign this to me? I want to work on this


Installing node as tarball on windows not possible

Hi all,
I can't install a node module from a tarball on node-red running on windows.
I think the problem is in @node-red/registry/lib/installer.js.
The regexp localtgzRe checks if the path starts with "/". This doesn't work on windows.
Maybe you could change the regexp to something like  /^([a-zA-Z]?\:|\/).+tgz$/
What are the steps to reproduce?

Run node-red on windows
upload module tgz file

What happens?
We get an error message:
"Failed to install: node-red-contrib-os-0.1.7.tgz
Invalid url
Check the log for more information"
Logs:
Installation of module node-red-contrib-os failed: invalid url: C:\<user-dir>\.node-red\nodes\node-red-contrib-os-0.1.7.tgz
What do you expect to happen?
The node module should be installed
Please tell us about your environment:

[ ] Node-RED version: v1.2.3
[ ] Node.js version: v14.15.1
[ ] npm version: 6.14.8
[ ] Platform/OS: Windows 10
[ ] Browser: Chrome

Have you tried with C:/<user-dir>/.node-red/nodes/node-red-contrib-os-0.1.7.tgz?

Ah sorry - yes, it checks for the leading / as well. So yes, the regex could be more useful.


Feature/integrate aspect conf with metric finder

Integrates AspectConfiguration with MetricFinder modules. To see the integration in action one has to click on the small sprocket icon in the right top corner of page cards on application dashboard.

In consultation with @PhilAlbrecht


可观测性-资源监控-容器监控-前提条件中没加入参考链接

可观测性-资源监控-容器监控-前提条件中没加入参考链接

fixed by pull request: https://github.com/DaoCloud/DaoCloud-docs/pull/1893

fixed by pull request: https://github.com/DaoCloud/DaoCloud-docs/pull/1893


Read VM service URI from file instead of scraping console

Now that https://github.com/dart-lang/sdk/issues/38418 has been resolved, making it possible to dump the VM service URI to a file, we should start migrating away from scraping the console output for the Observatory message in all of our tools and infrastructure. This should also make it easier to remove usages of --disable-service-auth-codes and --disable-service-origin-check (https://github.com/dart-lang/sdk/issues/38527).
Assigning to @jonahwilliams to start with updating flutter_tools to utilize the --write-service-info VM flag.

cc @blasten

I've made a similar change in the VM's testing infrastructure to remove --disable-service-auth-codes in this CL


Add a dark mode button

Hey @VG-1, I'd like to try to fix this issue.

Is this issue got resolved?


Inits composer.json

Adds a barebones composer file with protobuf dep. Note that this package is not published or ready for consumption.
Fixes https://github.com/googleapis/google-cloudevents-php/issues/2

Libraries should not commit composer.lock.

Alright. I've ignored the file.


Beginner question about lambda-match

Hi, I'm using LFE to learn the Litter Schemer book. I'm trying to write the member? function:
(defun member?
    ((E L) (when (and (is_atom E) (is_list L)))
        (lists:any
            (match-lambda ((E2) (when (is_atom E2))) (=:= E2 E)) L)))

but the compiler punish me with:
lfe> (slurp "scheme")
scheme:23: head arity mismatch
scheme:23: illegal pattern: =:=
scheme:23: unbound symbol: E2

I think I did something wrong with the closure, Can anyone help me to figure it out?
Thank you guys for this alien technology 👽

I'm typing on my phone, but this should work:
(defun member?
  ([e l] (when (and (is_atom e) (is_list l)))
    (lists:any
      (match-lambda
        ([e2] (when (is_atom e2))
          (=:= e2 e)))
      l)))

You indeed had some parents slightly out of place.

I would suggest to capitalize on (Lisp Flavoured) Erlang's pattern matching and avoid the built-in lists:any/2, though, and start with a template like this:
(defun member?
  ([_ ()] ; match when the given list is the empty list.
   ...)
  ([e (cons e2 l)] (when ...) ; bind the head to e2 and the tail to l
   ...))

@yurrriq thank you. It works, it's difficult to familiarise with the LFE semantic without a Lisp experience. Thank for your help

You're welcome. I'm glad I could help. I can definitely see how it's tricky and the error messages aren't so helpful to newcomers...
Maybe this general pattern will help:
(defun foo
  ([arg args ...] (when guard guards ...)
   body))

There should be some better genera shapes in the docs. I'll find a link and paste it here.

https://github.com/rvirding/lfe/blob/develop/doc/src/lfe_guide.7.md