Add automatic enabling of repeat mode

Since mopidy-pandora assumes repeat mode is enabled in order to function properly, checking and enabling this setting automatically would probably be a good idea.
I'm not quite sure how to do this using the current Mopidy API.
A workaround for linux users might be to call the equivalent of the mpc repeat on command somewhere.

Implemented in https://github.com/rectalogic/mopidy-pandora/pull/25 and https://github.com/rectalogic/mopidy-pandora/pull/26 which has been merged to the master branch.
I think we are ready to close this issue.


scrollbar thumb does not hide when content fits screen after resize while isAlwaysShown set to true in flutter windows

in isAlwaysShown set to true when resizing the screen and scroll content fits the screen (I mean when the screen height is larger than content height) scrollbar does not hide and stays and causes a very bad user experience.

@soheilqk
There's similar open issue describing your case, https://github.com/flutter/flutter/issues/75613
Please follow-up there for updates.
Closing this as duplicate. If you disagree, write in comments and I'll reopen it.


Android first launch

Building VM-Manager Code. For more details refer below link:
job/satg-aee-android-ci/job/VM-MANAGER-PR-FLOW/176/

Build successful.
job/satg-aee-android-ci/job/VM-MANAGER-PR-FLOW/176/

Please find the Deb Package Path :
artifactory/dev-automation-ba-local/vm-manager-binaries/349/PR/ed4acdc

Building VM-Manager Code. For more details refer below link:
job/satg-aee-android-ci/job/VM-MANAGER-PR-MERGE-FLOW/129/

Build successful.
job/satg-aee-android-ci/job/VM-MANAGER-PR-MERGE-FLOW/129/

Please find the Deb Package Path :
artifactory/dev-automation-ba-local/vm-manager-binaries/349/MR/ed4acdc

Building VM-Manager Code. For more details refer below link:
job/satg-aee-android-ci/job/VM-MANAGER-PR-FLOW/177/

Build successful.
job/satg-aee-android-ci/job/VM-MANAGER-PR-FLOW/177/

Please find the Deb Package Path :
artifactory/dev-automation-ba-local/vm-manager-binaries/349/PR/ed4acdc

Building VM-Manager Code. For more details refer below link:
job/satg-aee-android-ci/job/VM-MANAGER-PR-MERGE-FLOW/130/

Build successful.
job/satg-aee-android-ci/job/VM-MANAGER-PR-MERGE-FLOW/130/

Please find the Deb Package Path :
artifactory/dev-automation-ba-local/vm-manager-binaries/349/MR/ed4acdc

Building VM-Manager Code. For more details refer below link:
job/satg-aee-android-ci/job/VM-MANAGER-PR-MERGE-FLOW/131/

Building VM-Manager Code. For more details refer below link:
job/satg-aee-android-ci/job/VM-MANAGER-PR-FLOW/179/

Build successful.
job/satg-aee-android-ci/job/VM-MANAGER-PR-FLOW/179/

Please find the Deb Package Path :
artifactory/dev-automation-ba-local/vm-manager-binaries/349/PR/ed4acdc

Building VM-Manager Code. For more details refer below link:
job/satg-aee-android-ci/job/VM-MANAGER-PR-MERGE-FLOW/132/

Build successful.
job/satg-aee-android-ci/job/VM-MANAGER-PR-MERGE-FLOW/132/

Please find the Deb Package Path :
artifactory/dev-automation-ba-local/vm-manager-binaries/349/MR/ed4acdc


Make different “modes”

When using the answer function, it should be a feature where there is a True/False parameter that specifies whether output should be returned or printed.
For example:
answer(“Question”, print=True)
# prints answer
answer(“Question”, print=False)
# returns answer
answer(“Question”)
# defaults to False, returns answer

Closed by #13


Generating in-repo-engine fails with EmberCLI 2.13.0-beta.1

The error appears to be coming from here, and doesn't occur after reverting back to EmberCLI 2.12.0.
Error:
this._readJsonSync is not a function
TypeError: this._readJsonSync is not a function
    at Class._generatePackageJson (/Users/{USER}/Desktop/test-app/node_modules/ember-cli/blueprints/in-repo-addon/index.js:32:25)
    at Class._generatePackageJson (/Users/{USER}/Desktop/test-app/node_modules/ember-engines/blueprints/in-repo-engine/index.js:85:38)
    at Class.afterInstall (/Users/{USER}/Desktop/test-app/node_modules/ember-cli/blueprints/in-repo-addon/index.js:23:10)
    at Class.afterInstall (/Users/{USER}/Desktop/test-app/node_modules/ember-engines/blueprints/in-repo-engine/index.js:75:30)
    at tryCatch (/Users/{USER}/Desktop/test-app/node_modules/rsvp/dist/rsvp.js:539:12)
    at invokeCallback (/Users/{USER}/Desktop/test-app/node_modules/rsvp/dist/rsvp.js:554:13)
    at publish (/Users/{USER}/Desktop/test-app/node_modules/rsvp/dist/rsvp.js:522:7)
    at flush (/Users/{USER}/Desktop/test-app/node_modules/rsvp/dist/rsvp.js:2414:5)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Introduced by https://github.com/ember-cli/ember-cli/commit/2eff23cece2d50ad5d57ab4d71822dbb2e4ee838. We need to define a _readJsonSync in our blueprint.


separable repository format

i originally intended to ask this on the mailing list, but i can't post or subscribe, so i'm just going to go ahead and post it here as a feature request.
the following paragraphs are part of what i intended to post to the mailing list (skip below them if you don't care about the motivation):

hello!
i'm in need of a new backup solution, and i've been playing with zbackup for a while. i like that it delegates in a true unix fashion.
what's nice about this is that zbackup does not implement transfer of the archive off-site itself. rather, its repository format cleanly separates data chunks from indexes. data chunks are never modified, only new ones added, and they are only read for restoring an archive. so you can use whatever you want to transfer the data chunks, and then just delete them. only the index files remain on the system, so new backups can still be created efficiently, even if the data chunks are now missing from the original system.
this is nice because in my setup, it makes a lot of sense to create a backup archive at one time and transfer it off-site slightly time-delayed. also, i do not have full control over the off-site storage (i can't install arbitrary software). so being able to use whatever software/script i want to transfer the data is a huge benefit.
the downside is that zbackup doesn't even implement reading the input files itself. rather, it takes an input stream (from tar, or any other archive program) and deduplicates it. this is where it gets inefficient, because even though the data is deduplicated, it generates a lot of disk i/o because tar still needs to fully read each file on every run of the backup.
....

these are the two features i'm curious about:

since attic reads the input files itself, it appears that it could be smarter than zbackup about deduplication (if a file's metadata indicates it hasn't changed, do not even attempt to read it, like in rsync).

it seems that this is the case, at least judging from some experiments i did. can you confirm that?

is attic's repository structure similar to zbackup's, i.e., can i create an attic repository locally, synchronize all its files off-site by my own means, and then safely delete the data chunks without affecting the effectiveness of future backups?

this seems not to be the case. how easy would it be to implement this?
thanks

johannes

I am interested in similar use cases, so I'll answer based on what I have found, though I have not worked on the internals, so I can't answer definiitively.
You would probably like to look at this internals documentation in the borgbackup repo.
You would probably also be interested in looking at https://github.com/borgbackup/borg/issues/102 about working with Amazon S3. Working with S3 would be similar to what you want to do since ideally you would want to send new chunks to S3 without needing to read previous chunks (S3 has additional issues due to its eventual consistency behavior).
Regarding your first question, a cache of file metadata is maintained to allow for skipping unchanged files. This cache can be deleted at the cost of re-reading the files for the next archive, but note that it seems that the actual data segments are not used for this check, so it should be okay to delete them at least in regards to how the file metadata checking is done.
Regarding the second question, as explained in the internals document, attic/borg maintains a manifest of all the archives which it stores in the final data segment file. Every time a new archive is created the segment file(s) with the manifest is deleted and the manifest is written out onto the end of the new last segment file. Otherwise, it seems like segment files are not touched by the create command once they are filled with data to the maximum size. In my testing, I could delete data files other than the last one and then run the create command without error. So in principle you could do what you want as long as you don't delete the last segment file(s) containing the manifest. The fact that the manifest could rollover across multiple segment files makes that slightly trickier than just not deleting the last segment file. A safer approach might be to note the time just before a new archive is created and then after that archive is created delete all of the segment files older than the noted time. Also, note that if you are copying to a remote destination without deleting remote files that you will retain all of the old segment files with the old manifests in them. Still, I don't know that it would be a good idea to do this in practice since attic/borg are not currently designed with this use case in mind and a future update could potentially make different use of the data segments.
Regarding implementing support for deleting data locally, I think it would not be too hard, but it would require at least changing how the manifest is stored (i.e. not storing in the same objects as the backup data). Of course, not many of the commands other than create would work very well with missing data segments.


pipenv lock -r --dev option

Hello!
Would it be possible to allow passing --dev topipenv lock -r to output only the dev dependencies so we can have a requirements-dev.txt file?

no


Extra indentation in the hello wolrd program given in the readme

When someone copies that snippet to start with a new language,  they will be greeted with an extra indentation.

I'm planning on implementing a universal copy button that will automatically strip all white spaces and fix the indentation no matter how it is on the markdown file... A PR for that will be submitted soon.

@tusqasi: fixed in #62


Warn when Bikeshed is invoked with a Python < 3.9?

Several months back I bumped Bikeshed's minimum Python version to 3.9. This means that if you install from pip with an older Python, you'll get the last version that advertised support for Python 3.7, which is already old and getting older.
I didn't realize that I needed to do something about this at the time (had I known, I would have published a final update before the bump that caused it to die with a deprecation message), and I'm not sure how to fix it now, but spec-prod might be able to intercept the problem.
Could y'all detect when the running Python is less than 3.9, and if Bikeshed is used, die with an error asking to upgrade to an OS distro that supports Python 3.9? That would make people's build failures a lot less confusing. I think a change I pushed on Monday, to change the datafile manifest file format, will make all spec-prod usage on <3.9 fail with a confusing message now (see https://github.com/WICG/shared-storage/actions/runs/11693566639/job/32565381014 for an example).

https://github.com/w3c/spec-prod/issues/99 will help. Someday I'll get enough time and energy!

Also, I realized I could go back to the last 3.7-supporting commit, change the error message, and publish a new version (with a semver just after the previous 3.7-supporting version, but less than the first 3.9 version), so I did that yesterday. Hopefully that helps too; it should die with a more useful message now.


store string data in a struct along with length

This makes the dtype store the string data in a struct:
typedef struct ss {
    size_t len;
    char buf[];
} ss;

So far this is just a refactoring but the hope is that storing the length will avoid O(N) strlen calls and make it easier to write code that doesn't accidentally introduce buffer overflows.
Bikeshedding on the naming and the API are very welcome.

Storing the length explicitly also means you can represent strings like "a\0" correctly (NumPy strings cannot).
I don't feel like bike-shedding storage.  There are probably many options.  If there is a chance of wanting to play with schemes that store length in the array itself then using accessor static inline functions or macros might make sense for getting length and chars/buf.
In theory int is enough for length storage for the forseeable future, but I guess it doesn't matter.


feat: collectibles widget

This PR adds the collectibles widget using mock data
https://github.com/user-attachments/assets/c2c52277-ebf4-4101-af2a-e0a2c6f10d29

Opening this for review but it has a known type error I need to solve

Opening this for review but it has a known type error I need to solve

Fixed

I wonder what's the reason for it not going all the way to the right:
collectibles.mov
And i think we should also add "5" padding to the inside of the scrollview so that it doesn't stick to the end of the phone. You can do it with contentContainerStyles

Thanks, let me check. I face the same issue with the scrollview on the Accounts widget. I tried adding a right margin but it didn't work. I will play with it and see if I can figure it out
I had padding but no margin and it wasn't going the full width of the screen: https://github.com/leather-io/issues/issues/322
The design has padding of 5

I'm going to close this for now and spend more time investigating https://github.com/leather-io/mono/pull/458#issuecomment-2361030784 and also moving the extension Collectible components to the monorepo


cannot run in web

cannot run in web<EMAIL_ADDRESS>27:19
Module parse failed: Unexpected token (27:19)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. Se

Link


Consider adding Hudson Rock cybercrime intelligence integration

Consider integrating Hudson Rock's complementary data from over 28 million computers infected by the Infostealer malware.
One of the similar ransomware monitoring services already using our data to bring more useful insights to their community.
The most relevant endpoint for your project can indicate how many compromised users and employees were affected by Infostealing malware before the ransomware incident.
Full API documentation is available here - https://cavalier.hudsonrock.com/docs
You will find the relevant information under the "Third Party Risk Assessment" tab on the left side of the menu.
Thank you.

Considered. No.


Pass loggers down from main.go

Description of your changes

This PR updates Crossplane to use the logging library introduced in https://github.com/crossplaneio/crossplane-runtime/pull/108. It follows the recommended practice of plumbing loggers down to the types that use them rather than using package level loggers. It also uses shorter controller names, like stacks/stackconfiguration, or workload/kubernetesapplication. This fixes https://github.com/crossplaneio/crossplane/issues/388, and brings the Crossplane controllers into line with the pattern now used by the infrastructure stack controllers.
I've tried to avoid too many changes to the actual log lines Crossplane emits in this PR. I believe we should update our controllers to emit events as well as logs, and possibly tweak how we log a little to ensure logs are useful and reasonably consistent across controllers. I believe the Stacks side of the codebase is changing or will change a lot over the coming weeks and the workload controllers could also use an update to some of our newer controller patterns, so I would prefer to have the owners of each controller do this in future PRs. Per https://github.com/crossplaneio/crossplane/issues/944 I intend to document our logging and eventing best practices so that folks can tackle this at their leisure.
Fixes #331
How has this code been tested?

Checklist

I have:

[x] Run make reviewable to ensure this PR is ready for review.
[x] Ensured this PR contains a neat, self documenting set of commits.
[ ] Updated any relevant documentation and examples.
[ ] Reported all new error conditions into the log or as an event, as
appropriate.

For more about what we believe makes a pull request complete, see our
definition of done.

@displague Do you feel okay with the parts of this PR that affect your end of the codebase?

@turkenh Could you take a look at the latest commit in this PR? I rebased it on your host aware stack manager work and found that we were both passing config down from main to (some of) the controllers in different ways. I've tried to rewire things to make them consistent.
Is there a good way I can test this? I've validated that the stack controllers at least start without crashing in both hosted and regular modes.

@turkenh Could you take a look at the commit in this PR that relates to the host aware stack manager? I rebased the PR on your host aware stack manager work and found that we were both passing config down from main to (some of) the controllers in different ways. I've tried to rewire things to make them consistent.

Hi @negz,
I tested and commented about an issue that I found: https://github.com/crossplaneio/crossplane/pull/1227/files#r375740009

Is there a good way I can test this? I've validated that the stack controllers at least start without crashing in both hosted and regular modes.

Ideally, we need to setup two cluster side by side and configure one as host that other as tenant by providing appropriate parameters. However, this might be a complicated setup unless we automate this which requires some work.
Hence, I just created a script which bootstraps a local kind cluster and uses it both as host and tenant for some quick local testing.
Please see: #1237


Daily Timeframe Definitions - Peak/Off Peak and AM/Noon/PM Shifts

For some of the analysis done in PeMS there are certain timeframes that are defined below:
Typically used for Performance Metrics (VMT, VHT, TTI, Q, Delay, Productivity)
AM Peak 6:00 AM - 9:59:59 AM
Day Off Peak 10:00 am - 2:59:59 PM
PM Peak 3:00 PM - 6:59:59 PM
Night Off Peak 7:00 PM - 5:59:59 AM
Typically used for Bottlenecks and Congestion:
AM Shift 5:00 AM - 9:59:59 AM
Noon Shift 10:00 AM - 2:59:59 PM
PM Shift 3:00 PM - 8 PM
We will want to explore creating seed files that contain these timeframes in a way they can be used to aggregate performance metrics for reporting.

Based on our sprint meeting discussion (6/6/24) I will add these timeframes as variables in the dbt_project.yml file

Variables have been added to dbt and yml files.


Contibutors

Spelling is hard.

@AshTemp - This looks good, once the conflicts are resolved, we should be good to merge.
Also, make sure your pull request has a title descriptive enough, so that we know what's changed. Check out this article - https://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message

I think the problem here is you're developing off of an old version of master. We are squashing commits which changes git id of those commits. The content you have is the same (which is why there's no diff), but the SHAs are different.
To fix this you should just be able to pull down upstream/master, and then rebase your changes on that. Unfortunately that will change the SHA of these commits so I think we need to close this PR.


hal universal intrinsics tests

added tests for all implemented functionality
added brief documentation (in intrin_cpp.hpp)
fixed some issues

:+1:


this is undefined in custom guard extending the ThrottlerGuard when overriding generateKey method

Did you read the migration guide?

[X] I have read the whole migration guide

Is there an existing issue that is already proposing this?

[X] I have searched the existing issues

Potential Commit/PR that introduced the regression
https://github.com/nestjs/throttler/commit/f5b9cc95c13fa48c07f74d18ea8ecbb40c20665f#diff-adac4b5893ae69db6dac7b5a6d1d0fa0131b1caf87291697bd13b23e3e00c41bR62
Versions
5.0.1 -> 5.1.0
Describe the regression
I have a custom ThrottleGuard that extends the base ThrottlerGuard. Within this custom guard, the generateKey method is overridden, and it invokes a private method named myCustomMethod, like so: this.myCustomMethod(). However, since version 5.1.0, it appears that this is undefined within the overridden generateKey method. Consequently, calling this.myCustomMethod() results in undefined.myCustomMethod(), leading to an undefined exception.
Minimum reproduction code
Here is the full repository with reproduction steps included in the readme: https://github.com/AljazOblonsek/nestjs-throttler-this-undefined-issue
Expected behavior
this should be defined in the generateKey method
Other
I believe the root cause lies in this section: https://github.com/nestjs/throttler/commit/f5b9cc95c13fa48c07f74d18ea8ecbb40c20665f#diff-adac4b5893ae69db6dac7b5a6d1d0fa0131b1caf87291697bd13b23e3e00c41bR63 Upon testing locally, I found that modifying generateKey: this.options.generateKey || this.generateKey to generateKey: this.options.generateKey || this.generateKey.bind(this) resolves the issue, restoring the normal functionality of the custom throttler guard. I'm willing to create a pull request to address this.

Please go ahead and create the PR

Please go ahead and create the PR

Opened the PR here 😊 https://github.com/nestjs/throttler/pull/1809


Add "Year to Date" time filter

In the API porting layer, translate "year to date" to " - today"
(This ensures you can use it anywhere)
Add "Year to Date" search suggestion in time filter
Get the search suggestions from the code, instead of having them hardcoded in
the template

Issue #82

I would suggest adding this as a new format to the parse_date function and not in the api, then all the date formats stay in one module..

Thanks @corani for the PR!
I changed two things before merging:

I moved the parsing of "year to date" to the dateparser-module, as it belongs there (and added "ytd" as a valid time-string)
I updated the template-code a bit to avoid the capitalization that @yagebu mentioned. The suggestions are now an array instead of a dictionary.

Everything got merged into master.


Rotate an array to the left by 3 position.

add in array folder.
Rotate an array to the left by 3 position.
n<=10

Hi I'd like to tackle this issue but I'd like to clerify two things.
1 - is n the maximum number of elements allowed for the function?
2 - Do we have to follow any naming conventions for this algorithm?

Can you assign it to me? Thanks.

I would like to work on this issue.Can you please assign it to me?

@akshitagupta15june can you assign this issue to me?


mod+docs: bump btcwallet to latest version

Depends on https://github.com/btcsuite/btcwallet/pull/837.
This is required after merging #7193 which switches all change outputs over to P2TR.
In order to create a proper Taproot exclusion proof for P2TR change outputs in Taro we need to know the internal key and how the P2TR output key was constructed.

Can be rebased now!

Rebased and updated to latest version of btcwallet.


Decorate doppler logs with App name / space / org

Doppler tags all logs with a unique cf_app_id UUID, eg:
{"cf_app_id":"afc7d161-b5d5-44f2-a2c8-63870ff8f2db","level":"info","message_type":"OUT","msg":"goexample.apps.<IP_ADDRESS>.xip.io - [01/04/2015:10:22:50 +0000] \"GET / HTTP/1.1\" 200 7 \"-\" \"Pingdom.com_bot_version_1.4_(http://www.pingdom.com/)\" <IP_ADDRESS>:60637 x_forwarded_for:\"<IP_ADDRESS>, <IP_ADDRESS>\" vcap_request_id:9f598459-f756-4ea4-58e5-e9f212ff328f response_time:0.002463550 app_id:afc7d161-b5d5-44f2-a2c8-63870ff8f2db\n","source_instance":"0","source_type":"RTR","time":"2015-04-01T10:22:50Z"}

UUIDs make for crappy dashboards:

We should be decorating each log with:

cf_app_name
cf_space_id and cf_space_name
cf_org_id and cf_org_name

so we can make human readable dashboards that can be segregated by app/space/org name.

Hiya.
I tried to solve this exact issue some months ago. The events we get are not giving us this information so I ended up querying(and caching) this information directly from CCDB, then realized how hacky this was and removed the branch.
Maybe we can ask the Loggregator team to add this info to the eventsstream?

This PR has reached a state where it can decorate logs with app/space/org details, as long as those details have been manually added to the /var/vcap/store/cf_app_details_cache/cf_app_space_org_dictionary.yml file.
I'm going to merge this PR now to prevent blocking other PRs; leaving automated updating of said cf_app_space_org_dictionary.yml for a later PR


testing(service/share): message->shares->IPLD roundtrip test

testing(service/share): message->shares->IPLD roundtrip test
Resolves https://github.com/celestiaorg/celestia-node/issues/621

@tzdybal, Why is the block called invalid? Is it invalid or valid?

@tzdybal, so I run the test locally and seems like the data we get is ok, the problem with the ordering again

Is this sth we could integrate with the ephemeral cluster? So instead of hard coding a test vector only, we would have a test that asserts this round trip works with every released versions of the stack? Cc @Bidon15 @jbowen93

Overkill

Member

The

Is this sth we could integrate with the ephemeral cluster? So instead of hard coding a test vector only, we would have a test that asserts these kind of round trips works with every released versions of the stack? Cc @Bidon15 @jbowen93

The Ephemeral cluster stands up a celestia-app node (currently multiple, see https://github.com/celestiaorg/ephemeral-cluster/issues/15), a celestia-node bridge node and a celestia-node light node. If there is an RPC that exposes the state of things then this could be tested, but I don't believe this is supported right now.

@tzdybal, Kindly ask you to co-author @vgonkivs in the commit with the fix.

@tzdybal, Kindly ask you to co-author @vgonkivs in the commit with the fix.
Done :)

We can move the discussion around testing into a separate issue but IMO:

the ephemeral cluster already spins up node as well and with testing ethermint it could/should also test retrieving data per namespace (as that ethermint instance will have its own namespace already)
integration aka swamp tests are good but orthogonal to the above; and so is the mock app (which will simplify integration tests a lot)

Regarding the cluster: we should only clarify when this is run/which events trigger this (only tagging new releases of particular repos or on each push to master, or on a regular basis etc). I defer to @Bidon15's and @jbowen93's judgement here.

May be we can keep data from sampleBlock in json file and read from it in test?

Maybe keep it in a directory test_files or something like that.

test_files or resources

testfiles is fine i think @vgonkivs

Wow, that is what we need. There is also a new feature in Go for embedding files: https://pkg.go.dev/embed. Pls use that

Plan let's not make a centralized dir for all the rest files. Ipld can have it's own dir, which the test should embed and rely upon.

Wow, that is what we need. There is also a new feature in Go for embedding files: https://pkg.go.dev/embed. Pls use that

The we should move on 1.18, no?

@vgonkiv, well, I already did that on my machine ;) But yeah, we should do that for the repo ideally. There are tons of things in 1.18 that we can gain from

Embed was introduced in go 1.16.

Codecov Report

Merging #626 (ae2785a) into main (804c1d9) will increase coverage by 0.34%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #626      +/-   ##
==========================================
+ Coverage   61.57%   61.91%   +0.34%
==========================================
  Files          95       97       +2
  Lines        5020     5055      +35
==========================================
+ Hits         3091     3130      +39
+ Misses       1603     1601       -2
+ Partials      326      324       -2

Impacted Files
Coverage Δ

ipld/read.go
77.94% <ø> (-7.25%)
:arrow_down:

service/share/full_availability.go
93.75% <0.00%> (-6.25%)
:arrow_down:

ipld/retriever_quadrant.go
100.00% <0.00%> (ø)

ipld/retriever.go
89.55% <0.00%> (ø)

service/share/light_availability.go
91.89% <0.00%> (+0.22%)
:arrow_up:

service/share/share.go
80.26% <0.00%> (+0.26%)
:arrow_up:

node/node.go
62.50% <0.00%> (+1.63%)
:arrow_up:

service/header/p2p_server.go
56.52% <0.00%> (+3.26%)
:arrow_up:

Continue to review full report at Codecov.

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


OAuth 2.0 Support

Are there any plans to implement OAuth or similar "more secure" (at least according to google) ways of signing in?

@RainLoop XOAuth2 support is done in PHPMailer and quite finished in K-9 Mail. Will you implement it?

Temporary solution:

Set up Google Social login on admin
Enable https://myaccount.google.com/lesssecureapps for your Gmail account
Log in to Rainloop with your gmail address and password
Connect to Google in Settings / Social
Disable https://myaccount.google.com/lesssecureapps for your Gmail account

Look @RainLoop there is a LoginWithXOauth2() method.
How to make it work and not use AUTH PLAIN?

News here ?

Regarding G Suite IMAP OAuth: https://github.com/google/gmail-oauth2-tools/issues/18

Is this project still maintained? Please consider adding support. 5 years ago, you said OAuth2 is not your priority, but maybe now?

Hello Microsoft will close the traditional login (with password) on 12/31/22, from that date Rainloop will no longer work for Microsoft users, if you don't have Oauth2, any plans to implement this?


manipulate app bundle before upload

Hi there,
is it possible to make changes to the bundle before uploading it to the server? I want to strip html comments as these are not removed for production.

That's not a job for yamup. That should be done by meteor on the build process.

Well, Meteor is not doing that so my question was if I could solve it through yamup at least. Or somewhere else?

Have you seen this? https://guide.meteor.com/build-tool.html#concatenate-and-minify

Yes, this minifies js and css but leaves html untouched.


How do you generate via buf?

Hello!
I tried generating the base files and it is perfectly OK but I can't generate the gRPC files.
Trying to use something like:
  - plugin: buf.build/protocolbuffers/dart:v21.0.2
    out: "grpc:proto/dart"

will fail with the following error message:
The filename, directory name, or volume label syntax is incorrect.

I tried several variations such as

same out but with a comma to separate the options.
separate plugin entry with a grpc: prefix.

But it doesn't seem to work anyway.
Thank you in advance for your help.

version: v1
plugins:
  - plugin: buf.build/protocolbuffers/dart:v20.0.1
    out: lib
    opt:
      - grpc

Thank you, it worked!


added column comments in sql query

Description
Added use of column comments in SQLDatabase.get_single_table_info(). When column comments are present, the template produced looks like
Table 'f1' has columns: col1 (VARCHAR(16777216)): 'Name', col2 (DECIMAL(38, 0)): 'Age', and foreign keys: .

I have not iterated much on the formatting, but testing shows improvements when column names are uninformative.
For columns without comment, the template remains as before.
Fixes #6996
Type of Change

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

How Has This Been Tested?
Neither SQLite nor duckdb supports column comments, so it is difficult to provide real unit tests. It has been manually tested against Snowflake, and against a sqlite database to make sure it works as expected with and without column comments.

[x] I stared at the code and made sure it makes sense

Suggested Checklist:

[x] I have performed a self-review of my own code
[x] New and existing unit tests pass locally with my changes

@radbrt seems like some minor lint errors, would you be able to fix with make lint

@jerryjliu thanks, I missed that one. Linted and re-tested now.


Inconsistent delivery of messages to iOS (14)

Bug report

CHECKLIST

[x] I have read the issue reporting guidelines

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

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

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

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

Description:
I recently migrated from phonegap-plugin-push to corodova-plugin-firebasex. What I've observed is that messages often don't arrive on my iPhone (iOS 14) even though the FCM send status is successful. There are times when it shows on the lock screen and times when it doesn't.
Prior to migration to your plugin, I was using the legacy protocol of FCM and phonegap-plugin-push
The payload my FCM cloud function is sending is this: (I send to both android and iOS. The issue is only with iOS)
{"android": {"notification": {"channel_id": "zmninja", "icon": "ic_stat_notification", "image": "some_url", "notification_priority": "PRIORITY_HIGH"}}, "apns": {"headers": {"apns-priority": "10", "apns-push-type":"alert"}, "payload": {"aps": {"badge": 2, "content-available": 1, "mutable-content": 1, "sound": "default"}}}, "data": {"eid": "153477", "image_url_jpg": "something", "mid": "2", "notification_foreground": "true"}, "notification": {"body": "[a] detected:person:99% front at 09:19 AM, 11-Oct", "title": "DoorBell Alarm (153477)"}, "token": "<tokenid>"}

I don't see any conflicts with the formats in the sample test repository you have (I do provide additional fields).
On the device side, this is the log I see:
[xpcservice<com.pliablepixels.zmninja-pro.zmNinjaNotification([daemon<com.apple.SpringBoard>:63])>:33227] Error 45 setting darwin role to UserInteractiveNonFocal: Operation not supported, falling back to setting priority
[xpcservice<com.pliablepixels.zmninja-pro.zmNinjaNotification([daemon<com.apple.SpringBoard>:63])>:33227] Set darwin priority to: PRIO_DEFAULT

I'm not sure if its an issue with the V1 protocol or something in my payload that is causing this plugin to not display all messages. On my phone, I have notification settings for my app set to display in lock screen.
Thanks for any advice.

There are times when it shows on the lock screen and times when it doesn't.

No plugin code is invoked if a message arrives in the background or is not running unless the user taps the notification to launch the app.
All processing is done by iOS via APNS therefore there's nothing the plugin can do to affect this behaviour.
Any inconsistency lies with the Firebase integration with APNS.

Thanks and you were right.
For posterity, the problem was content-available:1, which shouldn't be supplied unless the intent is to wake up the app for available content. Why that resulted in sporadic notification banners, I don't know. But removing it seems to have fixed the issue.


Fail to connect

Once I used the package to get the data in Dataframe, the error shows "Max retries exceeded with url"

Hi Wilson,
Thanks for using entsog-py.
I believe they have changed something internally, as for the past days I have noticed I also get an error:

I will look into it, will report back.

Drafted a new release, please update to version 1.0.2; this fixes the issue.

Hi nhcb,
Thanks for your fast response and I do notice that you added "verify =
False" as temporary solution. I know about this SSL certificate as well.
But we should only disable SSL certificate validation during local
development or testing as it could make your application vulnerable to
man-in-the-middle attacks.
So from what I read, "retry" method is suggested. However, I think you have
already implemented the function of "retry", so.. I am unsure now what
would be the best option here.
Thanks,
Wilson

Message ID: @.***>

Hi Wilson,
Thanks for looking into this as well. It's indeed a temporary solution until I find something better, but I am unsure of where this suddenly has originated from.
The harmfullness of this solution is really only trivial, as we are not sending any sensitive data over. See https://stackoverflow.com/questions/41740361/is-it-safe-to-disable-ssl-certificate-verification-in-pythonss-requests-lib, but I agree this should be a temporary fix. If you have any suggestions please open a request.


Create tutorial to attach images.

Described in: https://github.com/OctobearHub/octobear.org/pull/13

I'd like to work on this issue, please assign it to me!


Optionally wrap extern C/C++ functions for SIL and python

In xenon ilya has some functions and methods with C or C++ linkage

The actual wrapping for SIL is done there, not here. In that case autowrap just provides the necessary compile-time reflection.

I just wrote tests for Python and both extern(C) and extern(C++) functions work - there's no discrimination in the reflection code so there wouldn't be an obvious reason why they wouldn't.
What exactly didn't work for this issue to be filed?


Recording Audio Missing from MicroReader (2048*20)

Hello, thanks for the great project.
I deployed the soundRecognizer project in iOS and use an AVAudio Engine to write out the recorded files. There are parts of audio missing from the recorded outputs. Someone said it is because "AVAssetReader seems to discard the first packet, leaving you the second packet, whose presentation timestamp is 1024, and you need only discard 2112 - 1024 = 1088 of the decoded frames."
I was wondering if it is because of the window length of buffer, why do you set the format of windowlength as 2048*20? not a summed integer (40960)?
A bit background about my project if you are interested: I have tried to deploy a ML model in the project to predict coughing sound and I also wanna record the sounds in order to run those recorded files in Python to compare. It is my thesis and I have been struggling for a while and that would be highly appreciated if you could give a bit more info about how you set up the buffer. Merci!

@jeenezh , in one CMSampleBuffer for 44kHz, is 2080 bytes.
My model in application requires 128x81 matrix, which transformed from 20 samples(sample it's audio data item 2080 bytes).


Experiment list doesn't show description

The descriptions are all "None" even though some of them do have descriptions.

None of the experiments had descriptions set! This does, in fact, work.


🐛: Another 'There was an error uploading the SED-ML specifications to the API.' problem

Contact Details
No response
Location
runBiosimulations
What happened?
Tried the latest version of a biomodels OMEX file; got this error.  Last time it was a SED-ML validation error, but again, there's no message about what the error actually is.
What made it happen?
https://run.biosimulations.org/runs/63c9c0a3fa7ecbdf4f8fe68b#tab=log
Version
Production (Deployed on a .org domain)
What browsers are you seeing the problem on?
No response
Relevant log output
Post the SED-ML file to the API ... failed:
There was an error uploading the SED-ML specifications to the API.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@bilalshaikh42 : Would you mind looking up this error in the logs, like you did with the last one?  Thank you!

Sorry I missed this! I'll take a look shortly

/remind me in 4 days

Another run with presumably the same error:
https://run.biosimulations.org/runs/63eff0da00bdf4bf07b825a0#tab=log

This seems to be due to an empty task where a 'string' was expected. The field is super nested, resulting in a really massive error message, but i'll attach it below

fullError.txt

The associated SEDML files seem to be fine though, so I am not sure what is going on here.  I've attached the SEDML file here.
@jonrkarr do you know what could be going on? I wonder if this is actually caused by the output of the combine API being different than expected

Aha!  OK, that makes sense.  This is from a 'computeChange' child of a Model.  As such, there is no task:  the 'change' is just saying 't2 = t2'.  The right-hand side of the equation is a reference to 't2' in the model in general.  't2' is the last such change; here's the first one (for species BLL) at the top of the SED-ML file:
  <listOfModels>
    <model id="BIOMD0000000001_url" language="urn:sedml:language:sbml" source="BIOMD0000000001_url.xml">
      <listOfChanges>
        <computeChange id="auto_init_amount_species_BLL" name="Initial amount of species "BasalACh2"" target="/sbml:sbml/sbml:model/sbml:listOfSpecies/sbml:species[@id='BLL']/@initialAmount">
          <math xmlns="http://www.w3.org/1998/Math/MathML">
            <ci> init_amount_species_BLL_is_init_amount_species_BLL </ci>
          </math>
          <listOfVariables>
            <variable id="init_amount_species_BLL_is_init_amount_species_BLL" target="/sbml:sbml/sbml:model/sbml:listOfSpecies/sbml:species[@id='BLL']/@initialAmount" modelReference="BIOMD0000000001_url"/>
          </listOfVariables>
        </computeChange>

So if Biosimulators believes that there needs to be a 'task', that's the part that needs to be fixed.  (And perhaps code needs to be added so that the value can be retrieved outside of the context of a task, as well.)
Thanks for tracking this down, Bilal!

@CodeByDrescher: here's the issue that it would be great if we could fix.  To summarize:

The complaint is that some validator found a 'variable' with no 'task'.  However, this is not actually an error.  In particular, the 'variable' is a child of a 'computeChange' which is the child of a 'model':  no task exists that could be involved.

This might be sufficient!  If not, the problem will be that the thing that lists the elements in the model that can be changed can't cope with the change being set to a formula.  This would need to be fixed as well.


Added support for Laravel 10

I have added support for Laravel 10.

Hi @rivalex - hope you're well,
Could you merge this PR and tag a release, so I can continue using your package in Laravel 10?

@rivalex any updates on this?

Hi please merge this package so that we can all use it?


[BUG] nvml.DeviceGetCount() returns ERROR_FUNCTION_NOT_FOUND

What happened:
After #592 got merged, koordlet will throw the following errors.

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

App version:
Kubernetes version (use kubectl version):
Install details (e.g. helm install args):
Others:

/area koordlet

目前猜测是因为 cadvisor 间接引入了 github.com/mindprince/gonvml

/assign @jasonliu747
/assign @eahydra

related issue: https://github.com/google/cadvisor/issues/3171

会先维护一版不引入 gonvml 的 cadvisor，https://github.com/koordinator-sh/cadvisor/tree/v0.39.3-no-nvml

会先内部维护一版不引入 gonvml 的 cadvisor，https://github.com/koordinator-sh/cadvisor/tree/v0.39.3-no-nvml，同时推动上游社区将 gonvml 替换成 go-nvml。


nixos/redis: misc module changes

Description of changes
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ajs124 thanks for that PR. Would it work the same by removing the sed logic and having /var/lib/${redisName name}/redis.conf just contain an include /run/${redisName name}/nixos.conf which will then include redisConfStore and requirepass if needed?

That could probably work :thinking:
I'll give it a try.

tbh, redis might be writing too much stuff to this config file that people sometimes don't want to persist.
this is necessary for some usecases, but maybe it breaks others?
depending on your opinion on the matter, I'd be open to make this optional.

I've never used anything in Redis needing it to rewrite its config file

My understanding is that a user/client can just issue CONFIG SET and CONFIG REWRITE commands, as long as they have sufficient permissions. However, I assume barely any application does that.


Some more smal fixes Dockerfile + question regarding ffmpeg hotfix

Hij,
some more small fixes while creating the docker:

Missing "/" in COPY command (gives out an error)

COPY --from=base /workspace/Python-3.12.5/libpython3.12.so* /workspace/Python-3.12.5/libpython3.so \
  /workspace/Python-3.12.5/libpython3.so /usr/lib/

requires / at the end (target) ie. /usr/lib/ and not /usr/lib

Source does not exist in COPY command

COPY --from=base /usr/local/lib/x86_64-linux-gnu/vapoursynth /usr/local/lib/x86_64-linux-gnu/vapoursynth
error -> source does not exist (???) - unclear to me.
How does one gets access to a special stage image like here the base? I know how to do it with docker run --rm- it ID when there is an ID, but re-running the Dockerfile gives out IDs only for later stages. With docker images it lists a lot of images but unclear which one to choose? The
FROM ubuntu:24.04 AS base
call does not label the stage image? From the created images there is no image with tag base. So one cannot just run it with docker run --rm -it base. ??? So could not really validate the error later and building takes a whole day on my HW.

Missing "/" in COPY command (gives out an error)

COPY --from=base /workspace/hotfix/* /workspace/
same as (1) -> added "/" so that it is /workspace/

COPY error from tensorrt-ubuntu

Step 298/314 : COPY --from=tensorrt-ubuntu /usr/local/tensorrt/lib/libnvinfer_plugin.so* /usr/local/tensorrt/lib/libnvinfer_vc_plugin.so* /usr/local/tensorrt/lib/libnvonnxparser.so* /usr/lib/x86_64-linux-gnu/
COPY failed: no source files were specified

Could not understand that (typo somewhere??) and merged the call slightly with the next one to
COPY --from=tensorrt-ubuntu /usr/local/cudnn/lib/libcudnn*.so* /usr/local/tensorrt/lib/libnvinfer.so* /usr/local/tensorrt/lib/libnvinfer_builder_resource.so* /usr/local/tensorrt/lib/#libnvonnxparser.so* \
  /usr/local/tensorrt/lib/libnvonnxparser.so* /usr/local/tensorrt/lib/libnvparsers.so.8* /usr/local/tensorrt/lib/libnvinfer_plugin.so.8* /usr/local/tensorrt/lib/libnv* /usr/lib/x86_64-linux-gnu/

which worked.

Does the ffmpeg hotfix "destroy" the "final" apt/deb system?

# ffmpeg hotfix
COPY --from=base /workspace/hotfix/* /workspace/
RUN dpkg --force-all -i *.deb  && rm -rf *deb

Just wanted to add vsmpeg and dgmpegdec (via wine) at the end for the final image, but it resulted in a broken libc6 - going back in the Dockerfile and after the "final" cuda image was introduced, only this hotfix was a real dpkg call that could lead to that. Any method to prevent this? Using LD_LIBRARY_PATH and copy all libs required by ffmpeg into one folder? Do some
dpkg-deb -R $PACKAGENAME $TARGETDIR
cp $TARGETDIR/... /$PATH-TO-FFMPEG-LIBS

etc.
and before at runtime check what ffmpeg depends on and collect that from the unpacked debs. Would that work or have you abstained from that due to the additional disk space required?
btw - with my addons it built fine, no chance to test it yet, but no errors.
Thx and best!

requires / at the end (target) ie. /usr/lib/ and not /usr/lib
Missing "/" in COPY command

Works fine for me but I guess I could add it. I don't know why you have such errors.

error -> source does not exist

FROM ubuntu:24.04 AS base
...
COPY --from=base ...

base is used within that docker, you don't see it when you run docker images to list images.

Does the ffmpeg hotfix "destroy" the "final" apt/deb system

Yes, but since only ffmpeg and vapoursynth are used, it isn't important to fix in my opinion. If you want something else to work, set it up prior to installing the deb files.

copy all libs required
runtime check what ffmpeg depends

I don't want to waste space, I copy a file on each import error to make sure I don't copy unnecessary files. That's why I have so many COPY commands in the final stage.

Thanks - yes diskspace is a good point, already added changes before the hotfix is applied. No problem with that. Just wanted to be sure.
Regarding the error with COPY I think it depends on the docker version somehow, it complains that if more than one single file is copied the last must look that way. No further explanation.


MWPW-133581 - bg, ee, lt, lv, ua, si locales

Resolves: https://jira.corp.adobe.com/browse/MWPW-133581
URL-s
Before:

https://main--dc--adobecom.hlx.page/bg/acrobat/online/add-pages-to-pdf
https://main--dc--adobecom.hlx.page/ee/acrobat/online/add-pages-to-pdf
https://main--dc--adobecom.hlx.page/lt/acrobat/online/add-pages-to-pdf
https://main--dc--adobecom.hlx.page/lv/acrobat/online/add-pages-to-pdf
https://main--dc--adobecom.hlx.page/ua/acrobat/online/add-pages-to-pdf
https://main--dc--adobecom.hlx.page/si/acrobat/online/add-pages-to-pdf

After:

https://mwpw-133581-bg-tt-lt-lv-ua-si-locales--dc--adobecom.hlx.page/bg/acrobat/online/add-pages-to-pdf
https://mwpw-133581-bg-tt-lt-lv-ua-si-locales--dc--adobecom.hlx.page/ee/acrobat/online/add-pages-to-pdf
https://mwpw-133581-bg-tt-lt-lv-ua-si-locales--dc--adobecom.hlx.page/lt/acrobat/online/add-pages-to-pdf
https://mwpw-133581-bg-tt-lt-lv-ua-si-locales--dc--adobecom.hlx.page/lv/acrobat/online/add-pages-to-pdf
https://mwpw-133581-bg-tt-lt-lv-ua-si-locales--dc--adobecom.hlx.page/ua/acrobat/online/add-pages-to-pdf
https://mwpw-133581-bg-tt-lt-lv-ua-si-locales--dc--adobecom.hlx.page/si/acrobat/online/add-pages-to-pdf

NOTE:
If https://github.com/adobecom/dc/pull/279 is merged meanwhile, the changes in script.js file should be taken from https://github.com/adobecom/dc/pull/279/files since that PR contains new version of MILO's geo-based locales.

Codecov Report

Merging #280 (3a1e994) into stage (f201892) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            stage     #280      +/-   ##
==========================================
+ Coverage   99.46%   99.50%   +0.04%
==========================================
  Files          26       26
  Lines        2229     2235       +6
==========================================
+ Hits         2217     2224       +7
+ Misses         12       11       -1

Impacted Files
Coverage Δ

.../blocks/dc-converter-widget/dc-converter-widget.js
100.00% <100.00%> (ø)

acrobat/scripts/maps/localeMap.js
100.00% <100.00%> (ø)

acrobat/scripts/scripts.js
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add support for /block/:hash/header

This PR adds support for the /block/:hash/header endpoint. Currently, the header must be parsed from the raw block data that's returned from /block/:hash/raw. This endpoint offers a much lighter alternative for fetching block headers.

Thanks for this!


Support instance level CI variables

Fixes #913.
Missing:

[ ] Tests
[ ] Docs?

If anyone Terraform users come across this issue, please go and vote for https://github.com/gitlabhq/terraform-provider-gitlab/pull/389 to get a gitlab_instance_variable resource.


Export traces in batch rather than synchronously

Synchronous export carries a very heavy performance penalty (added
latency for each request), whereas batching with default options only
adds a 5s delay before a given trace is exported.
With this change, we guide users towards the right starting point. If
they have more specialized needs that call for synchronous export, they
can learn more from the upstream OTel docs.

@ahmetb @dashpole @jsuereth PTAL


Clarified Windows driver install validation

Clarified Windows driver install validation to say you must switch into the NVSMI folder to run nvidia-smi, and that GPU-Util is expected to show 0% unless a GPU workload is currently running on the VM.

@craiglandis,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis - Thanks for the addition, Craig! Looks good.
#sign-off

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.

@craiglandis : Thanks for your contribution to the Azure documentation! The author, @dlepow, has been notified to review your proposed change.


LDAP debugging not possible within LXC container?

I'm running wekan as a snap app within an unprivileged LXC Ubuntu 19.04 disco container unter Proxmox PVE 5.3. It's running well but I can't manage to LDAP to work. Unfortunately, I cannot see what Wekan is actually sending / receiving to/from the Active Directory server, no matter what I put into my config.
Here is my config:
{
        "default-authentication-method": "ldap",
        "ldap-authentication": true,
        "ldap-authentication-password": "xxxxxx",
        "ldap-authentication-userdn": "CN=Administrator,CN=Users,DC=mydomain,DC=local",
        "ldap-background-sync": true,
	"ldap-basedn": "OU=SHK Benutzer,DC=mydomain,DC=local",
	"ldap-default-domain": "mydomain",
	"ldap-email-field": "mail",
	"ldap-enable": true,
	"ldap-fullname-field": "cn",
	"ldap-host": "<IP_ADDRESS>",
	"ldap-internal-log-level": "debug",
	"ldap-log-enable": true,
	"ldap-log-enabled": true,
	"ldap-port": 389,
	"ldap-reject-unauthorized": true,
	"ldap-search-field": "sAMAccountName",
	"ldap-sync-user-data-fieldmap": {
		"cn": "name",
		"mail": "email"
	},
	"ldap-user-authentication": true,
	"ldap-user-authentication-field": "userPrincipalName",
	"ldap-user-search-field": "sAMAccountName",
	"ldap-user-search-scope": "sub",
	"ldap-username-field": "sAMAccountName",
	"loglevel": 5,
	"port": 80,
	"root-url": "http://<IP_ADDRESS>"
}

In my syslog, all I can see is this when trying to login:
Sep 18 14:51:24 snaptest wekan.wekan[42496]: [INFO] Init LDAP login<EMAIL_ADDRESS>Sep 18 14:51:24 snaptest wekan.wekan[42496]: [WARN] Lookup for unset variable: INTERNAL_LOG_LEVEL
Sep 18 14:51:24 snaptest wekan.wekan[42496]: [WARN] Lookup for unset variable: LDAP_USER_ATTRIBUTES
Sep 18 14:51:24 snaptest wekan.wekan[42496]: [INFO] Init setup
Sep 18 14:51:24 snaptest wekan.wekan[42496]: [INFO] Connecting "ldap://<IP_ADDRESS>:389"
Sep 18 14:51:24 snaptest wekan.wekan[42496]: [DEBUG] connectionOptions{ url: 'ldap://<IP_ADDRESS>:389',
Sep 18 14:51:24 snaptest wekan.wekan[42496]:   timeout: 10000,
Sep 18 14:51:24 snaptest wekan.wekan[42496]:   connectTimeout: 10000,
Sep 18 14:51:24 snaptest wekan.wekan[42496]:   idleTimeout: 10000,
Sep 18 14:51:24 snaptest wekan.wekan[42496]:   reconnect: true,
Sep 18 14:51:24 snaptest wekan.wekan[42496]:   log:
Sep 18 14:51:24 snaptest wekan.wekan[42496]:    Logger {
Sep 18 14:51:24 snaptest wekan.wekan[42496]:      domain: null,
Sep 18 14:51:24 snaptest wekan.wekan[42496]:      _events: {},
Sep 18 14:51:24 snaptest wekan.wekan[42496]:      _eventsCount: 0,
Sep 18 14:51:24 snaptest wekan.wekan[42496]:      _maxListeners: undefined,
Sep 18 14:51:24 snaptest wekan.wekan[42496]:      _level: 30,
Sep 18 14:51:24 snaptest wekan.wekan[42496]:      streams: [ [Object] ],
Sep 18 14:51:24 snaptest wekan.wekan[42496]:      serializers: null,
Sep 18 14:51:24 snaptest wekan.wekan[42496]:      src: false,
Sep 18 14:51:24 snaptest wekan.wekan[42496]:      fields:
Sep 18 14:51:24 snaptest wekan.wekan[42496]:       { name: 'ldapjs',
Sep 18 14:51:24 snaptest wekan.wekan[42496]:         component: 'client',
Sep 18 14:51:24 snaptest wekan.wekan[42496]:         hostname: 'snaptest',
Sep 18 14:51:24 snaptest wekan.wekan[42496]:         pid: 43930 } } }
Sep 18 14:51:24 snaptest wekan.wekan[42496]: [INFO] LDAP connected
Sep 18 14:51:24 snaptest wekan.wekan[42496]: [ERROR] InvalidCredentialsError: 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580
Sep 18 14:51:24 snaptest wekan.wekan[42496]:

I can take tcpdump logs and try to find out what Wekan sends to the directory server but that's kind of frustrating and there must be a better way. Any idea why I can't get decent log information?

Config should also have:
"debug": true,

Snap logs to syslog. So to debug inside LXC container, you should first go inside of LXC container:
lxc exec ContainerNameHere -- /bin/bash

And then check syslog.

Thanks Lauri. I am debugging within the container and wekan dees write to /var/log/syslog, which you can see above.
Alas, it does not write LDAP debugging information there.
I have set "debug": true but it makes no difference. This is what I'm running:
root@snaptest:~# snap list
Name   Version  Rev   Tracking  Publisher   Notes
core   16-2.41  7713  stable    canonical*  core
wekan  3.44     632   beta      xet7        -

Latest configuration:
root@snaptest:~# snap get -d wekan
{
	"debug": true,
	"default-authentication-method": "ldap",
	"ldap-authentication": true,
	"ldap-authentication-password": "xxxxx",
	"ldap-authentication-userdn": "CN=Administrator,CN=Users,DC=mydomain,DC=local",
	"ldap-background-sync": true,
	"ldap-basedn": "OU=SHK Benutzer,DC=mydomain,DC=local",
	"ldap-default-domain": "mydomain.com",
	"ldap-email-field": "mail",
	"ldap-enable": true,
	"ldap-fullname-field": "cn",
	"ldap-host": "<IP_ADDRESS>",
	"ldap-internal-log-level": "debug",
	"ldap-log-enable": true,
	"ldap-log-enabled": true,
	"ldap-port": 389,
	"ldap-reject-unauthorized": true,
	"ldap-search-field": "sAMAccountName",
	"ldap-sync-user-data-fieldmap": {
		"cn": "name",
		"mail": "email"
	},
	"ldap-user-authentication": true,
	"ldap-user-authentication-field": "userPrincipalName",
	"ldap-user-search-field": "sAMAccountName",
	"ldap-user-search-scope": "sub",
	"ldap-username-field": "sAMAccountName",
	"loglevel": 5,
	"port": 80,
	"root-url": "http://<IP_ADDRESS>"
}

Running out of ideas here.

It could be related to some settings. Please check current values at:
https://github.com/wekan/wekan/blob/master/docker-compose.yml
Also Univention appliance includes LDAP server and Wekan works with it:
https://github.com/wekan/wekan/wiki/Platforms
Wekan at Univention has this Docker template. I think setting depend on LDAP server.
version: '2'

services:

  wekandb:
    image: mongo:3.2.22
    container_name: wekan-db
    restart: always
    command: mongod --smallfiles --oplogSize 128
    expose:
      - 27017
    volumes:
      - /var/lib/univention-appcenter/apps/wekan/data/db:/data/db
      - /var/lib/univention-appcenter/apps/wekan/data/dump:/dump

  wekan:
    image: quay.io/wekan/wekan:v3.42
    container_name: wekan-app
    restart: always
    ports:
      - 8080:8080
    environment:
      - MONGO_URL=mongodb://wekandb:27017/wekan
      - ROOT_URL=@%@wekan/ROOT_URL@%@
      - ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=@%@wekan/ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE@%@
      - MAIL_URL='smtp://@%@hostname@%@.@%@domainname@%@:25'
      - MAIL_FROM='Wekan Notifications <noreply.wekan@@%@domainname@%@>'
      - WITH_API=true
      - BROWSER_POLICY_ENABLED=true
      - DEFAULT_AUTHENTICATION_METHOD=ldap
      - LDAP_ENABLE=true
      - LDAP_PORT=@%@ldap/server/port@%@
      - LDAP_HOST=@%@ldap/server/name@%@
      - LDAP_BASEDN=@%@ldap/base@%@
      - LDAP_LOGIN_FALLBACK=false
      - LDAP_RECONNECT=true
      - LDAP_TIMEOUT=10000
      - LDAP_IDLE_TIMEOUT=10000
      - LDAP_CONNECT_TIMEOUT=10000
      - LDAP_AUTHENTIFICATION=true
      - LDAP_AUTHENTIFICATION_USERDN=@%@appcenter/apps/wekan/hostdn@%@
      - LDAP_LOG_ENABLED=true
      - LDAP_BACKGROUND_SYNC=false
      - LDAP_BACKGROUND_SYNC_INTERVAL=100
      - LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false
      - LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false
      - LDAP_ENCRYPTION=tls
      - LDAP_CA_CERT=@!@
import os
ca_file = '/etc/univention/ssl/ucsCA/CAcert.pem'
if os.path.isfile(ca_file):
	with open(ca_file, 'r') as fd:
		ca = fd.read().replace('\n', '')
		print(ca)@!@
      - LDAP_REJECT_UNAUTHORIZED=false
      - LDAP_USER_SEARCH_FILTER=(wekanActivated=TRUE)
      - LDAP_USER_SEARCH_SCOPE=sub
      - LDAP_USER_SEARCH_FIELD=uid
      - LDAP_SEARCH_PAGE_SIZE=0
      - LDAP_SEARCH_SIZE_LIMIT=0
      - LDAP_GROUP_FILTER_ENABLE=true
      - LDAP_GROUP_FILTER_OBJECTCLASS=univentionGroup
      - LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE=
      - LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE=uniqueMember
      - LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT=dn
      - LDAP_GROUP_FILTER_GROUP_NAME=
      - LDAP_UNIQUE_IDENTIFIER_FIELD=uidNumber
      - LDAP_UTF8_NAMES_SLUGIFY=true
      - LDAP_USERNAME_FIELD=uid
      - LDAP_FULLNAME_FIELD=displayName
      - LDAP_MERGE_EXISTING_USERS=false
      - LDAP_EMAIL_FIELD=mailPrimaryAddress
      - LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mailPrimaryAddress":"email"}
      - LDAP_DEFAULT_DOMAIN=@%@domainname@%@
      - LDAP_SYNC_ADMIN_STATUS=true
      - LDAP_SYNC_ADMIN_GROUPS=@!@
from univention.lib.misc import custom_groupname
print(custom_groupname('Domain Admins'))@!@
      - LDAP_AUTHENTIFICATION_PASSWORD=@!@
import os
pw_file = '/var/lib/univention-appcenter/apps/wekan/machine.secret'
if os.path.isfile(pw_file):
	with open(pw_file, 'r') as fd:
		pw = fd.read()
		print(pw)@!@
@!@
PREFIX = 'appcenter/env/wekan'
for key, value in configRegistry.items():
	if key.startswith(PREFIX) and key != PREFIX:
		print("      - %s=%s" % (key.split('/')[-1], value))
@!@

    depends_on:
      - wekandb

In general, same LDAP settings should work both with Snap and Docker.

Hi @xet7 I would prefer to get the logging to work instead of endless trial-and-error...
Any idea how to make it work?

@rholighaus
Do you mean this?
lxc exec ContainerNameHere -- /bin/bash

sudo snap logs wekan.caddy

sudo snap logs wekan.wekan

sudo snap logs wekan.mongodb

Hi @xset7 I know how to read the logfiles. What I'm saying is that LDAP is not logging debugging info. See my logfile excerpts further up in the thread.
I cannot debug ldap. Full stop.
Do you want me to open an issue on github for this?

Hmm? Well, LDAP code is here:
https://github.com/wekan/wekan/tree/master/packages/wekan-ldap
So I think, you just add there showing variables:
console.log variablename

Or alternatively, with checking that environment variable DEBUG=true is set.
Then you rebuild from source code:
git clone https://github.com/wekan/wekan
cd wekan
./rebuild-wekan.sh

Select 1 and Enter to install dependencies. Then:
./rebuild-wekan.sh

Select 2 to build Wekan. Then edit start-wekan.sh to have correct port.
If you use port 80, you need to add support for running at that port by running:
./releases/virtualbox/node-allow-port-80.sh

If you like to have meteor notice changed code files, and then rebuild, instead of start-wekan.sh you should use this kind of script:
cd wekan
WITH_API=true LDAPSETTING1=something ROOT_URL=something meteor --port 4000

To get lint / eslint to accept console.log, you may need to add some ignore rules, that you can find with find.sh script, that ignores those directories that are generated by build scripts and installed npm modules:
cd wekan
./find.sh eslint

Hi @xet7,
thank you for your recommendation but a) I'm running the snap version (hence https://github.com/wekan/wekan-snap/issues) and b) I just want the software to tell me what it does so I can see where my settings may be incorrect.
I do everything according to the documentation but the syslog just says
Sep 18 16:05:49 snaptest wekan.wekan[46289]: [INFO] LDAP connected
Sep 18 16:05:49 snaptest wekan.wekan[46289]: [ERROR] InvalidCredentialsError: 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580
Sep 18 16:05:49 snaptest wekan.wekan[46289]:

which is what I've posted above. According to some searching, other people seem to face the same issue. No debugging information.

Ooops sorry for my too technical answer. I did re-read this issue and it seems Wekan does not show enough details.
Do you know what are these settings?
Sep 18 16:05:49 snaptest wekan.wekan[46289]: [WARN] Lookup for unset variable: INTERNAL_LOG_LEVEL
Sep 18 16:05:49 snaptest wekan.wekan[46289]: [WARN] Lookup for unset variable: LDAP_USER_ATTRIBUTES

no worries :)- Unfortunately, snap doesn’t use environment variables - or I wouldn’t know how to set them.
--
Ralf U. Holighaus - on my iPhone
Schopenhauerstr. 23
14129 Berlin, Germany
Mobile: +49.172.7108171

Am 05.10.2019 um 01:10 schrieb Lauri Ojansivu<EMAIL_ADDRESS>
Ooops sorry for my too technical answer. I did re-read this issue and it seems Wekan does not show enough details.
Do you know what are these settings?
Sep 18 16:05:49 snaptest wekan.wekan[46289]: [WARN] Lookup for unset variable: INTERNAL_LOG_LEVEL
Sep 18 16:05:49 snaptest wekan.wekan[46289]: [WARN] Lookup for unset variable: LDAP_USER_ATTRIBUTES
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


cling 0.4

Hello,
are you planning bringup cling 0.4 version into conda?
Thanks.

Yes, we are planning a 0.4 version. Although there is an intrinsic issue with the packaging of cling that makes it not very suitable for conda-forge: cling requires exactly the same C runttime as the one that was used at build time for itself, but also LLVM, clang... This is especially a problem on linux.
From a miniconda, you can get a functional cling build with
conda install cling -c QuantStack
which comes with all the binary compatible builds of the dependencies. It is build with the same recipe as conda-forge except that we ship the version of gcc used to build it.


Documenation not clear about midl versions that one encounters when tries to use midl with cppwinrt

When using cppwinrt, the midl compiler on this interface returns.
namespace UniqueCreator
{
namespace Graphics
{
//[uuid(CD38D0C5-743A-43C2-889F-2EA3A14082DF)]
//[version(1.0)]
interface ISwapChainResources// : IInspectable
{
void Resize( unsigned int width, unsigned int height );
void WaitForGpu();
void WaitForFence(IFenceHandle v );
void InsertWaitOn(IFenceHandle v );
void Present();
void Sync();
void MoveToNextFrame();
void SetSourceSize(UInt32 width, UInt32 height);
        IDirectGpuCommandContext CreateDirectCommandContext();
    };
}

}
1>..\src\idl\SwapChainResources.idl(14): error MIDL5146: [msg]Modern WinRT IDL constructs cannot be included in classic WinRT IDL types [context]: [ Procedure 'WaitForGpu' ( Interface 'UniqueCreator.Graphics.ISwapChainResources' ) ]
It is just not clear what is classic what is modern,
If i change the functions to return HRESULT everything is fine, however this is not described in the documentation.
What if someone wants to define an interface

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

ID: 82dc10e0-781d-367d-bc47-eef1a4abac87
Version Independent ID: 4750ae98-e82e-15b7-5f70-c677e051e7ae
Content: Synthesizing interfaces (MIDL 3.0) - Windows UWP applications
Content Source: winrt-related-src/midl-3/synthesizing-interfaces.md
Product: uwp
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Hi, @kingofthebongo2008, that error message is because you're using unsigned int, which is not a MIDL 3.0 type. UInt32 is a MIDL 3.0 type. See Introduction to Microsoft Interface Definition Language 3.0 for a list of MIDL 3.0 types.
void is valid as a MIDL 3.0 return type, so that's not a problem. The following is valid MIDL 3.0, and it's the equivalent of your listing, but there's a simpler way to do this after this code.
namespace UniqueCreator
{
    namespace Graphics
    {
        interface IDirectGpuCommandContext
        {
            UInt32 Property;
        }
        interface IFenceHandle
        {
            UInt32 Property;
        }
        interface ISwapChainResources
        {
            void Resize(UInt32 width, UInt32 height);
            void WaitForGpu();
            void WaitForFence(IFenceHandle v);
            void InsertWaitOn(IFenceHandle v);
            void Present();
            void Sync();
            void MoveToNextFrame();
            void SetSourceSize(UInt32 width, UInt32 height);
            IDirectGpuCommandContext CreateDirectCommandContext();
        }
    }
}

If you can avoid declaring your own interfaces, then that's simpler. The Synthesizing interfaces (MIDL 3.0) topic talks about how MIDL 3.0 generates interfaces for you by default. So, just for interest, here's another version of your types, but this time allowing MIDL 3.0 to generate any necessary interfaces.
namespace UniqueCreator
{
    namespace Graphics
    {
        runtimeclass DirectGpuCommandContext
        {
            DirectGpuCommandContext();
            UInt32 Property;
        }

        runtimeclass FenceHandle
        {
            FenceHandle();
            UInt32 Property;
        }

        runtimeclass SwapChainResources
        {
            SwapChainResources();
            void Resize(UInt32 width, UInt32 height);
            void WaitForGpu();
            void WaitForFence(FenceHandle v);
            void InsertWaitOn(FenceHandle v);
            void Present();
            void Sync();
            void MoveToNextFrame();
            void SetSourceSize(UInt32 width, UInt32 height);
            DirectGpuCommandContext CreateDirectCommandContext();
        }
    }
}

Hi, I'll go ahead and close this issue now since it feels resolved. ~Steve


Implement API to add a ShadowUI suffix to css rules for the injectable stylesheets

Hammehread should have API to process css files (add a suffix to css rules).
It's necessary to fix the https://github.com/superroma/testcafe-phoenix/issues/54 issue

Actually, it shouldn't have any specific API. It should automatically process and cache session's injectable stylesheets.

It can be done via isShadowUIStylesheet flag, which passed to the router on the resource registration (see: https://github.com/superroma/testcafe-hammerhead/blob/master/src/proxy.js#L71). Then move logic what will modify CSS to the src/shadow-ui dir. We can put shadowUI related constants  to the separate file in that dir, as part of #68


Some more, small, CSS clean-up

Remove a redundant margin-top rule for the .dropdownToolbarButton. After the (somewhat) recent UI-refresh all buttons now use margin: 2px 1px;, which renders the override unnecessary (and getting rid of an !important-rule can't hurt).

Combine two .toggled::before rules, since they're identical.

Thanks!


Cant Add Views loaded from other view controllers or even views from view controller it self

Cant Add Views loaded from other view controllers or even views from view controller it self

can you explain how you can't do it? What's the problem you are having?

Can it load ViewControllers instead of only UIViews?
I want to load multi view controllers when tapping on different tabs but it looks like impossible.

@QuocLoi  yes simply add the view of the viewController to ScrollPager, and make sure you keep a reference to the controller to ensure it doesn't get released

how to show ViewController's on scrollpager


Missing package warning not shown in Problems panel

Testing #21288
Without an entry in the Problem Panel, it's hard to notice that there is a missing package installed.

That is by design for now. We are planning on ramping up the severity we set on these.
/cc @luabud


Create ACRL Expenditures query

Nancy Bolduc is working on the expenditures query that will be part of the group of queries needed to generate the ACRL report

Queries and read me file are posted .


Replacing edpm_chrony_ntp_servers with timesync_ntp_servers

ref: https://github.com/openstack-k8s-operators/dataplane-operator/pull/463
Depends-On: https://review.rdoproject.org/r/c/rdo-jobs/+/50837

recheck

recheck

recheck

recheck

@fao89 can you please rebase and let's merge? i was going to merge but noticed the warning above
This branch is out-of-date with the base branch


Fix challenge tests that rely onconsole.log

Addresses #291
@randelldawson @ojeytonwilliams for visability

A screenshot of the deploy preview showing the issue is fixed

@raisedadead I am merging without review as this effects useability.

These changes should be live in around 20 minutes

For what it's worth, I am making some headway on a real solution that doesn't destroy things.  Regardless, I am sorry for the headaches my PR caused everyone.


problem downloading alkalinity

For some reason alkalinity data are no longer downloading. I'm guessing this relates to some change in the USGS API or database. A manual test through the web portal shows that the alkalinity data are still there. Need to compare my query string with one generated by the web portal.
This has broken lab 7 in GDA, as alkalinity is listed as required in the run file. A quick fix is to mark it as not required, as we don't use it in the lab.

This was a problem with a change to NWIS characteristics. "Alkalinity, total" became simply "Alkalinity". I edited the olm lab and the example startfile in the olm repo in order to correct this. Again, would be nice to somehow automate this checking of characteristic names (see https://github.com/CovingtonResearchGroup/olm/issues/34).

Fixed with commit 246c33aa4ee668754c44672109ebf329dab718f8


Questions about RSSM

From @xlnwel (asked in #4):
Also, I try to reframe RSSM so that I can wrap it with tf.keras.layers.RNN. Here's the cell structure I come up with

where $e_t$ is the embedding and $s'_t$ is the output of the posterior. Here, I move the deterministic and stochastic state models into a single RSSM cell and compute the posterior after the RNN is expanded. I humbly think this structure may be faster as we can process all posterior at once after the RNN is expanded. However, I'm not sure if I miss something. Do you think this structure is consistent with your implementation?
After implementing my version of RSSM, I found that I misunderstood it before: RSSM is expanded differently at dynamics learning and behavior learning. I think the correct diagram should be the following one

At the time of dynamics learning, the hidden state is computed from the output of the posterior $q$(the left part) while during the imagine phase, the hidden state is computed from the output of the prior $p$(the right part). I can see that the left matches the VAE structure. However, I can't explain why it should be preferred compared to the one I previously considered. Could you help me clarify it?

Check out the PlaNet paper where we introduced this model, especially Figure 2c. You are right that the prior and posterior transitions differ. Specifically, the prior does not have access to the embedding of the image. This allows predicting ahead without knowing the images. In the figure I pointed you to, the solid lines are always used but the dashed lines are only used by the posterior. I don't think your diagrams are correct, or I don't quite understand them. I would draw them as
Prior:               Posterior:

a ---.               a ---.
     |                    |
     |                    |
h ---+---> h'        h ---+---> h'
     |     |              |     |
     |     v              |     v
s ---'     s'        s ---'     s'
                                ^
                                |
                                o'

Hi @danijar,
Sorry that I misplaced the some of notations in the diagrams and left the previous issue unorganized.
Here's a figure I draw about the RSSM

The left part shows how the RSSM looks like in a single time step when we call RSSM.observe(this line), where $e$ is the image embedding, $s'$ is the posterior state, and $s$ is the prior state. The right part shows how the RSSM looks like when we call dreamer._imagine_ahead(this line). My point, if I understand them right, is that the GRU takes $s'$ from the posterior as input when we call RSSM.observe. In contrast, when we call dreamer._imagine_ahead, the GRU takes $s$ from the prior as input. This different behavior confused me for a while. Then I realized that when we compute the KL divergence in the ELBO, we take the expectation under the posterior. Furthermore, the dynamics model is trained using the data collected by the policy, which is conditioned on the feature from the posterior. Both make sense of the left diagram.
Hope these can help you understand the figure I drew. Of course, if I made some mistakes, please let me know.

Yes, you can think of the prior as a loose guess about the next state and of the posterior as a more precise guess, because it is based on additional evidence, namely the observed image.
During training images are available and the GRU takes a posterior sample as input. During imagination, the future images are not available and the GRU takes a prior sample as input instead.
Intuitively, this works because the posterior and prior are trained to be close to each other using the KL regularizer. And because the random samples have some spread during training, the GRU becomes robust to seeing new samples during imagination.
Mathematically, you are right that this simply follows from the evidence lower bound.
When interacting with the environment, the current image is available, and so we use the posterior.


Fonts not working for reports

Changing to report fonts to business central allowed fonts does not work. the font stays the same.
Is it possible to change the font for reports?

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

ID: 082b762b-f7b9-3d50-af8a-c892b34f6347
Version Independent ID: 3170ce53-ed8e-da6c-7a9f-bf5d6d31e20a
Content: Available Fonts - Business Central
Content Source: business-central/ui-fonts.md
Service: dynamics365-business-central
GitHub Login: @SorenGP
Microsoft Alias: edupont

Hello,
Thank you for your feedback. As this article explains, you can change between specific fonts in Business Central. If you find that this capability is not working for you, we suggest that you contact technical support. For more information, see Report a Problem.
You can read about changing reports here: https://docs.microsoft.com/dynamics365/business-central/ui-manage-report-layouts
I hope this answers your questions; otherwise do let us know!


Does not support TLS1.2

I can not use GrapheneDB services because they does not support TLS 1.0 for security reasons. They require TLS 1.1 and TLS 1.2. GrapheneDB services (with bolt protocol) can not be used while "Neo4j .NET Driver" supports only TLS 1.0.

A release of the driver that supports TLS 1.2 is in the pipeline and should be released within the next few weeks.

The new .Net driver 1.1.0-M02 will have the support of TLS 1.2 https://github.com/neo4j/neo4j-dotnet-driver/pull/103