[stable/mongodb] Add init container support

Is this a request for help?: Yes.

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
FEATURE REQUEST
Version of Helm and Kubernetes:
helm version
Client: &version.Version{SemVer:"v2.13.0", GitCommit:"79d07943b03aea2b76c12644b4b54733bc5958d6", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.13.0", GitCommit:"79d07943b03aea2b76c12644b4b54733bc5958d6", GitTreeState:"clean"}

Which chart:
[stable/mongodb] version 5.7.0
What happened:
I need to run an init container for some preliminary configuration, and I believe this is required in various scenarios. Since init container configuration is not included in the template, I had to fetch and edit it locally.
What you expected to happen:
Init container configuration values can be passed as values when including the chart as a dependency.
How to reproduce it (as minimally and precisely as possible):
Not quite applicable.
Anything else we need to know:
I've already fixed this in a way similar to #10423. I have prepared a pull request that I will reference below after this issue is created.

Hi, @tompizmor! Would you be able to review the PR fixing this?

Reviewing your PR @unclenorton !! Thanks for your contribution.


Just crop the Image displayed in the ImageView?

Sometimes, You want to crop an large picture, it may be 8000x6000, And then, App use a Loader such as picasso to display a thumbnail image to the ImageView to prevent OutOfMemory crash. Maybe, a 400x300 picture to displayed in the ImageView. Then cropping of the image is not cropping to the original image, in other words, it cannot get a cropped image to original picture..

I'm facing same issue. A little googling and I found  BitmapRegionDecoder but it arises a new problem! - Reading from different sources which picasso was handling nicely.

@khafan https://github.com/IsseiAoki/SimpleCropView/issues/BitmapRegionDecoder not found =(

@MrVilkaman I know it's late but Anyway, sorry for silly mistake. Fixed the url

Hi,
Sorry for late response.
Version 1.1.0 has been released.
SimpleCropView now supports large size image : )
Please try sample!


Time in force not relevant to Binance market orders

Should we wrap the other market orders in this same logic?

I went ahead and made the changes. Thanks for the pull request!


Make the cli-migrate repo build in dev/release/2.1

Get the cli-migrate repo to build both in the source-build repo and in the offline tarball build.

Completed in https://github.com/dotnet/source-build/pull/401


NullPointerException thrown when using query bean generated

Hi, @rbygrave
This is the source code generated by query bean enhancer for intellij (this plugin is: Ebean 8.x Enhancement).
/**
 * Query bean for User.
 *
 * THIS IS A GENERATED OBJECT, DO NOT MODIFY THIS CLASS.
 */
@TypeQueryBean
public class QUser extends TQRootBean<User,QUser> {

  private static final QUser _alias = new QUser(true);

  /**
   * Return the shared 'Alias' instance used to provide properties to
   * select() and fetch()
   */
  public static QUser alias() {
    return _alias;
  }

  public PLong<QUser> id;
  public PString<QUser> wechatOpenid;
  public PString<QUser> wechatUnionid;
  public PString<QUser> userName;
  public PString<QUser> email;
  public PString<QUser> mobile;
  public PString<QUser> encryptedPassword;
  public PString<QUser> salt;
  public PTimestamp<QUser> createdAt;
  public PTimestamp<QUser> lastLoginAt;
  public PInteger<QUser> statLogined;
  public PTimestamp<QUser> lastErrorLoginAt;
  public PInteger<QUser> statErrorLogin;
  public PString<QUser> status;
  public PString<QUser> validationStatus;

  /**
   * Construct with a given EbeanServer.
   */
  public QUser(EbeanServer server) {
    super(User.class, server);
  }

  /**
   * Construct using the default EbeanServer.
   */
  public QUser() {
    super(User.class);
  }

  /**
   * Construct for Alias.
   */
  private QUser(boolean dummy) {
    super(dummy);
  }

  /**
   * Provides static properties to use in  select() and fetch()
   * clauses of a query. Typically referenced via static imports.
   */
  public static class Alias {
    public static PLong<QUser> id = _alias.id;
    public static PString<QUser> wechatOpenid = _alias.wechatOpenid;
    public static PString<QUser> wechatUnionid = _alias.wechatUnionid;
    public static PString<QUser> userName = _alias.userName;
    public static PString<QUser> email = _alias.email;
    public static PString<QUser> mobile = _alias.mobile;
    public static PString<QUser> encryptedPassword = _alias.encryptedPassword;
    public static PString<QUser> salt = _alias.salt;
    public static PTimestamp<QUser> createdAt = _alias.createdAt;
    public static PTimestamp<QUser> lastLoginAt = _alias.lastLoginAt;
    public static PInteger<QUser> statLogined = _alias.statLogined;
    public static PTimestamp<QUser> lastErrorLoginAt = _alias.lastErrorLoginAt;
    public static PInteger<QUser> statErrorLogin = _alias.statErrorLogin;
    public static PString<QUser> status = _alias.status;
    public static PString<QUser> validationStatus = _alias.validationStatus;
  }
}

After it is compiled, I decompiled the class file, and found some extra methods were weaved, like for property userName, there would be a _userName() method:
    public PString<QUser> _userName() {
        if(this.userName == null) {
            this.userName = new PString("userName", this);
        }

        return this.userName;
    }

But in my code I use it as:
new QUser().userName

Obviously, the userName property was never initialized.
So until now, what did I missed?

The video https://youtu.be/Kp528zWlbqU ... goes through the enhancement details, it's pretty long but discusses why query beans work in this manor.
The calling code needs to be enhanced which converts new QUser().userName to new QUser()._userName() ... this would be what is missing in the above.  Normally I'd expect the IDE plugin (for IDEA or Eclipse) to be running in the IDE to perform this enhancement during development and the maven plugin or tile to do the enhancement at build time.
The enhancement of calling code requires META-INF / ebean-typequery.mf   or META-INF / ebean.mf to define the packages that contain query beans.
At some point I'll look to try the alternate approach with Kotlin (that unlike Java has properties) which means only the query beans themselves need enhancement which is arguably much nicer/cleaner.

Thanks, Rob. The intellij plugin enhanced my query bean and entity, but I don't know why it did not enhance my calling code.

It could be either the manifest file is missing for some reason (META-INF/ebean-typequery.mf or META-INF/ebean.mf) ... or that the code containing the query bean also has entity bean enhancement (perhaps @Transactional ?)
Can you create put an example application somewhere (like github) to show the issue?

i have this issue...querybean properties are null unless i use the alias method

I have the same issue. And it's not the first time this happens. I am sure the ebean.mf file is there. It would be god if ebean can at least log when it finds or does not find that file so it's easier to debug.

https://ebean.io/docs/trouble-shooting
The value for querybean-packages in ebean.mf must cover all the code that "uses" query bean generated code. Unlike what the property name suggests, it is NOT the package of the query beans themselves.

So I'm guessing that the ebean.mf file was there but that the querybean-packages didn't include all the "uses" of query beans.
This is kind of tough because Java still doesn't have 'properties' yet (getter/setter/property).  So the design for querybeans picked readability of the query beans (by simulating properties) over the simplicity of using methods and only needing to enhance the query beans themselves.
If Java gets 'properties' support or people use Kotlin or people can live with this as a trouble shooting issue (For Java we need to enhance the code that uses query beans) ... then the improved readability would be the correct call as I see it.
Cheers, Rob.

I am a super fan of how the query beans work. I think is incredibly awesome.
But what about 'magically' finding the root package of the project. while enhance takes place. Clearly printing out what the guess was and, how to overwrite it so that by default people don't get NullPointerException without much context to get your head around how to solve it.

'magically' finding the root package of the project. while enhance takes place

Hmmm - not sure how it could do that ... maybe something like:

If there is an ebean.mf with a entity-packages but no querybean-packages ... then it defaults to the top package of the entity-packages?

Might need to detect language (Java or Kotlin) as with Kotlin we only enhance the query beans themselves.
Yeah, needs more thinking here ...


Modal data

some model modal data
Implements remaining getExportData functions (preexisting ones left untouched for this PR, since this would require reworking of other app elements/break things immediately before demo)

This change is

Reviewed 8 of 8 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

src/model/resource.js, line 112 at r1 (raw file):

      };
    } else if (!obj.web.filepath) {
        obj.web.filebath = '';

filebath

Comments from Reviewable

Review status: 5 of 8 files reviewed at latest revision, 1 unresolved discussion.

src/model/resource.js, line 112 at r1 (raw file):
Previously, rachel-fenichel (Rachel Fenichel) wrote…
filebath

bathed code => clean code => healthy code, right?

Comments from Reviewable

Review status: 5 of 8 files reviewed at latest revision, 1 unresolved discussion.

src/model/resource.js, line 112 at r1 (raw file):
Previously, svouse wrote…
bathed code => clean code => healthy code, right?

Yup!

Comments from Reviewable

Review status: 5 of 8 files reviewed at latest revision, 4 unresolved discussions.

src/model/block_definition.js, line 99 at r2 (raw file):

   * @return {!Object} The data needed to export the block.
   */
  getExportData() {

Blocks are not exported individually, so they don't have export data.  Remove this method.

src/model/block_library.js, line 157 at r2 (raw file):

    let blockData = [];
    for (let blockType of this.blocks) {
      blockData.push(this.blocks[blockType].getExportData());

While you are quite there yet, replace getExportData() with getJson(), and rename this method to match.  You'll need it later.

src/model/block_library.js, line 169 at r2 (raw file):

    let data = Object.create(null);
    super.buildMetadata(data);
    data.blocks = getAllBlockData();

Don't iterate the blocks as part of the export data.

src/model/resource.js, line 112 at r1 (raw file):
Previously, rachel-fenichel (Rachel Fenichel) wrote…
Yup!

Ha!

Comments from Reviewable

 :bathtub:

Review status: 5 of 8 files reviewed at latest revision, 4 unresolved discussions.

Comments from Reviewable

Review status: 5 of 8 files reviewed at latest revision, 4 unresolved discussions.

src/model/block_definition.js, line 99 at r2 (raw file):
Previously, AnmAtAnm (Andrew n marshall) wrote…
Blocks are not exported individually, so they don't have export data.  Remove this method.

Done.

src/model/block_library.js, line 169 at r2 (raw file):
Previously, AnmAtAnm (Andrew n marshall) wrote…
Don't iterate the blocks as part of the export data.

Done.

Comments from Reviewable

Review status: 4 of 8 files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable


Cannot check trackingEvent

Hi,
I'm using this plugin with angularjs to trackingEvent but I canot see event on Dashboard.
This is my code:
    var onSuccess = function (result) {
        console.log("onSuccess init sdk");

        var eventName = "Main Screen";
        var params = {
            "af_content_id": "id123",
            "af_currency": "USD",
            "af_revenue": "2"
        };
        $window.plugins.appsFlyer.trackEvent(eventName, params);

    };

    function onError(err) {
        console.log("onError init sdk");
    }

    var options = {
        devKey: 'devkey',
        isDebug: false,
        onInstallConversionDataListener: true
    };
    $window.plugins.appsFlyer.initSdk(options, onSuccess, onError);

I cannot see the event on Dashboard event, image as below:

Does my source code missing anything? Do I need setting anything?
Please help me this case.
Thanks.

Hello,
As this issue requires sharing of private / sensitive information that should't be exposed to all, could you please migrate this to our official channel at<EMAIL_ADDRESS>When submitting this issue please specify your AppsFlyer sign-up (account) email , your app ID , production environment (iOS? Android?), logs, code snippets and any additional relevant information.

What was the issue?


Made kubeclarity service port to dynamic.

Description
I'd like to make the kubeclairty service's backend port configurable because we're using Load Balancer as a proxy and need to use service port 80, however your service port is hard coded with the value 8080 in template/service.yaml. I'm making it dynamic in template/service.yaml so we can use the port at our convenience.
Current service.yaml:
spec:
  type: {{ .Values.kubeclarity.service.type }}
  ports:
    - name: backend
      port: 8080
      protocol: TCP
      targetPort: 8080

After Changes in service.yaml:
spec:
  type: {{ .Values.kubeclarity.service.type }}
  ports:
    - name: backend
      port: {{ .Values.kubeclarity.service.port }}
      protocol: TCP
      targetPort: 8080

when we insert: 8080 in DNS means that your service is listening on port 8080 but port 80 is used when you don't insert any port in DNS. I changed the service port from hard coded to dynamic.

I have tested these changes locally they are working fine.

I have also added a port with value 8080 in values.yaml so your running services will work fine.

Changed values.yaml:
  service:
    type: ClusterIP
    port: 8080
    annotations: {}

Type of Change
[:heavy_check_mark:] New Feature
Checklist

[x] I have read the contributing guidelines
[x] Existing issues have been referenced (where applicable)
[x] I have verified this change is not present in other open pull requests
[x] Functionality is documented
[x] All code-style checks pass
[x] New code contribution is covered by automated tests
[x] All new and existing tests pass

You're welcome, @sambetts-cisco! Glad you like the approach. BTW when can we expect merge?


Handle validFrom, validTo, and annotations on ItemSchemes

Closes #142.
PR checklist

[ ] Checks all ✅
[ ] Update documentation
[ ] Update doc/whatsnew.rst

@goatsweater can you please let me know if you are able to test this branch? You could install with something like:
pip install --upgrade "sdmx1 @ git+https://github.com/khaeru/sdmx.git@issue/142"

…and then use it against the "internal services" you mentioned in #142.
If that would take a long time or is otherwise not possible, that's fine; I'll just merge and make a patch release with the fix.

I installed the branch and re-ran the services. I am now appropriately seeing annotations and valid to/from dates.


Add charge_rate to MQTT broker

I'm switching from the Home Assistant Tesla integration to TeslaMate. I had a dashboard where I displayed the charge_rate. This was the only value I was missing in the mqtt topics from TeslaMate.
I was wondering if there was a reason why it was not exported? It is covered by the vehicle state api call:
https://github.com/adriankumpf/teslamate/blob/7a9c6b9ad1b2b03f424f46f652a53b831df73697/lib/tesla_api/vehicle/state.ex#L38
I'd love to see this added.

@adriankumpf  Is there a possibility of merging this? I miss this metric since day 1 of switching from teslafi to teslamate

@NirKli Do you think you can take a look at this? Once I get more up to date /w my understanding of the processes/elixir, maybe I can review basic stuff like this. Do you know if just adding it here is good enough or is there areas, we may need to add it to? I still have a few outstanding things I need to learn about how the whole process works :)

❣

@Dulanic Once tests are added, the test GitHub Actions should be run for this PR.

Is there anything preventing this branch to be merged?

Is there anything preventing this branch to be merged?

Yes, we do not have any CI test running on this PR

Closing, as OP did not update branch as requested on Feb 7

No love for this feature?

Somebody needs to update the branch for the latest master.


tagCallbcack in libmercuryrfid.c

Just detected an error in this function. Where it says
sprintf(msg, "%i:%s:%d:%i:%i:%i:%ui", readerLocation, tagID, t->rssi, t->phase, t->frequency, t->timestampHigh, t->timestampLow);
It should be:
sprintf(msg, "%i:%s:%d:%i:%i:%u:%u", readerLocation, tagID, t->rssi, t->phase, t->frequency, t->timestampHigh, t->timestampLow);
So timestamps are printed as unsigned integers and without the extra 'i' at the end.
Also I found out how to cast timestampHigh and Low to unix miliseconds timestamps:
uint64_t timestamp = ((uint64_t) t->timestampHigh<< 32 ) | t->timestampLow;
Cheers!

Sorted, thanks!

I have just realised that frequency is returned in KiloHertzs. I think we should use Hertzs...


Evil Female Ghost Needed

This is really great!
Can you please add an evil female ghost for Belcorra?
https://app.demiplane.com/nexus/pathfinder2e/creatures/belcorra-haruvex
https://pathfinderwiki.com/wiki/Belcorra_Haruvex

I actually had to bust out some Delay and Reverb for this one. Look for it in version 1.1 😄


Implemented CNF conversion

Codecov Report

Merging #10 (630b6d1) into main (a7f60f3) will increase coverage by 0.39%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
+ Coverage   77.51%   77.90%   +0.39%
==========================================
  Files          22       23       +1
  Lines        1094     1118      +24
  Branches      122      122
==========================================
+ Hits          848      871      +23
- Misses        124      125       +1
  Partials      122      122

Impacted Files
Coverage Δ

src/AutoProof/Classical/CNF.hs
100.00% <100.00%> (ø)

src/AutoProof/Internal/Proof/Types.hs
86.20% <0.00%> (-0.25%)
:arrow_down:

Continue to review full report at Codecov.

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


Recipes

Any thoughts or oppositions against creating a recipes section, similar to maybe gulp recipes.
It seems like there has been a few issues about the docs or how to do something with most this could help with showing some nice implementations without needing the "whole house" (html, css, etc) as with the examples directory.
IMO, they could help "clean up" the API docs by organizing the examples into concise recipes, that way the API docs could convey the message on how use most and recipes would be a supplement to the API docs.
Hopefully this makes some sense

I think it makes perfect sense and would be awesome!  Do you have a few you'd like start with?

I was thinking about doing a PR with a few, possibly even some that you have created in your response to questions in issues.

Sounds great.  It seems like something we can tackle very incrementally once it's been jump-started.  Looking forward to the PR :)

Yes definitely, i will try to add the PR tonight, had to fix my mac :/

Ouch.  I feel you pain: I recently had the flash drive on a new macbook pro go bad beyond repair O.o

Merged.  Let's use individual issues to track new recipe ideas.
Thanks again, @davidchase, not only for suggesting it, but for writing the first 2 recipes in #113 as well.

@briancavalier :+1:  any thoughts on giving them some front page love maybe on readme.md  under learn more? :smile:

giving them some front page love

Yep, definitely!  Coming soon ...


Bug: SoftKeyboard showing even after switching from nearby tab to contribution tab

Summary:
While searching for a place type if we switch from nearby tab to contributions tab the keyboard is still visible
Steps to reproduce:
How can we reproduce the issue?

Open nearby tab.
Search for a place type.
With the soft keyboard visible open contributions tab

What did you expect the app to do, and what did you see instead?
The soft keyboard should have collapsed
Device and Android version:
What make and model device Redmi Note 7 pro
What Android version ANDROID 9
Commons app version:
2.12.3-debug
Screen-shots:

Would you like to work on the issue?
Yes

Hi @animeshk08 , A major refactor branch of nearby is about to be merged. I would recommend you to wait for it to be merged and if the issue still persists, feel free to pick it up .

Okay I had already created a PR along with the issue.

Also, can you provide some inputs for Issue #3352 @ashishkumar468


rbd: change the keyprotect metadata name to ibmkeyprotect

To be consistent with other components and also to explictly
state it belong to ibm keyprotect service introducing this
change
Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>

/retest  ci/centos/mini-e2e/k8s-1.23

Update the documentation too? And make sure that it is backported to 3.5 before anyone uses it.

@nixpanic this was not mentioend in the doc, so we are good :)

/retest ci/centos/mini-e2e/k8s-1.23

Can we keep the old name and add the new proposed name alongside the old one?
Both the names will point to the same init function and that should be okay.

Can we keep the old name and add the new proposed name alongside the old one?
Both the names will point to the same init function and that should be okay.

@Rakshith-R can be done to be utter sure we are not breaking.. @nixpanic wdyt?

Can we keep the old name and add the new proposed name alongside the old one?
Both the names will point to the same init function and that should be okay.

@Rakshith-R can be done to be utter sure we are not breaking.. @nixpanic wdyt?

There is a release with this KMS provider, so better not break it. Maybe add a warning and recommend using the new name in the configuration?

Can we keep the old name and add the new proposed name alongside the old one?
Both the names will point to the same init function and that should be okay.

@Rakshith-R can be done to be utter sure we are not breaking.. @nixpanic wdyt?

There is a release with this KMS provider, so better not break it. Maybe add a warning and recommend using the new name in the configuration?

Sure.. Done.. ptal @nixpanic .. thanks.

@Mergifyio refresh

@Mergifyio refresh


[QUESTION] What should be the orderBy pattern when using types?

Question
Hi!
I want to implement the order when selecting from the generated entity. It works well for building the projection and filtering, however I'm struggling to udnerstand what should be the sorting pattern. So far I'm only able to provide fields as a string, which is OK but would be better to use types somehow. Thanks!

Hi Petr,
that sounds like a reasonable addition. I will see if this fits in with a current rework of the QL types.
Also, I have transferred this issue over to cds-types too, as this is also related to how the cds runtime handles input and what kind of overloads are being offered and is unrelated to the generation of type information for the CDS model (cds-typer).
Best,
Daniel

thanks for transferring. Can we also change labels, since is now more like a feature proposal?


RuntimeError: The size of tensor a (196) must match the size of tensor b (3136) at non-singleton dimension 2

Found a problem.
The code says something like this:
q_norm_scaled = (q_norm + self.query_embedding) * F.softplus(self.temperature) * self.seq_length_scale
But this x and q dimensions are both [1,196,64] and your input_resolution = img_size // (2 ** (i + 2), the first input_resolution = 56, 56 * 56 = 3196 doesn't match with 196 dimensions.

hello，我也遇到了这个问题，请问你是怎么解决的


Update treeffuser.py

I think this user behavior is probably a better default. Asif got flustered it didn't output anything (+ he didn't know when it was gonna finish).
Separately, should we include something in the README that says users shouldn't hesitate about asking for help?

I think it is in the doc string no. If not we should probably document it
further and fix this in pypi asap cause a lot of people will be downloading
it.
Le lun. 2 déc. 2024, 19:34, Achille Nazaret @.***> a
écrit :

@.**** approved this pull request.
verbose is an int. do we have different levels of verbosity? is it
documented?
—
Reply to this email directly, view it on GitHub
https://github.com/blei-lab/treeffuser/pull/116#pullrequestreview-2474218922,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AORZQQLJ764URF2VX5KTKWD2DT37TAVCNFSM6AAAAABS3UZDJSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDINZUGIYTQOJSGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

I can take a look at this tomorrow after interviews.
Le lun. 2 déc. 2024, 19:39, Nicolas Beltran @.***> a écrit :

I think it is in the doc string no. If not we should probably document it
further and fix this in pypi asap cause a lot of people will be downloading
it.
Le lun. 2 déc. 2024, 19:34, Achille Nazaret @.***> a
écrit :

@.**** approved this pull request.
verbose is an int. do we have different levels of verbosity? is it
documented?
—
Reply to this email directly, view it on GitHub
https://github.com/blei-lab/treeffuser/pull/116#pullrequestreview-2474218922,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AORZQQLJ764URF2VX5KTKWD2DT37TAVCNFSM6AAAAABS3UZDJSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDINZUGIYTQOJSGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Enable branch protection rule

Chore
Describe the chore
I will enable branch protection rule on all dart/flutter repos.
In the future, we can’t merge code directly into the repo. Need to create PR and at least 1 approval review in order to merge.
FYI: @bdlukaa @dshukertjr. Let me know if you are ok with it. Thank you.

Love it!

Sounds good to me


Add property extension to Vulnerability objects

In cve2stix we try and put lots of values in the standard Vulnerability object properties.
It is now the case that it makes more sense to add a set of custom properties, defined using an extension definition object.
I have added the details here:
https://github.com/muchdogesec/stix2extensions/commit/2ef19ccefb5ce132dc13ac20696afe2c21a13038
Now need to add it to the logic to the library for it to be generated by downstream tools (e.g. cve2stix).
Schema: https://github.com/muchdogesec/stix2extensions/blob/adding-property-extensions/schemas/properties/vulnerability-scoring.json
Example of what we are trying to achieve:
https://github.com/muchdogesec/stix2extensions/blob/adding-property-extensions/generators/properties/vulnerability-scoring.py

Why not just use x-custom-property instead of extension?
x_cvss_data
x_epss_score

That way no need to add extensions and make this unnecessarily complex. Even if we should add extensions, I think it's better to add toplevel-property-extension extension as that would be easier to query in arango db

@fqrious

Why not just use x-custom-property instead of extension?

this is now deprecated
https://docs.oasis-open.org/cti/stix/v2.1/os/stix-v2.1-os.html#_8072zpptza86
I am fine to use top-level properties for the reason you state, but you do still need to include the extensions reference in the object.


Impact section - change icon for projects and volunteers and increase the text size for numbers

Also change the grey bar width for the our impact


[File Explorer] Disabling/uninstalling thumbnail providers may require cleaning up the thumbnail cache

While testing the fix for enabling/disabling the File Explorer add-ons (https://github.com/microsoft/PowerToys/pull/6883), i.e. preview handlers and thumbnail providers it was found that for thumbnail providers, if you enable/disable the setting may require restarting explorer and cleaning up the thumbnail cache. This also applies for uninstalling.
I'm not exactly sure under what circumstances does Windows normally update the thumbnail cache, but clearing the thumbnail cache using the steps in this article: https://neosmart.net/wiki/clear-thumbnails-cache/#Method_2-4, i.e. Disk Cleanup ->Thumbnails can be used consistently to enable/disable the handler once the setting has been applied from PowerToys. (more context at this comment https://github.com/microsoft/PowerToys/pull/6883#discussion_r501415314)
We should find if this step can be avoided, or if there is a way to trigger it from code.

@crutkas FYI. @chrdavis might have some insights on this.

To my knowledge you can
#1.  Programmatically invoking the thumbnail cleanup component of the desktop cleanup wizard - which I wouldn't recommend as it is not publicly supported but people seem to be doing it.

@arjunbalgovind
We have to send the message SHChangeNotify with the SHCNE_ASSOCCHANGED flag.
Quote from docs.microsoft.com:
"Remarks
Applications that register new handlers of any type must call SHChangeNotify with the SHCNE_ASSOCCHANGED flag to instruct the Shell to invalidate the icon and thumbnail cache. This will also load new icon and thumbnail handlers that have been registered. Note, however, that icon overlay handlers are not reloaded."
(https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shchangenotify)

@arjunbalgovind
We have to send the message SHChangeNotify with the SHCNE_ASSOCCHANGED flag.
Quote from docs.microsoft.com:
"Remarks
Applications that register new handlers of any type must call SHChangeNotify with the SHCNE_ASSOCCHANGED flag to instruct the Shell to invalidate the icon and thumbnail cache. This will also load new icon and thumbnail handlers that have been registered. Note, however, that icon overlay handlers are not reloaded."
(https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shchangenotify)

@Aaron-Junker  / @davidegiacometti is this in progress?

@Aaron-Junker / @davidegiacometti is this in progress?

Not really, https://github.com/microsoft/PowerToys/pull/12996 was a partial work.
Since there seems to be no way to clean thumbnails for a file extension maybe closing this for https://github.com/microsoft/PowerToys/issues/13618 could be a good choice.

Programmatically invoking the thumbnail cleanup component of the desktop cleanup wizard - which I wouldn't recommend as it is not publicly supported but people seem to be doing it

The Disk Cleanup handlers API is documented and anyone can write a custom handler.


Adds BX_CONFIG_SUPPORTS_THREAD_LOCAL

Disables thread local when there is a mismatch between compiler and loader, e.g. clang compiler supports thread local but the Android loader does not and fails to load the .so

I don't have this issue... Is this for some older Android NDK?

Either Dragon Touch on API 15 or Kindle Fire on API 10 (which I know you don't support, but API 10-15 is 20% of our market).

You can do BX_PLATFORM_ANDROID <= 15?


Support Map Reduce to convert the type

Codecov Report

Merging #6 (da7b685) into main (c4be8ab) will decrease coverage by 2.59%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
- Coverage   99.25%   96.65%   -2.60%
==========================================
  Files           7        8       +1
  Lines         403      449      +46
==========================================
+ Hits          400      434      +34
- Misses          2       14      +12
  Partials        1        1

Flag
Coverage Δ

unittests
96.65% <76.92%> (-2.60%)
:arrow_down:

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

Impacted Files
Coverage Δ

slice_mapping.go
73.91% <73.91%> (ø)

slice_ordered.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 c4be8ab...da7b685. Read the comment docs.


chore(deps): bump https://github.com/jenkins-x/jx-cli to 3.0.142

Update jenkins-x/jx-cli to 3.0.142
Command run was ./promote/main

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jenkins-x-labs-bot
You can assign the PR to them by writing /assign @jenkins-x-labs-bot in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


NFS plugin does not support ControllerServiceCapability

Since NFS plugin does not support ControllerServiceCapability,
set it to csi.ControllerServiceCapability_RPC_UNKNOWN.
Also set ControllerServer to nil instead of using the default
because ControllerServer is not implemented in NFS plugin.
If this support is added in the future, capabilities need to
be added accordingly.

@rootfs @sbezverk

/lgtm


Sidekick shows CMD+S save tip when reloading from .page

This should only be displayed in the edit environment.

I thought it would be useful here as well: if you make a change in an editor tab without cmd + s and switch to a .page tab to press reload, you won't see the latest changes...

yes, but I only read press cmd+s (ignoring the mambo jambo about the editor) and then I got the save-page dialog of the browser.

OK, I can revert to the standrad "please wait..." here.

Fixed


Clean ABIs following the removal of the factory address retrieval

Remove functions factory and voter from pool contract ABIs
Remove the Velocimeter-V2 ABI and use the Solidly-V2 ABI instead

@sklbancor Please close when done inspecting :)


release 3.0.0

Release first version with Quarkus 3

It's weird to have a 3.0.0, given that you don't have even a 1.0.0 yet, but it's your call

Do not release from a fork,  you need to trigger from a branch in this repository.

@Hemantkumar-Chigadani since you're a committer here, I'd recommend you to delete your fork and use branches in this repository during the development

It's weird to have a 3.0.0, given that you don't have even a 1.0.0 yet, but it's your call

@gastaldi I thought there is relation b/w Major version to be same as that of quarkus Major version as convention. I can get it started from 1.0.0.
Quick question: How would be this extension appear under group-id  io.quarkus.platform ever?

Closing this PR in favour of #10

Quick question: How would be this extension appear under group-id io.quarkus.platform ever?

Quarkiverse extensions are required to always be under the io.quarkiverse.* groupId and that will not change.
Now if you're asking to be part of the BOM, you need to be part of the https://github.com/quarkusio/quarkus-platform, which has a more rigorous process (which I personally don't think you need it)


Introduce sematic versioning.

Introduce GitVersion with a major - minor - patch versioning scheme & tag docker images.

Closed by #12


docs are confusing

where is this store created or mentioned? https://redux.js.org/tutorials/quick-start#provide-the-redux-store-to-react

...in the section directly above? https://redux.js.org/tutorials/quick-start#create-a-redux-store

to turn down the snark a little - is the default export confusing?
It's exported as default from the store file, and imported using the default export.


fix(telescope): allow passing theme options to select

This PR adds the ability for a user to specify the options they would like to add to the telescope picker. Currently, a user can only choose a theme as a string but cannot determine things like the width, height, border characters etc. This PR adds the ability for a user to pass the theme object or a string to dressing to have that be used by telescope.
e.g.
use {'dressing.nvim', config = function()
	config = function()
        require('dressing').setup {
          select = {
            winblend = 2,
            telescope = {
              theme = require('telescope.themes').get_cursor { -- or 'cursor'
				border_chars = {chars_i_like},
                layout_config = {
                  height = function(self, _, max_lines)
                    return random_height_i_computed
                  end,
                },
              },
            },
          },
        }
      end

This is similar to how https://github.com/nvim-telescope/telescope-ui-select.nvim works, tbh I'm not actually sure passing { previewer = false } is necessary since that plugin doesn't bother to do that and it doesn't try and create a preview 🤷🏿

LGTM, thanks for the PR!


Competitive Programming : Disjoint Set Union

Description 📜
Would like to add the documentation for Disjoint Set Union (Trees - Data Structures)
Can you please assign me for this issue?
Thanks

Domain of Contribution 📊

[x] C/CPP
[x] Competitive Programming
[x] DSA
[x] Open Source

/assign

/assign

/assign


Grid view disappears

Godot version
v4.1.beta.custom_build [522a2ea3f]
System information
Windows 10, Vulkan, GTX 960 536.23
Issue description
When the grid is disabled in a scene and subsequently closed, it will not be displayed again and will remain invisible unless you refresh it from the 'view' option. This doesn't happen with the origin, but sometimes its colors may appear faded if you try to activate the grid again.
Steps to reproduce
https://github.com/godotengine/godot/assets/48926464/c31770de-55c3-403a-8d91-07fc1184cae1
Note: It is not necessary to open or create a scene, just follow the steps shown in the video.
Minimal reproduction project
N/A

New contributor here. I have previous experience with GUI as well as graphics development. I would like to take this one.

I can confirm the bug.
What would be the desired outcome?
Should a new scene show both the grid and the origin even if they were disabled in the previous new scene?

@Loethor I think this should be the expected outcome. I have debugged through the code and found out the exact issue. Just trying to work on a solution.

@clayjohn if you can confirm that this is the expected outcome, it would be great.


New function of tap

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
tap(console.log)('hello') // 'hello'
log: hello

:tada: This issue has been resolved in version 1.9.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.9.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


remove catalogs

Codecov Report

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

@@          Coverage Diff           @@
##           master     #92   +/-   ##
======================================
  Coverage    83.1%   83.1%
======================================
  Files           9       9
  Lines         515     515
======================================
  Hits          428     428
  Misses         87      87

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 e8fdfdd...0c579c5. Read the comment docs.


updates mermaid diagram

I took the gray background out but this is still pretty small. See what you think. I was happy with the rest.

We could make it so that the first sugraph is left to right in the first three boxes and then vertical for the 3-4 and right to left from 4-5 and then there is vertical arrows connecting subgraphs 1 -> 2  -> 3

It wouldn't allow me to suggest the changes at once. So I had to break it up. But this is what the entire diagram code should be:
flowchart TD
    %% Group 1: Pre-Deployment
    subgraph group1 [Pre-Deployment]
        direction LR
        A("Local \nDevelopment \nand Testing") --> B("Runtime \nCompilation")
        B --> C("Generate \nChain \nSpecifications")
        C --> D("Prepare \nDeployment \nEnvironment")
        D --> E("Acquire \nCoretime")
    end

    %% Group 2: Deployment
    subgraph group2 [Deployment]
        F("Launch \nand \nMonitor")
    end

    %% Group 3: Post-Deployment
    subgraph group3 [Post-Deployment]
        G("Maintenance \nand \nUpgrades")
    end

    %% Connections Between Groups
    group1 --> group2
    group2 --> group3

    %% Styling
    style group1 fill:#ffffff,stroke:#6e7391,stroke-width:1px
    style group2 fill:#ffffff,stroke:#6e7391,stroke-width:1px
    style group3 fill:#ffffff,stroke:#6e7391,stroke-width:1px

I do see this warning btw [23:20:14] "GET /tutorials/polkadot-sdk/testing/spawn-basic-chain/ HTTP/1.1" code 404

I have to imagine that warning is because you have a tab open on that page, but that page has moved


Multiple domains cause spf problems

Context

I have multiple mail servers to this container. When I setup the primary server everything worked fine, spf, dkim, DMARC. I added another server and when I send an email it says received from my primary server. It therefore failea erverything.
Expected Behavior

Actual Behavior

Possible Fix

Steps to Reproduce

Your Environment

Amount of RAM available:
Mailserver version used:
Docker version used:
Environment settings relevant to the config:
Any relevant stack traces ("Full trace" preferred):

Does you SPF record of the other domain contain the correct details?
You can test here if correctly set up: http://www.appmaildev.com/en/dkim

Yes. I’ve had this problem before on a non docker server. I do remember I had to dynamically set postfix goat name so that hosts receiving don’t get confused.

Thats not nessesary. Just configure the SPF correctly on the domain.
Example:
Server dns = mail.example.com

domain1.com mx 10 mail.example.com
domain2.com mx 10 mail.example.com

Both have a SPF with v=spf1 mx -all
That should do it. The reverse dns of the IP should match mail.example.com

Sorted. Was a configuration issue. Though DMARC isn’t applying, only on the primary domain.

You need to enable it for DMARC. All other domains can be supported to.


Bump DfE gems

The branch name is too long for our build pipeline.
Bumps rails, db-query-matchers, dfe-analytics, dfe-autocomplete, dfe-reference-data, get_into_teaching_api_client_faraday and rspec-retry. These dependencies needed to be updated together.
Updates rails from 7.0.8 to 7.1.0

Release notes
Commits

Updates db-query-matchers from 0.11.0 to 0.8.0

Release notes
Changelog
Commits

Updates dfe-analytics from efcd939 to 1.11.0

Commits

Updates dfe-autocomplete from c31601c to 0.1.0

Commits

Updates dfe-reference-data from 605eee6 to 2.3.1

Release notes
Commits

Updates get_into_teaching_api_client_faraday from 6619b0f to 3.3.0

Commits

Updates rspec-retry from 306b42b to 0.7.0

Commits

updated-dependencies:

dependency-name: rails dependency-type: direct:production update-type: version-update:semver-minor
dependency-name: db-query-matchers dependency-type: direct:development update-type: version-update:semver-minor
dependency-name: dfe-analytics dependency-type: direct:production
dependency-name: dfe-autocomplete dependency-type: direct:production
dependency-name: dfe-reference-data dependency-type: direct:production
dependency-name: get_into_teaching_api_client_faraday dependency-type: direct:production
dependency-name: rspec-retry dependency-type: direct:development ...

Context

Changes proposed in this pull request

Guidance to review

Link to Trello card

Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] If it adds a significant user-facing change, is it documented in the CHANGELOG?
[ ] Required environment variables have been updated added to the Azure KeyVault

Updates db-query-matchers from 0.11.0 to 0.8.0

We should wait until this gets merged so it doesn't downgrade the version.


Expose supported ApplePay networks and button styling

Hello Moyassar's team 👋
the is a small change on ApplePay and ApplePayConfig to enable SDK users to have a finer control over the supported networks and button styling.
All of the new parameters are optional and will default to the previous hardcoded values so that no breaking changes are introduced.

Hey @yosif111 👋
Thank you for this PR, looks good and achieves the purpose. 👌 @ahoshaiyan please go ahead with the merge. I'll take it forward in our release flow.


Confusing rules around function parameter names in a type

Bug Report
In auditing some code, I've noticed something that doesn't seem like it should compile. In >=4.95, the following code compiles without an issue, but in <=4.7.4, there is an error. Why is it possible to specify an object for the name of a parameter? This code was likely the result of a bad copy/paste, but TS isn't erroring on it. Am I missing something about the syntax? Also, is the discrepancy between versions intended?
const DEFAULT_NUM_PAGINATED_RESULTS = 10;
type IPaginatedParams = {first?: number; after?: string;}

type GetPaginatedResults = <Obj, Key extends keyof Obj>(

  items: Obj[],

  { first = DEFAULT_NUM_PAGINATED_RESULTS, after }: IPaginatedParams,

  key: Key

) => { items: Obj[]; hasMore: boolean };

Playground links for 4.7.4 vs 4.9.5
🔎 Search Terms
function parameter names

Looks like an unintended consequence of #49089

Minimal:
// Should syntax error
type Foo = ({ first = 0 }: { first?: number }) => unknown;


[BUG] SystemV number of vector register reset

Describe the bug
Before function calls eax needs to be reset:
xor eax, eax

but it doesn't get added https://github.com/Cr0a3/ygen/blob/main/src/Target/x64/ir.rs#L552 (it gets optimized out)

fixed the optimization out

But's still giving segmentation fault


feat(#940): Implement action/command/capture deprecation process

Implementation of a variant of the action deprecation system from #940 that also covers captures and voice commands.
This system should let us take care of the breaking changes proposed in #928 and #939 smoothly for example.

Summary of discussion:

We want every deprecated voice command to come with a replacement. We also decided to throttle these per-phrase rather than every 2 hours; since there's a replacement available, the idea is that folks should immediately switch to the replacement. Throttling could also be unhelpful: if someone sees a notification but it disappears before they read it, then says the command again, they may find it frustrating if they can't get the notification to reappear.

We're not sure about the deprecation period of 4 months; many people don't update knausj for longer periods than that, so we probably want more like 6 months to a year.

I made a couple more refactoring changes and adjusted the setting to have the same prefix as the actions.
I'm happy for this to be merged in.

@pokey @rntz does this look good to merge?


Adds support for custom asynchronous functions

-Fixes #40
-Adds capability to register custom async function with Power FX.

:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Connectors.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Core.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Interpreter.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.LanguageServerProtocol.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Transport.Attributes.dll

public class CustomFunctions : PowerFxTest

Another test:
Custom functions can also bind to services from the ServiceProvider.
See this test:
https://github.com/microsoft/Power-Fx/blob/9330cd645ca5a9bcc7368d5d407022b4fec0db03/src/tests/Microsoft.PowerFx.Interpreter.Tests/ConfigTests.cs#L379
The 1st arg is actually bound to services from the RuntimeConfig.
public StringValue Execute(Runtime config, NumberValue x)
Can we make this async, ala:
public Task Execute(Runtime config, NumberValue x)

Refers to: src/tests/Microsoft.PowerFx.Interpreter.Tests/CustomFunctions.cs:16 in 01818b3. [](commit_id = 01818b3b86ebc5c6b415bf4ce0ed40acf1cdb898, deletion_comment = False)

    public virtual FormulaValue Invoke(IServiceProvider serviceProvider, FormulaValue[] args)

Can we just make this function async?
It's ok if it calls a sync call that doesn't take advantage of being async.
And then avoid adding new class CustomAsyncTexlFunction ?

Refers to: src/libraries/Microsoft.PowerFx.Interpreter/ReflectionFunction.cs:53 in 01818b3. [](commit_id = 01818b3b86ebc5c6b415bf4ce0ed40acf1cdb898, deletion_comment = False)

:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Connectors.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Core.dll
:x: 1 Binary Compatibility issues for Microsoft.PowerFx.Interpreter compared against version 0.2.3-preview.20220928-323377.

MembersMustExist : Member 'Microsoft.PowerFx.ReflectionFunction.Invoke(System.IServiceProvider, Microsoft.PowerFx.Types.FormulaValue[])' does not exist in the implementation but it does exist in the contract.

:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.LanguageServerProtocol.dll**
:heavy_check_mark: No Binary Compatibility issues for **Microsoft.PowerFx.Transport.Attributes.dll**

:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Connectors.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Core.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Interpreter.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.LanguageServerProtocol.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Transport.Attributes.dll

:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Connectors.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Core.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Interpreter.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.LanguageServerProtocol.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Transport.Attributes.dll


Relax matching criteria and patch question-related issues

Pull Request
Description
The matching logic now supports matching by common preference in complexity and topic.
Upon matched, the success view should display their common preferences that will be used to query for questions.
After the owner requests to start the collab, the lobby will query for questions, and  redirect clients to collab page once the question is ready,
Related Issue(s)
Close #91
Changes Made

Relax matching criteria
Support question selection for collab setup
Add toast messages for the question page
Update question wrapper layer
Consume getTopics in matching card and question modal.
Fix issue with hidden buttons in some matching lobby view
Fix issue with the constraints and examples field in ModifyQuestionModal

Screenshots (if applicable)

Matched view:

Question selection:

Checklist

[x] I have checked that the changes included in the PR are intended to merge to master or any destination branch.
[x] I have verified that the new changes do not break any existing functionalities, unless the new changes are intended and have approved by the team.
[x] I will take care of the merging and delete the side-branch after the PR is merged.

Additional Notes/References

Question wrapper did not implement throwAndLogError as server action are unable to throw custom exceptions to client component.

Just an update of the bug that I reported yesterday. This is regarding the matching modal does not appear. Here is how to reproduce the bug:

For two users, try to match in the first round. Any topic is fine (I believe). For my case, I used (Python, Easy, Array).
Once both parties accept the match and has been redirected to the collaboration workspace, exit the room by either clicking the end session button or click the logo to back to home page.
Try clicking the Get Matched button again, and the modal will not appear.

Possible guess:
I think it might be related to the need of doing page refresh. Because every time when I encountered this, refresh the page and it will back to normal.

Another flaw that I found is that even though the two parties have clicked the ready button, if one person refreshed his page, then he gets disconnected. Not sure if this is the intended behaviour? One issue might be that the room host click the start peerprep button but then like 0.001s before the button click the user refreshes his page... ?

After John Doe refresh his page:

Ah and another potential issue from the user experience POV is that if both parties have clicked the ready button, but the room host does not click the start peerprep button and then the partner can only wait haha. Ok even though for now he can simply quit the session by page refreshing. So if this page refresh is not intended and then after you fixed that issue, you might also want to consider setting timeout/auto-start for this issue.

Ui issue again:
As for now if the topic tags are too many, then the overflowed topic cannot be seen. Do you think if it is possible to allow horizontal scrolling in your dropdown list?

Another bug that I found is that when this thing comes out:

Entering the collaboration page from the room host side will have this error, but this error does not break any functionality:

If you want to reproduce this error:

For two users A and B, set A preferences as (Python, Medium, Array, String), and B preferences as (Python, Medium, String). Let's us assume that A is the room host.
Accept the match, pick any of the question in the dropdown list, and enter the collaboration workspace.
You will see the error toast occurs at A, this only occurs at the host side.

So I have a follow-up question regarding this issue:
I was actually thinking that can we do random question assignment instead of letting the room host pick a question? So that when we have the history service, we can remove questions that are already attempted by either one of the room participants, or at least reduce the likelihood of getting attempted questions.

Thankss @tryyang2001 for finding the bugs.

Just an update of the bug that I reported yesterday. This is regarding the matching modal does not appear. Here is how to reproduce the bug:

Fixed

Another flaw that I found is that even though the two parties have clicked the ready button, if one person refreshed his page, then he gets disconnected. Not sure if this is the intended behaviour? One issue might be that the room host click the start peerprep button but then like 0.001s before the button click the user refreshes his page... ?

It is the intended behavior. Once the page got refreshed, the socket gets disconnected, even if the user request matching again, the socket Id is different already, so there's no way to rejoin the user unless matching service have knowledge of the user database. so I guess the simplest approach is to disconnect them.

Ui issue again:

added a tooptip for it.

I was actually thinking that can we do random question assignment instead of letting the room host pick a question? So that when we have the history service, we can remove questions that are already attempted by either one of the room participants, or at least reduce the likelihood of getting attempted questions.

no idea what cause the runtime error. as for random assignment I dont think it matters, I can filter the options when history service is ready. but that raises another question is that who's history should we take into account.

server action are unable to throw custom exceptions to client component.

let's continue this discussion over #47


Sqlce4

Hi Sean,
I added support for sqlce 4.0. Please review the code, I am happy to change whatever. I am running of this branch quite happily in my current application, and i have added a few tests in this branch. I am planning to add more tests when I have more time.

This is a really nice pull request and I apologize that it nobody has looked at this before. I have rebased in all the changes since May and refactored it to include the factory changes in the processor class as we have done with the other processor classes. I will be submitting it as a new pull request in the next day or two. Thank you very much for all your hard work.

I have got this working with all the integration tests and everything. But I am only seeing some very small differences in the processor class (index exists) compared to the existing sqlce support. Am I missing some major difference? Otherwise I'll cherrypick a few of the small changes you've made and just add them to the existing classes for Sqlce.

No worries mate,
I did a quick and dirty. Just enough to make it work for me. :)
On Nov 25, 2011 9:23 AM, "Daniel Lee" <
<EMAIL_ADDRESS>wrote:

I have got this working with all the integration tests and everything. But
I am only seeing some very small differences in the processor class (index
exists) compared to the existing sqlce support. Am I missing some major
difference? Otherwise I'll cherrypick a few of the small changes you've
made and just add them to the existing classes for Sqlce.

Reply to this email directly or view it on GitHub:
https://github.com/schambers/fluentmigrator/pull/114#issuecomment-2870042

@daniellee can we change this pull request then, if you are just cherry picking the needed bits?

@abusby Yeah sure, check out my working branch of this at https://github.com/daniellee/fluentmigrator/tree/114
But I am not totally happy with it. Way too much duplication between SQLCE 3.5 and 4.0. And I haven't tested that the SQLCE 3.5 version works.

@daniellee sorry it was late when I wrote this, I mean close

@daniellee why not?

Well, we only support one version of Sqlite. If you have a 3.5 database is there any reason not to upgrade to 4.0? Do people use this as a production database or just for testing and prototypes?


Make logsagentexporter config options public

What does this PR do?

We added new config options for the logsagentexporter in this PR: https://github.com/DataDog/datadog-agent/pull/24622. The config options can't be used outside of this module because they're currently private, this PR makes them public.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


kanidm: fix build for rust v1.75

Description of changes
closes: #281018
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

It seems that the modifications in the patch are already part of the master branch but not part of the rc branch which we use. For now I have made the patch myself but a better solution would be to have @yaleman backport https://github.com/kanidm/kanidm/commit/dbf476fe5ea2c120dff9a85e552be9f898c69ce7 into the branch we use.
On another note, the VM tests are broken and get stuck due to a missing path to a bash shell, can anyone take a look at that?

This still fails for me:
  Compiling nss_kanidm v1.1.0-rc.15 (/build/source/unix_integration/nss_kanidm)
error[E0277]: a value of type `hashbrown::HashSet<(&SmartString<LazyCompact>, &value::IndexType)>` cannot be built from an iterator over elements of type `&(_, value::IndexType)`
   --> server/lib/src/filter.rs:581:42
    |
581 |         let idxmeta_ref = idxmeta.iter().collect();
    |                                          ^^^^^^^ value of type `hashbrown::HashSet<(&SmartString<LazyCompact>, &value::IndexType)>` cannot be built from `std::iter::Iterator<Item=&(_, value::IndexType)>`
    |
    = help: the trait `FromIterator<&(_, value::IndexType)>` is not implemented for `hashbrown::HashSet<(&SmartString<LazyCompact>, &value::IndexType)>`
    = help: the trait `FromIterator<(&SmartString<LazyCompact>, &value::IndexType)>` is implemented for `hashbrown::HashSet<(&SmartString<LazyCompact>, &value::IndexType)>`
    = help: for that trait implementation, expected `(&SmartString<LazyCompact>, &value::IndexType)`, found `&(_, value::IndexType)`
note: the method call chain might not have had the expected associated types
   --> server/lib/src/filter.rs:581:35
    |
565 |           let idxmeta = vec![
    |  _______________________-
566 | |             (Attribute::Uuid.into(), IndexType::Equality),
567 | |             (Attribute::Uuid.into(), IndexType::Presence),
568 | |             (Attribute::Name.into(), IndexType::Equality),
...   |
578 | |             (Attribute::DirectMemberOf.into(), IndexType::Presence),
579 | |         ];
    | |_________- this expression has type `Vec<(_, IndexType)>`
580 |
581 |           let idxmeta_ref = idxmeta.iter().collect();
    |                                     ^^^^^^ `Iterator::Item` is `&(_, IndexType)` here
note: required by a bound in `std::iter::Iterator::collect`
   --> /build/rustc-1.75.0-src/library/core/src/iter/traits/iterator.rs:2050:5

@adamcstephens Can you try again?

Should this be backported to stable? I just ran into it today.

Yes. I guess I'd assumed the rust changes wouldn't have gone to stable, but...the kanidm build is indeed failing there.

Yes. I guess I'd assumed the rust changes wouldn't have gone to stable, but...the kanidm build is indeed failing there.

Is it?

It might not be, just realized the machine I got the failure for was on unstable. Will investigate later today. Might be user error

I tested the build locally on nixos-23.11 and it failed to build. I’ve no idea what hydra-check is reporting but that date is from November.

Ok feel free to merge the backport.

I guess I'm actually confused, because I just rechecked and that cached build is correct. So it's not required, as hydra-check is correctly reporting, but I don't think the backport will hurt. If anything it'll fix the version label in stable.

I'm confused too, the particular machine I had the issue on was actually on unstable. I forgot I changed it to unstable.


add flhudson' live demo

Terve!
@MoAlyousef I add FlHudson's live demo. It's a FLTK's shell for running some console programs (siege, virsh).
Can you add handling for deactivated widgets?
Kiitos, ystävällisin terveisin
Artöm

Hello @theavege
What do you mean by "Can you add handling for deactivated widgets"?

If widget is deactivated, then it can handle some event.
For example: I want to activate and deactivate some widget through handle + event.

If you can provide a minimal reproducible example of what you're trying to do, that would be helpful.

use fltk::{
    app,
    button::Button,
    enums::{FrameType, Event},
    valuator::Dial,
    group::Flex,
    prelude::*,
    window::Window,
};

const HEARTBEAT: Event = Event::from_i32(404);

fn main() {
    let app = app::App::default().with_scheme(app::Scheme::Plastic);
    let mut wind = Window::default().with_size(640, 360).with_label("Dial");
    {
        let mut page = Flex::default().with_size(100, 200).center_of_parent().column();
        crate::dial();
        Button::default().with_label("@circle").set_callback(move |_| {
            app::handle_main(HEARTBEAT).unwrap();
        });
        page.end();
        page.set_frame(FrameType::FlatBox);
        page.set_margin(10);
        page.set_pad(10);
    }
    wind.end();
    wind.show();
    app.run().unwrap();
}

fn dial() {
    const DIAL: u8 = 120;
    let mut element = Dial::default();
    element.deactivate();
    element.set_maximum((DIAL / 4 * 3) as f64);
    element.set_value(element.minimum());
    element.handle(move |dial, event| if event == HEARTBEAT {
        dial.set_value(match dial.value() == (DIAL - 1) as f64 {
            true => dial.minimum(),
            false => dial.value() + 1f64,
        });
        true
    } else {
        false
    });
}

Why does this cause an error?
app::GlobalState::<HashMap<String, SharedImage>>::new(HashMap::new());

app::GlobalState::<HashMap<String, String>>::new(HashMap::new()); doesn't cause an error on my system!
Regarding handling custom events in deactivated widgets, I think that depends on FLTK.

thread 'main' panicked at /home/tux/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fltk-1.4.32/src/app/state.rs:26:46:
called `Result::unwrap()` on an `Err` value: Mutex { data: Any { .. }, poisoned: false, .. }

I have no time for it

Unlock the repository. I've made the improvements I needed to the code.

This is a repo showcasing small bite-size demos. It's not a place to host personal projects, neither yours nor mine.  As such I'll be removing any sub-project which doesn't fit this from here. Please take the time to host them under your name, and continue developing them there. I don't need the continuous notifications about them.

Ok. It's all clear to me.
I've made improvements to flemish.
Can you accept them?
I've make a demo to help beginners.
I am ready to support Flemish.
Will you unlock the repository?

This also applies to flemish. I’m not sure why you seem against hosting projects under a seperate repo per project or under a repo with multiple demo projects (which I can point to as well), which I had suggested already several times before. You also said you wouldn’t add more demos to flemish. I’ve also stated several times before that I’m against copying or porting or people’s projects into here.
I don’t want to repeat every concern I have over and over.

You asked if I would maintain my edits. I will maintain and improve the code I edited.

https://github.com/fltk-rs/flemish/pull/10#issuecomment-2156017466

There is a condition that I support my code.
And here is my attempt to get you interested in the project.
And here too.
Don't You like that I add examples? Ok. Don't accept them. Roll back my all changes.
Accept only changes in lib.rs flemish.
That's all.
I'll leave your project.
Flemish is a good project.
I tried to improve it.

First of all, will do. Second of all, you don’t get to act entitled here.  These are free open source projects. Make sure you understand this before trying to contribute to other projects as well.


[Question] Can I disable easing in animations?

I have checked the code, but I couldn't find anything regarding animations without an easing-function. Is it possible to disable easing at all?

If you don't specify a duration the animation step should have the effect you're looking for.


vSphere VMs need to have the disk.enableUUID=1 flag set

Rancher versions:
rancher/rancher: v2.0.3
rancher/agent or rancher/rancher-agent:
Infrastructure Stack versions:
healthcheck:
ipsec:
network-services: flannel
scheduler:
kubernetes (if applicable): 1.10.3
Docker version: (docker version,docker info preferred)
[docker@dev-us-2-etcd2 ~]$ docker version
Client:
 Version:      17.03.2-ce
 API version:  1.27
 Go version:   go1.7.5
 Git commit:   f5ec1e2
 Built:        Tue Jun 27 01:35:00 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.03.2-ce
 API version:  1.27 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   f5ec1e2
 Built:        Tue Jun 27 01:35:00 2017
 OS/Arch:      linux/amd64
 Experimental: false

Operating system and kernel: (cat /etc/os-release, uname -r preferred)
RancherOS 1.4-vmware
NAME="RancherOS"
VERSION=v1.4.0
ID=rancheros
ID_LIKE=
VERSION_ID=v1.4.0
PRETTY_NAME="RancherOS v1.4.0"
HOME_URL="http://rancher.com/rancher-os/"
SUPPORT_URL="https://forums.rancher.com/c/rancher-os"
BUG_REPORT_URL="https://github.com/rancher/os/issues"
BUILD_ID=

4.14.32-rancher2
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
vSphere 6.5
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single Node rancher
Steps to Reproduce:
Provision a cluster
Specify image, I used rancherOS 1.4-vmware
When cluster is up, deploy a workload with a PVC volume
Results:
Volume will get attached to the correct VM then it bugs out.
The reason behind this is that the VMWare VCP requires disk.EnableUUID to be set to true for all VMs in order to be successful in mounting the persistent disks.
How to fix temporarily:

Install govc
locate all the VMs in your cluster and the correct path to them inside vSphere
Run this script to turn set the flag:

#! /bin/sh
GOVC_INSECURE=1 # or 0
GOVC_URL=<vcenterIP>
GOVC_USERNAME=<vsphere-username>
GOVC_PASSWORD=password123

VMFOLDER="/<cluster>/vm/<vm-folder>/" # can be obtained through govc ls and then you just iterate untill you locate your VMs
for vm in vm1 vm2 vm3
do
    govc vm.change -e="disk.enableUUID=1" -vm="$VMFOLDER$vm"
done

The cloud-provider section of the cluster config:
cloud_provider:
  name: "vsphere"
  vsphere_cloud_provider:
    disk:
      scsicontrollertype: "pvscsi"
    global:
      insecure-flag: false
      password: "password123"
      port: "443"
      soap-roundtrip-count: 0
      user: "<vsphere-user>"
    virtual_center:
      <vpshere-IP>:
        password: "password123"
        soap-roundtrip-count: 0
        user: "<vsphere-user>"
    workspace:
      datacenter: "<datacenter>"
      default-datastore: "vsanDatastore"
      folder: "<vmfolder>"
      resourcepool-path: "<resourcepool path>"
      server: "<vsphere-ip>"

According to https://www.veritas.com/support/en_US/doc/129690088-129690091-0/uxrt-731_v85424878-129690091, this can be set using cfgparam which is exposed in the UI when creating a node pool. If that works, we can build in logic to automatically enable this if the cloud provider is configured.

This can be added in the Node Template under "Configuration Parameters used for guestinfo"
I added it as "disk.enableUUID=TRUE", it works fine.

@spawnia Do you provision your storage classes through the UI as well? I can't seem to get them to work. Through the kubectl CLI it works fine. I have done extensive testing yet.

This is caused by a type in the UI, see #14333
I created a PR to the UI, in the meantime, you can just use this:
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: thin
provisioner: kubernetes.io/vsphere-volume
parameters:
    diskformat: thin

@spawnia Excellent work! Feel free to join us at the Rancher vSphere slack channel @ rancher-users.slack.com

Version - 2.0 master 8/27
Verified fixed.  The key is being set in node template.


hoodie.account.isSignedIn() returns true in “signout" event handler

closes hoodiehq/camp#9

great, LGTM! Thanks for the patience @dsims00 :)
ping @hoodiehq/maintainers for 2nd review 👀

LGTM Great work! And great job debugging a synchronization issue!

👏 released as v3.0.2


using reference labels for multi word labels at prediction time

I am trying to find out if there is a possibility at prediction time,  of having some sort of identifier returned as predictions instead of documents or multi-word labels. In the wikipedia search example (document search task, trainingMode 2), It would mean having a wikipedia article and a reference, say URL, in the basedoc, and the prediction returning the URLs instead of the documents.  That is if predicted document in the basedoc is as follows:
word1 word2 word3 ... wordn <tab>__label__URL
Instead of getting word1 word2 word3 ... wordn as the prediction, I will get __label__URL instead.
In my use case I generate the labels that end up in the basedoc after combining multiple sources. After all preprocessing it's is cumbersome to map back to original sources, but with a self defined _label__X I can achieve that.
Is that possible? Is that a valid feature to have?

@paulgid, thanks for the feature request. I felt that is a more case specific feature. Please feel free to add that feature and submit a pull request. The prediction part is mostly contained in src/starspace.cpp (https://github.com/facebookresearch/StarSpace/blob/2016eaab37e529f85fa95e9b83fe85c424a21d2a/src/starspace.cpp#L253)


Early sections mention a similar setup for Azure SQL (vs Data Warehouse) but not such instructions are shown

Documentation appears incomplete in the way described in the subject line.

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

ID: 8e253528-7277-9f78-06e7-fff9f91e7a79
Version Independent ID: 36ade0d7-ae89-da1e-2c74-65a4defefa84
Content: Tutorial: Load New York Taxicab data - Azure SQL Data Warehouse
Content Source: articles/sql-data-warehouse/load-data-from-azure-blob-storage-using-polybase.md
Service: sql-data-warehouse
Sub-service: load-data
GitHub Login: @kevinvngo
Microsoft Alias: kevin

@ezra-at-lumedic Thank you for the feedback.
We are actively investigating and will get back to you soon.

@ezra-at-lumedic Thank you for the feedback.
The tutorial is very specific to Azure SQL Data Warehouse.
The confusion should go away once the document is updated to use the new name Synapse Analytics.

We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


resource-level locks support using the id of the resource to be locked

--resource argument
old --resource-name arg still allowed
az resource lock delete -n lockName --resource /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[y ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

Command Guidelines

[y ] Each command and parameter has a meaningful description.
[y ] Each new command has a test.

(see Authoring Command Modules)

@troydai take another look please


[BUG] bg_space -> brainglobe_space

Describe the bug
Reported by @Eddymorphling in https://github.com/brainglobe/brainglobe-workflows/issues/83#issuecomment-1959884804

when I run brainmapper -h, I get the below error.

(brainglobe_v2) [ivm@vn2013is10 ~]$ brainmapper -h
Traceback (most recent call last):
  File "/home/ivm/conda/envs/brainglobe_v2/bin/brainmapper", line 5, in <module>
    from brainglobe_workflows.brainmapper.main import main
  File "/home/ivm/conda/envs/brainglobe_v2/lib/python3.10/site-packages/brainglobe_workflows/brainmapper/main.py", line 15, in <module>
    import bg_space as bgs

To Reproduce
Please enter full details of how to reproduce this bug.
Expected behaviour
A clear and concise description of what you expected to happen.
Log file
Please attach the log file if relevant (e.g. output/cellfinder_2019-12-17_13-29-46.log)
Screenshots
If applicable, add screenshots to help explain your problem.
Computer used (please complete the following information):

OS: [e.g. Linux, Windows, macOS] For macOS, please specify if you have an Intel or M1 CPU (M1 is likely if your mac is new).
Version [e.g. 18.04]
Hardware specs [e.g. 128 GB RAM, Xeon 4114 CPU].

Additional context
Add any other context about the problem here.

Fixed by @sfmig in #82 - I'll make a release now.


Give feedback during slow first run (#TTFX)

Try e.g. in a fresh session, using PkgGraph; depgraph_image(:Plots). is slow.
so ig, figure out uncompiled methods. some kinda flag, or a julia internal we can abuse

Actually subsequent runs are also kinda slow, for this big (and non-installed) package (compare with eg :ChainRulesCore).
so yes, some kinda progress indication here. as predicted in

https://github.com/tfiers/PkgGraph.jl/issues/5#issuecomment-1364762234

mayb if gathering deps (repeatedly calling that init_pkg_info!) is slow, then a line for each or sth

Ooh actually, SnoopPre :)

Re

https://github.com/tfiers/PkgGraph.jl/issues/97#issuecomment-1407425759

hah, so it wasn't a precomp issue

so it's more like "Give feedback during slow function calls"
step 1:

[ ] profile

oh god, profview on WSL..
ok, according to this [https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps], should be possible
so, downloading 1GB "Intel® Graphics – Windows* DCH Drivers", gfx_win_101.3790_101.2114.exe

oh god, profview on WSL..
ok, according to this [https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps], should be possible
so, downloading 1GB "Intel® Graphics – Windows* DCH Drivers", gfx_win_101.3790_101.2114.exe
oh wow, gedit example works out of the box, not even having installed that intel gpu driver
ok and profview works out of the box too.
so I'm scared of that driver: could make it not work anymore

To run Linux GUI apps, you should first install the driver matching your system below. This will enable you to use a virtual GPU (vGPU) so you can benefit from hardware accelerated OpenGL rendering.

Do I have vGPU / hardware-accelerated OpenGL rendering already?
https://www.hanselman.com/blog/how-to-run-linux-gui-apps-on-windows-10-with-wsl-and-wslg
https://ubuntu.com/tutorials/enabling-gpu-acceleration-on-ubuntu-on-wsl2-with-the-nvidia-cuda-platform#1-overview
ok, two trusted sources, seems legit
someone w/ same question: https://github.com/microsoft/wslg/discussions/78
glxinfo is part of that Mesa
https://en.wikipedia.org/wiki/Mesa_(computer_graphics)

an open source implementation of OpenGL, Vulkan, and other graphics API specifications. Mesa translates these specifications to vendor-specific graphics hardware drivers

ok, so can't optimize that really.
So, feedback there, sure :)
only in direct_deps_from_registry (double clicked it; opened in code. woah. <3 ProfileView)

step 1:

[x] profile

ok, so can't optimize that really.
So, feedback there, sure :)
only in direct_deps_from_registry (double clicked it; opened in code. woah. <3 ProfileView)

We don't know how deep the rabbit hole goes (how many pkgs in tree) beforehand.
So, cannot use the nice ProgressMeter.jl
I want the cool spinners of Pkg etc

So ok, we have this now (see upcoming commit closing this).
though there is about 4 secs delay before it shows up:

https://github.com/tfiers/PkgGraph.jl/issues/97#issuecomment-1407439650

..and ProgressMeter.jl has no precompilation, alas.


Enemy Shock Wave weapon

To add variety to the attack types we should have a shock wave weapon. This will send a pulse out that will pass through buildings and damage any non-silicon life.

https://www.youtube.com/watch?v=ZnpnTn30Q-w

https://www.youtube.com/watch?v=ZnpnTn30Q-w


[BUG] OpenCE v1.9.5 cpd issue with TF/flatbuffer

tensorflow 2.13.1 requires flatbuffers>=23.1.21, but you have flatbuffers 2.0 which is incompatible.

Work is started on updating flatbuffers pin to v23.1.21.
The affected packages on x86 are:
tf2onnx-1.15.1-py310h7e83038_2.conda
tensorflow-text-2.13.0-hee5d986_py310_pb4.21.12_1.conda
tensorflow-base-2.13.1-cpu_py310_pb4.21.12_1.conda
tensorflow-base-2.13.1-cuda11.8_py39_pb4.21.12_1.conda
onnxruntime-1.15.1-h442ee22_cpu_py310_pb4.21.12_3.conda
onnxruntime-1.15.1-h4cdfbd2_cuda11.8_py310_pb4.21.12_3.conda
jaxlib-0.4.7-cpu_py310_pb4.21.12_5.conda
jaxlib-0.4.7-cuda11.8_py310_pb4.21.12_5.conda
tensorflow-addons-0.21.0-py310hd17d2bd_2_cpu.conda
tensorflow-addons-0.21.0-py310he03deea_2_cuda11.8.conda
array-record-0.2.0-py310h30d4bab_3.conda
tensorflow-io-0.33.0-cpu_py310_pb4.21.12_3.conda
tensorflow-io-0.33.0-cuda11.8_py310_pb4.21.12_3.conda
tensorflow-io-gcs-filesystem-0.33.0-cpu_py310_pb4.21.12_3.conda
tensorflow-io-gcs-filesystem-0.33.0-cuda11.8_py310_pb4.21.12_3.conda
tensorflow-model-optimization-0.7.5-py310_2.conda
horovod-0.28.0-cuda11.8_openmpi_py310_1.conda
tensorflow-probability-0.21.0-py310_1.conda

noarch
tensorflow-estimator-2.13.0-pyhf683666_1.conda

flatbuffers v23.1.21 is not available on default channels:
on x86
$ conda search flatbuffers
Loading channels: done
# Name                       Version           Build  Channel
flatbuffers                    1.7.1      hf484d3e_0  pkgs/main
flatbuffers                   1.10.0      he6710b0_0  pkgs/main
flatbuffers                   1.11.0      he6710b0_0  pkgs/main
flatbuffers                   1.12.0      h2531618_0  pkgs/main
flatbuffers                    2.0.0      h2531618_0  pkgs/main
flatbuffers                  24.3.25      h6a678d5_0  pkgs/main

on PPC
$ conda search flatbuffers
Loading channels: done
# Name                       Version           Build  Channel
flatbuffers                    1.7.1      hf484d3e_0  pkgs/main
flatbuffers                   1.10.0      he6710b0_0  pkgs/main
flatbuffers                   1.11.0      he6710b0_0  pkgs/main
flatbuffers                   1.12.0      h29c3540_0  pkgs/main
flatbuffers                    2.0.0      h29c3540_0  pkgs/main

Fixed by https://github.com/open-ce/open-ce/pull/1225


Resolver: disable shared cache in HTTP headers

#57 will add tracking of users. Caching is good, but short URLs should only be cached for individual users. Hence, Cache-Controle: private would be a good thing.

Closed with #57


Subnet relayer stopped making checkpoints

I observed today at 8am UTC that our relayer stopped making checkpoints without any errors in logs. Here is the latest log snippet (--checkpoint-interval-sec 600):
2024-12-04T05:58:31.340556Z  INFO tracing_event: domain="Bottomup" event=CheckpointSubmitted { height: 2052600, hash: 1d284a4321db7a84d2e0e7c287f289f38e6ec4ee262e6761d6d273069c1acd32 }
2024-12-04T05:59:30.558226Z  INFO ipc_provider::checkpoint: submitted bottom up checkpoint(2053200) in parent at height 2198852
2024-12-04T05:59:30.558248Z  INFO tracing_event: domain="Bottomup" event=CheckpointSubmitted { height: 2053200, hash: 8eb2a0b1b74d1ccd044af6efce8d527888be692b50d81039c917cff18c2402d1 }
2024-12-04T06:09:30.960764Z  INFO ipc_provider::checkpoint: last submission height: 2053200
2024-12-04T06:10:00.518882Z  INFO ipc_provider::checkpoint: submitted bottom up checkpoint(2053800) in parent at height 2198873
2024-12-04T06:10:00.518902Z  INFO tracing_event: domain="Bottomup" event=CheckpointSubmitted { height: 2053800, hash: ef653773d23d0d174ba6054dd516e58d90cdd416277a19c6414eef0cd850f082 }
2024-12-04T06:20:00.892893Z  INFO ipc_provider::checkpoint: last submission height: 2053800
2024-12-04T06:21:00.921719Z  INFO ipc_provider::checkpoint: submitted bottom up checkpoint(2054400) in parent at height 2198895
2024-12-04T06:21:00.921742Z  INFO tracing_event: domain="Bottomup" event=CheckpointSubmitted { height: 2054400, hash: 5ecbeb0caf9ebc7f39f2041888e3739ec7e71b9c57bfd29d3a34ec6fcb14db39 }
2024-12-04T06:22:01.181595Z  INFO ipc_provider::checkpoint: submitted bottom up checkpoint(2055000) in parent at height 2198897
2024-12-04T06:22:01.181618Z  INFO tracing_event: domain="Bottomup" event=CheckpointSubmitted { height: 2055000, hash: 7db07bd701c162c3543c72c44066cbb7344b8c417152e4e437b585638f854c8b }
2024-12-04T06:32:01.600061Z  INFO ipc_provider::checkpoint: last submission height: 2055000
2024-12-04T06:33:00.324699Z  INFO ipc_provider::checkpoint: submitted bottom up checkpoint(2055600) in parent at height 2198919
2024-12-04T06:33:00.324721Z  INFO tracing_event: domain="Bottomup" event=CheckpointSubmitted { height: 2055600, hash: 6b4612908c7b54d12baf26b62b643978b001a2e0b843fbaf6d3a9dfef5374d97 }
2024-12-04T06:34:00.452005Z  INFO ipc_provider::checkpoint: submitted bottom up checkpoint(2056200) in parent at height 2198921
2024-12-04T06:34:00.452029Z  INFO tracing_event: domain="Bottomup" event=CheckpointSubmitted { height: 2056200, hash: df1ccdef8665da197fcc41f3c66fe1efe9f971d196b20c7043a986763526f9b0 }
2024-12-04T06:44:00.878009Z  INFO ipc_provider::checkpoint: last submission height: 2056200
2024-12-04T06:45:00.964538Z  INFO ipc_provider::checkpoint: submitted bottom up checkpoint(2056800) in parent at height 2198943
2024-12-04T06:45:00.964562Z  INFO tracing_event: domain="Bottomup" event=CheckpointSubmitted { height: 2056800, hash: 08504b5db70e007ee754c821a546d6390e878fb7cda0aea99c76dbc45029618b }
2024-12-04T06:45:30.963911Z  INFO ipc_provider::checkpoint: submitted bottom up checkpoint(2057400) in parent at height 2198944
2024-12-04T06:45:30.963936Z  INFO tracing_event: domain="Bottomup" event=CheckpointSubmitted { height: 2057400, hash: a7f91a038a6cb840eb5933519722027599db6185e88c0232f0d6b624c0ddac6a }
2024-12-04T06:55:31.336437Z  INFO ipc_provider::checkpoint: last submission height: 2057400
2024-12-04T06:56:31.366458Z  INFO ipc_provider::checkpoint: submitted bottom up checkpoint(2058000) in parent at height 2198966
2024-12-04T06:56:31.366481Z  INFO tracing_event: domain="Bottomup" event=CheckpointSubmitted { height: 2058000, hash: cd7faa1e9dd13365ee3abc02f64b696b57aab0d134deb9baaf39f7e6e65fbbe9 }
2024-12-04T07:06:31.737210Z  INFO ipc_provider::checkpoint: last submission height: 2058000
2024-12-04T07:27:00.636927Z  INFO ipc_provider::checkpoint: submitted bottom up checkpoint(2058600) in parent at height 2199027
2024-12-04T07:27:00.636950Z  INFO tracing_event: domain="Bottomup" event=CheckpointSubmitted { height: 2058600, hash: 7fe714c5c6e541351fe834354d197e31f49b9abfe818dc8514dd5a5281730984 }

I restarted the relay with RUST_LOG=debug. Here is the part where it starts hanging:
2024-12-04T08:49:14.016532Z DEBUG hyper::client::pool: reuse idle connection for ("http", xxxxxxx:8545)
2024-12-04T08:49:14.016587Z DEBUG hyper::proto::h1::io: flushed 350 bytes
2024-12-04T08:49:14.017576Z DEBUG hyper::proto::h1::io: parsed 7 headers
2024-12-04T08:49:14.017584Z DEBUG hyper::proto::h1::conn: incoming body is content-length (36 bytes)
2024-12-04T08:49:14.017597Z DEBUG hyper::proto::h1::conn: incoming body completed
2024-12-04T08:49:14.017608Z DEBUG hyper::client::pool: pooling idle connection for ("http", xxxxxxx:8545)
2024-12-04T08:49:14.017636Z DEBUG ipc_provider::checkpoint: no reached events at height : 2061603
2024-12-04T08:49:14.017693Z DEBUG hyper::client::pool: reuse idle connection for ("http", xxxxxxx:8545)
2024-12-04T08:49:14.017757Z DEBUG hyper::proto::h1::io: flushed 350 bytes
2024-12-04T08:49:14.019656Z DEBUG hyper::proto::h1::io: parsed 7 headers
2024-12-04T08:49:14.019666Z DEBUG hyper::proto::h1::conn: incoming body is content-length (719 bytes)
2024-12-04T08:49:14.019679Z DEBUG hyper::proto::h1::conn: incoming body completed
2024-12-04T08:49:14.019691Z DEBUG hyper::client::pool: pooling idle connection for ("http", xxxxxxx:8545)
2024-12-04T08:49:14.019756Z DEBUG ipc_provider::checkpoint: found reached events at height : 2061604
2024-12-04T08:49:14.020018Z DEBUG hyper::client::pool: reuse idle connection for ("http", xxxxxxx:8545)
2024-12-04T08:49:14.020078Z DEBUG hyper::proto::h1::io: flushed 341 bytes
2024-12-04T08:49:14.027803Z DEBUG hyper::proto::h1::io: parsed 7 headers
2024-12-04T08:49:14.027813Z DEBUG hyper::proto::h1::conn: incoming body is content-length (1702 bytes)
2024-12-04T08:49:14.027827Z DEBUG hyper::proto::h1::conn: incoming body completed
2024-12-04T08:49:14.027841Z DEBUG hyper::client::pool: pooling idle connection for ("http", xxxxxxx:8545)
2024-12-04T08:49:14.027897Z DEBUG ipc_api: raw evm subnet addr: 0xdb89650aa010018195bcaf868a2f289135e13cae
2024-12-04T08:49:14.027912Z DEBUG ipc_api: raw evm subnet addr: 0xd7ab017914762fc028ee922e549e13374f7b5a29
2024-12-04T08:49:14.027941Z DEBUG ipc_provider::checkpoint: bottom up bundle: BottomUpCheckpointBundle { checkpoint: BottomUpCheckpoint { subnet_id: SubnetID { root: 314159, children: [Address("t410f3oewkcvacaaydfn4v6diulzise26cpfolfj7heq")] }, block_height: 2061600, block_hash: [114
, 7, 163, 123, 155, 63, 146, 78, 235, 31, 134, 83, 206, 109, 206, 9, 203, 220, 79, 188, 227, 221, 21, 14, 248, 84, 83, 73, 187, 174, 201, 119], next_configuration_number: 0, msgs: [] }, signatures: [[160, 171, 26, 111, 177, 131, 64, 215, 58, 253, 46, 213, 192, 24, 235, 126, 250, 33,
246, 176, 42, 72, 153, 140, 112, 178, 205, 105, 159, 22, 246, 130, 29, 209, 96, 248, 161, 133, 170, 191, 149, 195, 188, 223, 132, 28, 200, 43, 250, 163, 67, 114, 24, 11, 113, 190, 157, 81, 127, 228, 41, 38, 185, 103, 28]], signatories: [Address("t410f26vqc6iuoyx4akhosixfjhqtg5hxwwrjm
zjiwxq")] }
2024-12-04T08:49:14.126659Z DEBUG hyper::proto::h1::io: parsed 8 headers
2024-12-04T08:49:14.126676Z DEBUG hyper::proto::h1::conn: incoming body is content-length (103 bytes)
2024-12-04T08:49:14.126689Z DEBUG hyper::proto::h1::conn: incoming body completed
2024-12-04T08:49:14.126724Z DEBUG hyper::client::pool: pooling idle connection for ("https", calibration.node.glif.io)
2024-12-04T08:49:15.126948Z DEBUG ethers_providers::toolbox::pending_transaction: Starting to poll pending tx 0x2300f31baf5f43258797bf738076d3be76bf34b0b2324d53d7bde60e0e609829
2024-12-04T08:49:15.127020Z DEBUG hyper::client::pool: reuse idle connection for ("https", calibration.node.glif.io)
2024-12-04T08:49:15.127153Z DEBUG hyper::proto::h1::io: flushed 345 bytes
2024-12-04T08:49:15.246314Z DEBUG hyper::proto::h1::io: parsed 8 headers
2024-12-04T08:49:15.246337Z DEBUG hyper::proto::h1::conn: incoming body is content-length (1952 bytes)
2024-12-04T08:49:15.246353Z DEBUG hyper::proto::h1::conn: incoming body completed
2024-12-04T08:49:15.246388Z DEBUG hyper::client::pool: pooling idle connection for ("https", calibration.node.glif.io)
2024-12-04T08:49:16.246651Z DEBUG hyper::client::pool: reuse idle connection for ("https", calibration.node.glif.io)
2024-12-04T08:49:16.246773Z DEBUG hyper::proto::h1::io: flushed 345 bytes
2024-12-04T08:49:16.365895Z DEBUG hyper::proto::h1::io: parsed 8 headers
2024-12-04T08:49:16.365914Z DEBUG hyper::proto::h1::conn: incoming body is content-length (1952 bytes)
2024-12-04T08:49:16.365928Z DEBUG hyper::proto::h1::conn: incoming body completed

I started another relayer on another host with a different address. It started catching up but at some point I saw the same pooling idle connection for ("https", calibration.node.glif.io) as above without making progress.

Two hours ago the relay started picking up and currently running smoothly. The issue disappeared without an explicit fix. Closing for now.

We experienced the same situation again.

I couldn't run relayer from any machine and any wallet. But then it progressed and caught up over the weekend without an explicit fix.
cc @karlem @raulk

Would like to re-open this issue.  Even though it eventually resolves, having hours/days during which the relayer is hung and we can't bring tokens down into the subnet from the parent chain is still a problem.

@raulk Here are the data:

subnet ID: /r314159/t410f2mjuvgks4vlwbmtfmwohbaqo5v2w5fbcr5zf7li
relayer's address: 0x5B9E0328f97f6C4cfCBbA3eD03114170b3645e45


Fixed Webex checkver regex to match updated website

Closes #8057
The Webex URL that checkver uses has been updated to change the format of how they present the version from:
Version: xx.x.x.xxxxx to Windows—xx.x.x.xxxxx.
Note, there is a complication here due to how Scopp downloads the URL and processes the regex, pattern matching on the emdash character is not possible. This is because the UTF-8 website is being interpreted as Windows-1252. So the emdash actually reports as â€”. For reference this is a common encoding issue which you can read about here.
I have not updated the version or hash at this time, I'll leave that for the automated process which should work as normal from now on.

/verify

I think we can update the version here, because the verifier would fail otherwise 😅

/verify

See https://github.com/ScoopInstaller/Extras/runs/5348824770?check_suite_focus=true#step:3:262

I've run checkver locally and it passes, so I suspect the issue I encountered with UTF-8 being interpreted as Windows-1252 doesn't apply on GitHub actions? or perhaps it uses a different code page? I guess I could try a different encoding to see if that helps, but then it wont work locally anymore.
I wonder if there are other examples of unicode in regex within the extras bucket?

GitHub Actions might be using Windows-1200. Can you temporarily set it locally and modify the checkver accordingly?

Okay, I have a fix, but it involves fixing checkver.ps1 by explicitly setting the encoding of the webclient to utf8.
I believe that without setting it explicitly it's defaulting to the local code page, which could be different on every machine, thus causing this issue. If this post on stackoverflow  is to be believed then utf8 is the default for powershell 6+, so this change would be correcting that for powershell 5.
If this sounds reasonable I can pursue getting my small change into the Scoop base code, then updating this to be utf8.
I think that would be a more robust fix for this issue,

Replace the emdash character with [^\d], than we could not care the character set.
Windows^\d

@rashil2000 Thanks for the links, I've read through the history and while it might make good sense to switch to UTF-8 for checkver, there are certainly issues with updating other parts of the system. @4ooc raises a pragmatic point, why not just skip over the non-numbers. I tweaked the regex a little to accommodate the fact it comes out as 3 character in my codepage but the concept is the same. I also added some surrounding context to help refine the match.
Additionally, while deliberating this, Cisco released another patch, so I updated the version and hash again.

No worries, thanks for the fix @MathewBlock and for the workaround @4ooc


KeyError: ‘1.decoder.bias’ in convert_weights_with_prefix

While running the train_clas.py script, I get
convert_weights_with_prefix. I also tried the refactored version of the same fn.
    dec_bias, enc_wgts = wgts[prefix+'1.decoder.bias'], wgts[prefix+'0.encoder.weight']
KeyError: '1.decoder.bias'

If run with fine_tune off, there is another error:
Error(s) in loading state_dict for SequentialRNN:
Missing key(s) in state_dict: "0.fwd_lm.encoder.weight", "0.fwd_lm.encoder_dp.emb.weight", ...
Unexpected key(s) in state_dict: "fwd_lm.0.encoder.weight", "fwd_lm.0.encoder_dp.emb.weight", ...

I've noticed that it is due to the changes to the fastai, I will push a fix soon enough, stay tuned


Make digest reader skip manifest

Backport PR #10396 to 1.6

GitHub has been experiencing extended technical difficulty. Tests are passing locally and, after internal discussion, going ahead with merge.


Add searchable dropdown to functions secret modal

Changes proposed in this pull request:

Add searchable dropdown in place of normal dropdown in place of Workloads > Functions > Add Environment Variable > Secret

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

/test all