Add a project logo!

For the upcoming 1.0 release, friends could definitely use a project logo. If anyone out there wants to design one I'd be grateful!

Thanks so much! Feel free to be creative—could be as simple as the word "friends" with a heart dotting the i, or something like this icon with a red heart in the middle. Let me know if you want to bounce ideas off each other!


Vue.js version
2.0.1
Reproduction Link
https://jsfiddle.net/3qpzv7v0/
template tag should be able to use for group multiple elements and inject into component slot. this used to work in rc8

The parsing is generating an empty text node between the two p. As a workaround you can remove the space between them until we release a fix


refactor(ios): audio session manager

Summary
Create Audio Session Manager for better and more reliable audio session management
Motivation
In old implementation each component is changing audio session properties without carrying about other components - with audio session manager, components will respect other components "needs"
Note
This is very risky change (at last for me) and need tests to see if everything is working as it should

Change make sense for me (this is really cleaner I think).
As I don't have ios device, I cannot really test, consider I approuve PR (but please check my small comment!)
Thank you @KrzysztofMoch

First of all, thank you for your great work.
I would like to talk about two topics.

why is the AudioSession handling within NowPlayingInfo? I think this processing should be a simple structure that is handled when the Player is mounted and unmounted. At the same time, the current audioSession is also handled within setPictureInPicture, so it seems like it could affect the management of audioSessions that work as application singletons.

the work you're doing to tie the settings between videos together is great. However, since audioSession is a single instance throughout the application that determines the behavior of the app, I think that if this is necessary, it should be added to detect changes in the audioSession and reset it with a priority determined from the video.

@KrzysztofMoch is it fixing: https://github.com/TheWidlarzGroup/react-native-video/issues/3838 ?

It can (or at last will show warning), background audio and ignoreSilentSwitch="obey" wont work together (audio session category conflict)

why is the AudioSession handling within NowPlayingInfo?

I am calling updateAudioSessionCategory function in places that "needs" some kind of playback category (eg. pictureInPicture needs playback). IIRC NowPlayingInfo also require playback category (not sure)

At the same time, the current audioSession is also handled within setPictureInPicture

Ops, will make fix for it (good catch!)

it should be added to detect changes in the audioSession and reset it with a priority determined from the video.

So we should add some prop to create priority for videos? It's kinda sucks as this will be iOS only need, but I guess that this would be useful
@YangJonghun

Hey @YangJonghun - Thanks for your feedback!

PiP and NowPlayingManager (IIRC) needs playback category, so I set that video using it and then update audio session with those values "in mind". Also I am calling function on shared instance so I don't understand issue

So we probably would need new iOS only prop for it? Something like audioSessionPriority?

@KrzysztofMoch

PiP and NowPlayingManager (IIRC) needs playback category, so I set that video using it and then update audio session with those values "in mind". Also I am calling function on shared instance so I don't understand issue
I wrote that because it is my understanding that setting up an AudioSession overwrites all previous settings. If I'm wrong, please let me know.

So we probably would need new iOS only prop for it? Something like audioSessionPriority?
This is the same as 1., and I wrote it down because it seems like there's room for bugs due to interference from libraries other than react-native-video, but if I'm wrong about AudioSession, this is fine too.

@KrzysztofMoch you can merge when you want !

Okay, I will describe in docs how this will works to don't confuse peoples - I will do it this week

additionnal comment, you need to replace all usage of: configureAudio here the systems are mixed

Hi guys any updates on this ? trying to Play background music when video is muted. Stop background music when video is unmuted #4156
Do you guys know when this will get merged and if it will affect anything ?

Hey guys any updates on this? I'm having the same issue 😢


about Make3D result

Happy New Year First!  Could you provide me the input image of Make3D(Fig.5  Qualitative results), or the path of those input images, thank you a lot

Hi, you can download on their website http://make3d.cs.cornell.edu/data.html

Hi, I didn't keep the information on Make3D. Therefore, I cannot give you the filenames of these pictures. Make3D's test set only has 134 images, so it's also doable to find these images manually.

Thanks, i looked for those in 134 images, but only find one, i will look for those carefully again

I am now closing this issue. Feel free to reopen it or create a new one if you have more questions.


Web Components and SEO Investigation

User Story

As a [user role below]:
IBM.com Developer

I need to:
understand how Web Components are indexed by search crawlers

so that I can:
understand how to best build web components that comply with popular search bots

Additional information

Google appears to be able to crawl web components
Should look into other crawlers, like Bingbot, Baidu, etc

Acceptance criteria

[ ] Have a full understanding of how the various popular search crawlers search pages with web components
[ ] Any recommendations based on research

Some notes from @asudoh :
Note on SEO testing; For Google https://search.google.com/search-console/welcome seems the right tool, though there is a process that the submitter owns the site. We may want to try this with our test page. One good news is that we can rest assured for ; The document clearly says that the search engine looks at the shadow DOM:
https://developers.google.com/search/docs/guides/javascript-seo-basics, which means all s in shadow DOM (e.g. one in CTA) are crawled. Searching for Baidu SEO checker all resulted in Chinese sites and couldn’t see if there is an official tool. Good if there is, otherwise we may end up seeing how Baidu crawls the site.
Some note on heading; We rely on custom tags (e.g. <dds-content-block-heading> to apply the right style to the heading, most importantly, its inner content. We may consider
, however, ::slotted([slot="some-slot"]) can style only
 itself, not the descendants.
Another idea, though it’s large, is that I’ve had a feeling that content pattern does not much value being Web Components, given they are style-only components (except the video portion, etc.). From that perspective, the only merits being Web Components is the style isolation and less
 soup. That said, we may come up with vanilla markup guide, possibly with examples in Storybook.

Confirmed that Googlebot has no problems crawling pages with web components:

Bingbot does not seem to render web components based on a quick scan. This aligns more with the findings of the article posted above, where the lightDOM may need to have semantic markup available before render:

HTML that is crawled by Bingbot:

From Bing report that says they couldn't find our headings, I'm leaning more toward documenting how to add "SEO hints" to the page. For for example, pages can render hidden  (e.g. in their Handlebars code) along with <dds-card>.

As discussed as a group, we have determined that creating a prerender step is the way to approach this on the application side.


lotus user?

Hi, what is the LOTUS_USER_USERNAME???  How does it mean??

The name of the user running the lotus process

The name of the user running the lotus process

But my lotus process is running in other machine.  And my lotus miner worker are all the same user name, how dose resolve it?? Thanks

Let me understand
The miner and the node are on 2 different servers?
You don't have to deploy it on the workers
Sent from my iPhone

On 5 Aug 2021, at 04:03, Jasonwu @.***> wrote:

The name of the user running the lotus process
But my lotus process is running in other machine. And my lotus miner worker are all the same user name, how dose resolve it?? Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

@Jasonwu123 have you make it work ?

Let me understand The miner and the node are on 2 different servers? You don't have to deploy it on the workers
…
Sent from my iPhone
On 5 Aug 2021, at 04:03, Jasonwu @.***> wrote:  The name of the user running the lotus process But my lotus process is running in other machine. And my lotus miner worker are all the same user name, how dose resolve it?? Thanks — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

yeah, I got it. I mean, lotus miner and lotus node are deployed on different machines in the LAN. And then they hostname is the same, for example call lotus-xl.

So, when I execute the sudo ./check.sh xl command, it has the following error:
Check if xl exist : [ OK ] Check if xl is a lotus user : [ OK ] Check if lotus-exporter-farcaster.py run properly : [Errno 2] No such file or directory: '/home/xl/.lotusminer/api' [ KO ] error encountered :          # HELP lotus_local_time time on the node machine when last execution start in epoch          # TYPE lotus_local_time gauge          lotus_local_time {  }<PHONE_NUMBER>          # HELP lotus_scrape_execution_succeed return 1 if lotus-farcaster execution was successfully          # TYPE lotus_scrape_execution_succeed gauge          lotus_scrape_execution_succeed {  } -2 TODO : run manually : sudo -u xl /usr/local/bin/lotus-exporter-farcaster.py
Then, I run the  sudo -u xl /usr/local/bin/lotus-exporter-farcaster.py command according to the TODO prompt. But it continues to prompt errors:
`# HELP lotus_local_time time on the node machine when last execution start in epoch
TYPE lotus_local_time gauge
lotus_local_time {  }<PHONE_NUMBER>
HELP lotus_scrape_execution_succeed return 1 if lotus-farcaster execution was successfully
TYPE lotus_scrape_execution_succeed gauge
lotus_scrape_execution_succeed {  } -2
[Errno 2] No such file or directory: '/home/xl/.lotusminer/api'`
What should I do next???

Where is your .lotusminer location ?

Following our slack discussion all good. I close the ticket


cmd/link: crash with -E

$ go version
go version devel +3a3093d5c7 Mon Dec 9 21:50:59 2019 +0000 linux/amd64

$ cat main.go
package main

func main() {
}
$ go build -ldflags="-E nonexistent" main.go
# command-line-arguments
panic: runtime error: index out of range [-1]

goroutine 1 [running]:
cmd/link/internal/ld.(*Link).pclntab(0xc000082480)
	/home/elias/dev/go-tip/src/cmd/link/internal/ld/pcln.go:374 +0x1e40
cmd/link/internal/ld.Main(0x8912a0, 0x10, 0x20, 0x1, 0x7, 0x10, 0x6bddc3, 0x1b, 0x6b9e74, 0x14, ...)
	/home/elias/dev/go-tip/src/cmd/link/internal/ld/main.go:243 +0xc62
main.main()
	/home/elias/dev/go-tip/src/cmd/link/main.go:68 +0x1bc

Hmmm. -E nonexistent clearly won't work. What would you expect? A clean exit with an error?

Sorry for not being clear. An error about the missing symbol would be nice, but since this is arguably a dusty corner of the linker, not panicing is fine.


Updating to PyQt 5.6

This PR upgrades the requirements to PyQt 5.6 to ensure that all CI builds are using the same environment.

The unit tests test_plotter and test_windows cause CI checks to intermittently fail. They are being disabled for now, until they can be better implemented. They are of limited value given the extensive use of mocking needed to get them to work. It will be worth revisiting them in the future.


Zabbix data sync issue on grafana

Hello,
First thank you for all of your good work.
I am having synchronization issue between my zabbix and grafana data. Indeed when a metric changes in zabbix, it takes more than 30mn to be update in grafana. Zabbix and grafana are installed on the same server so I don't think it's a timezone problem.
Thanks for your help.
Zabbix version: 5.0.1
Grafana version: Grafana v7.0.1 (ef5b586d7d)
Zabbix plugin version: 3.12.2

By default, plugins cache some data that is little changed, such as item names.
Try changing the Cache TTL parameter to a value that is compatible with your scenario.

Thanks a lot for your reply.
Testing right now. I will let you know

I manually put the cache TTL to 2mn. Same issue.
To give you more context I have for exemple my server status down in Zabbix but Up in grafana and  it take more than 30mn to be updated in grafana.

Hi,

I manually put the cache TTL to 2mn. Same issue.
To give you more context I have for exemple my server status down in Zabbix but Up in grafana and it take more than 30mn to be updated in grafana.

Did you use the suffix mn? Try using the suffix m for minutes

Oh yes I used the suffix m not mn(sorry mn is the french suffix)

I Always fix this, “refreshing” the data source. I just go to data source config and click on save and test.
After that I can see newly created hosts or host groups

Finally, I completely reinstall the server. Everything is fine now.


number of frames in the input

Hello
I want to use the pretrained models for feature extraction.
What is the clip size used for training? i.e. how many frames are used each sample?

Hello
I want to use the pretrained models for feature extraction.
What is the clip size used for training? i.e. how many frames are used each sample?

Have you solve this problem?

In the code they are extracting from start to nf frames, means extracting for all frames of a video.

Hi @ekosman,
did you figure it out? Currently I'm thinking it's 8, but I wanted to use 16. Any tips on this issue?


Automatically resize profiler width

Currently the Emacs profiler is pretty much garbage for deep traces because it has a fixed width and just replaces every function name with ... once you get past that width. This shouldn't happen.

This would require a bunch of re-engineering to fix properly as the code in profiler.el isn't written very well. However, note that you can simply manually set the variable
(defvar profiler-report-cpu-line-format
  '((50 left)
    (24 right ((19 right)
	       (5 right)))))

replacing 50 with a larger number, and then all future lines that you expand will have more space (i.e. the info is all there, it's just not printed correctly). Since this problem doesn't come up frequently, I won't bother with it.


Expose asset path as a property on the module

To allow parent dependencies to establish the location of the assets.

:+1:


Checking for invalid bounding boxes in WFS 1.1.0.

And a few other issues with namespaces.

@ldesousa can you squash into one commit against latest master?

I squashed these commits, merged into master and created a new pull request.


Better error messages

I hope it shouldn't be like

https://www.reddit.com/r/reactnative/comments/dgc8kq/tired_to_upgrade_one_of_my_projects_to_0605_i/?utm_source=share&utm_medium=ios_app&utm_name=iossmf

I believe this is resolved by #505


Project Storage Bucket Without Ref_Priyesh

There will be a folder with few files, upload all files in a storage bucket

Completed the project


CHANGELOG: add known issue with esp_at driver

Updates CHANGELOG.md with known issue when using the esp_at WiFi driver with certificate auth in Zephyr 3.7.

Reopening not from fork.


Is it necessary to register all ragas in root ?

I know its a rookie question, but unable to find the right way of doing it.
lets say I have two containers login.container.js and  profile.container.js.  And two seperate sagas for each containers login.saga.js and profile.saga.js.
So, I forked all sagas in root saga as:
function* rootSaga() {
    yield all([
        fork(LoginSagas),
        fork(ProfileSagas)
    ]);
}

When I dispatch events from, lets say profile.container.js, the actions being dispatched to both sagas.

From this screen shot, I can clearly see that, the action PROFILE_UPDATE being dispatched from profile.container.js is caught into both two sagas and share the both profile and login states.
The way I am registering dispacher actions in my container is something like:
const mapStateToProps = state => {
    return {
        isLoading: state.profile.isLoading
    }
};

const mapDispatchToProps = (dispatch, state) => {
    return {
        actions: {
            profile: bindActionCreators(profileActions, dispatch)
        }
    }
};

export default connect(mapStateToProps, mapDispatchToProps)(ProfileContainer);

Even though I unregister both sagas from rootSaga.js, the action is passed through both sagas.
Is this expected behaviour or I am doing something wrong ?
login.action.js

LOGIN, LOGIN_SUCCESS, LOGIN_FAILURE
switch to these actions only.

profile.action.js

UPDATE_PROFILE, UPDATE_PROFILE_SUCCESS, UPDATE_PROFILE_FAILURE
switch case to these actions only.

And help will be appreciated.
Thanks in advance.

Well - it's the same case as with reducers. Actions are being dispatched to "all" reducers (technically there is only a single reducer though), and all reducers have the opportunity to update state based on ANY action. Same with sagas. If you want to prevent that you'd have to introduce some scoping mechanisms.

@Andarist Thanks for clarifying. If this is the expected behaviour, then its okay. I am confused as all sagas are listening to actions to happen and modify state; then I am observing all actions that will happen in my application. Will this slow down application performance ?

It shouldnt slow down much, unless you dispatch really many actions per second

Thanks alot.


Spurious Error Message: No Suitable Method found to override after upgrade from 6 - 7 Preview 3

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I have a Blazor Server app which I just upgraded to 7 Preview 3.
After upgrading, every component file which overrides the OnInitializedAsync methods generates an exception:
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0115	'Toaster.OnInitializedAsync()': no suitable method found to override	CDS	C:\Dev\dev.azure.com-CSSLLC\CDS-Blazor-Net6\CDS Blazor\CDS-NET6\CDS\Components\Toaster.razor.cs	26	Active

If I update the file to add the base class, the error is resolved.  This was not required in .net 6. Note that in Visual Studio, the Error will show for about a minute, and then all of these types of errors will disappear.  However, when I try to build the app, the error appears again.
public partial class Toaster : ComponentBase
I also notice this warning:
Severity	Code	Description	Project	File	Line	Suppression State
Warning	CS8785	Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'KeyNotFoundException' with message 'The given key was not present in the dictionary.'	CDS	C:\Dev\dev.azure.com-CSSLLC\CDS-Blazor-Net6\CDS Blazor\CDS-NET6\CDS\CSC	1	Active

Expected Behavior
The project will build and run.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
I am using Visual Studio 2022 Preview 3
.net core 7.0.0-preview.3.22178.4
Any advice would be appreciated.

There's a stackoverflow post regarding this, but following that lead just resulted in other strange errors for me https://stackoverflow.com/questions/59051233/blazor-server-code-behind-pattern-oninitializedasync-no-suitable-method
In the end I worked around it by adding all my code from the code-behind file directly into the view under the @code {} section
Hope for a better way out of this soon though

This is going to sound ridiculous, but I've fount that creating a Blazor component in a folder other than the Shared folder makes it wonky. But dragging it to Shared, then dragging it back to the other folder makes problems go away.
Also if the dependencies are not injected first in code behind, this message shows up.

I am going to close this issue, as it's old and I am running .net 7 Blazor server projects just fine with the current bits.  So I am going to assume this got fixed somewhere along the line.

But it is not fixed. Everything was running fine on dotnet 6 and then it stopped working after I upgraded to dotnet 7

It's broken in Net6 still.


Storage: support customTime metadata and custom timestamp based OLM

Request to support a new customTime metadata and associated custom timestamp based OLM conditions:
std::chrono::time_point tenDays = std::chrono::system_clock::now() +
                                      std::chrono::days{10};

gcs::BucketLifecycle bucket_lifecycle_rules = gcs::BucketLifecycle{
    {gcs::LifecycleRule(
         gcs::LifecycleRule::ConditionConjunction(
             gcs::LifecycleRule::DaysSinceCustomTime(30),
             gcs::LifecycleRule::CustomTimeBefore(tenDays)),
          gcs::LifecycleRule::Delete())}};

StatusOr<gcs::BucketMetadata> updated_metadata = client.PatchBucket(
    bucket_name,
      gcs::BucketMetadataPatchBuilder().SetLifecycle(bucket_lifecycle_rules));

// New metadata field:
StatusOr<gcs::ObjectMetadata> object_metadata =
    client.GetObjectMetadata(bucket_name, object_name);

gcs::ObjectMetadata desired = *object_metadata;
desired.mutable_metadata().emplace("customTime", "2020-01-01T00:00:00Z");

StatusOr<gcs::ObjectMetadata> updated =
    client.UpdateObject(bucket_name, object_name, desired,
                        gcs::Generation(object_metadata->generation()));

Notwithstanding the original description, the OLM field needs to have date precision.  That is, the code will read:
gcs::BucketLifecycle bucket_lifecycle_rules = gcs::BucketLifecycle{
    {gcs::LifecycleRule(
         gcs::LifecycleRule::ConditionConjunction(
             gcs::LifecycleRule::DaysSinceCustomTime(30),
             gcs::LifecycleRule::CustomTimeBefore(absl::CivilDay(2020, 7, 29)),
          gcs::LifecycleRule::Delete())}};

/cc: @frankyn


Add zap convenience method to users

Seems odd that this isn't already in NDK so I'm not 100% sure I'm understanding this correctly.
In any case, this appears to be all that's needed to add a simple User.zap convenience method.

Confirmed this is working locally.

Bump! @pablof7z

@pablof7z Merged with master and updated the user.zap method so it's in line with changes in the event.zap method.

can we get an example for user.zap()?


Can I run a command in shell?

It looks like not support delegator.run("my_command", shell=True).

From the code, this option doesn't exist. Only block=true/false is allowed. What are you trying to achieve?

I want to run a command in a shell so that it can follow my $PATH and so on.

@azillion can you also update the README as well?

shell=True is default now


does this support monorepo ?

Hi
does this support monorepo project ?
I have some project with structure like this
. (root)
|-> rescript-x
|-> rescript-y

and want to run bsdoc in root and generated documentation by each project (x,y).
Expected:
. (root)
|-> docs
|----> rescript-x
|----> rescript-y
|-> rescript-x
|-> rescript-y

OR
does this support for generate Markdown  ?
Thank you

Hi, re: monorepo, I'll need to investigate that. Re: Markdown, no, only ocamldoc syntax is supported.
The bigger question though is are you using ReScript syntax? Because that's not supported. The ReScript team have their own documentation tooling plans, that tooling should be used for ReScript when available.

Hi @yawaramin .
Thank you for your response.
Yes, I have been use in My ReScript project and it's work correctly for generated Types and Doc Comment on my project.
Before, I didn't know this project is not supported with ReScript syntax.


Decouple transaction from asset

Proposal
This document explores the benefits in decoupling asset and transaction, and proposes a simple technical solution to implement it.
Current implementation
In the current implementation of BigchainDB the asset is embedded inside the transaction model.
{
    "id": "<hash of transaction, excluding signatures (see explanation)>",
    "version": "<version number of the transaction model>",
    "inputs": ["<list of inputs>"],
    "outputs": ["<list of outputs>"],
    "operation": "<string>",
    "asset": "<digital asset description (explained in the next section)>",
    "metadata": "<any JSON document>"
}

asset can have one of the following schemas:

if operation is CREATE, then

{ "data": "<json document>" }

if operation is TRANSFER, then

{ "id": "<asset's CREATE transaction ID (sha3-256 hash)>" }

Decoupling transactions and assets
This proposal is to move the asset outside the transaction model to store it in another collection, and to make it content addressable. In the transaction model, asset will just contain the hash of the actual asset.
Moreover, decoupling transaction and asset makes a clear distinction between the permissioning layer (handled by conditions and fulfillments with Crypto Conditions) and the data layer. Think about it this way:

Each document in the new assets collection is just the asset as you would store it in a regular database.
The bigchain collection contains all the metadata (permissioning, provenance, auditing, and more) about the digital asset.

Note: in this proposal, when issuing a CREATE transaction, including the asset is considered optional.
Benefits
Decoupling unlocks some interesting features for BigchainDB, specifically:

New assets can be CREATEd without revealing the content of the asset.
Because of the previous point, we can enable the tracking of private payloads in the blockchain: since no content is revealed, a user can encrypt it and share it off–chain, while the original hash can still be used to verify that the shared content is the expected one.
Since the asset is not stored in the block model anymore, it can be removed from BigchainDB without breaking the chain of hashes.
The content of the asset is not buried in block['block']['transactions'][<index>]['asset'] since it would live in its own collection, hence it's simpler to write queries).
To improve queryability (and indexes) and speed we can even decide to store specific kind of payloads in different collections :1st_place_medal:

Implementation
Transaction model
The only difference in the transaction model is for the asset key. Instead of holding the value of the asset, it holds the hash of the asset.
{
    "id": "<hash of transaction, excluding signatures (see explanation)>",
    "version": "<version number of the transaction model>",
    "inputs": ["<list of inputs>"],
    "outputs": ["<list of outputs>"],
    "operation": "<string>",
    "asset": "<hash of the asset>",
    "metadata": "<any JSON document>"
}

At this point, both CREATE and TRANSFER operations will just point to the hash of the asset, so there is no need to separate the two using data or id.
API
POSTing data:

The API should expose a new endpoint to upload assets. An endpoint will store the asset if and only if there is a valid CREATE transaction tx where tx['asset'] == hash(asset).
The API might extend the current POST /api/v1/transactions to accept a transaction and an asset together, to simplify the UX.

GETting data:

Symmetrically, the API should expose a new endpoint to download assets.
Symmetrically, the API should expose a new endpoint to get a transaction and an asset together.

:woman_astronaut: Advanced ideas :woman_astronaut:

Using CIDs
What if I told you that asset in the transaction can be a CID? If so, we
would be able to manage binary assets uploaded to other systems. (Eventually, we can ask @multiformats to add @ipdb to the protocols.csv).
Different collections with different indexes
To improve queryability, we can have different collections providing different indexes. Let's say we have a collection better suitable for temporal data, another one optimized for full text search. A user might be able to "route" an asset to the preferred collection.

Nice proposal @vrde!
You may want to explicitly add, under the benefits:

Increased consistency: only one schema for both CREATE and TRANSFER operations.

This is a nice idea.
I think the main concern will be that people don't want their data to be deletable without detection. We can of course put safeguards around the data in the new assets collection(s), similar to what we intend for the bigchain (blocks) and votes collections.
Anyway, not even the blocks have a hash chain, at least not today. Even if they did, that wouldn't prevent deletion/modification, it would just provide another way to detect that deletion or modification happened.
Moreover, with this proposal, people would still be able to stuff arbitrary data in the transaction metadata (up to some size limit). But querying metadata will probably never be as good as querying it in a special collection with asset-specific indexes (maybe elsewhere).

So, does this propose that we introduce a separate table for assets?
This could be problematic because both the bigchain table and the assets table would probably be sharded and you can't join sharded collections.

I think the main concern will be that people don't want their data to be deletable without detection. We can of course put safeguards around the data in the new assets collection(s), similar to what we intend for the bigchain (blocks) and votes collections.

That's a good point.
Quick idea: we can add a flag to a CREATE transaction saying that an asset has been provided together with the transaction.

Moreover, with this proposal, people would still be able to stuff arbitrary data in the transaction metadata (up to some size limit). But querying metadata will probably never be as good as querying it in a special collection with asset-specific indexes (maybe elsewhere).

I see metadata as something transaction specific, so they are not related to asset queryability.

I'd say there's a good case for making transaction.asset more freeform though, so that it can be a URI.

So, does this propose that we introduce a separate table for assets?

Yes. I should have been more explicit.

This could be problematic because both the bigchain table and the assets table would probably be sharded and you can't join sharded collections.

What you imply is that there might be a performance issue?

If you want to run a query on data that is valid (data in the bigchain table can be invalid) you need to go via the blocks table. So if you want to query asset data for only validated transactions, in a performant way, you should have a fully replicated index of valid blocks (TODO), and join the bigchain table; if you had a separate assets table you would not be able to join it.

AFAIK we will have the same limitation when we will shard the bigchain table.

Not quite, we can query the bigchain table across shards and any unsharded collections (like an index of election results) can be joined.

Alternative idea:
Inside the transaction, have a placeholder that can be identified by the hashing algorithm, where rather than hash contents it hashes the hash of the contents. That way, the contents can be replaced by their hash, and the transaction ID doesn't have to change. Ie:
tx = {
    "asset": {
        "data": {
            "#SWAP": { [some data here] }
        }
    }
}

Which can then become:
tx = {
    "asset": {
        "data": {
            "#SWAP": [hash of the data that was here]
        }
    }
}

Workflow
This is a workflow that uses all the features of bigchaindb:

Client creates (CREATE) an asset:

The creation process needs to be changed. The client now needs to hash the
asset and include the hash of the asset in the transaction before calculating
the txid and signing the transaction. (this requires changes to how clients
construct transactions)

How does the client post the transaction to bigchaindb?

Now the client needs to post 2 documents instead of just one: the transaction
and the asset. (this requires changes to the post transaction endpoint)
Question: Should we allow for for no asset payload? A user wants to store only an hash on bigchaindb and stores the data elsewhere?

How are these two decoupled documents stored in the backlog collection?

I guess it would be something like:
{
    "transaction": "<transaction document>",
    "asset": "<asset document | null>",
    "assignee": "...",
    "assignment_timestamp": "...",
}

This would require us to possibly update the backlog queries (or maybe
not).

Transaction validation changes:

The transaction validation should do an additional check to make sure the asset
hash is correct. So the transaction validation would have the
asset as an optional parameter and check its hash.

Changes to the pipelines:

The logic of the block and voting pipelines would have to change a bit.
The block pipeline would have to unpack the transaction and
asset from the document in 3) and if the transaction validation passes also
store the assets.
This may be an early optimization but the best way to do it would be to store
all of the assets after the block has been written (bulk write for better
performance). This way if something goes wrong with the block pipeline and a
block is not written then we don't write assets for transactions that do not
exist. On the other hand the pipelines are critical and should never fail.
For the voting pipeline once it gets the block to vote on it would have to
retrieve all the assets belonging to the transactions in that block to validate
the hash block (this would only have to be done for CREATE transactions).

How should the asset be stored and how it should map to the transaction that
created it:

There are two asset attributes that can be used to index it and map it to the
transactions: id the transaction id that created the asset, and hash the
value that will be in all transactions related to this asset. We can use any of
these attributes or both.
{
    "id": "<txid of the CREATE transaction that created the asset>",
    "hash": "<the asset hash>",
    "asset": "<the actual asset document>"
}

The id provides a direct mapping between the asset and transaction that
created it. This makes it easier to check if the transaction is valid without
having to first search for the CREATE transaction whose asset hash is hash.
And since txids should be unique we can make this index unique to make sure
that there are no duplicate/multiple assets for the same transaction.
The hash allows us to retrieve all the transactions related to an asset.

Changes to GET transaction database queries.

I can think of 3 solutions:

8.1: insert the asset in the transaction (only CREATE or both)

Do two queries to get the asset and the transaction and in the transaction
replace the asset hash with the actual asset. Since the schema for CREATE and
TRANSFER are now aligned with @vrde proposal we can do this for both CREATE and
TRANSFER transactions.
When validating, signing or hashing always swap the asset document with the
hash.
This would not change the api, just the backend logic for the queries.

8.2: return the asset separately (only CREATE or both)

Do two queries to get the asset and the transaction and return both separately.
This requires changes to both the backend logic and the api.

8.3: don't return the asset at all

Simply return the transaction as is and do not return the asset. The asset can
be queried separately (by hash and/or CREATE txid) by the client. This way we
keep both asset and transaction api separate.
We have been talking for a while in having an asset api to make BigchainDB feel
more like a database and less like a blockchain. This would be a good
opportunity to start doing that. BigchainDB can guarantee that we only return
assets from valid transactions but if a client still wants the check it can
still retrieve the transactions related to the asset.
This would require no changes to the transaction api. We would need to change
the backend queries for the assets.

Now the client needs to post 2 documents instead of just one: the transaction
and the asset. (this requires changes to the post transaction endpoint)

If we want to keep everything in a single POST we can have something like:
{
    "id": "<hash of transaction, excluding signatures (see explanation)>",
    "version": "<version number of the transaction model>",
    "inputs": ["<list of inputs>"],
    "outputs": ["<list of outputs>"],
    "operation": "<string>",
    "asset": "<document|hash|null>",
    "metadata": "<any JSON document>"
}

So we basically allow the client to:

Embed the asset document to the transaction (we will take care of calculating the sha256 and replace the document with the hash).
Use only the hash of the asset if they want to keep it secret (this partially answers your question I copy pasted below).
null if the asset is empty.

Question: Should we allow for for no asset payload? A user wants to store only an hash on bigchaindb and stores the data elsewhere?

IMO it makes sense. We can even add an (optional) schema to support other content addressable networks, like IPFS.

Changes to GET transaction database queries.
8.1: insert the asset in the transaction (only CREATE or both)

I this this is the best approach, so we keep backward compatibility. We can do it for both CREATE and TRANSFER.

Embed the asset document to the transaction (we will take care of calculating the sha256 and replace the document with the hash).

This can be how the client submits the transaction. But when the client is building the transaction it needs to calculate the hash and use that to calculate both the txid and the signature. It cannot be done only server side. I am afraid that there will a lot of hashing and replacing that will just make things confusing.

IMO it makes sense. We can even add an (optional) schema to support other content addressable networks, like IPFS.

Yes this a point that was mentioned in the initial proposal. My opinion is that instead of overloading the transaction model with this we can add it at the asset level. So the transaction does create and asset and then the asset is just a pointer to ipfs for instance.

This can be how the client submits the transaction. But when the client is building the transaction it needs to calculate the hash and use that to calculate both the txid and the signature. It cannot be done only server side. I am afraid that there will a lot of hashing and replacing that will just make things confusing.

IMO it's not adding too much confusion.

Yes this a point that was mentioned in the initial proposal. My opinion is that instead of overloading the transaction model with this we can add it at the asset level. So the transaction does create and asset and then the asset is just a pointer to ipfs for instance.

:+1:


gardenctl should pass --config to gardenlogin so both use the same config file

What would you like to be added:
When I specify --config <path to some specific config file> to gardenctl target and request a kubeconfig for a shoot, the generated file has a users section like this:
users:
- name: my-cluster
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1
      args:
      - get-client-certificate
      command: kubectl-gardenlogin
      env: null
      installHint: Follow the instructions on https://github.com/gardener/gardenlogin#installation
        to install gardenlogin
      interactiveMode: IfAvailable
      provideClusterInfo: true

It would be helpful, if --config <path to some specific config file> could be added as an argument to kubectl-gardenlogin as well.
Why is this needed:
As of now, the behavior is inconsistent and leads to unwanted behavior where gardenctl and gardenlogin use different configuration files.

Interesting, what is your use case for providing a different config file using the path flag?

Sometimes, I want to test with a specific setup. To spare me the effort of moving too many files around, I tried to use the --config flag conveniently offered by the cli :)
This happens mostly in the context of debugging / reproducing things with a specific garden kubeconfig. Since Gardener dropped support for static tokens with K8s v1.27, I believe these cases will increase.

Maybe I failed to describe the issue resulting from this behavior 🤔 so let me try to rephrase.
When I use the --config flag on gardenctl, it uses this combination of configuration / credentials. Now, when I target a shoot, gardenlogin, invoked via the generated kubeconfig, still uses its default.
This results in adminkubeconfig requests being sent to a totally different cluster or requested with different credentials.


I don't undestand

Where do I write my twofactor code?

$SteamLogin->login(null, $twofactorcode);

I repaired syntax of README, now.

Thank you very much, man.

Ugh, now I have just an empty page...

Please answer, man

I already tried to echo($logindata) and echo($logindata->sessionId) and echo($logindata->cookies)

Do you have turn on errors reporting in PHP?

Yeah, when echo($logindata) an error told that it's stdClass object and it cannot be converted into a string.

Man, I made code var_dump and now I get many info, I don't what what part is for cookies.

Can you show me your code?

`<?php
define('php-steamlogin', true);
require('main.php');
$SteamLogin = new SteamLogin(array(
'username' => 'cubsonbot',
'password' => 'dt323adt323a',
'datapath' => dirname(FILE)
));
if($SteamLogin->success){
$logindata = $SteamLogin->login(null, '2F8NC');
var_dump($logindata);
if($SteamLogin->error != '') echo $SteamLogin->error;
}else{
echo $SteamLogin->error;
}
?>`

Change dirname(FILE) on dirname(__FILE__).

Github thought I used markdown...

Do you have logindata.json in project catalog after run script? If no, try change chmod of project catalog on 777.


Error when trying to build map

When trying to quick build or full build a map file, this error occurs:
res://addons/qodot/src/nodes/qodot_map.gd:135 - Invalid call. Nonexistent function 'new' in base 'GDScript'.
Looking at qodot.gd which is referenced in that line, it seems that there really is no new function. Is there a way to resolve this issue without modifying the code myself?

As it turns out, I had to upgrade to Godot 4.2 and that resolved the issue.


For discussion

@bnjbvr, I don't mean this a real request to merge but rather to make it easier to discuss what I'm working on until your branch is merged.

Thanks for taking a look; I'll continue in #3


Add new MS MARCO (V1) passage docTTTTTquery expansion

Closes #1730 - since the only changes to the corpus involve whitespace, the results are exactly the same.
I only had to update the corpus path.

Codecov Report

Merging #1732 (a9ee9fd) into master (06fb4f9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1732   +/-   ##
=========================================
  Coverage     57.58%   57.58%
  Complexity     1032     1032
=========================================
  Files           173      173
  Lines          9781     9781
  Branches       1344     1344
=========================================
  Hits           5632     5632
  Misses         3675     3675
  Partials        474      474

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 06fb4f9...a9ee9fd. Read the comment docs.


e2e/scale: update test install values

Default error log level for scale tests to avoid
log burden on the nodes (specially for envoy)
Store only logs for control plane on test exit
Set 1G request/limits for OSM in scale-tests
Verify restarts of control plane processes after
every test iteration.

Signed-off-by: Eduard Serra<EMAIL_ADDRESS>Affected area:

Tests                  [X]

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
X

Codecov Report

Merging #3132 (c4cf686) into main (fc7c844) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #3132   +/-   ##
=======================================
  Coverage   65.80%   65.80%
=======================================
  Files         159      159
  Lines        7281     7281
=======================================
  Hits         4791     4791
  Misses       2464     2464
  Partials       26       26

Flag
Coverage Δ

unittests
65.80% <ø> (ø)

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

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 677245c...c4cf686. Read the comment docs.


Question: playing audio from an async stream

Hello, I like rodio but am struggeling to play audio from a network stream.
Problem
I have a stream of type futures_util::StreamExt which has been fetched using the reqwest crate.
The problem is that this stream does not support Seek and other traits required by rodio.
I tried buffering the stream, then playing it, but it leads to pauses during playing.
This is a live-stream so i cannot download the entire response but must play it in an iterator-like fashion.
I do not know how to convert this stream into a type which implements the required traits used by rodio.
Here is what this stream looks like:
let mut stream = reqwest::get(url).await.unwrap().bytes_stream();

The optimal solution would transform the stream and play it directly.

I managed to stream network mp3:
https://github.com/JasonWei512/code-radio-cli
See mp3_stream_decoder.rs and player.rs.
Basically, you need to:

Remove the Seek trait bound in https://github.com/RustAudio/rodio/blob/master/src/decoder/mp3.rs

Use blocking reqwest:

let response = reqwest::blocking::get(listen_url).unwrap();
let source = Mp3StreamDecoder::new(response).unwrap();  // The Mp3Decoder without `Seek` trait bound in step 1
let sink = rodio::Sink::try_new(&stream_handle).unwrap();
sink.append(source);

Okay, thank you very much, I will soon give this a try :)

Despite this issue being closed, i would like to thank you for your answer.
I too managed to get a successfully working program using your solution.


Number of Comments

This fixes the bug brought up by uma about the number of comments displayed under each post in the home page.

This was solved by #59 by Jimmy so there is no need for this PR.


Add PULL_REQUEST_TEMPLATE.md & CONTRIBUTING.md files

@Aetles made some great points regarding documentation of commits in https://github.com/olefredrik/FoundationPress/issues/1123#issuecomment-341810747. I think one thing that would help improve this is to add .github/PULL_REQUEST_TEMPLATE.md with some basic info requirements for every pull request. More info:
https://help.github.com/articles/creating-a-pull-request-template-for-your-repository/
Along those same lines, we should also add .github/CONTRIBUTING.md to the repo. More info:
https://help.github.com/articles/setting-guidelines-for-repository-contributors/
What do you guys feel we should put in these files?

Great initiative! I think this would be useful indeed. As a rule of thumb, I think that all pull requests should be linked to an issue. That way, we want to make sure that the community gets an opportunity to make feedback before potentially unexpected changes suddenly end up in the master branch. This will apply to bug fixes and introduction of new features.
(I'm the first to admit that I need to get better on this. As there have been no written guidelines for this, I have not always followed my own best practices.)
Consise and descriptive commit messages should also be written down as part of the guidelines.
Do you agree? Do you have anything specific in mind?

@olefredrik I think an issue corresponding to every pull request is a great idea. That and directions for more informative commit messages will be a great start.


Fixed #5745 -- Set page as dirty when changing the overwrite url field (#5762)

Backport https://github.com/divio/django-cms/pull/5762

Coverage increased (+0.04%) to 88.809% when pulling 4200c658e64ba8b40ce21c17ef37487ad4f4a648 on czpython:bp/3.3.x/5762 into 08a0d1f66dd98d6ec590a7a9c304740c33ccf30f on divio:release/3.3.x.

Coverage increased (+0.04%) to 88.809% when pulling 4200c658e64ba8b40ce21c17ef37487ad4f4a648 on czpython:bp/3.3.x/5762 into 08a0d1f66dd98d6ec590a7a9c304740c33ccf30f on divio:release/3.3.x.

Coverage increased (+0.04%) to 88.809% when pulling 4200c658e64ba8b40ce21c17ef37487ad4f4a648 on czpython:bp/3.3.x/5762 into 08a0d1f66dd98d6ec590a7a9c304740c33ccf30f on divio:release/3.3.x.

Coverage increased (+0.04%) to 88.809% when pulling 4200c658e64ba8b40ce21c17ef37487ad4f4a648 on czpython:bp/3.3.x/5762 into 08a0d1f66dd98d6ec590a7a9c304740c33ccf30f on divio:release/3.3.x.


Tooltips are showing text 'SQL' instead of proper tip

This was broken in last vscode merge.

Run a query
Hover over SQL text

Expected

Actual

Fixe in latest insider build


Improve load_file  and save_file speed for bigquery

During testing, we found that the load speed of dataframe -> postgres to be fairly slow. We believe that there should be a faster native way to load data into postgres.
Acceptance criteria:
A notable speed improvement on postgres load and save numbers in the load and save file
detailed instructions for users to add any needed extensions to their database that would enable these features (e.g. s3 support)

We split this ticket into two new ones:

https://github.com/astronomer/astro-sdk/issues/437
https://github.com/astronomer/astro-sdk/issues/429


Add batch/CronJob resource helpers

These helpers would be beneficial to the descheduler operator, which works by creating a cronjob to run the descheduler image. Currently, it is creating this cronjob manually and switching to bindata (and these helpers) would clean up the code nicely

/close
We don't need cronjobs anymore in descheduler operator


[Bug Report] The toast can't show on the popup.

Mint UI version
2.2.5
OS/Browsers version
Windows 10 home basic / Chrome 58.0.3029.81
Vue version
2.2.6
Reproduction Link
This issue is simple, I think it don't need the reproduce link, I also provide the reason I found.
Steps to reproduce
1:Use toast on  to reproduce the issue.
2:The reason I found is the z-index for the popup is larger than 2000, and the toast z-index is 1000, both position are fixed.
What is Expected?
The toast needs to show on the popup.
What is actually happening?
The toast can't show on the popup.

I had the same problem.   Mint UI version: 2.2.13

This problem also occurred when using messageBox on popup


clang-build.ps1: append command line args to clang-flags from cpt.config

Hi,
We use cpt.config to pre-set some parameters. This includes a number of clang-flags.
Now we encountered a use case where in some situations we want to add some flags to that list from the command line.
As far as I can see, a command line parameter is replaced with the setting from cpt.config, not combined (even when the parameter is an array, as is the case with clang-flags).
Any ideas how to handle this use case?

Hello @gerboengels
Right now there is no support for this, and no workaround, but is something we should definitely support.
I think we could properly support that by adding an XML attribute append="true" that can be specified for elements inside cpt.config. Would that work for you?

Hello @gerboengels
Right now there is no support for this, and no workaround, but is something we should definitely support.
I think we could properly support that by adding an XML attribute append="true" that can be specified for elements inside cpt.config. Would that work for you?

Hi @hero101111,
That sounds like a great solution.
I didn't realize until I looked at the source code (and now your suggestion reinforces it) that the settings in cpt.config seem to overwrite the settings from the command line (or append to it with your suggestion, making the cpt.config flags come last).
Intuitively I'd think the settings in cpt.config are the defaults, which you can overwrite (or append to) from the command line.
In most cases this doesn't matter. But for clang-flags, the order might be important. Say, for example, that cpt.config contains -Werror and on the command line I add -Wno-error. The order of these flags matter, with the first one being ignored.
Any thoughts on that? Changing this behaviour might be a breaking change for some users. Maybe cpt.config could get an attribute, stating whether the settings are overwriting or defaults?

Hi @hero101111,
That sounds like a great solution.
I didn't realize until I looked at the source code (and now your suggestion reinforces it) that the settings in cpt.config seem to overwrite the settings from the command line (or append to it with your suggestion, making the cpt.config flags come last).
Intuitively I'd think the settings in cpt.config are the defaults, which you can overwrite (or append to) from the command line.
In most cases this doesn't matter. But for clang-flags, the order might be important. Say, for example, that cpt.config contains -Werror and on the command line I add -Wno-error. The order of these flags matter, with the first one being ignored.
Any thoughts on that? Changing this behaviour might be a breaking change for some users. Maybe cpt.config could get an attribute, stating whether the settings are overwriting or defaults?

Thank you for your input. Indeed, changing the precedence of cpt.config and command line arguments would be a breaking-change in regard to some use cases. I think a new attribute for the root XML element of the cpt.config file would be most suitable for the job, letting the precedence be configurable.

Thank you for your input. Indeed, changing the precedence of cpt.config and command line arguments would be a breaking-change in regard to some use cases. I think a new attribute for the root XML element of the cpt.config file would be most suitable for the job, letting the precedence be configurable.


feat: Select Component Feature Branch (Testing only)

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up FEATURE_DASHBOARD_NATIVE_FILTERS=true FEATURE_DASHBOARD_CROSS_FILTERS=true FEATURE_UX_BETA=true FEATURE_ENABLE_EXPLORE_DRAG_AND_DROP=true FEATURE_ENABLE_TEMPLATE_PROCESSING=true FEATURE_ENABLE_DND_WITH_CLICK_UX=true FEATURE_VERSIONED_EXPORT=true

Found 2 cosmetic issues in data table (can not repo on dev and prod):
1, the row bubble take some time to load when switching between data and sample
https://user-images.githubusercontent.com/81597121/134236002-a61e27d1-6434-4fa8-b767-704a4174bc01.mov
2, rolling down the data table and sample table the column title row is rolling too
https://user-images.githubusercontent.com/81597121/134236077-c5711a38-50fb-41b2-b0b8-a2ff84363376.mov

/testenv up FEATURE_DASHBOARD_NATIVE_FILTERS=true FEATURE_DASHBOARD_CROSS_FILTERS=true FEATURE_UX_BETA=true FEATURE_ENABLE_EXPLORE_DRAG_AND_DROP=true FEATURE_ENABLE_TEMPLATE_PROCESSING=true FEATURE_ENABLE_DND_WITH_CLICK_UX=true FEATURE_VERSIONED_EXPORT=true

Found 2 cosmetic issues in data table (can not repo on dev and prod):
1, the row bubble take some time to load when switching between data and sample

Could not repro
https://user-images.githubusercontent.com/60598000/134532383-88289411-ccca-4694-ae05-acc785b1dfe1.mp4

2, rolling down the data table and sample table the column title row is rolling too

Could not repro as well
https://user-images.githubusercontent.com/60598000/134532462-0ace75ef-fbcb-4862-bf82-5bf03b69dc6a.mp4

3, when adding annotation, need to click ok twice to add one annotation

I could reproduce this one and I am going to tackle it in the appropriate PR.
I also finished all the test cases and could not find any blocker. So I believe we are safe to proceed @jinghua-qa @junlincc


Add task page

Improvements to AddTask page looks and functionality: can now add tasks or events.

@IvanGav The linter and tester don't like this. I'm going to pull and verify because tests don't update unless merged to main so in some cases (if you update tests) they will fail.

Thanks for solving the linting and testing problems @IvanGav ! looks very good so far.


[WIP] Feature/tutorial overview page

Checklist

[x] I tested the changes and all related features on the test server https://artemistest.ase.in.tum.de.
[x] I documented my source code using the JavaDoc / JSDoc style.
[x] I added integration test cases for the server (Spring) related to the features
[x] I added integration test cases for the client (Jest) related to the features
[x] I added screenshots/screencast of my UI changes
[x] I translated all the newly inserted strings

Motivation and Context
This implementation contains an interactive in-app tutorial guide that provides step-by-step explanations on how to use Artemis on the course overview page.
Description
Disclaimer: This implementation is the first draft of the guided tour for the course overview page and the foundation for further implementations/optimization for guided tours. The content and layout is subject to change. The guided tour implementation is only visible to users with ADMIN rights and currently won't be started automatically.
When starting the guided tour from the administration menu, the defined DOM elements for the tour step will be highlighted and the tour step window will be displayed on top of an overlay. The user can navigate through the tour, cancel it, and also start it at any other time in any defined language.
Steps for Testing

Log in to ArTEMiS
Click on Administration Menu
Click on Start Tour
Navigate through guided tour

Screenshots

@lovaiible could you merge develop and work on the feedback? The screencast looks good.
What I would like to know: Is this tutorial only intended for admins or should it also be available for users who do not see Course Administration and Server Administration?

@krusche Hi Stephan, thank you for the feedback. I am currently working on the feedback and trying to get everything resolved this week.
Based on the current implementation, the tour is available for every role (USER, TA, ADMIN), but I limited the visibility of the 'Start tour' button in the account menu to ADMIN for now. That limitation should be removed when 'launching' this guided tour feature for production use.

@thilo-behnke @elkbreeder @ungaralex
Thank you for your feedback! I tried to incorporate all of them in my latest changes. The major implementations that I did are:

Moved all guided tour related code from the components to the guided tour service
Moved  to the NavBarComponent, so that we don't have to include it in every component that we want to implement a guided tour for
Removed the code that handles the orb logic (which we won't need for guided tours in Artemis)
Added/extended JSDocs
Added more unit test and
Migrate Java tests to JUnit5

Hi @thilo-behnke thank you again for the feedback - I implemented all open requests that you had. Regarding the refactoring of mentioned methods for unit testing (since it's an optional request), I would do that if it appears to be necessary for future use cases. Maybe we have to discuss again, if protractor tests wouldn't be more beneficial even though they are prone to changes.

@krusche I made some changes for the database since the last deployment on the test server. Therefore the my initial changelog.xml file should be removed in the db changelog and the guided_tour_settings column should be deleted before this PR is merged and deployed.


Vim mode

User should be able to enable/disable vim mode in Judge0 IDE.
We could use CodeMirror built in functionality for this as we already use CodeMirror for our editors.

I would like to work on this.

@ron-popov go ahead! :smile:

I don't know why but vim mode doesn't work for me , any chance you changed something that broke it ? because it worked on my forked repo.

You tried it on https://ide.judge0.com?

Yes

That's wierd. Try doing hard refresh. Maybe button doesn't save its state because you have third party cookies disabled.

Works now , thanks 😄
I think you can now close this issue.


Magento CosmicSting XXE Testbed

Pretty straightforward testbed with the 2 testbeds for the vulnerable and safe configurations.
About the safe one, turns out the latest Magento image hosted on bitnami is still vulnerable, so I had to manually apply the patch released by Adobe. When bitnami updates the image to a patched one we can consider just changing the version number in the compose file and remove the manual patching.

LGTM.
I think that we can proceed with the PR to Google.


Check if epoll_create1 is implemented by its error code

If binary is statically linked to libc then libc::dlsym will always return NULL. This is the case when a target with musl is used.
To fix this we check if error code of epoll_create1 is ENOSYS.

I marked it as draft because I think it will produce linkage error with glibc < 2.9. In that case I need to use libc::syscall. I will check this and let you know.

Ok ready

Nice! So just to confirm - does this work now with glibc < 2.9?
@dignifiedquire This PR looks good to me, but just wanted to check with you because I believe you previously reported errors on old versions of Android that didn't have epoll_create1.

Nice! So just to confirm - does this work now with glibc < 2.9?

I didn't find a system to test it but yes. SYS_epoll_create1 is defined in libc crate as c_long. And kernel < 2.6.27 will return ENOSYS if system call number is invalid. So it does not depend at all in glibc.

Maybe a silly question, but: is SYS_epoll_create1 present even on unix systems that don't support it? My fear is that this would cause compilation errors due to libc::SYS_epoll_create1 not being present, but I don't know if that should be a concern.

Yes it is present in all Linux systems as a number in libc crate.

Ok great! In that case, I'm ready to merge this PR. :) I'm just gonna wait to see if @dignifiedquire is okay with merging too.

I am quite certain that trying to link to it will result in issues on the android systems I am trying to support. I won’t be close to a computer the next week, so can’t test it myself

@dignifiedquire No problem, we can wait. If indeed you have linkage error, paste it here.


Support \dddot from AMSTeX

\dddot from AMSTeX = three dots above should be supported. (KaTeX should support AMSTeX as far as possible, I think.)

Is there any workaround how to do \dddot even with Katex?

\stackrel{\cdot\cdot\cdot}{x} is not a terrible reproduction.
You can define this as a macro via {macros: {"\\dddot": "\\stackrel{\\cdot\\cdot\\cdot}{#1}"}}.

Maybe a better version is \stackrel{\raisebox{-0.2ex}{$\scriptsize\cdot\cdot\cdot$}}{x}.
Macro version: {macros: {"\\dddot": "\\stackrel{\\raisebox{-0.2ex}{$\\scriptsize\\cdot\\cdot\\cdot}}{#1}"}}

Reading AMSTeX's definition of \dddot:
\def\dddot#1{{\mathop{#1}\limits^{\vbox to-1.4\ex@{\kern-\tw@\ex@
 \hbox{\normalfont ...}\vss}}}}

a maybe closer reproduction in KaTeX is \mathop{x}\limits^{\hbox{...}}
Or {macros: {"\\dddot": "\\mathop{#1}\\limits^{\\hbox{...}}"}}
But KaTeX seems to do the italic correction incorrectly, so this doesn't look great with e.g. A. Possibly related to #1821.

One more version that fixes the vertical alignment (but still has the italic correction issue):
{\overset{\raisebox{-0.1ex}{\normalsize ...}}{x}}"
{macros: {"\\dddot": "{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"}}

Pretty close to LaTeX's rendering:

This seems close enough that I'll work it into a PR.


Fix/plugin server release lock

Summary
DO NOT SQUASH WHEN MERGING! There are 2 separate commits that need to be merged.
When the plugin server sock is not ready and a request comes, the "not ready" error will leak lock, fail to release the instance, and cause the CPU to reach 100%.
Checklist

[x] There's an entry in the CHANGELOG
[ ] The Pull Request has tests N/A. This is hard to test with CI.
[ ] There is a user-facing docs PR N/A

Issue reference
KAG-1204

Is it possible to add a test to verify this behavior?

Is it possible to add a test to verify this behavior?

It's difficult, and could be a source of flakiness.

DO NOT SQUASH WHEN MERGING! There are 2 separate commits that need to be merged.
Now this PR has 4 commits, should we rebase it?

DO NOT SQUASH WHEN MERGING! There are 2 separate commits that need to be merged.
Now this PR has 4 commits, should we rebase it?

Let's squash and merge. But keep the 2 commits' message.


About SynologyPhotos

SynologyPhotos is also related to AME
The new DSM will also refuse to install the old version.
Is it possible to also install older versions of SynologyPhotos?

The current version of Synology Photos just needs the HEIC codec be installed.
If you run Video_Station_for_DSM_722 it will install the previous Advanced Media Extensions so you can enable HEVC (which includes HEIC).
Then you can uninstall Video Station and Media Server if you don't need those.


fix net_disc gradient bug

Related to this issue.

I think in https://github.com/GaParmar/img2img-turbo/blob/573dfdd3b1cb6caf6a3c69dabe137200eab26f3c/src/train_pix2pix_turbo.py#L217
There is also this issue. Strangely, theoretically,  this bug would have an impact on the results? Why do the results in the paper look good

This bug wasnt there in the model trained for the results in the paper. I think this got introduced when I was cleaning up the repo.
-Gaurav

I tried this fix, but I still observe the issue that horses will stay horses and not look like zebras in the slightest.
I think there's probably more changes needed. @GaParmar do you maybe have the source from before the cleanup?

@Yuxinn-J I have tried with the original version, with this fix and some more fixes by myself, but all were unsuccessful in reproducing the Zebra results.

Do I get it right that the Zebra case is not working for anyone? @GaParmar, maybe write that on the main page, as people might be wasting resources while trying to train this or other cases...
Is there some working version to train CycleGan unpaired?

I looked into the training issue today. The culprit seems to be mixed precision training.
I think you will obtain much better results once you disable mixed-precision training.
Cheers,
Gaurav


Don't convert int array input to floatx

In tf.keras, int array input is not converted to floatx. In keras-core, all array input is converted to flaotx.
This feels both like a regression compatibility wise, and quite surprising generally for subclass models. There are plenty of valid reasons to pass some int input to a model.
https://colab.research.google.com/gist/mattdangerw/2a030f1b14ec4fa3347711e84541e6d7/array-conversion-discrepency.ipynb

Yeah, some missing cases for this class generally. Added.


Fix tests severity

Will update the unit test for some of the DSC rule severity.

This one is fixed by #140


2023/10/23

Describe the bug
X-Plane 11.55 random crash when use AutoOrtho (0.7.0)
0:45:55.088 I/ATC: ROBIN 2+2 (DR-400) 3YV, Gap Tallard altimeter 2 9 8 7.
0:46:30.560 E/ATC: Tried playing a wave file that doesn't exist: ')'
0:46:32.827 I/SCN: DSF load time: 286 for file Custom Scenery/simHeaven_VFR-Aerials/Earth nav data/+40+000/+45+008.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:32.827 I/SCN: DSF load time: 1293 for file Custom Scenery/simHeaven_VFR-Aerials/Earth nav data/+40+000/+45+006.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:32.827 I/SCN: DSF load time: 21084 for file Custom Scenery/simHeaven_VFR-Landmarks/Earth nav data/+40+000/+45+006.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:32.827 I/SCN: DSF load time: 26983 for file Custom Scenery/simHeaven_VFR-Landmarks/Earth nav data/+40+000/+45+008.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:32.827 I/SCN: DSF load time: 878 for file Custom Scenery/simHeaven_X-Europe-1-vfr/Earth nav data/+40+000/+45+008.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:32.827 I/SCN: DSF load time: 13013 for file Custom Scenery/simHeaven_X-Europe-3-details/Earth nav data/+40+000/+45+006.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:32.827 I/SCN: DSF load time: 10997 for file Custom Scenery/simHeaven_X-Europe-3-details/Earth nav data/+40+000/+45+008.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:32.971 I/SCN: DSF load time: 96884 for file Custom Scenery/simHeaven_X-Europe-4-extras/Earth nav data/+40+000/+45+006.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:33.016 I/SCN: DSF load time: 31756 for file Custom Scenery/simHeaven_X-Europe-5-footprints/Earth nav data/+40+000/+45+006.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:33.016 I/SCN: DSF load time: 134706 for file Custom Scenery/simHeaven_X-Europe-4-extras/Earth nav data/+40+000/+45+008.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:33.113 I/SCN: DSF load time: 104699 for file Custom Scenery/simHeaven_X-Europe-5-footprints/Earth nav data/+40+000/+45+008.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:33.156 I/SCN: DSF load time: 146511 for file Custom Scenery/simHeaven_X-Europe-6-scenery/Earth nav data/+40+000/+45+006.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:33.200 I/SCN: DSF load time: 47602 for file Custom Scenery/simHeaven_X-Europe-7-forests/Earth nav data/+40+000/+45+006.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:33.431 I/SCN: DSF load time: 291357 for file Custom Scenery/simHeaven_X-Europe-6-scenery/Earth nav data/+40+000/+45+008.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:33.431 I/SCN: DSF load time: 202694 for file Custom Scenery/simHeaven_X-Europe-8-network/Earth nav data/+40+000/+45+006.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:33.478 I/SCN: DSF load time: 55146 for file Custom Scenery/simHeaven_X-Europe-7-forests/Earth nav data/+40+000/+45+008.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:33.529 I/SCN: DSF load time: 80869 for file Custom Scenery/Global Airports/Earth nav data/+40+000/+45+006.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:33.666 I/SCN: DSF load time: 118987 for file Custom Scenery/yAutoOrtho_Overlays/Earth nav data/+40+000/+45+006.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:33.921 I/SCN: DSF load time: 411455 for file Custom Scenery/simHeaven_X-Europe-8-network/Earth nav data/+40+000/+45+008.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:34.195 I/SCN: DSF load time: 218216 for file Custom Scenery/Global Airports/Earth nav data/+40+000/+45+008.dsf (0 tris, 0 skipped for 0.0 m^2)
0:46:34.408 I/SCN: DSF load time: 181024 for file Custom Scenery/yAutoOrtho_Overlays/Earth nav data/+40+000/+45+008.dsf (0 tris, 0 skipped for 0.0 m^2)
--=={This application has crashed!}==--
(please complete the following information):

OS: Linux Ubuntu 22.04
XPlane Version: 11
AutoOrtho Version 0.7.0
Filesystem type EXT4 with FUSE (documentation)

What does autoOrtho log say... because xplane can crash because of many reasons

Que dit le journal autoOrtho... parce que xplane peut planter pour de nombreuses raisons

AutoOrtho :
INFO:aostats:STATS: ID: {'cur_mem_mb': 2685, 'chunk_miss': 168720, 'req_ok': 139633, 'bytes_dl':<PHONE_NUMBER>, 'tile_mem_miss': 17425, 'count': 404804, 'chunk_hit': 268096, 'partial_mm_averages': {0: 0.001}, 'partial_mm_counts': {0: 17570}, 'mm_counts': {0: -1, 1: 390, 2: 962, 3: 1672, 4: 14561}, 'mm_averages': {0: -1, 1: 0.034, 2: 0.01, 3: 0.003, 4: 0.001}, 'retry_chunk_count': 10569, 'backup_chunk_count': 2919, 'chunk_missing_count': 1111, 'tile_mem_hits': 143, 'minutes_to_start': 3.96}
INFO:aostats:STATS: ID: {'cur_mem_mb': 2685, 'chunk_miss': 168797, 'req_ok': 139707, 'bytes_dl':<PHONE_NUMBER>, 'tile_mem_miss': 17428, 'count': 404945, 'chunk_hit': 268163, 'partial_mm_averages': {0: 0.001}, 'partial_mm_counts': {0: 17573}, 'mm_counts': {0: -1, 1: 391, 2: 962, 3: 1673, 4: 14562}, 'mm_averages': {0: -1, 1: 0.034, 2: 0.01, 3: 0.003, 4: 0.001}, 'retry_chunk_count': 10570, 'backup_chunk_count': 2919, 'chunk_missing_count': 1111, 'tile_mem_hits': 143, 'minutes_to_start': 3.96}
INFO:aostats:STATS: ID: {'cur_mem_mb': 2685, 'chunk_miss': 168843, 'req_ok': 139747, 'bytes_dl':<PHONE_NUMBER>, 'tile_mem_miss': 17433, 'count': 405088, 'chunk_hit': 268266, 'partial_mm_averages': {0: 0.001}, 'partial_mm_counts': {0: 17578}, 'mm_counts': {0: -1, 1: 391, 2: 964, 3: 1673, 4: 14565}, 'mm_averages': {0: -1, 1: 0.034, 2: 0.01, 3: 0.003, 4: 0.001}, 'retry_chunk_count': 10573, 'backup_chunk_count': 2919, 'chunk_missing_count': 1111, 'tile_mem_hits': 143, 'minutes_to_start': 3.96}
INFO:autoortho_fuse:OPEN: Detected DSF open: /Earth nav data/+40+030/+48+031.dsf
INFO:autoortho_fuse:OPEN: Detected DSF open: /Earth nav data/+40+030/+48+031.dsf
INFO:autoortho_fuse:RELEASE: Detected DSF close: /Earth nav data/+40+030/+48+031.dsf
INFO:autoortho_fuse:OPEN: Detected DSF open: /Earth nav data/+40+020/+48+029.dsf
INFO:aostats:STATS: ID: {'cur_mem_mb': 2685, 'chunk_miss': 168939, 'req_ok': 139832, 'bytes_dl':<PHONE_NUMBER>, 'tile_mem_miss': 17444, 'count': 405363, 'chunk_hit': 268456, 'partial_mm_averages': {0: 0.001}, 'partial_mm_counts': {0: 17589}, 'mm_counts': {0: -1, 1: 391, 2: 966, 3: 1677, 4: 14570}, 'mm_averages': {0: -1, 1: 0.034, 2: 0.01, 3: 0.003, 4: 0.001}, 'retry_chunk_count': 10577, 'backup_chunk_count': 2919, 'chunk_missing_count': 1111, 'tile_mem_hits': 143, 'minutes_to_start': 3.96}
INFO:flighttrack:FT: Flight disconnected.
INFO:flighttrack:UDP listen thread exiting...
INFO:flighttrack:UDP listen thread exiting...
INFO:flighttrack:UDP listen thread exiting...
X-plane 11 :
3:46:34.131 I/ATC: S-76 6XP, Climb and maintain 9 thousand.
124thATC v2.0-a61 01:14:15: DEBUG: Checking obstacles...
3:46:39.173 I/ATC: Up to 9 thousand, S-76 6XP.
3:46:39.403 I/SCN: DSF load time: 12217 for file Custom Scenery/simHeaven_VFR-Landmarks/Earth nav data/+40+030/+48+031.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.403 I/SCN: DSF load time: 5417 for file Custom Scenery/simHeaven_VFR-Landmarks/Earth nav data/+40+020/+48+029.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.403 I/SCN: DSF load time: 3243 for file Custom Scenery/simHeaven_X-Europe-3-details/Earth nav data/+40+030/+48+031.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.403 I/SCN: DSF load time: 2404 for file Custom Scenery/simHeaven_X-Europe-3-details/Earth nav data/+40+020/+48+029.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.444 I/SCN: DSF load time: 40047 for file Custom Scenery/simHeaven_X-Europe-4-extras/Earth nav data/+40+030/+48+031.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.444 I/SCN: DSF load time: 46310 for file Custom Scenery/simHeaven_X-Europe-4-extras/Earth nav data/+40+020/+48+029.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.516 I/SCN: DSF load time: 62216 for file Custom Scenery/simHeaven_X-Europe-5-footprints/Earth nav data/+40+030/+48+031.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.516 I/SCN: DSF load time: 74237 for file Custom Scenery/simHeaven_X-Europe-5-footprints/Earth nav data/+40+020/+48+029.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.561 I/SCN: DSF load time: 64802 for file Custom Scenery/simHeaven_X-Europe-6-scenery/Earth nav data/+40+030/+48+031.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.603 I/SCN: DSF load time: 23377 for file Custom Scenery/simHeaven_X-Europe-7-forests/Earth nav data/+40+030/+48+031.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.603 I/SCN: DSF load time: 72153 for file Custom Scenery/simHeaven_X-Europe-6-scenery/Earth nav data/+40+020/+48+029.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.603 I/SCN: DSF load time: 18776 for file Custom Scenery/simHeaven_X-Europe-7-forests/Earth nav data/+40+020/+48+029.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.643 I/SCN: DSF load time: 40999 for file Custom Scenery/simHeaven_X-Europe-8-network/Earth nav data/+40+030/+48+031.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.688 I/SCN: DSF load time: 38788 for file Custom Scenery/simHeaven_X-Europe-8-network/Earth nav data/+40+020/+48+029.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.688 I/SCN: DSF load time: 21141 for file Custom Scenery/yAutoOrtho_Overlays/Earth nav data/+40+030/+48+031.dsf (0 tris, 0 skipped for 0.0 m^2)
3:46:39.688 I/SCN: DSF load time: 21852 for file Custom Scenery/yAutoOrtho_Overlays/Earth nav data/+40+020/+48+029.dsf (0 tris, 0 skipped for 0.0 m^2)
--=={This application has crashed!}==--
I Joint scenery_packs.ini
scenery_packs.ini.txt

Autre plantage, là aucune info pertinente dans le log de AutoOrtho, seul celui de XP11 :
1:39:43.856 I/SCN: DSF load time: 78606 for file Custom Scenery/simHeaven_X-Europe-8-network/Earth nav data/+40+020/+46+029.dsf (0 tris, 0 skipped for 0.0 m^2)
1:39:43.901 I/SCN: DSF load time: 52112 for file Custom Scenery/yAutoOrtho_Overlays/Earth nav data/+40+020/+46+029.dsf (0 tris, 0 skipped for 0.0 m^2)
1:39:45.541 I/SCN: DSF load time: 1809371 for file Custom Scenery/z_ao_eur/Earth nav data/+40+030/+46+031.dsf (219320 tris, 21 skipped for -2.9 m^2)
1:39:46.179 E/DSF: The DSF Custom Scenery/simHeaven_X-Europe-8-network/Earth nav data/+40+030/+46+031.dsf has a number of problems with its road network: 1 doubled nodes, 0 direction reverses, 0 short segments, 1 roads deleted.
--=={This application has crashed!}==--

Although my French is not that good, I find nothing that suggest AO is the problem of XP11 crashing. Have a look at the windows events and see if there was an error reported.

Bien que mon français ne soit pas très bon, je ne trouve rien qui suggère qu'AO soit le problème du crash de XP11. Jetez un œil aux événements Windows et voyez si une erreur a été signalée.

Hello,
No, I'm on Linux, without AO, my flight has no problem...
So obviously something goes wrong at some point.

Then I don't know, not on linux myself. Still I suggest to look at other logs, as AO is using fuse, might be a problem there..

Alors je ne sais pas, pas moi-même sous Linux. Je suggère néanmoins de consulter d'autres journaux, car AO utilise un fusible, cela pourrait y être un problème.

Good idea, I'll look at that and come back...

Just raised another issue - but it's the same as this I realised. I get random crashes - most flights in fact crash mid-flight. I'm on Linux Mint 21.2 (Ubuntu based). Have a look at the issue I created.
I rolled back to 0.4.4 which is the last version I can run without the issue so it's definitely introduced since then. I also am very confident that it's AO causing the crashes as I removed all other plug-ins and scenery additions. Still got problem. Removed AO and problem went away. Added AO v0.7.0 back and problem back again.

"Je suis revenu à la version 0.4.4" Do you have some link ?

You can get 0.4.4 here. https://github.com/kubilus1/autoortho/releases/download/0.4.4/autoortho_lin.bin
0.4.4 runs on my system flawlessly. I haven't tested 0.5.1, but 0.6.0 and above introduces this issue.
Usually about an hour into a flight before X-Plane crashes.


Automation for Azure deployment

Requires issue #2 to be complete !
Create a GitHub Action to automate the process of deploying this application to Azure Web Apps using a containerized workflow. This process will require setting up a container registry on Azure and creating an Azure Service Principal that has enough permissions for the deployment to initiate from the GitHub Action.
The Service Principal process creates a JSON blob that needs to be stored as a secret to be used within the GitHub Action.

GitHub Copilot suggested steps:
To build and deploy this solution to Azure API Management using GitHub Actions, you need to follow these steps:

[ ] 1. Create an Azure API Management instance if you don't have one already.
[ ] 2. Create a service principal for the GitHub Actions to use.
[ ] 3. Store the service principal credentials as secrets in your GitHub repository.
[ ] 4. Create a GitHub Actions workflow file that builds and deploys your solution.

Here is a sample GitHub Actions workflow file that you can use as a starting point:
name: Build and Deploy to Azure API Management

on:
  push:
    branches:
      - main  # Trigger this workflow on push to the main branch

jobs:
  build-and-deploy:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout code
      uses: actions/checkout@v2

    - name: Set up Python
      uses: actions/setup-python@v2
      with:
        python-version: '3.x'

    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install -r requirements.txt

    - name: Login to Azure
      uses: azure/login@v1
      with:
        creds: ${{ secrets.AZURE_CREDENTIALS }}

    - name: Deploy to Azure API Management
      run: |
        az apim create --name MyApiManagementService --resource-group MyResourceGroup --location WestUS --publisher-email<EMAIL_ADDRESS>--publisher-name Contoso
        az apim import --name MyApiManagementService --resource-group MyResourceGroup --path '/api' --specification-format OpenApiJson --specification-url https://myapi.example.com/openapi.json
      env:
        AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
        AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
        AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
        AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}

Replace MyApiManagementService, MyResourceGroup<EMAIL_ADDRESS>Contoso, and https://myapi.example.com/openapi.json with your actual values.
This workflow file does the following:

[ ] 1. Checks out your code.
[ ] 2. Sets up Python.
[ ] 3. Installs your Python dependencies.
[ ] 4. Logs in to Azure using the service principal.
[ ] 5. Creates an API Management service (if it doesn't exist).
[ ] 6. Imports your API into the API Management service.

Please note that you need to replace the placeholders in the az apim create and az apim import commands with your actual values. Also, you need to store your Azure service principal credentials as secrets in your GitHub repository.


Parser::__callStatic is incorrectly typed

Many of the parseXXX methods that Parser::__callStatic() maps to return NodeList, which is incompatible with its  Node return type.
Parser::argumentsDefinition() for instance, throws a TypeError.
There doesn't appear to be a great way to solve this without breaking the API. Best solution is probably to make public static counterparts to these methods so they avoid __callStatic().

Nice to see someone actually use the partial parse functions.
Converting them to non-magical methods would definitely be the way to go, but involves an unfortunate amount of boilerplate and typing. Something for a rainy, uninspired weekend.


Release 0.0.1-alpha.2

run build production main

run build production main

run build production notifier

run build production main


ScalabilityMode is not defined

Describe the bug
this show up when upgraded from 1.12.1 to 1.12.2
Reproduction
ScalabilityMode is not defined
Logs
No response
System Info
livekit client js: 1.12.2

Severity
annoyance
Additional Information
No response

Hi,
could you please provide the stack trace for where this error shows up?
If it does not show up in the /example in this folder, please also provide steps to reproduce the bug.

  if (svc) {
    // svc layers
    /* @ts-ignore */
    const sm = new ScalabilityMode(encodings[0].scalabilityMode);
    const layers = [];
    for (let i = 0; i < sm.spatial; i += 1) {
      layers.push(
        new VideoLayer({
          quality: VideoQuality.HIGH - i,
          width: width / 2 ** i,
          height: height / 2 ** i,
          bitrate: encodings[0].maxBitrate ? encodings[0].maxBitrate / 3 ** i : 0,
          ssrc: 0,
        }),
      );
    }
    return layers;
  }

LocalVideoTrack.ts:486 Uncaught (in promise) ReferenceError: ScalabilityMode is not defined
    at videoLayersFromEncodings (LocalVideoTrack.ts:486:16)
    at LocalParticipant.<anonymous> (LocalParticipant.ts:711:20)
    at Generator.next (<anonymous>)
    at fulfilled (DefaultReconnectPolicy.ts:33:2)
    at meteor.js?hash=7dd187e6c4c7dc8731ddaf9d1d993d3c3ba5a732:1343:22
videoLayersFromEncodings @ LocalVideoTrack.ts:486
(anonymous) @ LocalParticipant.ts:711
fulfilled @ DefaultReconnectPolicy.ts:33
(anonymous) @ meteor.js?hash=7dd187e6c4c7dc8731ddaf9d1d993d3c3ba5a732:1343
await in (anonymous) (async)
eval @ push-video.js:101
commitHookEffectListMount @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:124444
commitPassiveMountOnFiber @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:126220
commitPassiveMountEffects_complete @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:126185
commitPassiveMountEffects_begin @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:126172
commitPassiveMountEffects @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:126160
flushPassiveEffectsImpl @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:128333
flushPassiveEffects @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:128278
performSyncWorkOnRoot @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:127370
flushSyncCallbacks @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:113336
commitRootImpl @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:128253
commitRoot @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:127976
finishConcurrentRender @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:127275
performConcurrentWorkOnRoot @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:127103
workLoop @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:131503
flushWork @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:131476
performWorkUntilDeadline @ modules.js?hash=a686d9822697c9a800de028e5a51f7f12b526765:131770

@crapthings which browser are you seeing this behavior?

@crapthings which browser are you seeing this behavior?

Chrome latest

Thanks. I see the issue. There was a missing import in the code. Will fix.


Bump libre-graph-api-go and drive group permissions

Expose drive group permissions

Description
Bump libre-graph-api-go

rename drive permission grantedTo to grantedToIdentities tob be ms graph spec compatible.
drive.name is a required property now.
add group property to the identitySet.

Expose drive group permissions

libregraph.Drive response contains group permission informations.

:boom: Acceptance test Core-API-Tests-ocis-storage-7 failed. Further test are cancelled...


The plugin tflite_audio uses a deprecated version of the Android embedding.

The plugin tflite_audio uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding:

Thanks for informing me. I will post an update soon to resolve his issue p.

Hi @rhernandez-itemsoft
I have posted an update on 0.1.9. The plugin should now support Android V2 embedding.
Please let me know if you still see the error message.


Support uuid type for gid column

I'm trying to use uuid as the feature id field, but this does not seem to work.
Does anyone have a workaround for this?
postgis.go:1066: TEGOLA_SQL_DEBUG:EXECUTE_SQL: returned error ERROR: mvt_agg_transfn: Could not find column 'id' of integer type (SQLSTATE XX000)

I have to do a lot of digging again, but I'm 95% sure that this is an issue with the mvt spec, not tegola.

@philhug what @iwpnd said is correct, the MVT spec only supports uint64 values for the id.
If you need to store a uuid in a feature, just add a new tag, called uuid or feature_id or whatever. It wont occupy the id field in the feature, but instead a tag.

were you able to fix the issue @philhug?


Issue running src/main_baoding.py

Trying to run src/main_baoding.py I find the following errror:
AttributeError: type object 'EnvironmentFactory' has no attribute 'register'
I have installed the packages from requirements.txt, although I had to remove the ones that were causing errors from the file, specifically those that have a path in the requirements.txt file, such as 'asttokens' or 'backcall', as they generate errors during the installation.
Thanks

I've managed to fix the isuue replacing  env = EnvironmentFactory.register(ENV_NAME, **env_config) by env = EnvironmentFactory.create(ENV_NAME, **env_config) . Now there is a new error that says AttributeError: 'CustomBaodingP2Env' object has no attribute 'render_mode'


refactor(optimus): update misconfigured api path for runtime_service.proto

Looks like the previous import path is available form compilation, but the one in new change isn't.

@scortier rebased it from main.


Deprecate 'inplace' argument for dask series renaming

See issue #8082

Can one of the admins verify this patch?

ok to test

Thanks @marcelned for making this change - you might need to update some tests as well,  but CI will tell us if that's the case.

Ok! Looks like this needs some linting and some changes in the tests. Here are the docs about how to contribute to dask: https://docs.dask.org/en/latest/develop.html#contributing-to-code let me know if you run into an issues.

rerun tests


Can I increase the division line and change the font color of the day?

You can increase the target Height and layout height:
        android:layout_height="250dp"
        app:compactCalendarTargetHeight="250dp"

This will increate height of the calendar and increase the space between day as well. To change the font color of the day however is not possible. There is a pull request open #188, so it will be done soon.

I've released a new version where you can change the color of the selected day and current day. Hope this solves this issue? Please let me know.

Thank you very much, really can solve my problem.Will there be an underlined plan to follow?

Sorry for delay, did you manage to get the under line showing? I believe it should not be difficult to achieve. Do you want to add underline under current day or On event days?

add underline under current day.


New webcomponent flattening

feat: webcomponent native form post
BREAKING CHANGE: webcomponent api changed and buttons in ui schema are necessary for the webcomponent


Summarize Build Time per Pods Target

We are heavily using Cocoapods in our projects. We usually have a lot of pods included to our app targets.
It would be nice to see which Pods (Swift module) takes up the most time to compile.
Without knowing how this tool works, here my brain dump ideas :D

accumulate all build times from same Pod (Swift module)
display a new list for all the Swift modules
clicking on one item in the list opens current view what we have, but just filtered by that Swift module only

Do you have any starting points how to achieve this feature?


Pull in shakedown as an editable dependency.

Summary:
We have a lot of Shakedown changes pending in tests/system/common.py.
So far it takes a few steps to move the changes to Shakedown and then
pull them back again. This patch eases the process by importing
Shakedown as a git-subrepo. It allows making changes to Shakedown in the
Marathon repository and push changes upstream to create pull requests
for Shakedown. This way Shakedown in Marathon will be slightly ahead of
the Shakedown master but also ensure that the Shakedown master will
stay up-to-date.

This is a proposal of mine. Please take a quick look at git-subrepo. It's less scary than it seems.
If you are using Shakedown in Marathon you have to do nothing except call the tests with Pipenv as the CI already does:
cd tests/system && make test

or
cd tests/system
pipenv shell
shakedown test_marathon_root.py::<test name>

or
cd tests/system
pipenv run shakedown test_marathon_root.py::<test name>

If you want to make edits to Shakedown simply edit the files in tests/shakedown and commit them to the Marathon repo.
Once these commits landed or event before you can push the changes to a Shakedown branch with
git subrepo push tests/shakedown -b my-feature

I guess that only applies for Shakedown contributors.
If we want changes from Shakedown we can pull them with
git subrepo pull tests/shakedown -b master

git-subrepo will squash upstream patches in one update commit to keep Marathons commit history clean.
This way we get both benefits. A local Shakedown for fast iteration and upstream patches.


Update Nutanix E2E to determine UUID from name

Description of changes:
With this change, we won't have to go update the UUIDs manually in the CI every time we build a new image or change cluster or subnet.
This will be especially helpful when we enable Nutanix image-builder CI as we won't have to update the different image UUIDs every time a image is built by the CI.
Testing (if applicable):
Ran E2E locally and validated the results
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve
/woof


Attempt at reversing translation

Hi,
I have attempted to reverse a translation from Danish to English because I'd like the standard language to be English. My approach has been swapping the terms in the .po file for every entry. I have double checked the original and the new file and it's 100% correctly reversed. Here are the two files (changed from .po to .txt in order to upload):
Original:
original.txt
Reversed:
translated.txt
When I open the new .po file in poedit , i get that 87% is translated but the remaining i get the error "Error: this is the position of the first declaration". Does the .po file become corrupt when you swap the terms in the .po file like i did? Any other ways to reverse the translation? I really thought this would work :)

This is a bug tracker, for reporting bugs, not asking idle questions (and especially ones that have no relation to Poedit at all!). Please respect https://poedit.net/support
If you’re manually changing PO files, a prerequisite is becoming competent with the file format. At the barest minimum, you should have read the GNU gettext manual and/or Pology’s PO format spec — it would then be obvious to you what the error means, if it is somehow unclear to you now.
I’m glad to help with hairy issues (via proper channels), but you have to make an effort to study publicly available documentation first.

Check if there are no duplicate source (Danish) strings in the reversed file.
-------- Исходное сообщение --------
От: jonasgroendahl<EMAIL_ADDRESS>Дата: 19.01.2017  17:09  (GMT+03:00)
Кому: vslavik/poedit<EMAIL_ADDRESS>Копия: Subscribed<EMAIL_ADDRESS>Тема: [vslavik/poedit] Attempt at reversing translation (#324)
Hi,
I have attempted to reverse a translation from Danish to English because I'd like the standard language to be English by swapping the terms in a .po file.. I have double checked the original and the new file and it's 100% correctly reversed. Here are the two files (changed from .po to .txt in order to upload):
Original:
original.txt
Reversed:
translated.txt
87% is translated but the remaining i get the error "Error: this is the position of the first declaration". Does the .po file become corrupt when you swap the terms in the .po file like i did? Any other ways to reverse the translation? I really thought this would work :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/vslavik/poedit","title":"vslavik/poedit","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/vslavik/poedit"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Attempt at reversing translation (#324)"}],"action":{"name":"View Issue","url":"https://github.com/vslavik/poedit/issues/324"}}}

thanks for the tip, that was one of the problems, i wasn't aware of the requirement for the msgids to be unique. still trying to figure out the second error message that im getting from poedit!


Clarify Defender for Containers documentation

Throughout the "Protect your containerized environments" pages there are references to "Defender for Containers" and "Defender for Cloud."  It is unclear how to use these two terms, and when one, or the other, should be used.
For instance, on the Vulnerability assessment page, the FAQ mentions "Defender for Cloud" is what pulls and scans an image, however this feature is listed here as a Microsoft Defender for Containers feature.
Perhaps some clarifying comments on the Overview page would help, and a comb through of the use of these two terms throughout this section?  I expect that "Defender for Containers" is meant to be seen as a feature of "Defender for Cloud", given it is broken out on the pricing page.  It may be that "Defender for Cloud" does more when "Defender for Containers" is enabled and configured, and that "Defender for Cloud" is what is providing the functionality?
Right now I can make an educated guess as to the right way to use these terms, but it would be useful to have a clearer distinction, if even just via a single paragraph in the docs.

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

ID: 29434ef1-ac47-9226-c97a-b3ebd76438b1
Version Independent ID: d7ca7e00-09b4-819d-2e8b-f7699024a0e4
Content: How to use Defender for Containers to identify vulnerabilities
Content Source: articles/defender-for-cloud/defender-for-containers-usage.md
Service: defender-for-cloud
GitHub Login: @bmansheim
Microsoft Alias: benmansheim

@JonZeolla
Thanks for your feedback! We will investigate and update as appropriate.


Update core

What was changed

Update core

Remove in-lang activity shutdown logic
Other minor things since changed

Update tokio and many other dependencies

Can ignore all generated protos for the most part. Substantive changes are not very big.

I've said it before and I'll say it again, checked in generated code makes for annoying diffs. 😛

I too often repeat - seeing all code that can run in the repo makes for happy developers and users of the library. cargo doc takes forever just so I can even see the proto classes created. And it's hard to link to, say, a language's proto class in repo if it's not there.

Moving to draft while I investigate CI issues