Find out possible datatypes for a neo4-Property

Currently we are not sure which datatypes which datatypes the elements of the field properties of a neo4j-element can have.

According to the neo4j documentation, the possible datatypes are
Integer, Float, String, Boolean, Point, Date, Time, LocalTime, DateTime, LocalDateTime, and Duration

I cannot say how these map to js/ts types however.


Can't deploy it

Heroku has blocked me deploying it :/

We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy

@Chasing66 Does it work for you?

yes, it's the same. Heroku has blocked it

yes, it's the same. Heroku has blocked it

it is possible to transfer to okteto.com netlify.com

My okteto account is disable due to running it, so okteto is not allowed to run it.
netlify is used for static web, not suitabe for this, you need find a container or K8s platform


Need to voice out welcome card

Version
4.7 CDN
Describe the bug
i understand that there has to be voice input to invoke the synthesizer,but if we need the data in the welcome card to be spoken out there must be a way to initialize this.
Additional context
Using webchat in an angular app.

[Bug]

If you want to Web Chat to speak the contents of a rich card, you will have to set the speak property in the activity to what you want to be spoken - Web Chat does not convert rich cards to speech. See https://github.com/microsoft/BotFramework-WebChat/issues/1863 for details.
await context.sendActivity({
    attachments: [ getWelcomeCard() ],
    speak: 'Web Chat should speak this'
});

Also, if you want Web Chat to speak an incoming activity without having to have the user speak first, you can set the speak property in activity's channelData to true. https://github.com/microsoft/BotFramework-WebChat/issues/2181#issuecomment-518413590 provides more detail on this behavior.
await context.sendActivity({
    attachments: [ getWelcomeCard() ],
    speak: 'Web Chat should speak this'
    channelData: { speak: true }
});


Coral_loss importance_weights

Hi,
I have a classification task for a rating system over 5 classes. I want now to switch to ordinal regression but I am a bit lost regarding the importance weights.
So for the moment, for example, my weights are, for my 5 classes : tensor([1.4237, 1.0000, 2.4000, 1.2923, 1.1200])
(so my dominant class is 2 and the one with the least examples is the 3)
How should I convert it to pass it to importance_weights of coral_loss ?
Regards,

Hi there,
We didn't include the last rank due to redundancy. E.g., if you have the 5 classes 0, 1, 2, 3, 4. The 4 tasks are then p(y > 0), p(y > 1), p(y > 2), p(y > 3). If p(y > 3) is greater than 0.5, we assume it's class 4.
So the weight for the first task p(y > 0) would be for deciding between class 0 and 1. I am not sure whether using

tensor([1.4237, 1.0000, 2.4000, 1.2923])
or tensor([1.0000, 2.4000, 1.2923, 1.1200])

would be more appropriate for this situation. Or, maybe the compromise:
tensor([(1.4237+1.0000 / 2), (1.0000+2.4000)/2, (2.4000+1.2923)/2, (1.2923+1.1200)/2])

Hi, I was asking myself something similar.
I was thinking that maybe, since all K-1 tasks are binary tasks, it would be to restructure equation 4 in the paper so that a different weight is assigned to the two terms in the binary cross entropy in order to "balance" each single binary problem, i.e. you have λ(k)(0,1). In this case λ(0)(0)=1.4237 and λ(0)(1)= 1.0000+2.4000+1.2923+1.1200;  λ(1)(0)=1.4237+1.0000 and λ(1)(1)= 2.4000+1.2923+1.1200 etc.
I would appreciate any feedback on this.

So the weight for the first task p(y > 0) would be for deciding between class 0 and 1. I am not sure whether using

My logic n the comment above is that the first task would be for deciding between class 0 and any of [1,2,3,4].  Not sure I am correct however 😉.

The compromise Tensor([(1.4237+1.0000) / 2, (1.0000+2.4000) / 2, (2.4000+1.2923) / 2, (1.2923+1.1200) / 2]) makes sense to me, when we think about each output neuron as being responsible to decide between one of two classes.

So first to recap/confirm, to have a weighting scheme roughly proportional to the number of observations per class (suppose there's at least one of each class in train_df), we are saying one should do:
weight = 1.0 / train_df.groupby("labels")["text"].count()
weight /= weight.min()
weight = weight.iloc[:-1] + weight.iloc[1:]
importance_weights = torch.Tensor([weight.tolist() for _ in range(len(labels))])

However, I don't understand how this could be the case. I'm presuming the original 5 weights of the OP were normalized somehow since one of them is exactly 1.0000 (and it's the min of the 5). Wouldn't that mean there's only 4 degrees of freedom among the 5 weights? Which implies there should be a direct mapping of the 5 weights to the 4 positions in importance_weights?
I can only assume that there's an implicit dummy weight to be found for p(y==0) equal to 1 and that the answer in the back of the book would be the following (first and last lines are the same as the above):
weight = 1.0 / train_df.groupby("labels")["text"].count()
weight /= weight.iloc[0]
weight = weight.iloc[1:]
importance_weights = torch.Tensor([weight.tolist() for _ in range(len(labels))])

I'd like to solve the puzzle!
Importance weights should be viewed as completely separate from class weights. Going by the code, one could create a matrix of per-sample "importance" weights (the documentation says to use a vector but the function doesn't actually check the size of importance_weights, just multiplies it against the loss). You could ignore the dimension of K-1 classifiers entirely, giving each classifier the same weight for a given sample and just weighting each sample based on its class.


Adding a transformer to sessionize a table

Problem Description
In a table representing events with timestamps, it is often useful to detect sessions -- groups of events that occurred close to each other.
For example, a few visits to the hospital a few days apart are likely to be exams and follow-ups related to the same medical event. Or we may want to detect when a user walks away from an app, website, service etc and later comes back to it. Then features like number of sessions, session length etc can be extracted.
Examples from Ibis, polars and SODA using logs from a video game:
https://ibis-project.org/how-to/timeseries/sessionize
https://www.pola.rs/posts/the-expressions-api-in-polars-is-amazing/
https://github.com/soda-inria/survival-analysis-benchmark/blob/main/notebooks/tutorial_part_2.py
Would it be in the scope of skrub to have a transformer that adds a "session id" column to a dataframe, and maybe extracts some features such as session length?
Feature Description
transform a table by detecting sessions and adding related information
Alternative Solutions
No response
Additional Context
No response

I wouldn't mind working on this if folks agree. This session stuff is the the prime villain in any story about data leakage in ML pipelines.

I wouldn't mind working on this if folks agree. This session stuff is the the prime villain in any story about data leakage in ML pipelines.

Awesome.
However, I would delay working on this, as with @JeromeDockes we are in the middle of a huge refactor of skrub.
We need to put notes of this discussion on the skrub repo

@koaning part of the changes Gaël mentions is being worked on in #877
Feel free to provide feedback and advice!

One observation since responding to this all those months ago ...
Do we generally want to add sessions to the dataset before calling train/test split? I think we might! The session may be what we need in order to split events into groups which define the train/test splits. If that's the case ... do we want to have a pipeline that runs before we split train/test?

do we want to have a pipeline that runs before we split train/test?

At some point we will have to address this, and I think that it means that at some point the "Recipe" should know how to split data.
In the short term, I would rather not move forward with showing explicitly a pipeline before the split, as I worry about leaks.


Create Documentation for external Users

We need documentation for external users (English / German). We should have at least:

a repo overview
a concept, of how we want to do documentation on a daily work base (e.g. definition of done)
a definition of the current state

Merged with #394


Using bind()

Research

Notes related to bind research:
nl_pid: The unicast address of a netlink socket. For kernel netlink sockets, it should be 0.
Userspace applications sometimes set the nl_pid to be their process id (pid). In a userspace
application, when you set nl_pid explicitly to 0, or don’t set it at all, and afterwards call
bind(), the kernel method netlink_autobind() assigns a value to nl_pid. It tries to assign
the process id of the current thread. If you’re creating two sockets in userspace, then you are
responsible that their nl_pids are unique in case you don't call bind. Netlink sockets are not
used only for networking; other subsystems, such as SELinux, audit, uevent, and others, use
netlink sockets. The rtnelink sockets are netlink sockets specifically used for networking; they
are used for routing messages, neighbouring messages, link messages, and more networking
subsystem messages


Fix scrolling behavior during an animation.

When you interrupt an easing animation by using the scrollbar it causes
screen flickering. This patch prevents the bug by checking if the scroll
bar is being used and stopping animations when it is.

This created an issue where the first time loading the page the scrolling effect would not work on the first scroll.


cacheAsBitmap not working for a container

I have a container which holds 135x135 sprites, all 32x32 px. As they never change, this would seem a perfect case for cacheAsBitmap. Unfortunately, setting it to true makes the container disappear entirely, without any message in the console. When not using cacheAsBitmap, the performance is incredibly slow.

I also have this issue. It used to work.

Hello! Have you preloaded your assets?

Yes. This is the exact TypeScript code for reference:
        // fetch the background texture and create tile textures
        let
            texture = PIXI.BaseTexture.fromImage(map.image, false, PIXI.SCALE_MODES.NEAREST),
            textures: PIXI.Texture[] = [];

        for (let y = 0; y < texture.height; y += this.tileHeight) {
            for (let x = 0; x < texture.width; x += this.tileWidth) {
                let
                    width = (x + this.tileWidth > texture.width) ? (texture.width - x) : (this.tileWidth),
                    height = (y + this.tileHeight > texture.height) ? (texture.height - y) : (this.tileHeight);

                textures.push(new PIXI.Texture(texture, new PIXI.Rectangle(x, y, width, height)));
            }
        }

        // we now have tiles, so let's create the background object and render our static background
        let background = new PIXI.Container();
        background.cacheAsBitmap = true;

        for (let y = 0; y < map.rows; ++y) {
            for (let x = 0; x < map.columns; ++x) {
                let tileSprite = new PIXI.Sprite(textures[map.data[y * map.columns + x]]);
                tileSprite.x = x * this.tileWidth;
                tileSprite.y = y * this.tileHeight;

                background.addChild(tileSprite);
            }
        }

        this.app.stage.addChild(background);

I see! You must set cacheAsBitmap after you added the assets - cachingAsBitmap will instantly take a snapshot of the displayObject as it currently is. hope that helps!

If you could provide an isolated example for us to test that would be ace. thanks!

Hi Matt I noticed something similar before.
http://pixijs.github.io/examples/#/basics/container.js
if on line 28 I add
container.cacheAsBitmap =true;
container.x = 100;
container.y = 60;
container.cacheAsBitmap =true;
// start animating
animate();
all the bunnys dissapear
Is this correct behaviour?
Cheers
On Fri, 27 Jan 2017 at 12:07 Mat Groves<EMAIL_ADDRESS>wrote:

If you could provide an isolated example for us to test that would be ace.
thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pixijs/pixi.js/issues/3658#issuecomment-275651482,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAipZEvVsglCjCD7e2XoOx-S2h8NjWC9ks5rWd3rgaJpZM4LvelQ
.

its because the assets have not loaded yet, at that point your are caching unloaded textures.
If you give it a little time to load it should work fine 👍
  alert("CACHE")
	container.cacheAsBitmap = true;
}, 3000)```

hope that helps!

so it does, thanks for the tip :)

I did some investigating and it seems my texture was not preloaded. Now it works. I think the documentation should have it more explicitly explained.

But it seems there's another error - after caching the bitmap, this.app.stage.width suddenly changed from 4320 to ~6500px. Now I have a black rectangle extending my container.

Good shout! docs updated here: #3661
Glad its solved 👍

Nice. What about that strange resizing of the container? Should I create another issue for that?


Added ssl authentation to the nats extensions

[ ] An issue should be filed for the change unless this is a trivial change (fixing a typo or similar). One issue should ideally be fixed by not more than one commit and the other way round, each commit should fix just one issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful and properly spelled subject line and body. Copying the title of the associated issue is typically enough. Please include the issue number in the commit message prefixed by #.
[ ] The pull request description should explain what the pull request does, how, and why. If the info is available in the associated issue or some other external document, a link is enough.
[ ] Phrases like Fix # or Fixes # will auto-close the named issue upon merging the pull request. Using them is typically a good idea.
[ ] Please run mvn process-resources -Pformat (and amend the changes if necessary) before sending the pull request.
[ ] Contributor guide is your good friend: https://camel.apache.org/camel-quarkus/latest/contributor-guide.html

Better merge it after 1.1.0 release.

Better merge it after 1.1.0 release.

Why? I do not see anything risky here (maybe I am missing something?)

Ok, let's merge now then. Thanks for review guys.


Add support for Restream.io stream keys

Accepting this PR will allow encoders to deliver FTL streams to Restream, which will re-broadcast them to Mixer channels.
Restream stream keys format differs from the Mixer ones, luckily the only changes needed is to remove the first three symbols and allow using underscore as a separator between user id and the stream key.
Disclaimer: I'm not a C guy, so the code is most probably far from being good. Shout out if there is anything that can be improved, I will be happy to do so.

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

Thanks for the pr. I’m trying to understand what exactly this will do, so this change is needed for the sdk to be used in restream’s service to forward a FTL connection along to Mixer’s ingest?

@QuinnDamerell-MS thanks for finding time for this.
Accepting and forwarding FTL to Mixer is the goal and it's already implemented on our side. The blocker is now on the SDK side because of how FTL stream keys are getting parsed.
SDK is still to be used in encoders (OBS, XSplit, etc.). This change will allow them to stream to Restream, which will deliver the FTL stream to one or multiple Mixer channels as well as any other channels on any streaming platform in RTMP.
Mixer key example: 12345-r4b6afwoz2bl7zdc99q444lv5ke0dkpe
Mixer key format: {userId}-{hash}
Restream key example: re_12345_5fa06930315e18d73616
Restream key format: re_{userId}_{hash}
What this PR does technically:

Allows using underscore as a separator between userId and hash.
Removes first 3 symbols of the stream key before parsing it when the key starts with "re_".

Sorry for all of the questions, but I'm wondering, why can't the key be corrected before given to the SDK? I'm not opposed to the change, it's just we don't have any streaming platform specific logic in the SDK right now, so I'm debating in my head if we should allow it or not. If there's a good reason we can add it, but why not just correct the key before it gets called?

@QuinnDamerell-MS Sure, that's the question I've been asking myself before submitting this PR.
If keys are to be corrected on encoder level each encoder would have to implement a stream key conversion hack.
On one hand, it doesn't require changes to the SDK, on other, it makes encoders to include some unnecessary code that could be omitted. It may also create some confusion and hard to debug issues on encoder users and developers when stream keys are changed under the hood based on some conditions, while parsing of the userId and hash is a part of FTL authorization, and it's handled by the FTL SDK already.
Long story short: I see encoder-level parsing/reformatting of stream keys as a hack, so I would prefer to avoid having it if we can.

@QuinnDamerell-MS Any thoughts on the above? Let me know what you think.
We put a lot of resources into FTL support and we are really looking forward to launching it. If accepting this is not possible we would have to proceed with per-encoder changes or our own fork of the SDK.

Sorry for the delay. What about the code that integrates the FTL SDK? Can it handle the logic?

@QuinnDamerell-MS Sorry, I'm not sure I understand the question.
Do you mean the code in each of the encoders: OBS, XSplit, etc?

Oh, I think I understand what you're saying. What you are expecting is a user to be using OBS, set it up to stream FTL to restream, provide the restream key, and then stream. Internally OBS would then use the FTL SDK to connect to your service and it would send the modified stream key?
I was thinking this change was needed on your server side, to take the stream from the client and restream it to Mixer's ingests.

@QuinnDamerell-MS Yes, that's exactly what we are going to do, and that's why we want this change in the SDK itself.
OBS(or any other encoder) will use the Restream stream key to stream FTL to Restream. On our server side, we will accept the stream with Restream stream key and deliver FTL to Mixer using the Mixer key.

@QuinnDamerell-MS Please let me know if you have more questions or some requests to the code in this PR. I will be happy to get things fixed/explained.

Sorry, I didn't realize I didn't commit those changes Friday.

@QuinnDamerell-MS Thanks for the review. I have fixed the issue with validation and replied to your second notice. Will be happy to fix it as well if it's really needed, as far as I understand every memory allocation should be freed to prevent memory leaks.

Looks good! Thanks!

Thank you for all the help, Quinn.


Manage cluster

Hello,
This issue is more a discussion on how to achieve the goal rather than a feature request. If it appears that it belongs to this provider scope, we could then discuss about the way to implement it. If that is irrelevant, well, sorry for the noise, however what result of this discussion will hopefully be useful to other people.
I am looking for a way to manage a libvirt cluster with Terraform. For me, and I think this a good enough use case simplification, a cluster is simply a group of hypervisors that share a domains list, meaning that we don't care on which hosts each domains is running (except maybe following some affinity rules).
Ultimately I wish to find a way to tell to Terraform "Make sure those domains are running on the cluster, and if they aren't, just choose the right nodes to pop them on".
Libvirt has no complete cluster management, but it enables live and offline migrations and datastore sharing. All that it lack to manage a cluser is how the domains are dispatched. I am relatively new to Terraform, but I don't think you could manage that through a simple module. If you can, I would be glad to learn about it. I'm opening an issue on this project because I think this is a quite frequent use case.
So that said, what do we need to efficiently manage a libvirt cluster?

Affinity management: a way to tell that this domain and that domain should or shouldn't be running on the same host.
Dispatch strategy: how to choose which node should host that new domain. Such strategies could be random, round robin, the "choose the node which has the most memory/CPU/whatever" rules. Of course affinity rules have to be respected.

A few things to think about:

Modifying a domain to change that affinity might result in the live migration of this domain.
Manually rebalancing the domains on the cluster (i.e. without terraform) shouldn't be considered as a state change, as long as the affinities are still honored.

I'm sure there is more, but that's all I can come up with for now.
PS: this is a different use case than #909: if I understood correctly, this MR aimed to provide a way to populate a domain on multiple nodes at the same time, and was introducing too much notions which were way too much inspired from AWS and wasn't agnostic enough to fit a majority use case.

Thanks for the feedback. I think the provider already struggles with the complexity of having to support libvirt low level features.
I'd explore the functionality you describe in a separate layer. Either a proxy to libvirt hypervisors implementing the same API, or something like Harvester. Even terraform modules could be a path to explore.
What is certain, I will not add this functionality to the provider, because then I'd be unable to maintain it.


Support MacOS in Openssl 1.0.2 fips install script

I'm not sure why this is causing the ctverif build to fail

Looks like a repeat of this issue from a couple of weeks ago. http://llvm-apt.ecranbleu.org/apt/trusty/ seems to be down again.

Acknowledging that ctverif is broken (see Issue #605) and merging this change.


Application is not loading !

Reporting an Issue
Thank you for taking the time to contribute to Ao! ✨🎉
Suggested quick smart steps

Run through the contributing guidelines
Support questions are better asked in the project's chat. We will get back at you in a flash.
Ensure the issue is not already reported

Delete the above section and the content in the sections below before submitting your issue
Description
Please provide as much relevant info as possible
Error Message (if any)
Copy the error message here

Relevant Links (if any)

Any link to an other project that you believe it might be relevant

Environment
Tell us which operating system you are using, as well as which version of Ao.
Run the following script to get your OS info quickly.
node -e "const osInfo = require('os'); console.log('\n' + 'OS Type: ' + '\t' + osInfo.type() + '\n' + 'OS Platform:' + '\t' + osInfo.platform() + '\n' + 'OS Release: ' + '\t' + osInfo.release() + '\n' + 'Architecture: ' + '\t' + osInfo.arch() + '\n');"

Additional Information
Include any additional information, configuration or data that might be necessary to reproduce the issue.

Closing, for now, will reopen if needed in the future.


Remove IVAR as a stand alone module

Is your feature request related to a problem? Please describe.
IVAR is being run as a standalone module and as part of the FREYJA workflow.
Describe the solution you'd like
Remove this duplicate code

IVAR Variants is the only module to remove - still need the trimming component.

fixed with c01698754e10d63af4b700f4feacfb1ed701fcbb


App not loading

App is not loading after successful setup. It is not allowing to set the champion to start using the app..

Hello, could you solve this issue? I'm having the same problem

Hello, could you solve this issue? I'm having the same problem

Are you still facing this issue?
Please validate App Service configuration if all entities have correct values.
Let us know if issue still persists.


Multiple changes

typo fixes
new command folder
idk im forgetful

Rename HelpCommands to HelpCommand and move it to the commands folder

what do i do with this loner

Great question

misc > wikiarticleopener?

By the power invested in me by the "owner" tag next to my name, I grant you the right to decide

misc > wikiarticleopener?

Rather not have a misc category

By the power invested in me by the "owner" tag next to my name, I grant you the right to decide

im sorry what

misc > wikiarticleopener?

Rather not have a misc category

okay what about randomBsWithoutACategory

misc > wikiarticleopener?

Rather not have a misc category

okay what about randomBsWithoutACategory/Wikiarticleopener

package names are all lowercase

misc > wikiarticleopener?

Rather not have a misc category

okay what about randomBsWithoutACategory/Wikiarticleopener

package names are all lowercase

thats not a no :)


Grafana Dashboard Updates (English and German version)

Hi!
I have updated the dashboards (Revision 5).
Could you update it in your build please.
Thanks JO!

I imported them:
https://covid19.spiessknafl.at/d/eS-fSwXWz/covid-19-global-overview?orgId=1&refresh=1m
https://covid19.spiessknafl.at/d/2fa2-Y_Wz225/covid-19-globale-ubersicht?orgId=1&refresh=1m

Great! Thanks!
BR/JO!

Hi!
I have updated the dashboards (Revision 7).
Could you update it please. :)
Thanks JO!

I could only find the english version, but it is imported.

Nevermind, found it. Could you please change the ID of the dashboard in the german version? It collides with mine.
Have you considered uploading yours to https://grafana.com/grafana/dashboards?
This would make things a bit easier.

Nevermind, found it. Could you please change the ID of the dashboard in the german version? It collides with mine.
Have you considered uploading yours to https://grafana.com/grafana/dashboards?
This would make things a bit easier.

Is is not possible for you to generate a new ID while importing the dashboard?
I haven´t yet but is a good idea. I will check that.
Thanks!


globbing support?

Hi,
is it possible to provide wildcards / globbing when using the files option?
For example:
var someFiles = funnel('src', {
files: ['*.html']
});
Thanks!

@lan3jur, the following works fine:
var someFiles = funnel('src', {
  include: ['**/*.html']
});

@lan3jur, see also #9

Sorry for late reply.. Indeed, it was my mistake, I made a terrible typo and didn't even notice it for days :(
Sorry for the trouble..

question appears to be answered, if I am mistaken leave a comment explaining why and we can reopen.


Permitted Sequence for RNA molecules

Do we want to add guidance (RECOMMEND) for the use of DNA codes in representing transcripts, as opposed to RNA codes? This is in line with EMBL and RefSeq practices for transcript sequence representation.
We currently REQUIRE only that IUPAC codes are used, which allows for the use of uracil.

Our general guidance should be that Alleles must use the alphabet of the sequence used as reference.
Since all of the major transcript sources (esp RefSeq, Ensembl, LRG) use DNA for transcripts, this means that Alleles on transcript sequences should also use DNA.


Initial Parts Purchase : Wink Glasses

To provide some local (Central Texas -- Ron & Antoinette) support, want to have parts on-hand for the "wink" solution used by Ella and designed by Chris and Bill.

On 2022-05-03 ordered the following from Adafruit:
Adafruit LED glasses driver (2)
I have some of the prox sensors on-hand.

Waiting on parts to arrive.

Parts arrived on 2022-05-06.


Update all.json

Added newly created domain names polkadot-airdrop.online and polkadot-airdrops.net as submitted by Polkadot discord member bugra.ayan

Thank you.


[4.2] IRGen: Correctly set and honor the "is reflectable" bit on structs.

Explanation: Attempting to reflect a SIMD type or a struct containing a SIMD type would cause the runtime to log a bug because it was trying to find nonexistent reflection metadata for the type.
Scope: Regression from Swift 4.1
Issue: rdar://problem/41274260
Risk: Low, small fix to IRGen and the runtime
Testing: Swift CI
Reviewed by: @mikeash

@swift-ci Please test

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - a2cd8e9911abf0c2ab00db64930cf81eec7ccb76

Build failed
Swift Test OS X Platform
Git Sha - a2cd8e9911abf0c2ab00db64930cf81eec7ccb76

@swift-ci Please nominate


Create the workflow that will fetch the secrets from Vault.

[x] Manage permissions for access to Vault in our GitHub action.
[x] Migrate GitHub secrets to Vault.
[x] Create the workflow that will fetch the secrets from Vault.

Since we are planning to migrate from Hashicorp Vault to Azure Key Vault, this solution is no longer viable. Alternate solution : https://github.com/ai-cfia/howard/issues/281


Any guidance on how to use MVVMBlazor with Fluxor for state management

Planning a large LOB ASP.Net Core/BlazorWASM project. Shared state management across components/modules and local data caching is needed.
My initial impression is that MVVM/Fluxor overlap/clash at the UI front.
Fluxor also hooks into the razor components to update the view. Razor components need to inherit FluxorComponent. But the whole redux pattern is great for shared state management across components. Any suggestions on how to use Fluxor with MVVM?

I'm not aware of any way for these libraries to coexist. You would choose one -- MVVMBlazor if you prefer mutable state, Fluxor if you prefer immutable.

I don't really know Fluxor, however as @pm64 mentioned both libraries aim at the same principle while Fluxor is for state management and MVVM isn't. You can't mix both concepts. If you look at the Flux pattern you can spot these differences:

MVVM is for abstraction layer between the view and the business logic. Flux aims to achieve the same abstraction while providing a state management.
If you need state management, just stick to Fluxor. It offers everything you need. If you don't need state management go for MVVM.

I would just add that for many people, "state management" refers to the ability to have a state object shared between components, typically for the purpose of affecting UI when necessary. This is a huge deal in Javascript, and a big part of the reason libraries like Redux are so ubiquitous. But we get this ability for free with ASP.Net using dependency injection.
There might be another concept of "state management" in which the term refers to the manner in which the state is manipulated, but I believe this sense of the term also applies to both Fluxor and MVVMBlazor.
In Fluxor, the state is immutable -- in other words, a change in state happens by replacing the entire state object with an updated state object instance. Fluxor provides functionality to help perform these operations.
In MVVMBlazor, state is mutable, meaning that your state object doesn't change, but its property values do. Because changes in state happen by simply assigning new property values, no special functionality is needed to facilitate management of the state -- you're just performing normal C# assignments whenever you want.

You don't have to descend from FluxorComponent, that's just a convenience class.
Instead you can subscribe to the Changed event of each IState you consume.


No point to set owner to itself

https://github.com/openshift-kni/oran-o2ims/blob/b916e324f774dfc4906f1e5f451fb0c60ee2b7a5/internal/controllers/clustertemplate_controller.go#L338

Yes, I found that ownerObject is not set to nil. I plan to include this fix in my PR for switching to ownerReference for provReq created resources.

Fixed in https://github.com/openshift-kni/oran-o2ims/pull/279


fabconnect async calls + setting broadcast/private message header types

This PR adds two changes included in future release 1.0.2 into upstream firefly.
https://github.com/hyperledger/firefly/pull/838
https://github.com/hyperledger/firefly/pull/836

Codecov Report

Merging #841 (70d964b) into main (6229fed) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #841   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          301       301
  Lines        19715     19718    +3
=========================================
+ Hits         19715     19718    +3

Impacted Files
Coverage Δ

internal/blockchain/fabric/fabric.go
100.00% <100.00%> (ø)

internal/broadcast/message.go
100.00% <100.00%> (ø)

internal/privatemessaging/message.go
100.00% <100.00%> (ø)

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 6229fed...70d964b. Read the comment docs.


Add was-created-by link constraints

Change-type: minor
Signed-off-by: Graham McCulloch<EMAIL_ADDRESS>
These will be used to link a contract directly to the user that created it.

No longer needed as we're dropping link constraints entirely. We also already have the corresponding relationship defined in the backend.


ValueError: not enough values to unpack (expected 7, got 0)

When I retrain the model without the Pre training model，this error occurred ! I want to know how to solve it, can you give me some advice. Looking forward to your reply.
Traceback (most recent call last):
File "/home/rtx-3090/anaconda3/envs/tensorflow/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(args, **kwds))
File "/home/rtx-3090/PycharmProjects/Point-GNN-master/Point-GNN/train.py", line 85, in fetch_data
cam_rgb_points, box_label_list = aug_fn(cam_rgb_points, box_label_list)
File "/home/rtx-3090/PycharmProjects/Point-GNN-master/Point-GNN/models/preprocess.py", line 468, in multiple_aug
cam_rgb_points, labels, **aug_config['method_kwargs'])
File "/home/rtx-3090/PycharmProjects/Point-GNN-master/Point-GNN/models/preprocess.py", line 301, in random_box_shift
appr_factorboxes_3d_to_corners(label_boxes))
File "/home/rtx-3090/PycharmProjects/Point-GNN-master/Point-GNN/models/nms.py", line 35, in boxes_3d_to_corners
x3d, y3d, z3d, l, h, w, yaw = box_3d
ValueError: not enough values to unpack (expected 7, got 0)
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/rtx-3090/PycharmProjects/Point-GNN-master/Point-GNN/train.py", line 542, in
= data_provider.provide_batch(batch_frame_idx_list)
File "/home/rtx-3090/PycharmProjects/Point-GNN-master/Point-GNN/train.py", line 482, in provide_batch
batch_list.append(self.provide(frame_idx))
File "/home/rtx-3090/PycharmProjects/Point-GNN-master/Point-GNN/train.py", line 475, in provide
return self.async_load(frame_idx)
File "/home/rtx-3090/PycharmProjects/Point-GNN-master/Point-GNN/train.py", line 447, in async_load
data = self._results[frame_idx].get()
File "/home/rtx-3090/anaconda3/envs/tensorflow/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
ValueError: not enough values to unpack (expected 7, got 0)

Hi @shxzhao,
Thanks for your interest in our work.
It seems one of your label_boxes is empty. But the label_boxes should not have empty boxes as it is generated by:
https://github.com/WeijingShi/Point-GNN/blob/48f3d79d5b101d3a4b8439ba74c92fcad4f7cab0/models/preprocess.py#L296
label_boxes should be either empty or an N by 7 arrays.
Did you modify the code or dataset?
Thanks,


Min SDK 23?

@kojofosu
Hi, I just tried to add your library (Quantizer) to one of my apps and realized the min SDK supported is 23. Do you happen to know if that's required or just what you used when writing this?
My app goes down to SDK 18 and I know I can override the min SDK but didn't want to cause any crashes on lower versions. I could also look into supporting lower versions if possible..
thanks!
joe

Thanks for reaching out ... that was the min SDK at the time I was writing the library. You can fork the repo and make changes that work for you..and can make a PR if need be.


Alert work well on Debug but not showing in Release mode on Android

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
The application correctly displays all the alerts and toast messages in the debugging phase. The moment the build is built all the messages disappear.
React Native version:
System:
  OS: macOS 10.15.5
  CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
  Memory: 267.94 MB / 8.00 GB
  Shell: 3.2.57 - /bin/bash
Binaries:
  Node: 13.8.0 - /usr/local/bin/node
  Yarn: 1.22.4 - ~/.yarn/bin/yarn
  npm: 6.13.7 - /usr/local/bin/npm
  Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
  iOS SDK:
    Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
IDEs:
  Android Studio: 3.6 AI-192.7<IP_ADDRESS>92135
  Xcode: 11.3.1/11C505 - /usr/bin/xcodebuild
npmPackages:
  react: 16.8.3 => 16.8.3
  react-native: 0.59.9 => 0.59.9
npmGlobalPackages:
  react-native-cli: 2.0.1
  react-native: 0.61.5

Expected Results
That alerts are shown in build mode.
I attach the package.json to see if there are any known incompatibilities:
{
  "name": "myapp",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "android": "react-native run-android",
    "test": "jest"
  },
  "dependencies": {
    "@react-native-community/async-storage": "^1.11.0",
    "axios": "^0.18.0",
    "haversine": "^1.1.0",
    "jetifier": "^1.6.5",
    "moment": "^2.22.2",
    "react": "16.8.3",
    "react-native": "0.59.9",
    "react-native-actionsheet": "^2.4.2",
    "react-native-android-location-services-dialog-box": "^2.8.2",
    "react-native-auto-height-image": "^1.1.0",
    "react-native-cached-image": "^1.4.3",
    "react-native-cli": "1.3.0",
    "react-native-fbsdk": "1.0.4",
    "react-native-gesture-handler": "^1.6.0",
    "react-native-global-font": "^1.0.2",
    "react-native-google-places": "3.1.2",
    "react-native-image-crop-picker": "^0.24.1",
    "react-native-image-pan-zoom": "^2.1.10",
    "react-native-image-placeholder": "^1.0.14",
    "react-native-iphone-x-helper": "^1.2.0",
    "react-native-keyboard-manager": "^4.0.13-10",
    "react-native-maps": "0.25.0",
    "react-native-maps-super-cluster": "^1.4.1",
    "react-native-modal-datetime-picker": "^5.1.0",
    "react-native-open-maps": "^0.3.3",
    "react-native-progress": "^3.4.0",
    "react-native-push-notification": "3.1.3",
    "react-native-reanimated": "^1.7.0",
    "react-native-router-flux": "^4.0.6",
    "react-native-screens": "^2.0.0-beta.8",
    "react-native-share": "^1.2.1",
    "react-native-snap-carousel": "^3.7.4",
    "react-native-swiper": "^1.5.13",
    "react-native-vector-icons": "^4.6.0",
    "react-native-view-shot": "^2.5.0",
    "react-redux": "^5.0.7",
    "redux": "^3.7.2",
    "redux-persist": "^4.10.1",
    "redux-persist-transform-filter": "0.0.15",
    "redux-thunk": "^2.2.0"
  },
  "devDependencies": {
    "babel-jest": "23.6.0",
    "jest": "23.6.0",
    "metro-react-native-babel-preset": "0.51.1",
    "react-test-renderer": "16.6.3"
  },
  "jest": {
    "preset": "react-native"
  },
  "rnpm": {
    "assets": [
      "./src/fonts"
    ]
  }
}

Thanks in advance to those who want to help me.

Can you share more information. Which alert are you using? Is it react native's alert or javascript's alert method?

Facing the same issue, javascript alert & Alert.alert("title", "message") both are not working release mode of iOS
used versions on package.json is below
"dependencies": {
.....
"react": "16.9.0",
"react-native": "0.61.1",
"typescript": "2.9.2"
.....
}
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/runtime": "^7.6.2",
"@react-native-community/eslint-config": "^0.0.5",
"@types/chai": "^3.5.2",
"@types/jest": "^24.0.14",
"@types/react": "^16.4.14",
"@types/react-addons-test-utils": "0.14.21",
"@types/react-native": "0.60.23",
"jest": "^24.9.0",
"metro-react-native-babel-preset": "^0.56.0",
"ts-jest": "24.0.2",
"ts-node": "3.3.0",
"tslint": "5.7.0",
"tslint-eslint-rules": "4.1.1",
"babel-jest": "^24.9.0"
}

The problem disappeared when I switched from version 59.9 of React Native to 60.0. 🎉 But I couldn't find any solution.

Hi Folks,
unupdated .main.jsbundle in bundle copy resources caused this issue.
ref: https://github.com/facebook/react-native/issues/29356
it got fixed & works fine!!

The problem disappeared when I switched from version 59.9 of React Native to 60.0. tada But I couldn't find any solution.

@nicolettinzia if the problem disappeared, then could you please close this issue? We have 1.1k open issues and contributors invest months to read, triage, troubleshoot and then publish fixes for each issue...because there are very large amount of discussions...
Closing the issue if does not reproduce anymore on latest release really helps. Thanks

I had the same problem, but my error was my fault. I passed an empty object {} to the buttons parameter of the Alert.alert() function. I changed it to undefined and now it works as expected.


Cvcal

@patelh fixed the merge conflicts so that yahoo's kafka-manager can accept pull request https://github.com/yahoo/kafka-manager/pull/108. Please merge this!

Hi @cvcal,
It looks like we kind of dropped this on the floor... sorry about that. Take it as a compliment that no one has had to do any work on kafka-manager here since you left!
I'm looking into getting us up-to-date with yahoo's master branch now, primarily so we can make use of the topic-based consumer offset managment in kafka 8.2. From the history it looks like you may have gotten an equivalent pull request into yahoo from your own account - is that the case?

Yeah, I'm surprised you're only updating it now. When I left, the pull request hadn't made it in, so I left this fork up instead. I haven't followed what has changed on yahoo's side, but I assume the functionality Knewton wanted is still there in some form or other.
You should feel comfortable syncing to the latest release.

Great, thanks!


migrating to swift 3

while migrating to swift 3
chatViewController.swift
Static member 'weakMemory' cannot be used on instance of type ‘PointerFunctions.Options'
let presentersByChatItem = MapTable(keyOptions: .weakMemory , valueOptions: PointerFunctions.Options())
let presentersByCell = MapTable(keyOptions: .weakMemory, valueOptions: .WeakMemory)

This should work:
MapTable<UICollectionViewCell, AnyObject>(keyOptions: .weakMemory, valueOptions: .weakMemory)
If you're successful with the migration, could you share your branch with us? Thank you!

wtf, the generics are hidden in my previous comment. This is what I meant:
MapTable<UICollectionViewCell, AnyObject>(keyOptions: .weakMemory, valueOptions: .weakMemory)

@askari01  if you're successful with the migration, can you please share it with community ? Thank you

I got it working with the latest beta 🎉. Check it here!

@diegosanchezr this thread should be closed now

Should this be working with the latest build? As it's not compiling for me when using the swift-3 branch using Carthage.

@weyert should be working now with beta 5

I tried with beta 6 and I get compile errors: one of which is in BaseChatViewController+Presenters.swift:
@objc(collectionView:canPerformAction:forItemAtIndexPath:withSender:)     public func collectionView(_ collectionView: UICollectionView, canPerformAction action: Selector, forItemAt indexPath: IndexPath, withSender sender: AnyObject?) -> Bool {         return self.presenterForIndexPath(indexPath).canPerformMenuControllerAction(action) ?? false     }
And there are few other errors as well. I am using the swift-3 branch. Let me know if I am missing something out here.

You're not missing anything, beta 6 came out yesterday and it's not supported yet. No guarantees that I will migrate to each beta, so feel free to make a PR to this branch if you do. Cheers!

Thanks, Diego! I have to admit it's a pain to keep it all working with each new beta of Xcode 8. Why do they keep changing Swift 3 language between beta's :P


TestEds v2 is flaky

https://circleci.com/gh/istio/istio/317418?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
/cc @duderino

https://circleci.com/gh/istio/istio/323089?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

costinm@, it looks like you have the most edits in the file.

@howardjohn note the P1

Haven't seen any issues with this one in a long time: https://testgrid.k8s.io/istio-postsubmits#unit-tests&width=5
I think it is safe to close.


Refactor of PersistantStorage - CommitPersitantStorage and RepositoryPersistantStorage

Includes moving libgit2sharp to PersistantStorage and remove from GitInsight program
Only "ReadAllCommits" should be public method.

#67 Refactor is done


Switch to the upstream saml library from rancher's fork of it

Rancher uses a fork of crewjam/saml library maintained at https://github.com/rancher/saml
It was forked earlier because the upstream library was not working for PingFederate, so the fork contained changes for that. The library's latest version has the required changes for pingFederate, and also has changes for some other saml issues/requests.

[ ] Switch to using the upstream library, stop maintaining & using our fork

[ ] Test that this change works with all existing SAML providers: Shibboleth, PingFederate, Keycloak, ADFS

closing in favor or https://github.com/rancher/tasks/issues/112


Feature request: example converting to ndarray

We're experiencing a lot of friction just figuring out how to get our data all of the way out of a pyarray.
https://github.com/bluss/ndarray/issues/493
I suspect the ergonomics could be improved (or better documented) in the ndarray crate, but since this might be a more common pain point for new users of rust-numpy (compared to people just learning ndarray in isolation), I thought I'd mention it here as well.
New users of the ndarray crate are probably going to start out with owned arrays of static number of dimensions, whereas a numpy users starting from the rust-numpy example get handed an array of dynamic dimensions and non-owned data with lifetime bound to the python interpreter. I imagine that would be nice for performance if we ever manage to get our code to compile, but for a numpy user trying to get up to speed in rust, it really throws you into the deep end of the pool.
Thanks!

We're experiencing a lot of friction just figuring out how to get our data all of the way out of a pyarray.

Thanks for reporting!
I'm going to write some examples soon.
Also, I want to enhance converting APIs' ergonomics entirely, though I don't have a concrete roadmap now.

I made 2 examples(as_array, to_owned_array).
@drewm1980
Please let me know if you want additional examples :slightly_smiling_face:

Looks like this issue was resolved and can be closed?


Support for single-module multi-image projects

We have a project with source code for multiple binaries and we want to build separate images for each binary:
go.mod
go.sum
cmd/
├── foo
│   └── main.go
├── bar
│   └── main.go

I'm not sure if there is a clean way to configure the buildpack to build cmd/foo and cmd/bar into separate images using 2 builds with a buildpack.yml without changing the source code

@tylerphelan Would you not need to run multiple pack commands in order to get multiple images? I don't know how the buildpack itself could help you build multiple images.

i made an edit:

into separate images using 2 builds with a buildpack.yml without changing the source code

Ok this is definitely something we can talk about. I am going to transfer this issue to go-build because it is the buildpack that is responsible for making the binaries.


[opentitantool] Remove RESET from default pincfg

The RESET pin default appears to be overridden for all platforms other than verilator but is incompatible with verilator's transport. Removing it rescues the
//sw/device/silicon_creator/rom/e2e/weak_straps:sw_strap_value_sim_verilator test which was broken in December by setting these tests to initialize their pins based on their configs. I'm not sure why this test was the only one affected.
Signed-off-by: Drew Macrae<EMAIL_ADDRESS>

I'm checking that this change doesn't affect the other unbroken cw310 tests in the tree.


[FancyZones] Allow Alt-Tab to drag into zone.

📝 Provide a description of the new feature
Add an alternative Alt Tab.  Have it work like Ctrl-Alt-Tab (but just using Alt-Tab), and allow the mouse to drag an app from it to a zone

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Tracked in https://github.com/microsoft/PowerToys/issues/6611


SUM accept at WACV2025

Hi Alireza. Your branch has conflicts with the repo's main.
Please resolve them and push again


Possible stale docstring & new maximum enquiry

This docstring says that only 50 users can be bulk uploaded at a time, but I have been able to upload in batches of 1600 users. If this is expected, what is the new maximum number of users that can be uploaded to Iterable using the bulk_update_user() method?

Hi @IHarperCircle - I believe the actual limit is based on request size vs. number of users. If you want to keep it on the safe side, I've found that batches of 1,000 users works well.


ERROR: Unable to extract uploader id; #new error 7/20/24#

Checklist

[ ] I'm reporting a broken site support issue
[x ] I've verified that I'm running youtube-dl version 2021.12.17
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ x] I've searched the bugtracker for similar bug reports including closed ones
[ x] I've read bugs section in FAQ

Verbose log

PS C:\Users\nekmin\Downloads> .\youtube-dl.exe -v https://www.youtube.com/watch?v=tf1uLwUTDA0
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=tf1uLwUTDA0']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.22621
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] tf1uLwUTDA0: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

PS C:\Users\nekmin\Downloads>

Description

It just stopped working for me today as of a couple months ago all was fine and now I am getting the above error. I posted the verbose. Maybe there has been a change in the way yt handles files?

Just got this same error today as well

Same thing for me.
youtube-dl --yes-playlist "https://youtube.com/playlist?list=PLF8wHqMhTvJj1PoXHhBBVXW53cphfXTWk&si=28qNdlZ_zfWKS9im"
[youtube:tab] PLF8wHqMhTvJj1PoXHhBBVXW53cphfXTWk: Downloading webpage
[download] Downloading playlist: B Down
[youtube:tab] Downloading page 1
[youtube:tab] playlist B Down: Downloading 12 videos
[download] Downloading video 1 of 12
[youtube] oHIqKVkjNMQ: Downloading webpage
WARNING: unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
ERROR: unable to download video data: HTTP Error 403: Forbidden
ryan@Ryans-MBP-2 ~ % youtube-dl --yes-playlist --verbose  "https://youtube.com/playlist?list=PLF8wHqMhTvJj1PoXHhBBVXW53cphfXTWk&si=28qNdlZ_zfWKS9im"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--yes-playlist', '--verbose', 'https://youtube.com/playlist?list=PLF8wHqMhTvJj1PoXHhBBVXW53cphfXTWk&si=28qNdlZ_zfWKS9im']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.12.4 (CPython) - macOS-14.5-x86_64-i386-64bit
[debug] exe versions: ffmpeg 7.0.1, ffprobe 7.0.1
[debug] Proxy map: {}
[youtube:tab] PLF8wHqMhTvJj1PoXHhBBVXW53cphfXTWk: Downloading webpage
[download] Downloading playlist: B Down
[youtube:tab] Downloading page 1
[youtube:tab] playlist B Down: Downloading 12 videos
[download] Downloading video 1 of 12
[youtube] oHIqKVkjNMQ: Downloading webpage
WARNING: unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://rr2---sn-vgqsrnld.googlevideo.com/videoplayback?expire=1721520724&ei=9P2bZuarJtCglu8Pj-uK4AU&ip=<IP_ADDRESS>&id=o-ANsx1uyFLDmEEJNaFEDZvDI6nNoneJJrU8qr-FsFnBLh&itag=136&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C394%2C395%2C396%2C397%2C398&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=oS&mm=31%2C29&mn=sn-vgqsrnld%2Csn-vgqsknld&ms=au%2Crdu&mv=m&mvi=2&pl=24&initcwndbps=1036250&bui=AXc671KcW1oi1Fqe9znQAkdbCNtfhLCIcnYoTYjbBQJJM4RPL9B2JxZIFNFWRP7y6nMpwsWIyPD47o5N&spc=NO7bAZ5Ubb_wKasNfSwQsUTUEKDANgGwr6_0eYaxgpWnvc1hzJF0YMTHcZ3o&vprv=1&svpuc=1&mime=video%2Fmp4&ns=Xn07rewNuFWbTvKfva8ECSMQ&rqh=1&gir=yes&clen=705757857&dur=14594.765&lmt=1714345785574685&mt=1721498689&fvip=1&keepalive=yes&c=WEB&sefc=1&txp=5432434&n=XmQOgCOq8fh2MvZl&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgKEZIuMyo-NyXpzCYmbJJikKXClb10gkLMUGprc3-fPICIQCQ1enTZBzlMY_ffQnobxeygODWRf0g_qvbAwb4nzAAig%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRgIhAMS3CZaIR9g22mDugkY7nBJxKLGX0kei5PKz60TFML0fAiEA209baNqPl3zUhWLJAN7uu9JGlHs_w_yWhjF-9M19op4%3D'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py", line 1970, in process_info
partial_success = dl(fname, new_info)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py", line 1915, in dl
return fd.download(name, info)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/downloader/common.py", line 366, in download
return self.real_download(filename, info_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/downloader/http.py", line 351, in real_download
establish_connection()
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/downloader/http.py", line 116, in establish_connection
raise err
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/downloader/http.py", line 110, in establish_connection
ctx.data = self.ydl.urlopen(request)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 521, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 630, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 559, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File<EMAIL_ADDRESS>line 639, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

I solved it by using the took ytdl. It is the same tool with a more robust
set of features. When I get home I can link the repository if needed.
On Sat, Jul 20, 2024, 12:19 PM Novaflux @.***> wrote:

Same thing for me.
youtube-dl --yes-playlist "
https://youtube.com/playlist?list=PLF8wHqMhTvJj1PoXHhBBVXW53cphfXTWk&si=28qNdlZ_zfWKS9im
"
[youtube:tab] PLF8wHqMhTvJj1PoXHhBBVXW53cphfXTWk: Downloading webpage
[download] Downloading playlist: B Down
[youtube:tab] Downloading page 1
[youtube:tab] playlist B Down: Downloading 12 videos
[download] Downloading video 1 of 12
[youtube] oHIqKVkjNMQ: Downloading webpage
WARNING: unable to extract uploader id; please report this issue on
https://yt-dl.org/bug . Make sure you are using the latest version; see
https://yt-dl.org/update on how to update. Be sure to call youtube-dl
with the --verbose flag and include its complete output.
WARNING: Requested formats are incompatible for merge and will be merged
into mkv.
ERROR: unable to download video data: HTTP Error 403: Forbidden
@.*** ~ % youtube-dl --yes-playlist --verbose "
https://youtube.com/playlist?list=PLF8wHqMhTvJj1PoXHhBBVXW53cphfXTWk&si=28qNdlZ_zfWKS9im
"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--yes-playlist', '--verbose', '
https://youtube.com/playlist?list=PLF8wHqMhTvJj1PoXHhBBVXW53cphfXTWk&si=28qNdlZ_zfWKS9im
']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.12.4 (CPython) - macOS-14.5-x86_64-i386-64bit
[debug] exe versions: ffmpeg 7.0.1, ffprobe 7.0.1
[debug] Proxy map: {}
[youtube:tab] PLF8wHqMhTvJj1PoXHhBBVXW53cphfXTWk: Downloading webpage
[download] Downloading playlist: B Down
[youtube:tab] Downloading page 1
[youtube:tab] playlist B Down: Downloading 12 videos
[download] Downloading video 1 of 12
[youtube] oHIqKVkjNMQ: Downloading webpage
WARNING: unable to extract uploader id; please report this issue on
https://yt-dl.org/bug . Make sure you are using the latest version; see
https://yt-dl.org/update on how to update. Be sure to call youtube-dl
with the --verbose flag and include its complete output.
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged
into mkv.
[debug] Invoking downloader on '
https://rr2---sn-vgqsrnld.googlevideo.com/videoplayback?expire=1721520724&ei=9P2bZuarJtCglu8Pj-uK4AU&ip=<IP_ADDRESS>&id=o-ANsx1uyFLDmEEJNaFEDZvDI6nNoneJJrU8qr-FsFnBLh&itag=136&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C394%2C395%2C396%2C397%2C398&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=oS&mm=31%2C29&mn=sn-vgqsrnld%2Csn-vgqsknld&ms=au%2Crdu&mv=m&mvi=2&pl=24&initcwndbps=1036250&bui=AXc671KcW1oi1Fqe9znQAkdbCNtfhLCIcnYoTYjbBQJJM4RPL9B2JxZIFNFWRP7y6nMpwsWIyPD47o5N&spc=NO7bAZ5Ubb_wKasNfSwQsUTUEKDANgGwr6_0eYaxgpWnvc1hzJF0YMTHcZ3o&vprv=1&svpuc=1&mime=video%2Fmp4&ns=Xn07rewNuFWbTvKfva8ECSMQ&rqh=1&gir=yes&clen=705757857&dur=14594.765&lmt=1714345785574685&mt=1721498689&fvip=1&keepalive=yes&c=WEB&sefc=1&txp=5432434&n=XmQOgCOq8fh2MvZl&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgKEZIuMyo-NyXpzCYmbJJikKXClb10gkLMUGprc3-fPICIQCQ1enTZBzlMY_ffQnobxeygODWRf0g_qvbAwb4nzAAig%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRgIhAMS3CZaIR9g22mDugkY7nBJxKLGX0kei5PKz60TFML0fAiEA209baNqPl3zUhWLJAN7uu9JGlHs_w_yWhjF-9M19op4%3D
'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
File
"/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py",
line 1970, in process_info
partial_success = dl(fname, new_info)
^^^^^^^^^^^^^^^^^^^
File
"/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py",
line 1915, in dl
return fd.download(name, info)
^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/downloader/common.py",
line 366, in download
return self.real_download(filename, info_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/downloader/http.py",
line 351, in real_download
establish_connection()
File
"/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/downloader/http.py",
line 116, in establish_connection
raise err
File
"/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/downloader/http.py",
line 110, in establish_connection
ctx.data = self.ydl.urlopen(request)
^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py",
line 2288, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File @./3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/urllib/request.py",
line 521, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File @./3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/urllib/request.py",
line 630, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File @./3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/urllib/request.py",
line 559, in error
return self._call_chain(args)
^^^^^^^^^^^^^^^^^^^^^^^
File @./3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/urllib/request.py",
line 492, in _call_chain
result = func(args)
^^^^^^^^^^^
File @.*/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/urllib/request.py",
line 639, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
—
Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/32869#issuecomment-2241250764,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATQ6HHAPDDQAGDOWQTJSYCDZNKS2TAVCNFSM6AAAAABLGCJAHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGI2TANZWGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

It's like none of you never bothered to read #30839 as asked.
This bug is now a little infant that can walk and talk, pull stuff out of cupboards and stick its fingers in mains sockets. Just install a nightly version that doesn't have it.

It just stopped working for me today as of a couple months ago all was fine and now I am getting the above error.

I very much doubt that that is the full story.
@Novaflux, your error is different and does result from a change how YT handles download links where the n-sig challenge has not been solved, from throttling to 403. But this issue, another Known Issue listed in #30839, is also fixed in the latest nightly build.


refactor: isolate stories for rest components

Closes https://github.com/adobe/react-spectrum/issues/5514
All done! 🌟In this PR, I've split the remaining index.stories.tsx into individual story files for each component.
It's going to make our storybook organized and easy to work with!
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue.
[x] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[x] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

Confirm that nothing has changed by looking at the Component from the storybook.
🧢 Your Project:

GET_BUILD


Wrong date (and time) for BS entry

https://github.com/openZH/covid_19/blob/43ff8df1a118aaf2e18dfecb33c9d66a263302af/COVID19_Cases_Cantons_CH_total.csv#L56
The source clearly says:

Stand Montag, 16. März 2020, 12 Uhr,

You are right. Sorry, will fix it now.


Highlight.js overriding old (styled) code blocks

I'm assuming this will happen to old code blocks, could always be more specific when calling the function to target

As in the docs: To disable highlighting altogether use the nohighlight class:

...


tigera-operator operates with effective cluster-admin

Expected Behavior
Without Tigera operator, Calico was deployed with a restrictive ClusterRole, that could mostly just get/list pods (example).
Current Behavior
Calico v3.16 docs and releases appear to be favoring Tigera Operator more.
I've seen some projects introduce an operator as a mechanism to create the manifests that a user would typically just create directly (rather than for custom APIs). I imagine that's the story behind Tigera Operator. The cost is that Tigera Operator is using high levels of access to the cluster (ClusterRole)

cluster-wide access to Secrets
ability to manage other ClusterRoles
creating Deployments, DaemonSets

Effectively, Tigera Operator is running as a cluster-admin.

Will you continue to maintain (operatorless) manifests?
Do you intend to make Tigera Operator a required component?
What is your take on these tradeoffs and Calico's direction wrt Tigera Operator? Just for dev?

Possible Solution
Calico continues to maintain (operatorless) manifests. Recommends them for production. Components are created dirctly (e.g. DaemonSet, etc). Production users continue to use a limited ClusterRole.
Context
What are you trying to accomplish?
Maintaining direct control over what is applied to clusters and using limited RBAC.
Your Environment

Calico version: Using v3.15.2, evaluating v3.16
Orchestrator version: Kubernetes v1.19.1
Operating System and version: Fedora CoreOS / Flatcar Linux
Link to your project (optional): https://github.com/poseidon/typhoon

Thanks for raising the concerns; would be great to see if we can tighten some of those permissions up.
I don't think we're planning to sunset the manifests in the near term but there are many drivers for the move towards the operator and it is not intended to be "dev only".

It's a hard requirement for OpenShift.  It's the only way that they allow production components to be installed.
As the number of types of k8s cluster goes up (kops, kubeadm, The Hard Way, AWS DIY, EKS with AWS VPC CNI, EKS with Calico CNI, GCP DIY, GKE, on-prem, IKS, AKS, Rancher, OpenShift, Docker EE, Typhoon, ...) it's getting harder and harder to install Calico and harder and harder for us to cover all the cases; there are lots of different moving parts that need to be adjusted for each environment.  The operator helps to detect the right environment and apply the right tweaks.
Avoiding foot-guns.  With our CRDs in the main manifest, we've had people delete the main manifest as part of their upgrade and with it all the CRD resoruces for their running cluster :scream: .  We also have people adjust the image version int he manifest without properly updating the rest of the manifest; the operator is intended to make sure all of that is handled correctly.
Ease of use.
Calico Enterprise has even more moving parts and extra initialisation steps that need to be done in order, the operator helps to keep that in check.

If the community would stop releasing new k8s distros, maybe we could backtrack on the operator; deal? :laughing:

FWIW, a lot of the permissions we have come from the set-up on OpenShift, where the operator has to run in one namespace and the Calico components in another (and still more for the Calico Enterprise components).  Since Secrets are namespaced and multiple components need the secretes, we need the operator to copy various secrets from its namespace to others.  Would be great if we could lock that down to specific named namespaces and secrets.

Will you continue to maintain (operatorless) manifests?

There is no intention to remove support for these in the near to medium term. However, as we continue to make strides with the operator our intention is to more and more strongly recommend that approach. That's of course all subject to change based on the unknowable future!
Feedback like this issue is really important to receive and will help us make sure the operator approach is meeting all of the right community needs, as well as the purposes that it originally set out to do.

Do you intend to make Tigera Operator a required component?

Similar to the above, definitely not in the short to medium term. Maybe some day, but it's pretty hard to see that happening.
A similar story - it wasn't too long ago that installing Calico using a DaemonSet was new and exciting, and worrying to some! Most users installed Calico underneath Kubernetes rather than on top of it. We switched, got lots of feedback, incorporated it, and nowadays very very few users are not using a DaemonSet to install Calico, but it is still possible to do so. My hope is that we go through the same process with the operator.

Thanks for the details and thought around this.
I definitely understand you want to provide ease of use and support many different platforms/distros/users. Relevant to this is trying to design for both end-users (humans following Calico tutorials who may find value in an installer doing things for them) and designing a component for use in other clusters/systems.
As a distro, my end-users won't see whether the cluster came with the right manifests or an operator added them. They will see that the RBAC profiles increased in scope. I can't speak to Openshift and their needs. But at the moment, in my distro, tigera operator would be an unprecedented level of access, but I can stick to loosely basing off the operatorless manifests as I've done historically.
I know operators are pretty open ended. Some focus on managing their own defined custom resources and that seems pretty reasonable (foo operator manages Foo resources, sure). Some also take on being installers and that worries me some. Its hard for me to justify handing out cluster-wide access to ClusterRoles, Deployments, DaemonSets when I could just as well have those made at cluster bootstrap, leaving the steady-state RBAC strictly limited.
I do wonder if there are other ways you could aim to reduce complexity and ease maintainability, perhaps complimentary to having an operator installer. While I don't have the expectation that Calico provides a tutorial for every case (part of the distro's job), I'm sure your issue tracker feels that burden regardless. Another angle might be borrowing ideas from other CNI providers (central configmap vs env vars, MTU detection, delegation of vendor examples, clamp down on CRD creep). I don't  presume to know solutions, I don't and I'm sure its something you're always thinking about. But I do see the problem too. Calico is the default in my distro, but it does admittedly have the most moving parts.

In fairness, I don't want to leave a broad issue that isn't tracking a concrete thing. You've both provided insights into the operator/installer's direction and goals (which answers my initial questions, thx) and I've shared some counterpoint concerns about it to maybe consider.
I can close if you want to track potential RBAC scope reductions somewhere else.


[Spanish] localize 'Infrastructure as Code (IaC)'

Localize the content/en/infrastructure_as_code.md document to Spanish

Yes I do!

I was create a PR:
https://github.com/cncf/glossary/pull/791


[desktop] Soundcloud audio preview broken

Fixed with https://github.com/frostwire/frostwire/commit/3877badbcbcf27c15f040bc017529b3060bfe309

Thank you!


Random crash

For some reason it just suddenly died.
e', 'type': 'm', 'location': {'_': 'FileLocation', 'dc_id': 4, 'volume_id':<PHONE_NUMBER>03, 'local_id': 84341, 'secret': -73309301113771800}, 'w': 320, 'h': 168, 'size': 12482}, {'_': 'PhotoSize', 'type': 'x', 'location': {'_': 'FileLocation', 'dc_id': 4, 'volume_id':<PHONE_NUMBER>03, 'local_id': 84342, 'secret': -3508359373354518116}, 'w': 800, 'h': 420, 'size': 46335}, {'_': 'PhotoSize', 'type': 'y', 'location': {'_': 'FileLocation', 'dc_id': 4, 'volume_id':<PHONE_NUMBER>03, 'local_id': 84343, 'secret': -2226223468058160481}, 'w': 1200, 'h': 630, 'size': 68430}], 'has_stickers': False}, 'embed_url': None, 'embed_type': None, 'embed_width': None, 'embed_height': None, 'duration': None, 'author': None, 'document': None, 'cached_page': None}
WARNING: socket.send() raised exception.
WARNING: socket.send() raised exception.
WARNING: socket.send() raised exception.
WARNING: socket.send() raised exception.
WARNING: socket.send() raised exception.
WARNING: socket.send() raised exception.
WARNING: socket.send() raised exception.
WARNING: socket.send() raised exception.

Started to work again by force-killing the process manually with kill <pid> and starting again. python3 --version:
Python 3.6.9. Ubuntu 18.04.5 LTS.

I'm now running it as a service. It seems it crashes to some files?
May 13 21:24:51 pulina python3[27505]: <IP_ADDRESS> [13/May/2021:18:24:51 +0000] "GET /document/23.jpg HTTP/
May 13 21:26:24 pulina python3[27505]: Downloading file in chunks of 131072 bytes
May 13 21:26:24 pulina python3[27505]: Unhandled exception while processing TLMessage(msg_id=696184299079
                                       Traceback (most recent call last):
                                         File "/home/rolle/.local/lib/python3.6/site-packages/telethon/ne
                                           self._process_message(message)
                                         File "/home/rolle/.local/lib/python3.6/site-packages/telethon/ne
                                           handler(message)
                                         File "/home/rolle/.local/lib/python3.6/site-packages/telethon/ne
                                           error = rpc_message_to_error(rpc_result.error)
                                         File "/home/rolle/.local/lib/python3.6/site-packages/telethon/er
                                           return cls(rpc_error.error_message)
                                         File "/home/rolle/.local/lib/python3.6/site-packages/telethon/er
                                           super().__init__(message)

Not overly certain but I'm guessing the file in question seems to be a TGS file, animated emoji. I have uploaded it here: telegram-animoji.tgs. #25 related.

Other possibility is that when I'm running other operations the Digital Ocean VPS oomkiller just kills some important processes related to that python3 instance? But is it even possible? Just guessing here.

More details:
● telegramircd.service - IRC server capable of controlling Telegram
   Loaded: loaded (/etc/systemd/system/telegramircd.service; disabled; vendor preset: enabled)
   Active: active (running) since Thu 2021-05-13 22:17:34 EEST; 12h ago
     Docs: https://github.com/MaskRay/telegramircd
 Main PID: 25337 (telegramircd.sh)
    Tasks: 6 (limit: 2361)
   CGroup: /system.slice/telegramircd.service
           ├─25337 /bin/bash /home/rolle/telegramircd.sh
           └─25338 python3 ./telegramircd.py -c config

May 14 10:26:11 pulina python3[25338]: <IP_ADDRESS> [14/May/2021:07:26:11 +0000] "GET /document/16.jpg HTTP/1.1" 500 207 "-" "Mozilla/5.0 (compatible; The Lounge IRC Client; +https://github.com/thelounge/thelounge) facebookexternalhit/1.1 Twitterbot/1.0"
May 14 10:26:12 pulina python3[25338]: Downloading file in chunks of 131072 bytes
May 14 10:26:12 pulina python3[25338]: <IP_ADDRESS> [14/May/2021:07:26:12 +0000] "GET /document/17.jpg HTTP/1.1" 500 207 "-" "Mozilla/5.0 (compatible; The Lounge IRC Client; +https://github.com/thelounge/thelounge) facebookexternalhit/1.1 Twitterbot/1.0"
May 14 10:26:13 pulina python3[25338]: Downloading file in chunks of 131072 bytes
May 14 10:26:13 pulina python3[25338]: <IP_ADDRESS> [14/May/2021:07:26:13 +0000] "GET /document/18.jpg HTTP/1.1" 500 207 "-" "Mozilla/5.0 (compatible; The Lounge IRC Client; +https://github.com/thelounge/thelounge) facebookexternalhit/1.1 Twitterbot/1.0"
May 14 10:29:41 pulina python3[25338]: Downloading file in chunks of 131072 bytes
May 14 10:29:41 pulina python3[25338]: Unhandled exception while processing TLMessage(msg_id=6962044839822413825, seq_no=5321, obj=RpcResult(req_msg_id=6962044839679845352, body=None, error=RpcError(error_code=406, error_message='FILEREF_UPGRADE_NEEDED')), container_msg_id=None)
                                       Traceback (most recent call last):
                                         File "/home/rolle/.local/lib/python3.6/site-packages/telethon/network/mtprotosender.py", line 486, in _recv_loop
                                           self._process_message(message)
                                         File "/home/rolle/.local/lib/python3.6/site-packages/telethon/network/mtprotosender.py", line 506, in _process_message
                                           handler(message)
                                         File "/home/rolle/.local/lib/python3.6/site-packages/telethon/network/mtprotosender.py", line 528, in _handle_rpc_result
                                           error = rpc_message_to_error(rpc_result.error)
                                         File "/home/rolle/.local/lib/python3.6/site-packages/telethon/errors/__init__.py", line 70, in rpc_message_to_error
                                           return cls(rpc_error.error_message)
                                         File "/home/rolle/.local/lib/python3.6/site-packages/telethon/errors/rpcbaseerrors.py", line 76, in __init__
                                           super().__init__(message)
                                       TypeError: __init__() missing 1 required positional argument: 'message'
May 14 10:29:42 pulina python3[25338]: on_telegram_update 'UpdateServiceNotification' {'_': 'UpdateServiceNotification', 'type': 'API_ERROR_UPDATE_UNOFFICIAL_281', 'message': 'Error. Please update your app to the latest version or switch to the official version of Telegram.', 'media': {'_': 'MessageMediaEmpty'}, 'entities': [], 'popup': True, 'inbox_date': None}
May 14 10:35:59 pulina python3[25338]: on_telegram_update 'UpdateChannelMessageViews' {'_': 'UpdateChannelMessageViews', 'channel_id':<PHONE_NUMBER>, 'id': 2327, 'views': 18}
May 14 10:35:59 pulina python3[25338]: on_telegram_update 'UpdateChannelMessageViews' {'_': 'UpdateChannelMessageViews', 'channel_id':<PHONE_NUMBER>, 'id': 2332, 'views': 14}

After thorough investigating I see it was a group (bot) that had HTML notifications Tautulli Agent. Disabled the group and replaced it with Pushover. This doesn't bother me anymore and seems to be solved so going to close the issue. Thank you for the amazing software!

Still seems to happen randomly. Not sure what causes it.


"Connected to the API. Waiting for node to initialize" > Wallet never load > Poor UX for Strax Wallet

I know many users have complain about this issue in Telegram and Discord. They don't check Task Manager or the logs and their experience with Stratis and Strax wallet leaves a bad taste. I highly recommend this be fixed.
In my particular case today, I had Windows Update and the system restarted by itself. I came back home and cannot start Strax wallet. I had to delete all folders and resync.
Problem: Starting wallet and doesn't load pass "Connected to the API. Waiting for node to initialize."
Symptoms:

Wallet never load.
Task Manager - processes are separated.

Restart wallet and Stratis Daemon crashes.

Log:
[2021-01-20 03:04:19.6581 10] INFO: Stratis.Bitcoin.Utilities.AsyncLoop.StartAsync FlushChain starting in 60 seconds.
[2021-01-20 03:04:19.7166 11] INFO: Stratis.Bitcoin.Base.BaseFeature.StartAddressManager Loading peers from : C:\Users\Hieu\AppData\Roaming\StratisNode\strax\StraxMain.
[2021-01-20 03:04:20.0762 10] INFO: Stratis.Bitcoin.Utilities.AsyncLoop.StartAsync Periodic peer flush starting in 300 seconds.
[2021-01-20 03:04:20.2830 4] ERROR: Stratis.Bitcoin.Builder.FullNodeFeatureExecutor.LogAndAddException An error occurred: 'Stratis.Bitcoin.Features.BlockStore.BlockStoreException: Block store failed to recover.
at Stratis.Bitcoin.Features.BlockStore.BlockStoreQueue.RecoverStoreTip() in D:\a\1\s\StratisFullNode\src\Stratis.Bitcoin.Features.BlockStore\BlockStoreQueue.cs:line 424
at Stratis.Bitcoin.Features.BlockStore.BlockStoreQueue.Initialize() in D:\a\1\s\StratisFullNode\src\Stratis.Bitcoin.Features.BlockStore\BlockStoreQueue.cs:line 205
at Stratis.Bitcoin.Base.BaseFeature.InitializeAsync() in D:\a\1\s\StratisFullNode\src\Stratis.Bitcoin\Base\BaseFeature.cs:line 227
at Stratis.Bitcoin.Builder.FullNodeFeatureExecutor.<>c.b__3_1(IFullNodeFeature service) in D:\a\1\s\StratisFullNode\src\Stratis.Bitcoin\Builder\FullNodeFeatureExecutor.cs:line 56
at Stratis.Bitcoin.Builder.FullNodeFeatureExecutor.Execute(Action`1 callback, Boolean disposing) in D:\a\1\s\StratisFullNode\src\Stratis.Bitcoin\Builder\FullNodeFeatureExecutor.cs:line 130'
[2021-01-20 03:04:20.2908 4] ERROR: Stratis.Bitcoin.Builder.FullNodeFeatureExecutor.Initialize An error occurred starting the application.

This has now been fixed in Community Test Release 1.3.1


Timing path from PSEL to PRDATA

src/libs/rtl/apb_slv_sif.sv (line 81'ish):
//drive read data from component
always_comb PRDATA = (dv & access_phase) ? rdata : '0;
always_comb access_phase = PSEL & PENABLE;
No need to qualify output read data.
Recommend to remove this AND and timing loopback path from PSEL to PRDATA.
  The recommendation is to remove the qualification of the output data.  There's no need to gate/drive data 0x0.
Current:  always_comb PRDATA = (dv & access_phase) ? rdata : '0;
Recommended:  always_comb PRDATA = rdata;

Hey @nstewart-amd - Is this aligned with what you want?
https://github.com/chipsalliance/caliptra-rtl/pull/145
Does removing this psel help with the timing path?

Howard,
Removing this would remove an AND gate from the read path and remove the combinational passthrough of PSEL->PRDATA which is unnecessary.
We never need to mask PRDATA.  It's up the the receiver to latch data when needed.  APB slave doesn't need to mask it.

If PRDATA reflects whatever is in the requester-controlled PADDR then this has the potential to expose "confidential" data to the requester.

If PRDATA requires masking as a function of address range, it should be done at the arbiter or address decoder, and should be part of the pipelined data returned to the bus.
PSEL offers no protection to address decode, and the combinational loopback is a timing hazard.

@howardtr ,
Removing this would remove an AND gate from the read path and remove the combinational passthrough of PSEL->PRDATA which is unnecessary.
We never need to mask PRDATA. It's up the the receiver to latch data when needed. APB slave doesn't need to mask it.

Hey @nstewart-amd -
Ack - My follow up question was more along the lines of, "here's the code, I hope it helps, let me know if it doesn't after it's run through synthesis".  I may not have conveyed that properly :)

@howardtr ,
Removing this would remove an AND gate from the read path and remove the combinational passthrough of PSEL->PRDATA which is unnecessary.
We never need to mask PRDATA. It's up the the receiver to latch data when needed. APB slave doesn't need to mask it.

Hey @nstewart-amd -
Ack - My follow up question was more along the lines of, "here's the code, I hope it helps, let me know if it doesn't after it's run through synthesis". I may not have conveyed that properly :)

Got it!  I've downloaded and we'll start another synthesis iteration.  It looks good, but I'll get some timing reports to see what's left.  I expect we'll still see PSEL->PSLVERR combo paths.  It's not obvious to me why we need PSEL or PENABLE to qualify the output (access_phase).  If we decode a slave error, we should output it with PREADY.  I'm not convinced the loopback is needed.

That masking existed because we didnt want AHB-lite access to show up on the APB side....but then Mike reviewed the logic and found that due to some bug fixes that went in after, arbitration scheme was updated b/w AHB-lite & APB and that arb scheme does the masking.
He went ahead and fixed it and the new sync that is in progress should be fixing this.
That said, what we need to check in terms of timing runs is any timing impact on the fabric side could be helped with a flop repeater since this is not a latency sensitive fabric. If new paths show up on it, we should atleast understand why we are not assuming a flop repeater?

Also on the side note, ASPEED didnt see this path when they ran their runs but they were running Caliptra at 100MHz

https://github.com/chipsalliance/caliptra-rtl/pull/149 sync to dev-msft should fix this

Sync didnt push the fix - keeping it open until the fix is turned in!

Now done -> https://github.com/chipsalliance/caliptra-rtl/pull/153