Visibility API

I think the Visibility API is worse a mention.
Currently there is native support for Chrome > 13, IE 10 and Firefox 10  although only with prefixes.
Pollyfills:

https://github.com/addyosmani/visibly.js
https://github.com/evilmartians/visibility.js

In my opinion the status should be "Use with pollyfills" .
What do you think?

The following polyfill : https://gist.github.com/1677639 given some polish and testing should work correctly.
Note that legacy browser support in this case requires polyfilling addEventListener, [].forEach and Object.defineProperty which should all be shimmable back to oldIE.

If it helps make things feel more native in old ie, you could use a combination onpropertychange and toString = function() to make your polyfill act and feel more native (i use it as a poor man's object.watch)


Procdump -restrack does not work in a containerized environment

Expected behavior
Procdump -restrack produces a valid leak track report
Actual behavior
Produces a leak track report with "No leaks detected"
Steps to reproduce the behavior

Run procdump -restrack ... in a privileged container.

System information (e.g., distro, kernel version, etc.)
Any

This has now been fixed.


Please deploy to fez

zef currently considers candidates in fez first, meaning that as of today
$ zef install GTK::Simple

will install version 0.2.2, even though 0.2.4 is available in REA.

@cfa+

Now in fez as of 0.2.5


feat: order details page initialization

The type of this PR is: feature
This PR resolves PX-4070
Description
Order Details page is registered in the route registry and has a relay container. So user can click on View Order button on Orders history screen and see the Order Details page with rendered OrderId on it.
PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a CHANGELOG.yml entry or my changes do not require one.

This looks good 🙌 I left few comments @irina-sid that would be great to be addressed in an other PR before we release


Drop support for PY26 (fix #43)

Codecov Report

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

@@           Coverage Diff           @@
##           master      #44   +/-   ##
=======================================
  Coverage   91.58%   91.58%
=======================================
  Files           8        8
  Lines         594      594
=======================================
  Hits          544      544
  Misses         50       50

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 a73bacb...838b4fc. Read the comment docs.


Added JQuery to skip validation when navigating to previous form

Hi,
In wizard form, the current form will be forced to validate when you want to navigate to one of the previous forms. I personally think this is not the expected feature by users (at least not a user-friendly feature).
I see in wizard/views.py,
def post(self, *args, **kwargs):
    """
    This method handles POST requests.

    The wizard will render either the current step (if form validation
    wasn't successful), the next step (if the current step was stored
    successful) or the done view (if no more steps are available)
    """
    # Look for a wizard_goto_step element in the posted data which
    # contains a valid step name. If one was found, render the requested
    # form. (This makes stepping back a lot easier).
    wizard_goto_step = self.request.POST.get('wizard_goto_step', None)
    if wizard_goto_step and wizard_goto_step in self.get_form_list():
        return self.render_goto_step(wizard_goto_step)
    ...

the logic is to render previous form for user before doing any further validation check.
However, if a form has compulsory fields, client-side JavaScript / JQuery will actually prevent the user from submitting the form. In other words, the form has to pass basic client-side validations to be able to hit this function.
My proposed solution is also to use JQuery or Javascript to add the expected attribute "wizard_goto_step" to the form in the template. I also feel like there is a need to modify the default template wizard_form.html as well so that new users won't get confused. This is the whole idea of this pull request.
Cheers,
James

The good news is that you can do this by using a custom template without patching django-formtools at all. I think that's the way to go.


how to have this rendered by my React Component?

Can you please help with this? Is it possible to render this Jquery plugin by using the render method of component class? If yes, how would I do that ?

I'm not sure what component do you mean, but in general - just put el.circleProgress(...) inside your component render method (or callback).

Thanks for the prompt reply. I am sorry for being vague. But this whole thing is very new to me.
This is something I have been trying to do.
class CircularProgressView extends Component {
 render()
  {
    // to return the jquery plugin inside of that
 tag
    return

   }
}

I hope you get the idea now. Thanks

This is ReactJS, right? I don't have much experience with it, but here is a snippet for you.

And just in case, here is the JS code from it:
class CircularProgressView extends React.Component {
  render() {
    return

;
  }

  componentDidMount() {
    $(this.refs.el).circleProgress();
  }
}

ReactDOM.render(
  <CircularProgressView data-value="0.7" data-size="300" data-fill='{"color": "#f77"}'/>,
  document.getElementById('container')
);

Yes, React JS. Awesome! Thats exactly what I was looking for. Thanks a lot :)

Sorry, I didnt know if i had to open a new issue or stick to the same thread.
<CircularProgressView data-value="0.7" data-size="300" data-fill='{"color": "#f77"}'/>,

document.getElementById('container')
When you pass in the value 0.7 , is there a way to get the number 70 displayed at the centre of the circle ? I saw an example that did that :
circle.on('circle-animation-progress', function(e, v) {
    var obj = $(this).data('circle-progress'),
    ctx = obj.ctx,
    s = obj.size,
    sv = (84).toFixed(), // ---> I didnt want to hardcode the value in here
    fill = obj.fill
    ctx.font = s / 2.5 + "px sans-serif";
    ctx.textAlign = 'center';
    ctx.textBaseline = 'middle';
    ctx.fillStyle = fill;
    ctx.fillText(sv, s / 2, s / 2);
    ctx.restore();
});

However, I didnt want to hard code the value. I wanted it to take the value for the centre of the circle from the value I pass in from the React Component   and display that number . Is there a way to do this?
Thanks for your help in advance.

Thanks, i got it figured out! :)


The 'Referer' header must be modified using the appropriate property or method.

I maintain a bucket and for one of the apps an HTTP Referer must be used, but this is the first time I get this error.
The 'Referer' header must be modified using the appropriate property or method.
Parameter name: name
At C:\Users\runneradmin\SCOOP\apps\scoop\current\lib\install.ps1:111 char:9
+         throw $e
+         ~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], ArgumentException
    + FullyQualifiedErrorId : The 'Referer' header must be modified using the appropriate property or method.
Parameter name: name

Error: Process completed with exit code 1.

See here
I have not changed the way I generate scoop's config.json, and the last time this ran successfully was this one.
I was able to uninstall and reinstall the same app without a problem.
Thanks in advance.

👀


Bugging Doodle or Crocked Half in Notes Crib

Pull one, the other schlurps into the crib...somehow...
The doodle also replaces the crib, while the crocked half is the crocked half.
While they're in the crib you can't examine them.
(Note that if you use the bugging doodle the game counts the number of times and also if you reuse it. This is an upgrade in hinting and checking, and the BM will zing you for that.)

Fixed, except for the number of times hints are checked.

Now the number of times is checked and so are the actual hints. They are arbitrarily numbered, but they are there.


Checkbox and radio group fixes

Removed left border when invalid
Increased invalid border of individual checkbox/radio button to 0.125rem

Already merged in release/sprint-12


Adding support to fill pivot data in many-to-many relations

issue laravel-json-api/laravel#114
if in the request of many-to-many the relationship data contained mata.pivot it will be inserted in the pivot table
'relationships' => [
    'someRelation' => [
        'data' =>  [
          [
            'type' => 'relation-type',
            'id' => 4,
            'meta' => [
                'pivot' => [
                    'someName' => 'value'
                ]
           ]
         ]
        ],
    ],
],

in schema:
BelongsToMany('relationName')
->fields([
     'someName',
     'otherField' => false // default value but will be overridden if submitted in the request
])
 // all fields will default to the convention underscore
->fieldsColumns([
     'someName' => 'database_name'
])

for validation:
[
    'someRelation.*.meta.pivot.someName' => ['required']
]

Thanks for submitting this. I'm going to have to take a detailed look at it and add tests before I'm happy to merge. I've been really short on open source time recently, but am starting to pick things up again. So hopefully I can get to this sometime in the next month.

@lindyhopchris , any update on this? Because i want to use it but only if its supported by the package. Not as long as its only a open pull request.

Yeah I've thought about this a bit and my preference would be to do this via existing JSON:API semantics. I believe the spec gives us everything we need to do pivots via intermediary resources. Which also comes with the advantage of the client being able to control things via include paths and sparse fieldsets - which we don't get if we do it via a custom implementation that uses meta.
However, I need to sit down and work my way through a scenario and check that it all works. And if it does then I need to write it up as the definitive way to do it, so that I stop getting constant questions about pivots!! Unfortunately none of the production apps that I have using Laravel JSON:API use pivot values anywhere, which is why I've been slow to write something up.


Resolve Naming Conflict with Built-in io Module

I encountered an issue while trying to run the FastAPI application named io.py.  in routes/io
The error message indicates that Uvicorn cannot find the io_router attribute in the io module, which is likely due to a naming conflict with the built-in io module from the Python standard library.
To resolve this issue, we need to rename the FastAPI application file from io.py to something else, for example, app.py, to avoid the naming conflict with the built-in io module.

Have you followed the instructions provided here. We have not noticed any conflicts.
Raise a new issue with video recording showing the steps and conflict.


Fix warning for npm engine

When govuk-elements-sass is installed, a warning is shown for the engine -
setting this to be greater than or equal to 4.0.0 fixes this.
@edwardhorsford, let me know if this fixes #165.

LGTM :+1:


read GIST_ID from secrets

Read GIST_ID from GitHub secrets instead so users don't need to edit and commit their own.

I had this problem too, then I updated it in my fork. https://github.com/g1eny0ung/waka-box


Error in table 6

@jozhang97
Thanks for sharing your work!
It seems that APs in the table 6. is so high. I think that the order of values in APL and APs should be changed.

Hi, oh my, you're right thank you for catching us!
Will be fixed in the next revision!

It turns out Table 6 currently reports AP,AP50,AP75,APs instead of AP,APs,APm,APl. Thanks again for catching this.
Revised table below.

First
Second
AP
APs
APm
APl

1
1
43.2
25.9
46.6
57.6

1
2
44.7
26.8
47.6
59.8

1
4
45.1
27.1
48.0
60.4

1
8
43.0
24.5
46.3
59.2

2
1
44.0
27.7
46.7
58.3

4
1
43.7
25.6
47.0
57.9

8
1
43.1
26.4
46.7
56.4

2
2
45.4
28.6
48.5
60.1

4
4
45.8
28.4
48.4
60.7

@jozhang97 Thanks again for sharing your work!


bug: fullscreen mode in chrome/windows shows small version of the scene in the upper left of the screen

same behavior in FF/Win

Completely stumped by this one. Some kind of race condition in the browser that I can't seem to get around.


Error when start Training, Augmentations.py:309 mode=random.choice(self.sample_options)

I Try to traning like example from original post, but i meet error like:
augmentations.py:309: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
mode = random.choice(self.sample_options)
i use Pytorch 1.4.0 cuda 9.2 python 3.6 GPU NVDIA RTX2070super.

@jihadrahmawan  Did you fix it?

It's a warning, not an error, just ignore it with:
np.warnings.filterwarnings('ignore', category=np.VisibleDeprecationWarning)


Swap COS8 image for UBI8 image

Attempt to fix CI failures caused by May 31st's  discontinuance of CentOS Stream 8

Let's update .bumpversion.cfg with a minor version update, and add a changelog entry.

I updated to 1.6.0 (from 1.5.0)

Let's update .bumpversion.cfg with a minor version update, and add a changelog entry.

I updated to 1.6.0 (from 1.5.0)

Don't forget the changelog entry!


Question. Join a query

This is going to a bit long because of the code examples since it is taken from my test application.
Some parts are removed for readability.
Observe the code below
foreach (var fbPagePost in fbPage.Posts)
                        {
                            var pq = client.Cypher
                                .MergeEntity(fbPage, "page")
                                .MergeEntity(fbPagePost, "post")
                                .MergeEntity(fbPagePost.Language, "language")
                                .MergeEntity(fbPagePost.Author, "author")
                                .MergeRelationship(new OwnedByRelationship("post", "page"))
                                .MergeRelationship(new HasLanguageRelationship("post", "language"))
                                .MergeRelationship(new WroteRelationship("author", "post", fbPagePost.CreatedAt));
                            if (fbPagePost.Category != null)
                                pq.MergeEntity(fbPagePost.Category, "category")
                                    .MergeRelationship(new WithCategoryRelationship("post", "category"));

                            if (fbPagePost.Author.Country != null)
                                pq.MergeEntity(fbPagePost.Author.Country, "country")
                                    .MergeRelationship(new OriginatesRelationship("author", "country"));
                            if (fbPagePost.AttachedLink != null)
                                pq.MergeEntity(fbPagePost.AttachedLink, "link")
                                    .MergeRelationship(new LinksToRelationsship("post", "link"));
                            pq.ExecuteWithoutResults();

                        }

I am creating query pq. I have a couple of null checks and if the objects have value i add them to the pq query by means of pq.MergeEntity...
Problem is that the actual CQL created does not contain any entry about the null checked values, even thou they had value and thus the code was hit.
It seems that the merging of country, link and category are not actually being added to the pq query.
To make i work i had to do the following that then produces quite a lot more roundtrips to the db
foreach (var fbPagePost in fbPage.Posts)
                    {
                        var pq = client.Cypher
                            .MergeEntity(fbPage, "page")
                            .MergeEntity(fbPagePost, "post")
                            .MergeEntity(fbPagePost.Language, "language")
                            .MergeEntity(fbPagePost.Author, "author")
                            .MergeRelationship(new OwnedByRelationship("post", "page"))
                            .MergeRelationship(new HasLanguageRelationship("post", "language"))
                            .MergeRelationship(new WroteRelationship("author", "post", fbPagePost.CreatedAt));
                        pq.ExecuteWithoutResults();
                        if (fbPagePost.Category != null)
                        {
                            var pqc = client.Cypher
                                .MergeEntity(fbPagePost, "post")
                                .MergeEntity(fbPagePost.Category, "category")
                                .MergeRelationship(new WithCategoryRelationship("post", "category"));
                            pqc.ExecuteWithoutResults();
                        }

                        if (fbPagePost.Author.Country != null)
                        {
                            var pqcountry = client.Cypher
                                .MergeEntity(fbPagePost.Author, "author")
                                .MergeEntity(fbPagePost.Author.Country, "country")
                                .MergeRelationship(new OriginatesRelationship("author", "country"));
                            pqcountry.ExecuteWithoutResults();
                        }

                        if (fbPagePost.AttachedLink != null)
                        {
                            var pql = client.Cypher
                                .MergeEntity(fbPagePost, "post")
                                .MergeEntity(fbPagePost.AttachedLink, "link")
                                .MergeRelationship(new LinksToRelationsship("post", "link"));
                            pql.ExecuteWithoutResults();
                        }

                        foreach (var subject in fbPagePost.Subjects)
                        {
                            var cq = client.Cypher
                                .MergeEntity(fbPagePost, "fbpost")
                                .MergeEntity(subject, "subject")
                                .MergeRelationship(new RelatesToRelationship("fbpost", "subject"));
                            cq.ExecuteWithoutResults();
                        }

 }

now i create separate queries for each null check.
This is not very efficient but it does however work.
And now the question.
Is it possible to append to a query, essentially like in the first approach where i just add more MergeEntity statements to the same query pq
Thanks
Thomas
extra
Example CQL produced from the first code where country and link checks were hit becuase they had value.

You will then be able to remove the additional executes.
I haven't gone into much detail as to what else is going on here, let me know if that helps you out.
cheers
Simon

Worked like a charm.
Thanks for clarifying.
Appreciate your responses highly.
Kindly
Thomas


🎮 Game Request
Doraemon Run is an adventurous game where players will be able to navigate through through top,left,right,bottom .Players must navigate Doraemon through obstacles like mazes while collecting cakes and avoiding traps. It offers engaging gameplay with intuitive controls and increasing difficulty levels. As Doraemon  dashes through challenging mazes to devour delicious Dora cakes ,it will loose his score and health . It will track the high Score and Score and as soon as it health reaches 0 or it will crash to the boundary line , the game will end.
Point down the features
In "Doraemon Run," players earn game points for every Dora cake Doraemon consumes during his adventurous run through the mazes. Each cake adds to the player's overall score, encouraging them to collect as many cakes as possible. Additionally, players may receive bonus points for collecting cakes in quick succession or for completing special challenges within the game. These points contribute to the player's overall score, allowing them to compete for high scores on the game's leaderboards.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @SrijaVuppala295 , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :
#3222

Hey @SrijaVuppala295 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

I have already completed the previous one.

/assign

Sir, the issue is closed, is it okay to work on it. I have completed the PR for the previous issue.

Please open this issue


Match / as valid URI

Most of the new browsers will automatically rewrite the URLs to append trailing slash. This fix will match empty URI or / in URI.
curl -v https://localhost
* Rebuilt URL to: https://localhost/

In this case, apache will serve default page or "noindex" page in my case.

Thanks for your contribution


add more options

added options for reconnectAwaitSeconds, postDisconnectAwaitSeconds, signingCheckDelaySeconds

You should add at least the encryption button visibility option as well. Other encryption options probably don't need to be duplicated.

I do not see that option in the wiki

I do not see that option in the wiki

https://github.com/Aizistral-Studios/No-Chat-Reports/wiki/To-Encrypt-or-Not-to-Encrypt#other-config-options


.env.local.php in Symfony recipe

Hi !
I'm a bit confused with the .env.local.php value in the shared_files of the Symfony recipe (and regarding #1907 and #1923 i am probably not the only one :p)
For me, this file should not be include here, as it have to be generate using the symfony:dump-env command (which is part of Symfony/Flex, see https://symfony.com/doc/current/configuration.html#configuring-environment-variables-in-production) in order to compile the .env file which is versioned, with the .env.local which is stored on the server.
The problem here is that if you add a new bundle requiring a new env value, deploy:vendors will fail as the .env.local.php will not include it even if you already added it to your .env.local, because .env.local.php will be called first. And it is not possible to generate a new .env.local.php as the vendors aren't installed yet.
For me, the best solution would be to remove the .env.local.php file from the shared_files, create a deploy:dump-env task and call it just after the deploy:vendors task

So if I get that correct, then we want to share .env.local between deployments and run  composer dump-env prod on each deployment?

Yes, exactly!
set('shared_files', ['.env.local']);

And
desc('Compile .env files');
task('deploy:dump-env', function () {
    run('cd {{release_path}} && {{bin/composer}} dump-env {{symfony_env}}');
});

Sounds good! Do you want to provide a PR? Would be a blast! <3

Hi
Just for you to know, it cause a regression : we now need to define symfony_env (that doesn't exist in version v7.0.0-beta.20)

@Cryde I've added symfony_env in c23688adcfb6050dcf847bc58bf6adfac3b68147, Thanks for noticing!

Thank you (and the other contributors) for all your work !


Fix final train loss.

PR types

Others
PR changes

Others
Description

此PR删除了日志，导致恢复之后，最后算的平均loss值等发生了问题。
https://github.com/PaddlePaddle/PaddleNLP/pull/8546

 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.


Error connecting to PostgreSQL server error message in Long Running tests

Steps to reproduce

Please go to Actions tab on Radius GitHub Page
Go to Long-Running Test on Azure
Check a few failed runs

Observed behavior
{
cli.go:341: [rad]       "code": "ResourceDeploymentFailure",
cli.go:341: [rad]       "message": "Failed",
cli.go:341: [rad]       "target": "/planes/radius/local/resourceGroups/kind-radius/providers/Applications.Core/extenders/pgs-resources-terraform-pgsapp",
cli.go:341: [rad]       "details": [
cli.go:341: [rad]         {
cli.go:341: [rad]           "code": "RecipeDeploymentFailed",
cli.go:341: [rad]           "message": "terraform apply failure: exit status 1\n\nError: Error connecting to PostgreSQL server postgres.corerp-resources-terraform-pg-app.svc.cluster.local (scheme: postgres): dial tcp <IP_ADDRESS>:5432: connect: connection refused\n\n  with module.defaultpostgres.postgresql_database.pg_db_test,\n  on .terraform/modules/defaultpostgres/main.tf line 77, in resource "postgresql_database" "pg_db_test":\n  77: resource postgresql_database "pg_db_test" {\n\n"
cli.go:341: [rad]         }
cli.go:341: [rad]       ]
cli.go:341: [rad]     }
Desired behavior
Connection to the PostgreSQL Server should work fine.
Workaround
Example run: https://github.com/radius-project/radius/actions/runs/10100253542/job/27932380733
rad Version
edge
Operating system
No response
Additional context
No response
Would you like to support us?

[ ] Yes, I would like to support you

AB#12896

I think we can close this issue @ytimocin. The PRs to update registries and increase timeout helped with this. https://github.com/radius-project/radius/pull/7772

It was due to a certificate error that the core-dns pods weren't working properly. Restarting them actually fixed the issue. cc/ @lakshmimsft


Issues with moments page

Reported by Joaquim Vergès here - https://twitter.com/joenrv/status/779004034086690816

Moments tab seems to be available only for users from the US now. Need to change the region to US in twitter settings to see the issue.

In progress.


The more training rounds, the lower the GPU usage rate

I wanted test speed in python.
I tried to replicate gpu(L40) and cpu(28cores) experiment with higgs. The following are the experimental results.
num_iterations(500): cuda(28s) version was slower than cpu(71s).
num_iterations(5000): cuda(570s) version was slower than cpu(403s).
Within ten minutes, Volatile GPU-Util gradually decreased from 80% to within 10%

dataset and parameter settings from: https://github.com/microsoft/LightGBM/blob/master/docs/GPU-Tutorial.rst
Dataset Preparation from https://github.com/guolinke/boosting_tree_benchmarks/blob/master/data/higgs2libsvm.py

operating system: ubuntu20.04
compiler versions: tag==4.5.0
no other significant processes running on the machine at the same time which are competing for CPU and memory
no other significant processes

Code:
cpu test
import lightgbm as lgb
import time
params = {
    "max_bin": 63,
    "num_leaves": 255,
    "num_iterations": 500,
    "learning_rate": 0.1,
    "tree_learner": "serial",
    "task": "train",
    "is_training_metric": "false",
    "min_data_in_leaf": 1,
    "min_sum_hessian_in_leaf": 100,
    "ndcg_eval_at": [1, 3, 5, 10],
    "device": "cpu"
}
dtrain = lgb.Dataset("higgs.train")
t0 = time.time()
gbm = lgb.train(
    params,
    train_set=dtrain
)
t1 = time.time()
print("cpu version elapse time: {}".format(t1 - t0))

gpu test
import lightgbm as lgb
import time
params = {
    "max_bin": 63,
    "num_leaves": 255,
    "num_iterations": 500,
    "learning_rate": 0.1,
    "tree_learner": "serial",
    "task": "train",
    "is_training_metric": "false",
    "min_data_in_leaf": 1,
    "min_sum_hessian_in_leaf": 100,
    "ndcg_eval_at": [1, 3, 5, 10],
    "device": "cuda",
    "gpu_platform_id": 0,
    "gpu_device_id": 0
}
dtrain = lgb.Dataset("higgs.train")
t0 = time.time()
gbm = lgb.train(
    params,
    train_set=dtrain
)
t1 = time.time()
print("gpu version elapse time: {}".format(t1 - t0))

Excellent report, thanks very much!
Could you try installing pandas and inspecting the results of gbm.trees_to_dataframe(), to see if maybe the later trees are very shallow?
That could be one reason for lower GPU utilization... the split-finding part of training can benefit from parallelization, but there's a sync-up after each search where the model has to be updated. I wonder if maybe in the later iterations, LightGBM is training much shallower trees (and therefore spending proportionally more time in those non-parallelized code paths).
num_leaves=255 does not guarantee that every tree with have 255 leaves.
LightGBM will stop growing a particular tree under a few conditions:

no remaining splits which provide gain >= min_gain_to_split
no remaining splits which satisfy min_data_in_leaf or min_sum_hessian_in_leaf
no remaining splits which also satisfy interaction_constraints or monotone_constraints
any of the above, limited by max_depth

Unrelated, some notes on those parameters:
# this is the default, you can omit this
"tree_learner": "serial"

# these are only relevant for the CLI, omit them when using the Python package
"task": "train"
"is_training_metric": "false"

Could you try installing pandas and inspecting the results of gbm.trees_to_dataframe(), to see if maybe the later trees are very shallow?

Glad to receive your reply!  I ran 5,000 rounds using cuda, and this is part of the selection.
,tree_index,node_depth,node_index,left_child,right_child,parent_index,split_feature,split_gain,threshold,decision_type,missing_direction,missing_type,value,weight,count
2475998,4864,16,4864-L121,,,4864-S194,,,,,,,0.006992752334214716,149.0,149
2476998,4866,16,4866-S101,4866-L98,4866-L102,4866-S100,Column_6,1.705680012702942,-0.2550096362829208,<=,left,None,-0.00819252,531.0,531
2477998,4868,13,4868-L171,,,4868-S175,,,,,,,-0.011479730841377055,134.0,134
2478998,4870,12,4870-S18,4870-S48,4870-L19,4870-S17,Column_21,0.6902909874916077,0.9225429296493531,<=,left,None,-0.00471234,529.0,529
2479998,4872,11,4872-S171,4872-S172,4872-S176,4872-S170,Column_14,1.0827800035476685,0.16720353066921237,<=,left,None,-0.0045852,1004.0,1004
2480998,4874,21,4874-L71,,,4874-S75,,,,,,,0.010258754315588665,368.0,368
2481998,4876,11,4876-L47,,,4876-S46,,,,,,,0.0013771386017987898,479.0,479
2482998,4878,7,4878-S24,4878-L13,4878-S25,4878-S23,Column_26,1.3878200054168701,0.758811503648758,<=,left,None,0.00464105,648.0,648
2483998,4880,22,4880-S212,4880-L209,4880-L213,4880-S208,Column_25,1.2470799684524536,0.9166806042194368,<=,left,None,-0.00344305,506.0,506
2484998,4882,12,4882-S212,4882-S213,4882-S219,4882-S206,Column_9,1.0044300556182861,0.9594475924968721,<=,left,None,0.00119075,6424.0,6424
2485998,4884,14,4884-L216,,,4884-S222,,,,,,,0.003906279219997473,252.0,252
2486998,4886,11,4886-S128,4886-S129,4886-S131,4886-S127,Column_1,1.3676400184631348,-1.3494878411293028,<=,left,None,0.0037433,1885.0,1885
2487998,4888,6,4888-S106,4888-L2,4888-L107,4888-S105,Column_10,1.7062599658966064,-2.23167073726654,<=,left,None,-0.00077607,7684.0,7684
2488998,4889,13,4889-S50,4889-L50,4889-L51,4889-S49,Column_19,1.262369990348816,0.22485540062189105,<=,left,None,-0.00118126,378.0,378
2489998,4891,14,4891-S231,4891-S232,4891-L232,4891-S216,Column_27,0.9564549922943115,0.9873551428318025,<=,left,None,-0.00330718,810.0,810
2490998,4893,13,4893-L237,,,4893-S236,,,,,,,0.0020112752702087164,250.0,250
2491998,4895,13,4895-S56,4895-S57,4895-L57,4895-S55,Column_3,1.305359959602356,0.5652261972427369,<=,left,None,0.00609067,383.0,383
2492998,4897,13,4897-S218,4897-L218,4897-S226,4897-S217,Column_9,1.62663996219635,1.2169202566146853,<=,left,None,-0.00209578,11215.0,11215
2493998,4899,19,4899-L229,,,4899-S228,,,,,,,-0.014312340053603859,111.0,111
2494998,4901,14,4901-S125,4901-L117,4901-S134,4901-S119,Column_0,1.1668599843978882,0.5672366917133332,<=,left,None,0.00105788,609.0,609
2495998,4903,15,4903-S144,4903-L132,4903-L145,4903-S131,Column_3,0.6262369751930237,1.4257535934448244,<=,left,None,9.80367e-05,296.0,296
2496998,4905,11,4905-S50,4905-L50,4905-L51,4905-S49,Column_18,1.2204300165176392,0.6936975121498109,<=,left,None,0.00784372,407.0,407
2497998,4907,10,4907-L72,,,4907-S72,,,,,,,-0.00047845793306461624,16472.0,16472
2498998,4909,13,4909-S64,4909-S126,4909-L65,4909-S63,Column_26,1.1328099966049194,1.1948313713073733,<=,left,None,-0.00659668,485.0,485
2499998,4911,15,4911-S252,4911-L185,4911-S253,4911-S251,Column_0,1.3360899686813354,0.5170921981334687,<=,left,None,-0.00218027,956.0,956
2500998,4913,11,4913-S149,4913-L149,4913-S241,4913-S148,Column_4,1.2409199476242065,-0.9571563005447387,<=,left,None,-0.00313243,2587.0,2587
2501998,4915,17,4915-L183,,,4915-S182,,,,,,,-0.01039329694198946,104.0,104
2502998,4917,14,4917-L218,,,4917-S217,,,,,,,0.0029182628467818027,134.0,134
2503998,4919,20,4919-L131,,,4919-S130,,,,,,,0.003046603372175777,267.0,267
2504998,4921,17,4921-S125,4921-S126,4921-S129,4921-S84,Column_23,0.8258450031280518,0.9891601204872132,<=,left,None,-0.00102175,1806.0,1806
2505998,4923,10,4923-S40,4923-S41,4923-S42,4923-S39,Column_14,1.3672300577163696,0.1262423396110535,<=,left,None,0.00479201,770.0,770
2506998,4925,16,4925-L144,,,4925-S143,,,,,,,-0.01314376931544688,158.0,158
2507998,4927,14,4927-L149,,,4927-S148,,,,,,,-0.012864420435356875,108.0,108
2508998,4929,19,4929-L141,,,4929-S149,,,,,,,-0.01445356372371316,100.0,100
2509998,4931,16,4931-S127,4931-L127,4931-L128,4931-S126,Column_8,1.6426000595092773,1.6298071146011355,<=,left,None,-0.00694278,274.0,274
2510998,4933,18,4933-S242,4933-L140,4933-L243,4933-S174,Column_10,1.2257100343704224,0.6037689745426179,<=,left,None,-0.00464622,682.0,682
2511998,4935,15,4935-L71,,,4935-S70,,,,,,,-0.006048560484989801,110.0,110
2512998,4937,14,4937-S190,4937-S191,4937-L191,4937-S189,Column_9,1.0775500535964966,0.9248241186141969,<=,left,None,0.00346585,343.0,343
2513998,4939,10,4939-L14,,,4939-S13,,,,,,,0.008209223070969949,104.0,104
2514998,4941,11,4941-S12,4941-S15,4941-S13,4941-S9,Column_2,0.9452850222587585,0.3386045694351197,<=,left,None,0.00152447,2355.0,2355
2515998,4943,8,4943-S147,4943-S150,4943-S148,4943-S132,Column_7,0.6244350075721741,1.3059919476509096,<=,left,None,-0.000941328,5570.0,5570
2516998,4944,14,4944-L53,,,4944-S53,,,,,,,-0.010817443513866131,153.0,153
2517998,4946,12,4946-L120,,,4946-S119,,,,,,,-0.00032419846042009684,106351.0,106351
2518998,4948,16,4948-L224,,,4948-S224,,,,,,,-0.012146889258367129,117.0,117
2519998,4950,13,4950-S172,4950-S173,4950-S174,4950-S168,Column_13,0.7691389918327332,0.8014479875564576,<=,left,None,-0.00386439,729.0,729
2520998,4952,16,4952-S237,4952-L237,4952-L238,4952-S236,Column_13,0.8237029910087585,1.211699426174164,<=,left,None,-0.00339503,301.0,301
2521998,4954,18,4954-S170,4954-L168,4954-L171,4954-S167,Column_19,0.9019380211830139,-1.0000000180025095e-35,<=,left,None,0.00725262,244.0,244
2522998,4956,13,4956-L102,,,4956-S101,,,,,,,0.004279216547811973,1058.0,1058
2523998,4958,18,4958-L86,,,4958-S95,,,,,,,-0.009275815569726684,116.0,116
2524998,4960,17,4960-L245,,,4960-S251,,,,,,,0.0021101277049967123,188.0,188
2525998,4962,19,4962-L77,,,4962-S76,,,,,,,-0.015216302921784657,106.0,106
2526998,4964,14,4964-S190,4964-L178,4964-S191,4964-S177,Column_24,0.970412015914917,0.6755685508251191,<=,left,None,-0.00333743,620.0,620
2527998,4966,14,4966-L73,,,4966-S76,,,,,,,0.011329781752841099,137.0,137
2528998,4968,14,4968-S32,4968-S174,4968-S33,4968-S29,Column_19,1.5902700424194336,-0.6742075979709624,<=,left,None,0.000892957,5444.0,5444
2529998,4970,11,4970-L200,,,4970-S199,,,,,,,0.006320520037044324,336.0,336
2530998,4972,13,4972-S225,4972-L131,4972-L226,4972-S133,Column_15,0.7520939707756042,-0.3910080790519714,<=,left,None,-0.00766963,295.0,295
2531998,4974,15,4974-L139,,,4974-S143,,,,,,,0.009719555713627415,102.0,102
2532998,4976,13,4976-L131,,,4976-S130,,,,,,,-0.008448866840260916,195.0,195
2533998,4978,15,4978-L239,,,4978-S238,,,,,,,0.01019938246213964,112.0,112
2534998,4980,9,4980-L42,,,4980-S42,,,,,,,0.012193971863459975,126.0,126
2535998,4982,15,4982-L34,,,4982-S33,,,,,,,-0.009220713326855428,192.0,192
2536998,4984,9,4984-S26,4984-L25,4984-L27,4984-S25,Column_1,1.1161600351333618,-0.04436973668634891,<=,left,None,-0.00566565,339.0,339
2537998,4986,13,4986-L236,,,4986-S236,,,,,,,-0.010996394506930211,221.0,221
2538998,4988,18,4988-L222,,,4988-S233,,,,,,,-0.001222929739662567,1392.0,1392
2539998,4990,13,4990-L167,,,4990-S166,,,,,,,0.0017196273834156187,19678.0,19678
2540998,4992,15,4992-L47,,,4992-S46,,,,,,,0.019410366345196963,100.0,100
2541998,4994,11,4994-S136,4994-L109,4994-L137,4994-S118,Column_8,0.7672929763793945,1.0000000180025095e-35,<=,left,None,-0.00867073,459.0,459
2542998,4996,14,4996-S138,4996-L112,4996-S139,4996-S111,Column_23,0.5022619962692261,0.986467868089676,<=,left,None,0.000172803,445.0,445
2543998,4998,9,4998-S76,4998-S81,4998-S77,4998-S75,Column_11,1.4823499917984009,-0.8421601653099059,<=,left,None,8.01628e-06,93124.0,93124                               2544998,4999,11,4999-L179,,,4999-S178,,,,,,,-0.00022046581974725736,1660.0,1660

When using device=cuda training, as the number of training iterations increases, GPU utilization decreases, and the time spent on each training iterations increases. However, device=CPU is not like this.

Unrelated, some notes on those parameters:
# this is the default, you can omit this
"tree_learner": "serial"

# these are only relevant for the CLI, omit them when using the Python package
"task": "train"
"is_training_metric": "false"

Thank you very much for your suggestion!  Looking forward to your reply!  Thanks!

Sorry, my request was unclear.
I'm not looking for a random sample of that dataframe. Could you use that output to see if there is a difference in the number of leaves in each tree?
A finding like "the trees in later iterations have fewer leaves" would be very informative here.
I'm looking for output similar to this:
tree 0: 255 leaves
...
tree 100: 75 leaves
...
tree 200: 25 leaves
...
tree 300: 3 leaves
...
tree 400: 3 leaves
...
tree 499: 3 leaves

Sorry, my request was unclear.
I'm not looking for a random sample of that dataframe. Could you use that output to see if there is a difference in the number of leaves in each tree?
A finding like "the trees in later iterations have fewer leaves" would be very informative here.
I'm looking for output similar to this:
tree 0: 255 leaves
...
tree 100: 75 leaves
...
tree 200: 25 leaves
...
tree 300: 3 leaves
...
tree 400: 3 leaves
...
tree 499: 3 leaves

Hi, sorry for my later reply. I used  "cat model.txt | grep -A 1 Tree=" to check the save_model. I got
Tree=4975
num_leaves=255
--
Tree=4976
num_leaves=255
--
Tree=4977
num_leaves=255
--
Tree=4978
num_leaves=255
--
Tree=4979
num_leaves=255
--
Tree=4980
num_leaves=255
--
Tree=4981
num_leaves=255
--
Tree=4982
num_leaves=255
--
Tree=4983
num_leaves=255
--
Tree=4984
num_leaves=255
--
Tree=4985
num_leaves=255
--
Tree=4986
num_leaves=255
--
Tree=4987
num_leaves=255
--
Tree=4988
num_leaves=255
--
Tree=4989
num_leaves=255
--
Tree=4990
num_leaves=255
--
Tree=4991
num_leaves=255
--
Tree=4992
num_leaves=255
--
Tree=4993
num_leaves=255
--
Tree=4994
num_leaves=255
--
Tree=4995
num_leaves=255
--
Tree=4996
num_leaves=255
--
Tree=4997
num_leaves=255
--
Tree=4998
num_leaves=255
--
Tree=4999
num_leaves=255

In fact, every tree has num_leaves=255.

hmmmm ok thank you for that!
Sorry, but I'm out of ideas. I'm not that familiar with the performance characteristics of the CUDA build here. I hope @shiyu1994 will be able to help.


Resolve the issue with the asynchronous function generate_concurrentl…

…y in async_chain.ipynb

Fixes # (issue)
Doc code err!
Before submitting
async def generate_concurrently():
    llm = OpenAI(temperature=0.9)
    prompt = PromptTemplate(
        input_variables=["product"],
        template="What is a good name for a company that makes {product}?",
    )
    chain = LLMChain(llm=llm, prompt=prompt)
    tasks = [async_generate(chain) for _ in range(5)]
    await asyncio.gather(*tasks)

s = time.perf_counter()
# If running this outside of Jupyter, use asyncio.run(generate_concurrently())
await generate_concurrently()

After submitting
async def generate_concurrently():
    llm = OpenAI(temperature=0.9)
    prompt = PromptTemplate(
        input_variables=["product"],
        template="What is a good name for a company that makes {product}?",
    )
    chain = LLMChain(llm=llm, prompt=prompt)
    tasks = [async_generate(chain) for _ in range(5)]
    await asyncio.gather(*tasks)

s = time.perf_counter()
# If running this outside of Jupyter, use asyncio.run(generate_concurrently())
asyncio.run(generate_concurrently())

Who can review?
Tag maintainers/contributors who might be interested:

@BigPingge Hi , could you, please, resolve the merging issues? After that ping me and I push this PR for the review. Thanks!


Add adaptive predictor predict threshold in binary classification

Related Issue: #1505
Currently when returning predictions from predictor.predict() in binary classification, AutoGluon uses a threshold of 0.5, as in if positive class predict_proba is 0.49, then AutoGluon returns 0. If 0.51, then AutoGluon returns 1.
Depending on the eval_metric, this 0.5 threshold may not be ideal for maximizing the validation score. Instead, automatically adjust the threshold to maximize validation score.
This should only be applied for metrics that directly use predictions, rather than predict_proba. This includes metrics like accuracy, balanced_accuracy, f1, precision, recall, etc.
This would be applied as a post-fit operation, either on the best model or all models.
Bagged models will need a method to determine an overall threshold across child folds. One option is to treat the out-of-fold pred_proba as if it was from a single model when determining the threshold.
In terms of API, this might be passed in .fit() via the calibrate argument, or as a separate argument.

Resolved by #3298


Update speaker_verification_pipeline.py

fix log too long when input tuple(bytes,bytes)
when input ( bytes,bytes) logger will print all byte ....
I think 500 words for URL / file path check  is enough... if want use print file/url path can use:
    # 判断 audio_in 是否为文件路径或 URL
    if isinstance(audio_in, str):
        parsed_url = urlparse(audio_in)
        if os.path.isfile(audio_in) or (parsed_url.scheme and parsed_url.netloc):
            # 如果是文件路径或 URL，则输出 audio_in
            logger.info(f'Speaker Verification Processing: {audio_in} ...')
        else:
            # 如果不是文件路径或 URL，则输出数据的前500字节
             logger.info(f'Speaker Verification Processing: {str(audio_in)[:500]} ...')
    else:
        # 如果不是文件路径或 URL，tuple or bytes 则输出数据的前500字节
        logger.info(f'Speaker Verification Processing: {str(audio_in)[:500]} ...')

pls refer to https://github.com/modelscope/modelscope/blob/master/docs/source/develop.md#1-code-style to format your code

can you add me to your repo so I can check and fix the lint test error?

wenmengzhou

hahha， okok，thks， I don't know what happens..😂

still do not have pemission
git push lingfengchencn patch-1
error: Authentication error: Authentication required: You must have push access to verify locks

still do not have pemission
git push lingfengchencn patch-1 error: Authentication error: Authentication required: You must have push access to verify locks

sorry, I don't use github well, it seams need your response,Awaiting wenmengzhou’s response

still do not have pemission
git push lingfengchencn patch-1 error: Authentication error: Authentication required: You must have push access to verify locks

sorry, I don't use github well, it seams need your response,Awaiting wenmengzhou’s response
and when I use modelscope ,it print a lot of INFOs ,can we change it into DEBUG?

yep, you can use  logger = get_logger()  then set the logging level for modelscope logger


Running on Orange Pi

Hi,
When I tried to run Sanchez ARM build (release page) on Orange Pi, I got error saying:
-bash: ./Sanchez: cannot execute: required file not found
Why is that? Are there any dependencies which I should install?

Without additional information, I'm not entirely sure - I'm rather at the mercy of dotnet to generate a valid ARM build that runs on all common Linux platforms. I know that others are using Sanchez on Rasberry PIs. I don't have an Orange Pi to test with, but I do have a Banana Pi (so many fruit!) so will test it in the weekend.

Are you able to tell me the exact model number? I will do some digging. Although, if it doesn't work I fear the answer may not be great. Quick Googling suggests that dotnet does work on some Orange Pis.

I was running it on Orange Pi Zero2W

OK, I was able to recompile the project for orange pi zero 2W.
`
wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
chmod +x ./dotnet-install.sh
./dotnet-install.sh --channel 7.0
sudo apt install libc6
sudo apt install libgcc-s1
sudo apt install libgssapi-krb5-2
sudo apt install libicu63 (for debian 10.x)
sudo apt install libicu67 (for debian 11.x)
sudo apt install libicu72 (for debian 12.x)
sudo apt install libssl1.1
sudo apt install libstdc++6
sudo apt install zlib1g
export DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
git clone --depth=1 https://github.com/nullpainter/sanchez.git
cd sanchez
dotnet run --project Sanchez
dotnet publish  Sanchez/Sanchez.csproj -p:PublishSingleFile=true -r linux-arm64 -c Release -o output
`
using flag "-p:PublishTrimmed=true" causes exception when running the program. So I removed it.
now the program is available in the output folder.

Oh excellent work. I remember that trimming used to be a bit problematic, but I hoped that .NET 7 (and now 8) had sorted out all the wrinkles. Does everything now work for you?

Yes. Everything works without any issues. I think you should put build instructions on the readme page.


Add sampling to the APIs

We have the SampleOperator in the basic plugin, but it's not reflected in the API. It should be added. Also, it would be nice if there was no need to make specifying the sampling method optional.

When SampleOperators lack the dataset size, they materialize the dataset in order to count it. While this is logically sound, it tricks the statistics collection. Thus, it would be better if the SampleOperators exposed that behavior so that Rheem can better keep track of what is happening.

The handling of eager execution and channel evaluation will be postponed.

This issue was moved to rheem-ecosystem/rheem#22


ls: /dev/fb*: No such file or directory

Dear huxiangjs,
I'm stuck with driver not working
[root@luckfox ~]# ls /dev/fb*
ls: /dev/fb*: No such file or directory

Can you show me the full contents of your .dts file? Did you use "Burning SPI NAND Flash Images"?
Thank you very much! I look forward to hearing from you.

Hi @MinhDuc-HCMUT,
The content in 0001-Support-GC9A01-for-luckfox-pico.patch is all my changes.
From the log you provided, it seems that the driver was not compiled correctly. I think of the following checkpoints, please check:

Please make sure the dts file you use is rv1103g-luckfox-pico.dts
Please make sure the defconfig file you use is luckfox_rv1106_linux_defconfig
Please make sure that CONFIG_FB_TFT=y and CONFIG_FB_TFT_ILI9340=y exist in the defconfig file

In addition, you can also try to clear the cache and recompile according to the official compilation command:
https://github.com/LuckfoxTECH/luckfox-pico
./build.sh clean kernel
./build.sh kernel

Good luck.

Thank you!!! I'll try again.


OTA via dashboard and arduino IDE (MEGH-3772)

Is it possible to do the OTA updates via the https://dashboard.insights.espressif.com when using the Arduino IDE?
up until now I get an Error when using RMaker.enableOTA(OTA_USING_TOPICS); and the ESP reboots

I raised it in 2021 here( https://github.com/espressif/arduino-esp32/issues/5420) It has been studiously ignored despite prodding

Yeah, I saw your item. It would be amazing if it was possible to upload via the dashboard and all the devices get the new firmware. Another option is to try it via the ESP-IDF but then I need time to learn how this works. It's just that there is some OTA code in the arduino examples, and it bugs me that it seems to have no functionality.

Low heap memory seems to be the root cause for this. Since Arduino has pre compiled libraries which are common across all esp32 specific modules, there are quite some things pulled in even when not used actively. Getting to a stage wherein the RAM usage will be reduced, but without affecting any other functionality/examples will take some time.

It works fine in idf.
On Mon, 22 Aug 2022, 12:27 Michiel-FMI-ImProvia, @.***>
wrote:

Yeah, I saw your item. It would be amazing if it was possible to upload
via the dashboard and all the devices get the new firmware. Another option
is to try it via the ESP-IDF but then I need time to learn how this works.
It's just that there is some OTA code in the arduino examples, and it bugs
me that it seems to have no functionality.
—
Reply to this email directly, view it on GitHub
https://github.com/espressif/esp-rainmaker/issues/161#issuecomment-1222221512,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADHTIDKHYTUSZ5ERJKDUDRTV2NPZ7ANCNFSM57GY2TAA
.
You are receiving this because you commented.Message ID:
@.***>

Low heap memory seems to be the root cause for this. Since Arduino has pre compiled libraries which are common across all esp32 specific modules, there are quite some things pulled in even when not used actively. Getting to a stage wherein the RAM usage will be reduced, but without affecting any other functionality/examples will take some time.

I can imagine that this is not a simple problem. Maybe mention this in the Arduino examples to not get people's hopes up.
In short  if I want to use Rainmaker OTA it's smarter to learn the ESP-IDF language.

There is a workaround @Michiel-FMI-ImProvia . Use Arduino OTA https://youtu.be/V-g45CFSFr4

Oh I am so exited!! Will watch that video with intense attention!!!

I hope this will give some impetus to the Espressif team. If the Arduino
OTA works the surely it's not a heap collision?
On Mon, 22 Aug 2022, 12:27 Michiel-FMI-ImProvia, @.***>
wrote:

Yeah, I saw your item. It would be amazing if it was possible to upload
via the dashboard and all the devices get the new firmware. Another option
is to try it via the ESP-IDF but then I need time to learn how this works.
It's just that there is some OTA code in the arduino examples, and it bugs
me that it seems to have no functionality.
—
Reply to this email directly, view it on GitHub
https://github.com/espressif/esp-rainmaker/issues/161#issuecomment-1222221512,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADHTIDKHYTUSZ5ERJKDUDRTV2NPZ7ANCNFSM57GY2TAA
.
You are receiving this because you commented.Message ID:
@.***>

exactly....

Hi @JohnMacrae,
We are aware of this crash and are working on the fixes. We will fix this issue in the upcoming release of ESP32 Arduino.
Regards,
Sanket

Hi @JohnMacrae, We are aware of this crash and are working on the fixes. We will fix this issue in the upcoming release of ESP32 Arduino. Regards, Sanket

any idea when this release will happen? This functionality sounds so amazing.

Hello,
Arduino 2.0.6 has been released, which fixes the OTA crash issues seen previously. If you face low memory errors like
esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00, please reboot your device once. Doing a reboot after successful provisioning and then starting OTA is recommended.
Thanks!


scons: Pick up PATH from build environment

Description of changes
Based on #216244.
Pick up PATH from the build environment, as suggested in the comments of #163183.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.05 Release Notes (or backporting 22.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.

Closed by #222960.


logging error: no such table pywps_requests

Description
Commit https://github.com/geopython/pywps/commit/418c92e6d203c547560395333696d1a60a3ce05e reintroduced the intermittant
[Fri Mar 24 17:10:56.955248 2017] [wsgi:error] [pid 23:tid<PHONE_NUMBER>69696] [remote <IP_ADDRESS>:60489]   File "/usr/local/lib/python2.7/dist-packages/pywps-4.0.0-py2.7.egg/pywps/dblog.py", line 76, in log_request
[Fri Mar 24 17:10:56.955383 2017] [wsgi:error] [pid 23:tid<PHONE_NUMBER>69696] [remote <IP_ADDRESS>:60489]     session.commit()
...
OperationalError: (sqlite3.OperationalError) no such table: pywps_requests
problem. That is to say, I can launch a process a couple of times, then I will get a 500 Internal Server Error once in a while. This is triggered in various places when pywps calls update_response() or log_request() or session.count().
To fix the problem presently, I have to force get_session to not use the _SESSION_MAKER (i.e., I commented out the following lines in dblog.py):
#if _SESSION_MAKER:
#    _SESSION_MAKER.close_all()
#    _LAST_SESSION = _SESSION_MAKER()
#    return _LAST_SESSION

This issue does not arise if I revert back to commit https://github.com/geopython/pywps/commit/77bc4ec0a39b8424b503a31c355726cd63ec91a5
Environment

operating system: Ubuntu 16.04
Python version: 2.7.12
PyWPS version: 4.0.0 (2017-01-31)
source/distribution

[x] git clone
[ ] Debian
[ ] PyPI
[ ] zip/tar.gz
[ ] other (please specify):

web server

[x] Apache/mod_wsgi
[ ] CGI
[ ] other (please specify):

Steps to Reproduce
Additional Information

Thanks for the report. Btw - does it crash only for async requests or also for sync requests?

I confirm that it's for both sync and async processes. It happens roughly every other call, and it does not matter whether the calls are really close together in time, or if I wait a while before making another call.

@bstdenis
Is this still an open issue? I haven't validated or experienced it by myself. It needs to be checked and I will add it to our project tasks (dar-es-salaam).
@elemoine
Do you have a comment for this bug report?

Yes, I still have this intermittent failure in the latest develop if I use the in memory sqlite database, i.e.:
[logging]
database=sqlite://
However I no longer get the 500 Internal Server Error, instead, WPS returns:
<!-- PyWPS 4.0.0 -->
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd" version="1.0.0">
  <ows:Exception exceptionCode="NoApplicableCode" locator="" >
      <ows:ExceptionText>No applicable error code, please check error log</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>

The apache2 error.log is not helping me much, sqlalchemy is giving a lot of INFO level logging, on successful calls, it starts with:
[Thu Mar 22 18:25:11.507591 2018] [wsgi:error] [pid 24:tid<PHONE_NUMBER>79712] 2018-03-22 18:25:11,507 INFO sqlalchemy.engine.base.Engine BEGIN (implicit)
[Thu Mar 22 18:25:11.508908 2018] [wsgi:error] [pid 24:tid<PHONE_NUMBER>79712] 2018-03-22 18:25:11,508 INFO sqlalchemy.engine.base.Engine INSERT INTO pywps_requests (uuid, pid, operation, version, time_start, time_end, identifier, message, percent_done, status) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[Thu Mar 22 18:25:11.509115 2018] [wsgi:error] [pid 24:tid<PHONE_NUMBER>79712] 2018-03-22 18:25:11,508 INFO sqlalchemy.engine.base.Engine ('5b830a9c-2dfe-11e8-a329-0242ac110002', 24, u'execute', u'1.0.0', '2018-03-22 18:25:11.506255', None, u'sync', None, None, None)
[Thu Mar 22 18:25:11.509827 2018] [wsgi:error] [pid 24:tid<PHONE_NUMBER>79712] 2018-03-22 18:25:11,509 INFO sqlalchemy.engine.base.Engine COMMIT
[Thu Mar 22 18:25:11.515047 2018] [wsgi:error] [pid 24:tid<PHONE_NUMBER>79712] 2018-03-22 18:25:11,514 INFO sqlalchemy.engine.base.Engine BEGIN (implicit)
[Thu Mar 22 18:25:11.516053 2018] [wsgi:error] [pid 24:tid<PHONE_NUMBER>79712] 2018-03-22 18:25:11,515 INFO sqlalchemy.engine.base.Engine SELECT count(*) AS count_1
...

On failed calls, it goes:
[Thu Mar 22 18:25:13.502522 2018] [wsgi:error] [pid 24:tid<PHONE_NUMBER>72416] 2018-03-22 18:25:13,502 INFO sqlalchemy.engine.base.Engine BEGIN (implicit)
[Thu Mar 22 18:25:13.502915 2018] [wsgi:error] [pid 24:tid<PHONE_NUMBER>72416] 2018-03-22 18:25:13,502 INFO sqlalchemy.engine.base.Engine INSERT INTO pywps_requests (uuid, pid, operation, version, time_start, time_end, identifier, message, percent_done, status) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[Thu Mar 22 18:25:13.503093 2018] [wsgi:error] [pid 24:tid<PHONE_NUMBER>72416] 2018-03-22 18:25:13,502 INFO sqlalchemy.engine.base.Engine ('5cb38464-2dfe-11e8-9d39-0242ac110002', 24, u'execute', u'1.0.0', '2018-03-22 18:25:13.501562', None, u'sync', None, None, None)
[Thu Mar 22 18:25:13.503360 2018] [wsgi:error] [pid 24:tid<PHONE_NUMBER>72416] 2018-03-22 18:25:13,503 INFO sqlalchemy.engine.base.Engine ROLLBACK

Then stops, not sure what's going on. I don't have this problem with an actual sqlite file (i.e. database=sqlite:///pywpslog.db) or a postgresql logging database. So at this point I guess it's an sqlalchemy problem.

@bstdenis Thanks for testing it again.
If it only fails for the memory database then it is a low-priority bug.  I use sqlite for development and for production we need to use postgres db.


ocamlPackage.{cohttp,github-unix}: fix for OCaml 5.0

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

[x] 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/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 237686 run on x86_64-linux 1

4 packages built:

comby
dune-release
ligo
liquidsoap


Debug hangs up when using ElementPlus

Describe the bug
got error when import elementPlus in setupFiles
TypeError: Invalid URL
 ❯ Object.<anonymous> node_modules/.pnpm/normalize-wheel-es@1.1.1/node_modules/normalize-wheel-es/dist/index.js:1:348

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯

Test Files  1 failed (1)
     Tests  no tests
      Time  2.12s (in thread 0ms, Infinity%)

As long as I remove ElementPlus importing, test back to normal.
Reproduction
https://github.com/hansonfang/vitest_element_debug
System Info
System:
    OS: macOS 12.3
    CPU: (8) arm64 Apple M1 Pro
    Memory: 1013.61 MB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v14.19.0/bin/yarn
    npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
  Browsers:
    Chrome: 99.0.4844.83
    Edge: 99.0.1150.46
    Safari: 15.4
  npmPackages:
    @vitejs/plugin-vue: ^2.2.4 => 2.2.4
    vite: ^2.8.6 => 2.8.6
    vitest: ^0.7.10 => 0.7.10

Used Package Manager
pnpm
Validations

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

This fixed it for me:
import { config } from "@vue/test-utils";
document.baseURI = "https://localhost/";
import ElementUI from "element-plus";

config.global.plugins = [ElementUI];

I updated normalize-wheel-es to 1.1.2 and this issue gone. but there comes a new one which is
when I use debug mode, terminal seems frozen with a RUN prompt. Nothing going on.
As long as I remove ElementPlus importing or run pnpm test  everything perform normally.

Issue solved by updating normalize-wheel-es to 1.1.2 Whereas there comes a new problem which is when I use debug mode, terminal seems frozen with a RUN prompt. Nothing going on. As long as I remove ElementPlus importing or run pnpm test  everything perform normally.

I don't have any errors running code in reproduction. Maybe you can push lock file also?

@sheremet-va I've uploaded lock file pls check out. Meanwhile I took a shot on the problem

Reproduction works correctly on the latest Vitest version.


ZTC ZT230-203dpi ZPL PDF Printer Label Move Down about 1/4" inch

Hi Michael and team,
Questions:
How can I make this label print correctly using the proper driver settings?  How do I move the label down about 1/4" or so?
Do you have to restart cups if you manually update the ppd file (aka - ImageableArea)
Is moving to 6x4 in CUPS 1.6.3 the proper way to make jobs automatically landscape?
There's a few things I can't figure out.
When I use 4x6 as the selected page size it won't print landscape.  If I use 6x4 it prints landscape automatically.
I can see the file comes into a pdf format with this page size:  (pdfinfo shows: Page size:      326.05 x 85.05 pts.  When it's in this format I have to use -o landscape to get it to rotate and then it's about 1/4 inch to high on the label.  This is how the print job is coming and I can't manipulate the file.
I did see in some other google searches I found some similar scenarios.  I took the printjob sent it through a postscript driver, and then ps2pdf (Manually) and it created the page size as:  85.05 x 326.05.  With this format it prints perfectly without any options and it formats it on the label lined up correctly.
*DefaultPageSize: w432h288
*PageSize w432h288/6.00x4.00": "<</PageSize[432 288]/ImagingBBox null>>setpagedevice"
*DefaultPageRegion: w432h288
*PageRegion w432h288/6.00x4.00": "<</PageSize[432 288]/ImagingBBox null>>setpagedevice"
*DefaultImageableArea: w432h288
*ImageableArea w432h288/6.00x4.00": "36 36 432 288"
*DefaultPaperDimension: w432h288
*PaperDimension w432h288/6.00x4.00": "432 288"
*cupsFilter: "application/vnd.cups-raster 0 rastertolabel"
Using this Driver File:
*PPD-Adobe: "4.3"
*%%%% PPD file for ZPL Label Printer with CUPS.
*%%%% Created by the CUPS PPD Compiler CUPS v1.6.3.

Hi @cupsman ,
it would be great if you attached CUPS debug logs, pdf label you want to print and your PPD you use for the printer - adding .txt suffix to any file or using zip to get an archive should make the file visible for github and you can attach it as a file.
Once I have the necessary data, I will try to reproduce the issue with my Zebra printer on the latest CUPS version, but I don't have the same model, so it will be mostly sanity check.
Your best course of action would be to contact your OS support, since version 1.6.3 is about a decade old and we in OpenPrinting/CUPS mostly focus on the latest released version. Or upgrade to the latest CUPS and cups-filters released versions - 2.4.2 and 1.28.16.

Can you remove the two attachments please.

@cupsman Done!

Here's the error_log file for the job.
The bottom line on this is the rasterimage is getting cutoff at the top like by a 1/4" or so.  Alot of good information for troubleshooting at the top of the issue.
I [01/Nov/2022:18:37:34 +0000] [Job 206] Adding start banner page "none".
I [01/Nov/2022:18:37:34 +0000] [Job 206] Queued on "PRINTERNAME" by "myuserid".
D [01/Nov/2022:18:37:34 +0000] [Job 206] Auto-typing file...
D [01/Nov/2022:18:37:34 +0000] [Job 206] Request file type is application/pdf.
I [01/Nov/2022:18:37:34 +0000] [Job 206] File of type application/pdf queued by "myuserid".
I [01/Nov/2022:18:37:34 +0000] [Job 206] Adding end banner page "none".

D [01/Nov/2022:18:37:34 +0000] [Job 206] PID 14205 (/usr/lib/cups/filter/pdftopdf) exited with no errors.

D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Start rendering...", current level=INFO
I [01/Nov/2022:18:37:34 +0000] [Job 206] Processing page 1...
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Processing page 1...", current level=INFO
I [01/Nov/2022:18:37:34 +0000] [Job 206] Processing page 2...
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Processing page 2...", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] PAGE: 1 1
I [01/Nov/2022:18:37:34 +0000] [Job 206] Starting page 1.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Starting page 1.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] StartPage...
D [01/Nov/2022:18:37:34 +0000] [Job 206] MediaClass = ""
D [01/Nov/2022:18:37:34 +0000] [Job 206] MediaColor = ""
D [01/Nov/2022:18:37:34 +0000] [Job 206] MediaType = ""
D [01/Nov/2022:18:37:34 +0000] [Job 206] OutputType = ""
D [01/Nov/2022:18:37:34 +0000] [Job 206] AdvanceDistance = 1000
D [01/Nov/2022:18:37:34 +0000] [Job 206] AdvanceMedia = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] Collate = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] CutMedia = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] Duplex = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] HWResolution = [ 200 200 ]
D [01/Nov/2022:18:37:34 +0000] [Job 206] ImagingBoundingBox = [ 0 0 326 85 ]
D [01/Nov/2022:18:37:34 +0000] [Job 206] InsertSheet = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] Jog = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] LeadingEdge = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] Margins = [ 0 0 ]
D [01/Nov/2022:18:37:34 +0000] [Job 206] ManualFeed = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] MediaPosition = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] MediaWeight = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] MirrorPrint = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] NegativePrint = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] NumCopies = 1
D [01/Nov/2022:18:37:34 +0000] [Job 206] Orientation = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] OutputFaceUp = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] PageSize = [ 326 85 ]
D [01/Nov/2022:18:37:34 +0000] [Job 206] Separations = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] TraySwitch = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] Tumble = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] cupsWidth = 906
D [01/Nov/2022:18:37:34 +0000] [Job 206] cupsHeight = 236
D [01/Nov/2022:18:37:34 +0000] [Job 206] cupsMediaType = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] cupsBitsPerColor = 1
D [01/Nov/2022:18:37:34 +0000] [Job 206] cupsBitsPerPixel = 1
D [01/Nov/2022:18:37:34 +0000] [Job 206] cupsBytesPerLine = 114
D [01/Nov/2022:18:37:34 +0000] [Job 206] cupsColorOrder = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] cupsColorSpace = 3
D [01/Nov/2022:18:37:34 +0000] [Job 206] cupsCompression = -1
D [01/Nov/2022:18:37:34 +0000] [Job 206] cupsRowCount = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] cupsRowFeed = 0
D [01/Nov/2022:18:37:34 +0000] [Job 206] cupsRowStep = 200
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 0% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 0% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=0
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 6% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 6% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=6
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 13% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 13% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=13
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 20% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 20% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=20
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 27% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 27% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=27
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 33% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 33% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=33
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 40% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 40% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=40
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 47% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 47% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=47
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 54% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 54% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=54
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 61% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 61% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=61
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 67% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 67% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=67
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 74% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 74% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=74
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 81% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 81% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=81
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 88% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 88% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=88
I [01/Nov/2022:18:37:34 +0000] [Job 206] Printing page 1, 94% complete.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Printing page 1, 94% complete.", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] ATTR: job-media-progress=94
I [01/Nov/2022:18:37:34 +0000] [Job 206] Finished page 1.
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Finished page 1.", current level=INFO
I [01/Nov/2022:18:37:34 +0000] [Job 206] Rendering completed
D [01/Nov/2022:18:37:34 +0000] [Job 206] Set job-printer-state-message to "Rendering completed", current level=INFO
D [01/Nov/2022:18:37:34 +0000] [Job 206] PID 14206 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [01/Nov/2022:18:37:34 +0000] [Job 206] PID 14207 (/usr/lib/cups/filter/rastertolabel) exited with no errors.
D [01/Nov/2022:18:37:38 +0000] [Job 206] prtGeneralCurrentLocalization type is 0, expected 2!
D [01/Nov/2022:18:37:38 +0000] [Job 206] backendWaitLoop(snmp_fd=6, addr=0x55c949f7caa8, side_cb=0x55c948130380)
D [01/Nov/2022:18:37:38 +0000] [Job 206] Connecting to XX.XX.XX.XX0:9100
I [01/Nov/2022:18:37:38 +0000] [Job 206] Connecting to printer.
D [01/Nov/2022:18:37:38 +0000] [Job 206] Set job-printer-state-message to "Connecting to printer.", current level=INFO
D [01/Nov/2022:18:37:38 +0000] [Job 206] STATE: -connecting-to-device
I [01/Nov/2022:18:37:38 +0000] [Job 206] Connected to printer.
D [01/Nov/2022:18:37:38 +0000] [Job 206] Set job-printer-state-message to "Connected to printer.", current level=INFO
D [01/Nov/2022:18:37:38 +0000] [Job 206] Connected to XX.XX.XX.XX:9100...
D [01/Nov/2022:18:37:38 +0000] [Job 206] backendRunLoop(print_fd=0, device_fd=7, snmp_fd=6, addr=0x55c949f7caa8, use_bc=1, side_cb=0x55c948130380)
D [01/Nov/2022:18:37:38 +0000] [Job 206] Read 8192 bytes of print data...
D [01/Nov/2022:18:37:38 +0000] [Job 206] Wrote 8192 bytes of print data...
D [01/Nov/2022:18:37:38 +0000] [Job 206] Read 8192 bytes of print data...
D [01/Nov/2022:18:37:38 +0000] [Job 206] Wrote 8192 bytes of print data...
D [01/Nov/2022:18:37:38 +0000] [Job 206] Read 2278 bytes of print data...
D [01/Nov/2022:18:37:38 +0000] [Job 206] Wrote 2278 bytes of print data...
I [01/Nov/2022:18:37:38 +0000] [Job 206] Waiting for printer to finish.
D [01/Nov/2022:18:37:38 +0000] [Job 206] Set job-printer-state-message to "Waiting for printer to finish.", current level=INFO
D [01/Nov/2022:18:37:38 +0000] [Job 206] PID 14208 (/usr/lib/cups/backend/socket) exited with no errors.
D [01/Nov/2022:18:37:38 +0000] [Job 206] time-at-completed=1667327858
I [01/Nov/2022:18:37:38 +0000] [Job 206] Job completed.
D [01/Nov/2022:18:37:39 +0000] [Job 206] Unloading...
D [01/Nov/2022:20:02:11 +0000] [Job 206] Loading attributes...
D [01/Nov/2022:20:03:14 +0000] [Job 206] Unloading...

@cupsman would you mind attaching the file you want to print and PPD file? I don't have cups 1.6.3 at hand.

PrinterDriver.txt
This is the print driver sorry I forgot to close it with comment.
Also (Very important).  I found this the other day and performed it and the label printed perfectly.  Can we chain our filters to match what we did manually here?  This put the label perfectly on the Zebra printer when I manually ran it through the process below and send the filtered.pdf to the printer.
~> /usr/sbin/cupsfilter -P test.ppd -m application/vnd.cups-postscript label.pdf  > filtered.ps
~> ps2pdf filtered.ps
~> pdfinfo filtered.pdf


Feat/handle urls multi language

Description
Handle urls in different languages like arabic , french , in addition to the default language  english
Fixes #24   (Handle Urls in multi-language.)
See Also #390  this pr is related to this one
Type of change

New feature (non-breaking change which adds functionality)

@ZibanPirate   i can not understand  why the checks is failing here ??


BrowserAnimationsModule + HMR = multiple  tags

I'm submitting a ...
[*] bug report
[ ] feature request
[ ] question about the decisions made in the repository

What is the current behavior?
Previous <app> tag don't remove from DOM after HMR when use BrowserAnimationsModule

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

add import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; to app.modules.ts
add BrowserAnimationsModule to @NgModule imports
npm run server:dev:hmr
use HMR

Please tell us about your environment:

Angular version: 4.3.1
Browser: Chrome 60

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
First run:

after HMR:

Seeing same issue. Would like a resolution, cause the BrowserAnimationsModule is less important than a nice HMR setup in dev.

the hmr version was outdated. I'll push up the changes

fixed via https://github.com/AngularClass/angular-starter/commit/599b71fdbdbc790524985a409ac7a108b9bddb6b


Install script rhel fix

Fix for the following issue: https://github.com/docker/docker/issues/24039

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "install_script_rhel_fix" git@github.com:adamjk-dev/docker.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Thanks @adamjk-dev. Can you "squash" and sign-off your commits, so that there's only a single commit in your PR? you can find some additional information here; https://docs.docker.com/opensource/workflow/work-issue/#pull-and-rebase-frequently

LGTM

To be honest, I am not sure if that fixed it or not. I still see 3 commits in my fork.

Looks like you need to rebase, and squash those commits. To do so, first make sure your local fork is up to date;
git fetch --all

Then you can rebase your PR / branch interactively;
git rebase -i upstream/master

That opens an editor showing your commits;
pick c8248e4 updates to fix install script for RHEL
pick 67fbac8 updates to fix install script for RHEL
pick 290afda fixing install script for rhel7
pick 931bfb7 fixing install script for rhel7

Change those lines to;
pick c8248e4 updates to fix install script for RHEL
squash 67fbac8 updates to fix install script for RHEL
squash 290afda fixing install script for rhel7
squash 931bfb7 fixing install script for rhel7

Which basically says; combine ("squash") all the previous 3 commits with the last one ("pick")
After you save the file, the rebase continues, and another file is opened, showing the commit messages for all those commits.
You can there comment-out lines that are not needed in the final commit message (just put a # in front of those lines).
Then save the file to complete the rebase.
Once done, you need to force push your branch to github;
git push -f origin

And that should update the PR here on GitHub
Hope it helps, if not, let me know then I can carry it for you

Thanks a bunch. I haven't done that before, very useful. I swore I did that last time but I think I did a 'git pull' before that last 'git push' so I ended up with the same commits. Looks like I have one commit this time. Appreciate it.

excellent!
LGTM

merging, because CI doesn't run these

Great, thanks. I don't know why my commits don't link my github account or gravatar. I know this isn't the place, but any ideas?

@adamjk-dev if you go to the commit (https://github.com/docker/docker/pull/24069/commits/485c27e18680f5eaeefe5de7f7916ba23f66c8f0) and then click on the blue question mark next to your name, it will tell you what is wrong. It is usually an issue where the email address you have configured locally in git doesn't match what you have in github, and you need to add that email address to github, so it knows how to associate the commits to the right account.

Ah, I don't see a question mark by my name but I imagine it is my email. My local global git config uses my corporate email address to commit to an internal GitLab. But, i didn't set my local user and email when I cloned the repo. So, it likely picked up my corporate email and name, which aren't on my github account. Thanks.

I think you can add multiple e-mail addresses on GitHub, possibly that fixes it

Yep, I will add it just in case. I guess I used to just set local options but if it picks this up that would be great. Thanks again.

@adamjk-dev question mark is gone, looks like it worked.

Cool, thank you both.


[test] Unit Test for mentioned feature does not run at all

Get rid of all setTimeout to fix it.
https://github.com/Chatie/wechaty/blob/master/src/message.spec.ts#L226
  ✖ src › message › mentioned() Test finished without running any assertions

Not sure why room cannot ready here:
mock data as follows:
  const RAW_OBJ = JSON.parse(`{"domain":null,"_events":{},"_eventsCount":0,"id":"@@9cdc696e490bd76c57e7dd54792dc1408e27d65e312178b1943e88579b7939f4","rawObj":{"Alias":"","AppAccountFlag":0,"AttrStatus":0,"ChatRoomId":0,"City":"","ContactFlag":2,"DisplayName":"","EncryChatRoomId":"@864285b52c943fbdbfd0d8990546c404","HeadImgUrl":"/cgi-bin/mmwebwx-bin/webwxgetheadimg?seq=648035057&username=@@9cdc696e490bd76c57e7dd54792dc1408e27d65e312178b1943e88579b7939f4&skey=","HideInputBarFlag":0,"IsOwner":1,"KeyWord":"","MMFromBatchGet":true,"MMFromBatchget":true,"MMInChatroom":true,"MMOrderSymbol":"FUFEIRUQUN","MemberCount":3,"MemberList":[{"AttrStatus":2147584103,"DisplayName":"","KeyWord":"qq5","MemberStatus":0,"NickName":"22acb030-ff09-11e6-8a73-cff62d9268c5","PYInitial":"","PYQuanPin":"","RemarkPYInitial":"","RemarkPYQuanPin":"","Uin":0,"UserName":"@4c32c97337cbb325442c304d6a44e374"},{"AttrStatus":135205,"DisplayName":"","KeyWord":"","MemberStatus":0,"NickName":"小桔同学","PYInitial":"","PYQuanPin":"","RemarkPYInitial":"","RemarkPYQuanPin":"","Uin":0,"UserName":"@cd7d467d7464e8ff6b0acd29364654f3666df5d04551f6082bfc875f90a6afd2"},{"AttrStatus":233509,"DisplayName":"","KeyWord":"","MemberStatus":0,"NickName":"50fb16c0-ff09-11e6-9fe5-dda97284d25b","PYInitial":"","PYQuanPin":"","RemarkPYInitial":"","RemarkPYQuanPin":"","Uin":0,"UserName":"@36d55130f6a91bae4a2ed2cc5f19c56a9258c65ce3db9777f74f607223ef0855"}],"NickName":"付费入群","OwnerUin":0,"PYInitial":"FFRQ","PYQuanPin":"fufeiruqun","Province":"","RemarkName":"","RemarkPYInitial":"","RemarkPYQuanPin":"","Sex":0,"Signature":"","SnsFlag":0,"StarFriend":0,"Statues":1,"Uin":0,"UniFriend":0,"UserName":"@@9cdc696e490bd76c57e7dd54792dc1408e27d65e312178b1943e88579b7939f4","VerifyFlag":0,"stranger":true},"obj":{"id":"@@9cdc696e490bd76c57e7dd54792dc1408e27d65e312178b1943e88579b7939f4","encryId":"@864285b52c943fbdbfd0d8990546c404","topic":"付费入群","ownerUin":0,"memberList":[{"id":"@4c32c97337cbb325442c304d6a44e374","rawObj":{"Alias":"ruirui_0914","AppAccountFlag":0,"AttrStatus":2147584103,"ChatRoomId":0,"City":"海淀","ContactFlag":3,"DisplayName":"","EncryChatRoomId":"","HeadImgUrl":"/cgi-bin/mmwebwx-bin/webwxgeticon?seq=648035215&username=@4c32c97337cbb325442c304d6a44e374&skey=@crypt_ee003aea_5265cdd0c2676aab3df86b0249ae90f7","HideInputBarFlag":0,"IsOwner":0,"KeyWord":"qq5","MMOrderSymbol":"~","MemberCount":0,"MemberList":[],"NickName":"李佳芮","OwnerUin":0,"PYInitial":"LJR","PYQuanPin":"lijiarui","Province":"北京","RemarkName":"22acb030-ff09-11e6-8a73-cff62d9268c5","RemarkPYInitial":"22ACB030FF0911E68A73CFF62D9268C5","RemarkPYQuanPin":"22acb030ff0911e68a73cff62d9268c5","Sex":2,"Signature":"出洞计划  |  向前一步","SnsFlag":49,"StarFriend":0,"Statues":0,"Uin":0,"UniFriend":0,"UserName":"@4c32c97337cbb325442c304d6a44e374","VerifyFlag":0,"_h":50,"_index":16,"_offsetTop":696,"stranger":false},"obj":{"id":"@4c32c97337cbb325442c304d6a44e374","uin":0,"weixin":"ruirui_0914","name":"李佳芮","alias":"22acb030-ff09-11e6-8a73-cff62d9268c5","sex":2,"province":"北京","city":"海淀","signature":"出洞计划  |  向前一步","address":"ruirui_0914","star":false,"stranger":false,"avatar":"/cgi-bin/mmwebwx-bin/webwxgeticon?seq=648035215&username=@4c32c97337cbb325442c304d6a44e374&skey=@crypt_ee003aea_5265cdd0c2676aab3df86b0249ae90f7"}},{"id":"@cd7d467d7464e8ff6b0acd29364654f3666df5d04551f6082bfc875f90a6afd2","rawObj":{"AppAccountFlag":0,"ContactFlag":0,"HeadImgFlag":1,"HeadImgUrl":"/cgi-bin/mmwebwx-bin/webwxgeticon?seq=665886775&username=@cd7d467d7464e8ff6b0acd29364654f3666df5d04551f6082bfc875f90a6afd2&skey=@crypt_ee003aea_5265cdd0c2676aab3df86b0249ae90f7","HideInputBarFlag":0,"MMOrderSymbol":"~","NickName":"小桔同学","PYInitial":"","PYQuanPin":"","RemarkName":"","RemarkPYInitial":"","RemarkPYQuanPin":"","Sex":0,"Signature":"我是一个性感的机器人","SnsFlag":1,"StarFriend":0,"Uin":244009576,"UserName":"@cd7d467d7464e8ff6b0acd29364654f3666df5d04551f6082bfc875f90a6afd2","VerifyFlag":0,"WebWxPluginSwitch":0,"stranger":false},"obj":{"id":"@cd7d467d7464e8ff6b0acd29364654f3666df5d04551f6082bfc875f90a6afd2","uin":244009576,"name":"小桔同学","alias":"","sex":0,"signature":"我是一个性感的机器人","star":false,"stranger":false,"avatar":"/cgi-bin/mmwebwx-bin/webwxgeticon?seq=665886775&username=@cd7d467d7464e8ff6b0acd29364654f3666df5d04551f6082bfc875f90a6afd2&skey=@crypt_ee003aea_5265cdd0c2676aab3df86b0249ae90f7"}},{"id":"@36d55130f6a91bae4a2ed2cc5f19c56a9258c65ce3db9777f74f607223ef0855","rawObj":{"$$hashKey":"01J","Alias":"dancewuli","AppAccountFlag":0,"AttrStatus":233509,"ChatRoomId":0,"City":"","ContactFlag":3,"DisplayName":"","EncryChatRoomId":"","HeadImgUrl":"/cgi-bin/mmwebwx-bin/webwxgeticon?seq=635310858&username=@36d55130f6a91bae4a2ed2cc5f19c56a9258c65ce3db9777f74f607223ef0855&skey=@crypt_ee003aea_5265cdd0c2676aab3df86b0249ae90f7","HideInputBarFlag":0,"IsOwner":0,"KeyWord":"","MMOrderSymbol":"~","MemberCount":0,"MemberList":[],"NickName":"wuli舞哩客服","OwnerUin":0,"PYInitial":"WULIWLKF","PYQuanPin":"wuliwulikefu","Province":"","RemarkName":"50fb16c0-ff09-11e6-9fe5-dda97284d25b","RemarkPYInitial":"50FB16C0FF0911E69FE5DDA97284D25B","RemarkPYQuanPin":"50fb16c0ff0911e69fe5dda97284d25b","Sex":0,"Signature":"","SnsFlag":1,"StarFriend":0,"Statues":0,"Uin":0,"UniFriend":0,"UserName":"@36d55130f6a91bae4a2ed2cc5f19c56a9258c65ce3db9777f74f607223ef0855","VerifyFlag":0,"_h":50,"_index":10,"_offsetTop":396,"stranger":false},"obj":{"id":"@36d55130f6a91bae4a2ed2cc5f19c56a9258c65ce3db9777f74f607223ef0855","uin":0,"weixin":"dancewuli","name":"wuli舞哩客服","alias":"50fb16c0-ff09-11e6-9fe5-dda97284d25b","sex":0,"province":"","city":"","signature":"","address":"dancewuli","star":false,"stranger":false,"avatar":"/cgi-bin/mmwebwx-bin/webwxgeticon?seq=635310858&username=@36d55130f6a91bae4a2ed2cc5f19c56a9258c65ce3db9777f74f607223ef0855&skey=@crypt_ee003aea_5265cdd0c2676aab3df86b0249ae90f7"}}],"nameMap":{"@4c32c97337cbb325442c304d6a44e374":"22acb030-ff09-11e6-8a73-cff62d9268c5","@cd7d467d7464e8ff6b0acd29364654f3666df5d04551f6082bfc875f90a6afd2":"小桔同学","@36d55130f6a91bae4a2ed2cc5f19c56a9258c65ce3db9777f74f607223ef0855":"50fb16c0-ff09-11e6-9fe5-dda97284d25b"},"aliasMap":{"@4c32c97337cbb325442c304d6a44e374":"","@cd7d467d7464e8ff6b0acd29364654f3666df5d04551f6082bfc875f90a6afd2":"","@36d55130f6a91bae4a2ed2cc5f19c56a9258c65ce3db9777f74f607223ef0855":""}}}`)

  const CONTACT_LIST = JSON.parse(`{"@4c32c97337cbb325442c304d6a44e374":{"Alias":"ruirui_0914","AppAccountFlag":0,"AttrStatus":2147584103,"ChatRoomId":0,"City":"海淀","ContactFlag":3,"DisplayName":"","EncryChatRoomId":"","HeadImgUrl":"/cgi-bin/mmwebwx-bin/webwxgeticon?seq=648035215&username=@4c32c97337cbb325442c304d6a44e374&skey=@crypt_ee003aea_5265cdd0c2676aab3df86b0249ae90f7","HideInputBarFlag":0,"IsOwner":0,"KeyWord":"qq5","MMOrderSymbol":"~","MemberCount":0,"MemberList":[],"NickName":"李佳芮","OwnerUin":0,"PYInitial":"LJR","PYQuanPin":"lijiarui","Province":"北京","RemarkName":"22acb030-ff09-11e6-8a73-cff62d9268c5","RemarkPYInitial":"22ACB030FF0911E68A73CFF62D9268C5","RemarkPYQuanPin":"22acb030ff0911e68a73cff62d9268c5","Sex":2,"Signature":"出洞计划  |  向前一步","SnsFlag":49,"StarFriend":0,"Statues":0,"Uin":0,"UniFriend":0,"UserName":"@4c32c97337cbb325442c304d6a44e374","VerifyFlag":0,"_h":50,"_index":16,"_offsetTop":696,"stranger":false},"@cd7d467d7464e8ff6b0acd29364654f3666df5d04551f6082bfc875f90a6afd2":{"AppAccountFlag":0,"ContactFlag":0,"HeadImgFlag":1,"HeadImgUrl":"/cgi-bin/mmwebwx-bin/webwxgeticon?seq=665886775&username=@cd7d467d7464e8ff6b0acd29364654f3666df5d04551f6082bfc875f90a6afd2&skey=@crypt_ee003aea_5265cdd0c2676aab3df86b0249ae90f7","HideInputBarFlag":0,"MMOrderSymbol":"~","NickName":"小桔同学","PYInitial":"","PYQuanPin":"","RemarkName":"","RemarkPYInitial":"","RemarkPYQuanPin":"","Sex":0,"Signature":"我是一个性感的机器人","SnsFlag":1,"StarFriend":0,"Uin":244009576,"UserName":"@cd7d467d7464e8ff6b0acd29364654f3666df5d04551f6082bfc875f90a6afd2","VerifyFlag":0,"WebWxPluginSwitch":0,"stranger":false},"@36d55130f6a91bae4a2ed2cc5f19c56a9258c65ce3db9777f74f607223ef0855":{"$$hashKey":"01J","Alias":"dancewuli","AppAccountFlag":0,"AttrStatus":233509,"ChatRoomId":0,"City":"","ContactFlag":3,"DisplayName":"","EncryChatRoomId":"","HeadImgUrl":"/cgi-bin/mmwebwx-bin/webwxgeticon?seq=635310858&username=@36d55130f6a91bae4a2ed2cc5f19c56a9258c65ce3db9777f74f607223ef0855&skey=@crypt_ee003aea_5265cdd0c2676aab3df86b0249ae90f7","HideInputBarFlag":0,"IsOwner":0,"KeyWord":"","MMOrderSymbol":"~","MemberCount":0,"MemberList":[],"NickName":"wuli舞哩客服","OwnerUin":0,"PYInitial":"WULIWLKF","PYQuanPin":"wuliwulikefu","Province":"","RemarkName":"50fb16c0-ff09-11e6-9fe5-dda97284d25b","RemarkPYInitial":"50FB16C0FF0911E69FE5DDA97284D25B","RemarkPYQuanPin":"50fb16c0ff0911e69fe5dda97284d25b","Sex":0,"Signature":"","SnsFlag":1,"StarFriend":0,"Statues":0,"Uin":0,"UniFriend":0,"UserName":"@36d55130f6a91bae4a2ed2cc5f19c56a9258c65ce3db9777f74f607223ef0855","VerifyFlag":0,"_h":50,"_index":10,"_offsetTop":396,"stranger":false}}`)

  const ROOM_ID = '@@9cdc696e490bd76c57e7dd54792dc1408e27d65e312178b1943e88579b7939f4'

  // Mock
  const mockContactGetter = function (id) {
    return new Promise((resolve, reject) => {
      if (id !== ROOM_ID && !(id in CONTACT_LIST)) return resolve({})
      if (id === ROOM_ID) {
        resolve(RAW_OBJ)
      }
      if (id in CONTACT_LIST) {
        return resolve(CONTACT_LIST[id])
      }
    })
  }

and test code as follows"
 if (room21) {
    await room21.ready()
    console.log('================check room ready================')
    console.log(room21)
    const mentionContactList21 = msg21.mentioned()
    console.log('============')
    t.is(mentionContactList21.length, 1, '@小桔同学 is a contact')
    t.is(mentionContactList21[0].id, '@cd7d467d7464e8ff6b0acd29364654f3666df5d04551f6082bfc875f90a6afd2', 'should get 小桔同学 id right')
  }

I print room log as follows:

================check room ready================
Room {
  domain: null,
  _events: {},
  _eventsCount: 0,
  _maxListeners: undefined,
  id: '@@9cdc696e490bd76c57e7dd54792dc1408e27d65e312178b1943e88579b7939f4',
  rawObj:
   { domain: null,
     _events: {},
     _eventsCount: 0,
     id: '@@9cdc696e490bd76c57e7dd54792dc1408e27d65e312178b1943e88579b7939f4',
     rawObj:
      { Alias: '',
        AppAccountFlag: 0,
        AttrStatus: 0,
        ChatRoomId: 0,
        City: '',
        ContactFlag: 2,
        DisplayName: '',
        EncryChatRoomId: '@864285b52c943fbdbfd0d8990546c404',
        HeadImgUrl: '/cgi-bin/mmwebwx-bin/webwxgetheadimg?seq=648035057&username=@@9cdc696e490bd76c57e7dd54792dc1408e27d65e312178b1943e88579b7939f4&skey=',
        HideInputBarFlag: 0,
        IsOwner: 1,
        KeyWord: '',
        MMFromBatchGet: true,
        MMFromBatchget: true,
        MMInChatroom: true,
        MMOrderSymbol: 'FUFEIRUQUN',
        MemberCount: 3,
        MemberList: [Object],
        NickName: '付费入群',
        OwnerUin: 0,
        PYInitial: 'FFRQ',
        PYQuanPin: 'fufeiruqun',
        Province: '',
        RemarkName: '',
        RemarkPYInitial: '',
        RemarkPYQuanPin: '',
        Sex: 0,
        Signature: '',
        SnsFlag: 0,
        StarFriend: 0,
        Statues: 1,
        Uin: 0,
        UniFriend: 0,
        UserName: '@@9cdc696e490bd76c57e7dd54792dc1408e27d65e312178b1943e88579b7939f4',
        VerifyFlag: 0,
        stranger: true },
     obj:
      { id: '@@9cdc696e490bd76c57e7dd54792dc1408e27d65e312178b1943e88579b7939f4',
        encryId: '@864285b52c943fbdbfd0d8990546c404',
        topic: '付费入群',
        ownerUin: 0,
        memberList: [Object],
        nameMap: [Object],
        aliasMap: [Object] } },
  obj:
   { id: undefined,
     encryId: undefined,
     topic: undefined,
     ownerUin: undefined,
     memberList: [],
     nameMap: Map {},
     roomAliasMap: Map {},
     contactAliasMap: Map {} } }

I had already disabled this unit test because it does do anything at all.
AVA will complain it and treat it as a failure in the latest version of AVA, which good for us, helped us found this BUG out.
Please fix it at your convenience, or delete it if you can not fix it. Need NO rush.


Add full Linux support

Find a way to implement v4l2loopback to allow virtual camera devices to be used on Linux.
Try find solutions that require as little maintenance as possible.

Something else that would help is allowing for packaging it on Linux, which would require a license to be added so that it can be sure that it's allowed. I'm down to help package it as a flatpak, I already maintain https://github.com/virtual-puppet-project/vpuppr on Flathub and Inochi Creator.

This issue is high maintenence and too vague
Future issues can be opened for specific features instead


Project Settings - Uncapitalised text, "Test" properties, and laggy/buggy drag-to-slide

Beta Snapshot
Uncapitalised Text
Text which should be capitalised, like GUI, FPS, and 2D, don't seem to be.

Test
Either some kind of debug setting that was left in accidentally, or which wasn't renamed appropriately.

Dragging to slide values
Kinda hard to see in the gif, but I'm trying to decrease the value (moving my mouse to the left) the entire time, and it feels really unresponsive, in some cases increasing in value?

Trying to do this on some other properties causes the cursor to change

Uncapitalised Text

Those are automatically converted from snake_case for display. Maybe the capitalize function could have some sort of exception of words that shouldn't be capitalized.

Dragging to slide values

Currently you have to drag it upward or downward.

I figured it was some kind of automatic conversion. It doesn't look particularly pleasing seeing it in snake case.
Ah wow, I figured it would be similar to unity/unreal where you drag left and right, thanks.

That cursor change and getting stuck issue fix quite a while ago.
Afaik, Test is there to set a locale. Not sure.
Only uncapitalize issue seems to be pending.

Shouldn't https://github.com/godotengine/godot/commit/162068640b6a2ea6085cd508d0a21a9d51dec5b0 have fixed it?
Though I think it's not fixed though.

@Anutrix To solve this, we could have an editor-only function that's based on String.capitalize() with a built-in array of exceptions that should always be written in a specific case ("FPS", "GLES", "glTF", "iOS", …).

Closing in favor of https://github.com/godotengine/godot-proposals/issues/1399, as feature proposals are now tracked on the Godot proposals repository.


api: remove school produt

Codecov Report

Merging #48 (ce45e97) into master (1505605) will decrease coverage by 0.14%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
- Coverage   92.94%   92.79%   -0.15%
==========================================
  Files          70       72       +2
  Lines         680      694      +14
  Branches       23       24       +1
==========================================
+ Hits          632      644      +12
- Misses         48       50       +2

Impacted Files
Coverage Δ

.../Query/Product/GetSchoolProductByIdQueryHandler.ts
100.00% <ø> (ø)

...cture/School/Repository/SchoolProductRepository.ts
31.25% <0.00%> (-4.47%)
:arrow_down:

...hool/Command/Product/RemoveSchoolProductCommand.ts
100.00% <100.00%> (ø)

...mmand/Product/RemoveSchoolProductCommandHandler.ts
100.00% <100.00%> (ø)

...tion/School/Query/GetSchoolProductsQueryHandler.ts
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 1505605...ce45e97. Read the comment docs.

Codecov Report

Merging #48 (ce45e97) into master (1505605) will decrease coverage by 0.14%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
- Coverage   92.94%   92.79%   -0.15%
==========================================
  Files          70       72       +2
  Lines         680      694      +14
  Branches       23       24       +1
==========================================
+ Hits          632      644      +12
- Misses         48       50       +2

Impacted Files
Coverage Δ

.../Query/Product/GetSchoolProductByIdQueryHandler.ts
100.00% <ø> (ø)

...cture/School/Repository/SchoolProductRepository.ts
31.25% <0.00%> (-4.47%)
:arrow_down:

...hool/Command/Product/RemoveSchoolProductCommand.ts
100.00% <100.00%> (ø)

...mmand/Product/RemoveSchoolProductCommandHandler.ts
100.00% <100.00%> (ø)

...tion/School/Query/GetSchoolProductsQueryHandler.ts
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 1505605...ce45e97. Read the comment docs.


[ENH] JS Client Refactor (Full Stack)

This PR is the full set of changes for the JS Refactoring work. See https://github.com/chroma-core/chroma/pull/2384 for the full context for this effort.

looks pretty good to me after the merge conflicts are addressed

Adding some refs from the discord chats.

https://discord.com/channels/1073293645303795742/1265570498956497019

@atroyn @codetheweb, ping on this. I think the last open question is how we want to title the migration section and then we can merge this, I believe.

after the version number is updated in the docs (above comment) this looks good to me!

Done!