bug: lr_scheduler does not work after restarting from checkpoint

Hi, I think I've found a tricky bug.
Line https://github.com/microsoft/rat-sql/blob/f2e00333d425b3bb3b625a89f77f88d015553a6f/ratsql/commands/train.py#L139
when actually loading from a checkpoint file (does not happen when starting fresh training because no checkpoint exists) breaks the connection between optimizer and lr_scheduler as it ends up calling load_state_dict from torch.optim.Optimizer, which in this line
https://github.com/pytorch/pytorch/blob/ee77ccbb6da4e2efd83673e798acf7081bc03564/torch/optim/optimizer.py#L155-L157
creates a new reference to param group. Same in the current pytorch https://github.com/pytorch/pytorch/blob/ec6de6a697668e594a3f1d49e9a87a7c94b6164b/torch/optim/optimizer.py#L185-L187
This can be fix by adding lr_scheduler.param_groups = optimizer.param_groups after calling saver.restore, which is not pretty at all. Maybe there is a better fix?
Best,
Anton

Another related bug: after a restart, fields optimizer.non_bert_param_group, optimizer.bert_param_group become disconnected from optimizer.params_groups, which implies that gradient clipping does not work (bad for training):
https://github.com/microsoft/rat-sql/blob/f2e00333d425b3bb3b625a89f77f88d015553a6f/ratsql/commands/train.py#L195

Another related bug: after a restart, fields optimizer.non_bert_param_group, optimizer.bert_param_group become disconnected from optimizer.params_groups, which implies that gradient clipping does not work (bad for training):
https://github.com/microsoft/rat-sql/blob/f2e00333d425b3bb3b625a89f77f88d015553a6f/ratsql/commands/train.py#L195

Hi Anton, thanks for sharing this (and the related bug yesterday). We are actively working on this codebase anymore, but would be happy to merge a PR.

Hi Anton, thanks for sharing this (and the related bug yesterday). We are actively working on this codebase anymore, but would be happy to merge a PR.

Hi @alexpolozov , I also faced the same problem described in this issue. Just did a pull request with the described solution by @aosokin  to solve it. I tried and my results improved, before that, when training from a checkpoint they got worse, due to lr reset.

Hi @alexpolozov , I also faced the same problem described in this issue. Just did a pull request with the described solution by @aosokin to solve it. I tried and my results improved, before that, when training from a checkpoint they got worse, due to lr reset.

Hi Muradean, it seems that your code in PR has typo. It should use optimizer.param_groups, not optimizer.param_group
right code:
lr_scheduler.param_groups = optimizer.param_groups

My bad, I was working on a different repo where I applied that change and improved my results, and when doing this pull request just copy and pasted.
Typo fixed.

Thank you @Muradean and all! Just merged, closing this issue.


BUG: qwt compiled with qt5 on MacOS in homebrew is simply called qwt

@patmarion Sorry I missed that one in the previous PR I made...

no problem, thanks!


Changed copy DDF, BinningHandler and getSimpleSummaryImpl

Changed copy DDF, BinningHandler functions and getSimpleSummaryImpl function for proper working of these functionalities

Can one of the admins verify this patch?

@Huandao0812 @PangZhi @nhanitvn please help

I think the change has some problem when ddf itself is a view and stores query. Let me modify it. @hai-adatao @Huandao0812

I have changed the maxJDBCPoolSize in ddf.ini which takes care of the timeout exception in the tests. @PangZhi please let me know the exact error you are talking about if you are still experiencing the same. Thanks.

retest this please


New package: Revopoint.RevoScan version 5.4.6

Pull request has been created with komac v2.2.1 :rocket:
Resolves: https://github.com/microsoft/winget-pkgs/issues/150765
Microsoft Reviewers: Open in CodeFlow

Verify:

https://sites.google.com/view/ano-center-gemini25


Specifiy tasks to devices using configuration

This PR adds functionality to match tasks with specific devices. It removes the exclusive (boolean) flag, but tests "exclusive" feature using correct settings

Once merged will close #17, #18, #19, and #20. Although later we can modify the way in which the resource is listed in the configuration to use brand, name, and unique ID(a u32 number)


Attempt to fix the stake modifier mismatch.

Note: this patch was NOT tested.
Before merging, try if it is possible to sync from zero using bootstrap (not snapshot!).
#572

Do we have to test in prod or is it enough to test on testnet?

The blockHash there is for prod block 1010000, it must be done in prod.
While we are at it, even if this has no effect in testnet, it should be simultaneously tried in testnet. Just to be sure.

barton26:  brod: Your PR (581) for 572 is very unlikely to work because ComputeNextStakeModifier calls SelectBlockFromCandidates.

Tested on both prod and testnet using snapshot. None of them got stuck.

Somewhat I can't trigger this error anymore. I guess there is some high time dependency. Anyway,
this PR just ensures that the modifier is correct (constant) on that problematic block.


Edges().Cloned() still implies a borrow?

I’m trying to search through a graph for a particular element, then either update it’s value (if it exists) or add it (if it doesn’t). But the Rust compiler tells me that I can’t because the call to the initial iterator (“edges()”) is an immutable borrow of the graph object, so I can’t mutate it later - fair enough.
After search around online, I see that the general solution is to clone() or cloned() the iterator, and the function is implemented for Edges(), but that’s not working for me. What am I missing here?
let out_edge = graph.edges(prev_node)
                                 .cloned()
                                 .find( |&e| function_body_here );
match out_edge {
    Some(e) => {
        *self.graph.edge_weight_mut(e.id()).unwrap() += 1;
    }
    None    => {
        let new_node = self.graph.add_node(xchar);
        self.graph.add_edge(prev_node, new_node, 1);
        prev_node = new_node;
    }
}

Yes, that doesn't change the borrowing. Pick clone or cloned and bring the question to Rust's IRC, and it can be explained there.


Using Flash messages with OnError

I am a newb as far as php routing goes , so pls be gentle
I have some parameters I am validating , and am unsure how to tie it together with the onError and displaying it on the view
for instance , say this
$klein->respond('POST', '/new-data-request', function ($request, $response, $service, $app) {
       $service->validateParam('title', 'Title is a required field')->notNull();
        $service->render('myview.phtml');
});

myview.phtml never shows as i assume an error has triggered in the initial respond()
$klein->respond(function ($request, $response, $service, $app) use ($klein) {

$app->db = $db;

    $klein->onError(function ($klein, $err_msg) {
        $klein->service()->flash($err_msg);
        $klein->service()->back();
    });

    $service->layout('layout.phtml');
});

but i have no idea how to display the flash in the view, or how to tie this all together

@Rican7 What doesn't make sense? The code provided looks almost identical to the code in the example ("Example 5 - All together" in README.md file) I'm a bit confused..

That is true, the README does show the onError in the response callback, but I do not believe this is desired behavior. If the onError is in a response callback (i'm not sure it would even work) but it would only catch errors generated before or inside that response, which would lead to you duplicating this same exact code in every response callback, when you can just add it once, at the bottom of your routes. Try this instead:
$klein->respond('POST', '/new-data-request', function ($request, $response, $service, $app) {
       $service->validateParam('title', 'Title is a required field')->notNull();
       $service->render('myview.phtml');
});

$klein->onError(function ($klein, $err_msg) {
    $klein->service()->flash($err_msg);
    $klein->service()->back();
});

This will then respond to any errors, set a flash message, and then return the user back to the route they were viewing. You can then display the error message in that template with
foreach ($service->flashes as $flash) {
    echo $flash;
}

There may be a better way of doing this, but looking at the ServiceProvider class, it looks like this is how it is used.


⚠ Bofrost.de has degraded performance

In 22f91f9, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 926 ms

Resolved: Bofrost.de performance has improved in 5204cc0.


some bug for remove!

BOOL removeLoadEntryFromBinary(NSMutableData *binary, struct thin_header macho, NSString *payload) {
// parse load commands to see if our load command is already there
binary.currentOffset = macho.offset + macho.size;
uint32_t num = 0;
uint32_t cumulativeSize = 0;
uint32_t removedOrdinal = -1;

...........
if ([dylibname isEqualToString:payload] && removedOrdinal != -1) {
// if ([dylibname isEqualToString:payload] && removedOrdinal == -1) {   ???
............
removedOrdinal =-1, it will never remove the payload!!!

You're right. I just fixed this. Sorry for taking so long, I had not noticed the GitHub issue.


Slow image processing

Hello, I have trained a model and it is quite large
It works on old phones, but it's slow, and I appreciate this problem because the phone I'm using is old, and this is normal
But when I try the application on a very modern phone, the application is very slow in processing images
Although it should be much faster than the old phones

@Alvarocda
@vladiH


[SVACE] Check the index of test case if it is exceed the file size

The value of an arithmetic expression (I * this->input_size + I *
this->class_num) * sizeof(float) is subject to overflow due to a
failure to cast operands to a larger data type before perfoming arithmetic
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #11. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/nntrainer/ci/repo-workers/pr-checker/11-202003311641400.36534595489502-3525b9ade4254e47d88fa707305f19cf35f74fea/.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.


Reviewing stage should see user need for acceptance criteria

As #158

We'll probably need to sit together and run through this one, by the way. The review process has been a bit under-loved.


refactor: Fixes the go race tests

We used these iterators with no mutex, back when iterator performance was
one of our main blockers, and this step was thought to be of heavy performance impact.
(It does add a notable delay to iteration steps, but it was later learned
the bulk of the problem was due to IAVL & LevelDB interaction)
Its overdue to have turned this off just for simplicity of tests passing.
We still should update the BTree library and remove the need for this
multiple process terrible hack that exists now, but thats work for the future.
(There is no race condition if you look into the details of whats happening,
the gorace detector is off here!)

Description
Closes: #XXXX

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] followed the guidelines for building modules
[ ] included the necessary unit and integration tests
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

@ValarDragon what's up with the failing tests? Are they related?

IDK whats going on with the build failures. test-race (00) seems like a different race condition. CC @p0mvn for that one

I think this has to do with -race tests being slower than regular and, as a result, timing out. The test passes on my local machine without a timeout. So it might just mean that we need to find the right timeout value for the CI host machine.
We can tweak the timeout value here: https://github.com/osmosis-labs/cosmos-sdk/blob/d53f1ddaa69130ef455c5f028d144bd03ec77e9f/baseapp/baseapp_test.go#L144
Feel free to merge this PR, I can find the right value for the timeout in a separate PR

@Mergifyio backport v0.45.0x-osmo-v8


Georgia Supreme Parsing Errors

I noticed that the Georgia Supreme Court juriscraper tests are running slowly.
And I noticed that the case parsing is failing for Substitute opinions.  See: tests/examples/opinions/united_states/ga_example_2.compare.json
  'case_dates': '2016-07-14',
   'case_name_shorts': 'PATTERSON',
-  'case_names': 'PATTERSON v. THE STATE 7-25-2016 Substitute Opinion Issued.',
+  'case_names': 'PATTERSON v. State',
   'date_filed_is_approximate': False,

Thanks Bill. Grecia, if you can take a look at this one too, that'd be great.


Different styling for contact form

Getting my tiny pull requests practice in!
Contact form is made so the labels and the inputs displays in a row, and a bottom border is added to the h2 text above the form.
The contact form's style change in this one still isn't nice to look at yet, but it might be headed somewhere nice.
Maybe for the h2 in #contact...

Different font and color ?
Yellow bottom border instead of grey bottom border?

The header of the contact form looks weird in yellow, either the placement needs to be changed or the colour or both. Also, when you submitted #175  this somehow changed the scroll properties and now the home and about and contact buttons do not scroll as they used to. Could you look into that too and submit a new PR for that? Just see how it was before you submitted #175, should be easy.

I see what you're talking about, yeah, just have to adjust the script a bit to get it working good as it was before.
The onclick script is trying to scroll the viewport to ids that don't exist anymore due to optimization made by #175, fixing now. Trying to make another tiny pull for that without having that to become a part of this pull.

Yup, Also the dotted line looks nice, but all the other changes are kinda making the form unsymmetric. I guess keeping in mind the page theme, the current colour suits it. See if you can make slight modifications for this.

There we go!

Hightlight showing how centered the inputs are.

Great!

The Don't be a stranger thing has slightly bigger font size also font could be much better, have a go at it!


Refactor pickProcess to return string

VSCode expects pid returned by pickProcess to be of type string. Since a number has been returned instead of string, VSCode throws error when trying to attach to a process.

This patch is not needed any more


AttributeError: 'GaussianCopula' object has no attribute 'getDimension'

Hello!
I think there is some problems with freshness of documentation, because code from examples did not work. So, for example, I am trying to run this code: https://blent-ai.github.io/pycopula/build/html/examples.html#sampling
And I get the following errors:
---------------------------------------------------------------------------
TypeError
Traceback (most recent call last)
<ipython-input-40-bb6934b931b1> in <module>()
----> 1 gaussian = GaussianCopula(dim=2, sigma=[[1, 0.8], [0.8, 1]])

TypeError: __init__() got an unexpected keyword argument 'sigma'

And after removing 'sigma' from arguments I've got a different error:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-38-a14416189e8d> in <module>()
----> 1 sim = simulate(archimedean, 100)

/usr/local/lib/python3.5/dist-packages/pycopula/simulation.py in simulate(copula, n)
     19                 The size of the sample.
     20 	"""
---> 21         d = copula.getDimension()
     22
     23         X = []

AttributeError: 'GaussianCopula' object has no attribute 'getDimension'

I'm using Python 3.5.2 and downloaded PyCopula using pip.
If you need any help, please, let me know.

Hi,
Indeed, I merged a commit from another contributor which proposed to replace some functions and attributes with "more PEP8 convenient" notation. Documentation is not up to date (I need to rebuild it), and now correct use to get copula's dimension is copula.dimension().
In the future I plan to consider it as copula._dimension which is more intuitive in my opinion.

So we can't run the code now? Is there other way to use the function - GaussianCopula? Thank u for ur
replies~

I also had this problem.  Is there a fix date?

Thank you K7-Joker that was very helpful. Two notes: All the changes you mentioned are functions and there is one more change I had to make. Below is the complete list of changes I had to make to the simulation.py file to get the simulate function to work properly:

copula.getDimension() -> copula.dimension()
copula.getParameter() -> copula.get_parameter()
copula.inverseGenerator() -> copula.inverse_generator()
copula.getCovariance() -> copula.R

For reference I'm using Python 3.9.7 and from the package info it looks like PyCopula 0.1.5. It would be nice to add the commonly used pycopula.__version__ functionality for issue tracking.

Thank you K7-Joker that was very helpful. Two notes: All the changes you mentioned are functions and there is one more change I had to make. Below is the complete list of changes I had to make to the simulation.py file to get the simulate function to work properly:

copula.getDimension() -> copula.dimension()
copula.getParameter() -> copula.get_parameter()
copula.inverseGenerator() -> copula.inverse_generator()
copula.getCovariance() -> copula.R

For reference I'm using Python 3.9.7 and from the package info it looks like PyCopula 0.1.5. It would be nice to add the commonly used pycopula.__version__ functionality for issue tracking.

Thank you very much. But why not modify them? It seems very unfriendly to newbies.😂😂😂


sodium error "Error: key must be a buffer of size 16U"

Hi, I just tried this out by running hypertail and got an Exception from sodium. Am I doing something wrong?
➜  ~ hypername init /tmp/npm-to-hypercore
6c2fe1705eab55a621835413e227adfe0ea2b004039eb041842af6279242e60d
➜  ~ hypertail /tmp/npm-to-hypercore f5d045813912dadbff4bdc8a43bb78da6685f965f1a88e430db49c793a5a1a01
/Users/regular/.nvm/versions/node/v6.3.1/lib/node_modules/hyperpipe/node_modules/hypercore/lib/hash.js:63
  sodium.crypto_generichash(digest, HYPERCORE, tree)
         ^

Error: key must be a buffer of size 16U
    at Error (native)
    at Object.exports.discoveryKey (/Users/regular/.nvm/versions/node/v6.3.1/lib/node_modules/hyperpipe/node_modules/hypercore/lib/hash.js:63:10)
    at new Feed (/Users/regular/.nvm/versions/node/v6.3.1/lib/node_modules/hyperpipe/node_modules/hypercore/index.js:53:40)
    at Feed (/Users/regular/.nvm/versions/node/v6.3.1/lib/node_modules/hyperpipe/node_modules/hypercore/index.js:26:39)
    at Object.<anonymous> (/Users/regular/.nvm/versions/node/v6.3.1/lib/node_modules/hyperpipe/index.js:30:12)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)

I think hypername is running an very old version of hypercore, which would cause this. Will take a look


[Go Live][Feb 09]

Push content to live

Docs Build status updates of commit e1d86cc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/build-your-first-app/build-personal-tab.md
:white_check_mark:Succeeded
View

msteams-platform/graph-api/proactive-bots-and-messages/graph-proactive-bots-and-messages.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/how-to/authentication/auth-aad-sso.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Python 3.x map issue

Fixed issue with map function in Python 3.x.
http://stackoverflow.com/questions/21572840/map-object-has-no-len-in-python-3-3

@mattrobenolt would you be up for merging this and maybe doing a release with it included?  We've tested this is sufficient to make the library work for us in Python 3 for Zulip.

Yeah, this looks fine. I don't want to pull in this patch though since I'd rather do a trivial feature detection and only do the list() work on python 3.
@timabbott Do you wanna submit a PR for that? If not, I can do something today.

I'm not sure that tweak is going to be worth it; if you read through the file, the list(map( pattern already appears a few lines earlier for names, and this list is too small for the extra Python 3 cost of making it a list when it already is one to be interesting (and I think list(map()) is basically the standard approach for Python 2/3 straddling code).  So I'd just recommend just merging this, perhaps after moving the comment into the commit message.  But obviously up to you :)

@timabbott 49e3a3b517cd2a978423c8b45834ec185469d0d1 is what I was talking about. :)
This is basically what six does for it's compatibility as well. And brings map as an iterator always so coercing to list() ends up being the same work.

0.2.1 has been published.

Ahh, I see, sure :).  Thanks for doing this!


chore: Move DistribMulAction on Submonoid instance

Move the instances that cannot be additivised from Algebra.Group.Submonoid.Operations to a new file Algebra.Group.Submonoid.DistribMulAction.

bors merge


Integrate backup functionality in v2

The existing backup functionality from v1 has to be integrated as model backup option in v2.
In general, users should be able to generate backup jobs to synchronize TeamForCapella model states to a Git repository.

Implemented with #349


Notates sample being used in tutorial

Tutorial located here:
https://learn.microsoft.com/en-us/azure/iot-develop/quickstart-send-telemetry-iot-hub?pivots=programming-language-python
Which has an open PR to list one of the new samples being used. This sample will also likely be updated, so we want to keep track of what's being used where.

@lev-i we updated that doc and merged your PR with the updates.
A user is now reporting an issue that the sample no longer runs.
Issue:  https://github.com/MicrosoftDocs/azure-docs/issues/108290
TLDR; version:  I reproduced his issue and his suggestion of the fix is correct.  Basically:

Root cause: incorrect pip command mentioned in the web page:
pip3 install azure-iot-device
Correct command is:
pip install azure-iot-device==3.0.0b2
Reference:
https://github.com/Azure/azure-iot-sdk-python#installing-the-library

Should we go ahead and update the "pip3" command in the doc to the inline example he lists that works?   I wasn't clear if we wanted to hardcode that version reference though.

@timlt
Yes that's correct, the command we use now is:
pip install azure-iot-device==3.0.0b2
Thanks!

/azp run Azure.azure-iot-sdk-python-horton-e2e


Wiki Instructions use wrong Git Clone URL

On this page, the wiki tells you to clone from the wrong URL (in the instructions at the bottom). The repository has been moved since then. It needs to be cloning from https://github.com/EclairJS/eclairjs-node. I would have made a PR, but I couldn't figure out how to fork a wiki.

Also, for me, node --harmony examples/rddtop10.js fails because it can't find the data file dream.txt. However, cd examples; node rddtop10.js dream.txt does work.

Fixed


Should FTP work be done with temp files?

I apologize if this question is more of a StackOverflow question but maybe these things are already worked into FluentFTP.
So as I understand it FTP does not lock files when they are uploading or downloading.
So how do I implement a 'safe' set of usability APIs?
For upload should I upload to a temp file and then when upload is done rename the file to intended name?
And for download how can I know if an upload is in progress?
And also when downloading should I create a copy of the file and then download the copy?
So these operations are pretty fast for small files but may become more important when dealing with larger files and then having polling services that look file new files or file changes.
What are the best practices when exposing these kinds of functions?

These are application level concerns that should be handled on your end. We have no way of handling these things internally, nor do we have the scope for it.

I do agree with you. Was looking for best practice solutions but I can probably find those other places.

These are application level concerns that should be handled on your end.

+1
And if these concerns are of importance to you, you need to re-evaluate choosing FTP as your chosen file transfer protocol. Many of these concerns would need at least a "matched client-server pair". Most servers don't offer any of the needed functionality and it is not part of the FTP RFCs anyway - so it would be non-standard.

Yeah unfortunately we don't have a choice on protocol. We are adding support requested by customer. They need FTP support for monitoring files from a 3. party system that use FTP to transfer files.
And I still agree. FTP is not the best choice but currently the only choice available.
I guess we will do our implementation v1 and then work from there if errors occur.
Thanks.

Closing as we cannot really help out here.


Adding 'cordova-plugin-firebase-mlvision' plugin to Ionic 4 application not working

Hi
Iam trying to use this plugin for image text recognition.
But when i add this plugin into my project i get an build error displayed in picture below:

There are some issue with Duplicate class com.google.android.gms.internal.vision.zze found in modules jetified-play-services-vision-20.0.0-runtime.jar
Do you know how i can fix this issue ?

Hi
I managed to fix this issue by changing version on cordova plugins, ref pic:

could you please show an example using ionic 5? I can't get it to work.
Thank you


Method for update clauses in .sq files

Right now update methods just ask for the where statement, one possibility is having the statement look like a normal update:
setName =
UPDATE user
   SET ...
 WHERE user.name = 'Alec'

could just generate the string
String SET_NAME = "user.name = 'Alec'";

It could also be annotated with something that says its only applicable on the user table. In fact all queries could do that which would be cool, throw a lint error if its on the wrong table or something.

Preferred method going forward is using execSql instead of update and passing in bind args through a compile statement


Moved test dependencies and commands to seperate package.json

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

Thanks @mgbennet!


ndt_matching not working with Hesai lidar point cloud data

Hello all,
Thanks for Autoware for opensource.
I have been tested Autoware localization (lidar localizer using ndt_matching) with Velodyne (16, 32 and 64) model sensors and Ouster 64 channel sensor. With all the sensor localizer working good. But with the  Hesai Pandar64  channel lidar getting an error like this bellow. Above mentioned sensors tested with the same map data and with the frame id modified to "velodyne"

For frame [velodyne]: No transform to fixed frame [world].  TF error: [Lookup would require extrapolation into the past.  Requested time 946655660.000381000 but the earliest data is at time<PHONE_NUMBER>.549147331, when looking up transform from frame [velodyne] to frame [world]]
Working Environment
Ubuntu: 16.04
ROS : Kinetic
Autoware version: 1.10.0
Appreciate your help

@ajay1606 It seems that TF has not been converted well, because the sensor time stamp is strange. Please modify the sensor driver.

@YamatoAndo , thanks for your reply,  I will test again by modifying the driver and get back to you

I'm working on Hesai lidar. I had problems building a map with ndt_mapping.
@ajay1606  do you have this problem?

@duclinhfetel In my case, I have changed frame id to pandar to velodyne  and tested with the Autoware. It working well with the ndt mapping, detection nodes, point preprocessing nodes. But i have a problem only with the ndt_matching node. Still, I could not fix the issue.
But you can change frame id, hope ndt_mapping will works fine.

@duclinhfetel In my case, I have changed frame id to pandar to velodyne and tested with the Autoware. It working well with the ndt mapping, detection nodes, point preprocessing nodes. But i have a problem only with the ndt_matching node. Still, I could not fix the issue.
But you can change frame id, hope ndt_mapping will works fine.

I had a problem when I converted sensor_msgs::pointcloud2 to pcl::PointXYZI.
Error messages: "Failed to find match for field 'intensity'".
@ajay1606 do you have this problem?

@duclinhfetel Yes i do have the similar message when I converted sensor_msgs::pointcloud2 to pcl::PointXYZI. But that is just a warning message from the PCL library. That should not cause any problem.

@duclinhfetel Yes i do have the similar message when I converted sensor_msgs::pointcloud2 to pcl::PointXYZI. But that is just a warning message from the PCL library. That should not cause any problem.

@ajay1606  I  change line " pcl_conversions::toPCL(ros::Time(timestamp), cld->header.stamp);" in main.cc of hesai lidar to "pcl_conversions::toPCL(ros::Time(ros::Time::now()), cld->header.stamp);"
fixed your problem. but it don't localization. :)

@duclinhfetel and @YamatoAndo Thanks to both, ndt_matching working now with the following modification
pcl_conversions::toPCL(ros::Time(ros::Time::now()), cld->header.stamp) in the main.cc file of hesai ros package.

@duclinhfetel and @YamatoAndo Thanks to both, ndt_matching working now with the following modification
pcl_conversions::toPCL(ros::Time(ros::Time::now()), cld->header.stamp) in the main.cc file of hesai ros package.

@ajay1606  do you change original code ndt_matching? ndt_mapping work well, but ndt_matching don't localize :(

@duclinhfetel could you please post the error message?

@duclinhfetel I have not modified the original code, by the way could you please post the error message?

Don't have error message. It don't matching when i use 2D pose estimate in rviz.

@duclinhfetel I guess this could be because of 2 reasons.

The initial position is wrong (Please check the initial position again)
High point density (Try to use  point down sampling )

Are you able to visualize the point_raw in the RVIZ ?

@duclinhfetel I guess this could be because of 2 reasons.

The initial position is wrong (Please check the initial position again)
High point density (Try to use  point down sampling )

Are you able to visualize the point_raw in the RVIZ ?
If possible you can check the error message in the generated log file

I found your problem. It's wrong tf_yaw. thanks for support =))

@duclinhfetel cool, thanks to you as well.
Let's close this issue if you have no more question related to posted issue.

@ajay1606  can you give me your email address. May be we will discuss more information about hesai lidar. Thanks. my email<EMAIL_ADDRESS>

@duclinhfetel Sounds great, please mail me at<EMAIL_ADDRESS>Thanks


Failed to initialise MimoStandUp environment

I think this is because **kwargs are missing from MIMoStandupEnv.__init__() and MIMoStandupEnv.super.__init__() in the standup.py script ( Path: /mimoEnv/envs/standup.py ). After adding it, It can run.

Thanks for pointing this out, fixed!
Just out of curiosity, could you tell us the stack trace and what command lead to this issue? Both benchmarking and demo scripts run (for us anyway) even without the kwarg passthrough, it'd be interesting to see what argument and from what module/wrapper was causing problems.

Of course, I use  env = gym.make("MIMoStandup-v0", render_mode = 'human')  to import the environment, and the Traceback displayed is:
Traceback (most recent call last):
  File "/home/dodio/Desktop/BABY/myScene.py", line 11, in <module>
    env = gym.make("MIMoStandup-v0", render_mode = 'human')
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dodio/anaconda3/envs/BABY/lib/python3.11/site-packages/gymnasium/envs/registration.py", line 813, in make
    raise e
  File "/home/dodio/anaconda3/envs/BABY/lib/python3.11/site-packages/gymnasium/envs/registration.py", line 801, in make
    env = env_creator(**env_spec_kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: MIMoStandupEnv.__init__() got an unexpected keyword argument 'render_mode'

My running env:
ubuntu 22.04.3 LTS
python 3.11.5
mujoco 2.3.7
gymnasium 0.28.1

Thanks!
Turns out I really need to write a test suite, I would've thought illustrations.py or benchmark.py would use this parameter.


[Friendly Reminder] 1.21.X (1.21.1 Especially) Update

Is this mod still being maintained, or has it been discontinued? It's been very helpful to me ❤.

I haven't confirmed if it works, but it sure does load


UI Support

What would you like to be added:
Supporting UI, just like Rancher
Why is this needed:
Easy to use.

@bingws This is in our long-term plan.


spkl: Error while running instrument-plugin-code.bat in version 1.0.8

Hi,
When I run the instrument-plugin-code.bat on the latest version, I get the following error:
Downloading Plugin/Workflow Activity Metadata
Searching for plugin classes in 'D:\Code\Test\Integration\Workflows'
0 plugins decorated with deployment attributes!
The application terminated with an error.
Could not load file or assembly 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
Press any key to continue . . .

caused due to incorrect references to version 1.0.7


Devide coverage for Server and UI

Current coverage is 0.00% (diff: 100%)

Merging #12 into master will not change coverage

@@           master   #12   diff @@
===================================
  Files           3     3
  Lines          14    14
  Methods         5     5
  Messages        0     0
  Branches        0     0
===================================
  Hits            0     0
  Misses         14    14
  Partials        0     0

Powered by Codecov. Last update 65d84d8...9ff9959

Current coverage is 0.00% (diff: 100%)

Merging #12 into master will not change coverage

@@           master   #12   diff @@
===================================
  Files           3     3
  Lines          14    14
  Methods         5     5
  Messages        0     0
  Branches        0     0
===================================
  Hits            0     0
  Misses         14    14
  Partials        0     0

Powered by Codecov. Last update 65d84d8...be0f2dd


Indicate filtered state on Timeline view

Currently there isn't any visual indication on the timeline view when a filter (i.e. anything unchecked from the list) has been applied:

One potential option here would be to follow the same dual icon pattern as pinning follows:

One other thought is that the timeline view header seems to further indicate the pinned state with plain text. While this could be somewhat crammed to if it included filtered state as well, it might be worth exploring.

cc @bpasero @misolori

👍  different icon or overlay over the icon like notifications bell when it has notifications.

Here's how it looks using filter-filled:

@bpasero thoughts on using filter-filled and/or using the (filtered) description text for this case?

Do we have other views with a filter condition where this applies as well?

I don't know of other views specifically. It looks like we're typically adding a filter string to an input.

Perhaps just using something like this makes more sense in that case:

Extra text added to title will be affected by #166000

Problems tab of Panel changes the background of the filter button when filtering is active.


.npmignore contents is different in NPM package

Contents of .npmignore in master branch contains few extra files:
seamless-immutable.development.min.js
seamless-immutable.development.js
seamless-immutable.production.min.js

However, these files (thankfully) are not listed in 7.0.1 version of the NPM package's file.
Looks like you have some llocal changes not committed to repository, maybe remove these files from .npmignore in repository as well?

This was fixed in #205, closing.


Fix buildwithtests

it should be possible to build the whole project with "mvn install" instead of having to start with the skip-tests profile

realted to #1300


RTP packet lost

Which version are you using?
v1.8.4
Which operating system are you using?

[ ] Linux amd64 standard
[ ] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] Linux arm7 standard
[ ] Linux arm7 Docker
[ ] Linux arm6 standard
[ ] Linux arm6 Docker
[x] Windows amd64 standard
[ ] Windows amd64 Docker (WSL backend)
[ ] macOS amd64 standard
[ ] macOS amd64 Docker
[ ] Other (please describe)

Describe the issue
I want to stream the video from the camera to the browser. I have the stream working using the rtsp url in the vlc but after running the server I am getting black screen in browser.
Describe how to replicate the issue

Downloaded the exe from here: https://github.com/bluenviron/mediamtx/releases
make necessary changes in the yml file
run the executable
Check browser

Did you attach the server logs?

yes
2024/08/03 13:36:21 INF [path proxied1] [RTSP source] ready: 2 tracks (H265, G711)
2024/08/03 13:36:24 INF [WebRTC] [session 7265d875] created by [::1]:50361
2024/08/03 13:36:24 INF [WebRTC] [session 7265d875] peer connection established, local candidate: host/udp/<IP_ADDRESS>/8189, remote candidate: prflx/udp/<IP_ADDRESS>/51525
2024/08/03 13:36:24 INF [WebRTC] [session 7265d875] is reading from path 'proxied1', 1 track (G711)
2024/08/03 13:36:30 WAR [path proxied2] [RTSP source] 7 RTP packets lost
2024/08/03 13:36:48 WAR [path proxied2] [RTSP source] 16 RTP packets lost
2024/08/03 13:36:58 WAR [path proxied2] [RTSP source] 3 RTP packets lost
2024/08/03 13:37:22 WAR [path proxied2] [RTSP source] 1 RTP packet lost

Did you attach a network dump?

no
mediamtx.yml
I made following changes
paths:
  proxied1:
    source: rtsp://<username>:<password>@<IP_ADDRESS>:554/Streaming/Channels/1201
    rtspTransport: tcp
  proxied2:
    source: rtsp:/<username>:<password>@<IP_ADDRESS>:554/Streaming/Channels/1101

protocols: [tcp,udp, multicast]
writeQueueSize: 1024 # 512  (increased the size)

What is the possible issue?

please read here: https://github.com/bluenviron/mediamtx?tab=readme-ov-file#corrupted-frames
in particular:

The stream throughput is too big to be handled by the network between server and readers. Upgrade the network or decrease the stream bitrate by re-encoding it.


(UX) homepage - similar font size - (cosmetic stuff)

These changes are not so important, I am aware of that. But if you find some free time and if you would like to change it, I was thinking about some consistency on the page. We can for example have less font sizes.
Elements with green frame - the same size
Elements with orange frame - the same size

@klaudia2209 normally we handle such issues in more free time (like between warsaw editions - like in the summer) ... no NO TIME... i add it this to "UX" milestone

Ok, sure, thank you


Colors are mixed when lines in chart overlap eachother

When lines overlap sometimes they partially take on the color of one of their neighboring lines, which looks a little wrong to me. This is also an issue when 2 lines are on the same path (more or less), causing one of them to be hidden.
Below you can see that the red line has random bits of yellow in it. Is this expected?

Closing since this is a duplicate of https://github.com/yaronn/blessed-contrib/issues/77.


Response cache having insane size

Expected Behavior
I'd not expect responses of 4 or even 9 gig's to be cached in my Library/Application support
Actual Behavior

Reproduction Steps
I have no clue how I got these massive responses in there, but some limits and/or warnings/notices would be greatly appreciated. I've also noticed that upon restarting these files DID clear out.
Thus this isn't a hard bug, but possibly something to take a look at
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
2021.7.2
What operating system are you using?
macOS
Operating System Version
OSX Catalina 10.15.7
Installation method
Direct Download / App
Last Known Working Insomnia version

Hi @vandijkstef thanks for reporting this! Sorry for not getting any reply sooner 🙇
This is being tracked in another issue internally, alongside other performance related issues, and we'll update you here as soon as we know more about it.


feat: use trustless-gateway.link by default

tested at https://codepen.io/SgtPooki/pen/JjxYpZX successfully.

Fyi @achingbrain we may need to change this again... details in private team slack


Add isJWT

Added isJWT function which checks whether the supplied string is a valid JWT token.
The regex is based on @christiaanwesterbeek's comment on the thread.
Fixes #609

Great, thanks! :smile:


[ISSUE] Clicking on Configuration throws an 500 Internal server error

Home Assistant Version
2024.13.1
MG/SAIC Integration Version
0.71
Installation Method
HACS
Did you check for existing issues?

[X] Yes, I have checked for existing issues
[ ] No, I have not checked for existing issues

Did you enable debug logging before and are ready to post logs?

[X] Yes, I have enabled debug logging
[X] No, I have not enabled debug logging

Describe the Issue

As I try to (re)configure an already configured vehicle, I got an 500 Internal server error, saying The configuration process couldn't be loaded (or something similar)
Logs
No response
Additional Context
No response

Hi @fulesfules
Let me check. I just noticed that it also applies on my instance, although when testing before it was working fine.
I will try to get it fixed, asap.
Cheers

If you delete it and re-add it, it worked for me.

Just got it solved on 0.7.2
Check the new release with tha error fixed.
Close

Thanks a lot, I can confirm, that it works in 0.7.2!!


Use SVG symbols instead of individual files

Commit: 0586cfd42b09e63c1928f4e15e92eeb6d84d0a62
Observed behavior

HiGlass loads a SVG file for every icon

Expected behavior

Load only one SVG file with all icons specified as <symbol> to reduce network requests

This also simplifies the work for others when they want to include higlass on their website. It would even be great to have higlass programmatically insert the SVG code during initialization.

Addressed with d634c5031eb6296c2a20228436aaac2681aed659


Offpunk 1.8

Description of changes
https://git.sr.ht/~lioploum/offpunk/refs/v1.8
Things done

Built on platform(s)

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

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

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

[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
[x] 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package built:

offpunk


Mark Sweet Pix-Art

Commented out a block of code I have questions about later on

@SNESChalmers34 feel free to slack me / find me in person re: those questions you have!


Bump kernel version to 4.10.28

$Subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12309271477

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12309271477
Status: success


Handle correctly missing (or deleted) kafka_topics

What is currently missing?
Currently, when you stop and then restart your kafka service, all kafka topics are deleted.
There is a consequence on the terraform state, because the provider return a 404 issue.
Error: error waiting for Aiven Kafka topic to be ACTIVE: one of the Kafka Topics from the queue [[mytopic]] is not found: 404: {"errors":[{"message":"Topic(s) not found","status":404}],"message":"Topic(s) not found"} -

How to reproduce ? by using this terraform code:
resource "aiven_kafka" "kafka1" {
  project                 = "sandbox-bki"
  cloud_name              = "google-europe-west1"
  plan                    = "startup-2"
  service_name            = "my-kafka1"
  maintenance_window_dow  = "monday"
  maintenance_window_time = "10:00:00"
}

resource "aiven_kafka_topic" "mytesttopic" {
  project                = aiven_kafka.kafka1.project
  service_name           = aiven_kafka.kafka1.service_name
  topic_name             = "mytopic"
  partitions             = 5
  replication            = 3

  config {
    flush_ms                       = 10
    unclean_leader_election_enable = true
    cleanup_policy                 = "compact,delete"
  }
}

terraform {
  required_providers {
    aiven = {
      source = "aiven/aiven"
      version = "= 3.10.0"
    }
  }
}

provider "aiven" {
  api_token = var.aiven_api_token
}

variable "aiven_api_token" {

}

How could this be improved?
The provider should handle correctly deleted or missing kafka topics.
During terraform refresh process, if Aiven API return a 404, the provider should delete the resource from state to, don't block terraform and to re-create the kafka topic during the next plan.
Is this a feature you would work on yourself?

[ ] I plan to open a pull request for this feature.

Hi @bkamin29!
Thanks for the reporting. It is in the backlog now.

@bkamin29 what version of Terraform provider are you using?

@bkamin29 what version of Terraform provider are you using?

Oh sorry Ivan, it was from the latest version, v3.10.0

perfect, thank you @ivan-savciuc


Powershell command not working

Outstanding resource, and worked fine until the Powershell portion.  Unfortunately the above command wouldn't work and  gave the error "the term 'Install-windowsfeature' is not recognized as the name of a cmdlet..."
Googling seemed to point towards making sure the 64bit version of PowerShell was being used, but that didn't solve the issue for me.  Ended up having to go through the console as outlined here - http://enterprise.arcgis.com/en/web-adaptor/latest/install/iis/enable-iis-2016-components-server.htm and that did the trick.
It's likely user error on my part, but others may run into the same issue; so it's worth reporting.

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

ID: 2e58109c-c8d3-6693-8e1d-03a89ca26168
Version Independent ID: f20a7fc4-328a-e90d-29db-92a91aa1b2bd
Content: Quickstart - Create a Windows VM in the Azure portal
Content Source: articles/virtual-machines/windows/quick-create-portal.md
Service: virtual-machines-windows
GitHub Login: @cynthn
Microsoft Alias: cynthn

@OldManSmithers I was able to use the "Install-windowsfeature" cmdlet without an issue. Are you sure you used the correct operating system?

My apologies for the delay.  Went back, recreated the issue and ran into the same problem.  Windows Server 2016.

@OldManSmithers I have confirmed that it works with Powershell, but not with Powershell(x86).
We will need to update the doc to specify the proper version of PowerShell,
I have assigned the issue to the content author to evaluate and update as appropriate.

@OldManSmithers thanks for the feedback. I've added a backlog work item to make this update or something similar during the next round of reviews.
#please-close

@OldManSmithers We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


[BEAM-939] Update BigtableWriteIT to set Credentials

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @dhalperi

LGTM, can self-merge once green.

Sorry for missing this.


Adds Livewire support

In order to support Livewire, a few things need consideration. I've quite quickly gotten it to the point of the standard honeytrap inputs working.
By including a new HoneyForm trait on a Livewire component and the <x-honey/> tag in your component blade file, you have the same protection as when using it in standard REST requests, albeit that Honey doesn't run the checks for you (it doesn't know at which point you're actually "submitting" the form).
The challenge comes in the reCaptcha integration. Obviously, Honey needs to get in the way of the form submission and request a token first. Only then should it submit the form. The other solution would be to send a request for a new token every 2 minutes (the reCaptcha token timeout). That way, we can submit the form as normal, and it would become a standard part of the request.

In order to make the Livewire component as clean as possible, and to reduce the complexity of form submission vs requests not placed in a form, I've opted to change the reCaptcha input to work on a time based refresh interval. This can be configured in the config file.
It allows for Livewire integration with basically 0 form changes:
<form wire:submit.prevent="submit" method="POST">
    @csrf

    <x-honey recaptcha/>

    <input type="text" name="name">
    <input type="email" name="email"
    <input type="submit" value="Submit">
</form>

Further changes. There are now 2 traits to separate out honey from recaptcha.
class AnotherExample extends Component
{
    use WithHoney, WithRecaptcha;

    public function submit()
    {
        abort_unless($this->honeyPassed);

        $this->saveThing();
    }

    public function render()
    {
        return <<<'blade'
            <div>
                <x-honey recaptcha/>
            </div>
        blade;
    }
}


Whether the gradients are computed right when training in multi-gpu

The gradients are computed at each towers in example of multi_gpu_cifar10 and then averaged. However there is no average operation in your code. How do you ensure the parameters can be update right?

I split input batch and everything here : https://github.com/ildoonet/tf-openpose/blob/master/train.py#L73

do forward pass with splitted batch on each gpus. : https://github.com/ildoonet/tf-openpose/blob/master/train.py#L82

When I compute the loss, all the informations are gathered : https://github.com/ildoonet/tf-openpose/blob/master/train.py#L110

Also, When gradients are computed, each gradients will be assigned to gpus which calculate the gradient and update the shared weights. : https://github.com/ildoonet/tf-openpose/blob/master/train.py#L129

Thanks for sharing your code, I am confused the multi GPU training too.  It seems that you sum loss and update them on the last GPU instead of CPU,  this way is different from tensorflow's multi GPU tutorial, they update all model parameters on the CPU because transferring data to and from GPUs is quite slow, which is shown below.  I am new to tensorflow, sorry for wrong understanding.

@tpys
Above diagram is also right. But it is not necessary to compute average gradients on CPU. Moving data from gpu to gpu is not that slow when your hardware have a SLI.
Gradients on Summed Loss will be split into multiple tower(multiple gpu), so my code will train the model with gpus.

@ildoonet I got it, thank you very much.


Mixed Reality (Odyssey) controllers not tracking in interaction system!

Hey in the interaction system example scene, SteamVR fails to track my Odyssey controllers. The correct model is shown, but they are locked at (0, 0, 0) and input does not work. No error messages. Windows is still tracking them in the background, as the boundary reacts to them.
If I instead use the "normal" SteamVR prefab, everythign works! Any idea why, and how can i fix/work around it? I want to use the interaction system :)

It's aleady working, but thanks anyway :)


revert lock

No script/environment diff had in the v1.19 and 1.20, but the 1.20 lock file was actually weird. Maybe npm install did not work well?
For example, 1.19.0 had
    "node_modules/@appium/base-driver": {
      "version": "9.3.16",
      "license": "Apache-2.0",
      "dependencies": {
        "@appium/support": "^4.1.3",
        "@appium/types": "^0.13.2",
        "@colors/colors": "1.5.0",
        "@types/async-lock": "1.4.0",
        "@types/bluebird": "3.5.38",
        "@types/express": "4.17.17",
        "@types/lodash": "4.14.195",
        "@types/method-override": "0.0.32",
        "@types/serve-favicon": "2.5.4",
        "async-lock": "1.4.0",
        "asyncbox": "2.9.4",
        "axios": "1.4.0",
        "bluebird": "3.7.2",
        "body-parser": "1.20.2",
        "es6-error": "4.1.1",
        "express": "4.18.2",
        "http-status-codes": "2.2.0",
        "lodash": "4.17.21",
        "lru-cache": "7.18.3",
        "method-override": "3.0.0",
        "morgan": "1.10.0",
        "serve-favicon": "2.5.0",
        "source-map-support": "0.5.21",
        "type-fest": "3.11.1",
        "validate.js": "0.13.1"
      },
      "engines": {
        "node": "^14.17.0 || ^16.13.0 || >=18.0.0",
        "npm": ">=8"
      }
    },

but it was:
    "node_modules/@appium/base-driver": {}

in 1.20.0

Maybe npm v16 env broke something. with 18 was better...?

Ok, maybe the reason was open file size or the limit


RFM - ddu

I DON'T Want To Become The Maintainer

[x] I have followed the Package Triage Process and I do NOT want to become maintainer of the package;
[x] There is no existing open maintainer request for this package;

Checklist

[x] Issue title starts with 'RFM - '

Existing Package Details
Package URL: https://chocolatey.org/packages/ddu
Package source URL: https://github.com/dtgm/chocolatey-packages/tree/master/automatic/ddu/
Date the maintainer was contacted: 2020-06-10
How the maintainer was contacted: Contact maintainer form on chocolatey

@TheCakeIsNaOH in the future, please remove the section mentioning ### Current Maintainer and use the ISO 8601 standard for the date (YYYY-MM-DD)

Sounds fine, but the issue template does not mention either of these requirements.

@TheCakeIsNaOH I am aware, those aren't requirements right now but will when the validator is pulled in.
The reason I made those decisions when writing the validator is because:

I needed a way to determine certain actions based on the template, and having both the current maintainer and I don't want to become the maintainer would only confuse the validation.
It was easier to use a standard for the date instead of possibly parsing the date incorrectly (since there are so many ways to write a date internationally).

@AdmiringWorm I completely understand the need for specific formatting and validation, I was concerned about people not knowing about the requirements, but I see you added details about the requirements to the issue template in the PR, which looks good to me.

Hello, i'll take this package too ;-)
Have a nice day

Hello,
Can someone assign this one to me ? and add the triage label ?
It waiting for moderation.
Thank you
tunisiano

@tunisiano187 I assume you mean the review label, as the triage label is for issues that aren't yet been made available to maintainers.
The statuses are as following:

Status: Incomplete Request - The validator has found issues with the request that needs to be fixed
Status: Triage

The validator has not found issues, and requires a human to open it up for maintainers completely
Or, a human has found issues with the request that needs to be cleared before opening it up to maintainers (this should be then accompanied with a comment of what needs to be completed)

Status: Available For Maintainer(s) - The issue is now available to be picked up by anyone
Status: In Progress - A user have picked up the request, and have started working on creating/updating the package
Status: Review - A new/updated package have been pushed to chocolatey.org and is awaiting review
Status: Published - The new/updated package has been approved/exempted on chocolatey.org, and request is completed.

Yes, sorry.
Thank you

Approved. Thanks @tunisiano187 for taking this package over.


[#65] Manually include pyconfig.h before features.h can be included (master)

This avoids macro-redefined warnings when pyconfig.h includes feature test macros.
Addresses #65

very nice - please #

#'d


Allow user to suppress warnings

Amend the cxx pipeline so that the user may specify custom warnings to ignore.

Testing at https://github.com/tbirdso/ITKCleaver/actions/runs/3659238475/jobs/6185014218


Feature Request: Add Sum Aggregation and Column-Wise Multiplication for Sparse Vectors

Starting off, we'd like to express our appreciacion for the project.
Integrating the following operations for sparse vectors would be of great use to our use case:

An aggregate sum operation for sparse vectors, similar to the one already implemented for dense vectors.
Element-wise multiplication.

By incorporating these functionalities, we can streamline computations directly within the database, sparing us the overhead of loading them into our application.
Thank you for considering this request.

Thanks for your interest! May I ask what's your scenario to do the aggregate sum for sparse vectors? What's the query looks like?

And what's  Column-Wise Multiplication? Do you mean dot product between sparse vectors?

Understand! PRs on the way


Migrations do not apply cleanly on MySQL with autocommit off

Steps to reproduce:

Add autocommit=0 to my.cnf and restart mysqld
Create a migration, for example:

<?php
use Phinx\Migration\AbstractMigration;

class Initial extends AbstractMigration
{
    public function up()
    {
        $table = $this->table('foo');
        $table
            ->addColumn('bar', 'string', [
                'default' => null,
                'limit' => 255,
                'null' => true,
            ])
            ->create();
    }
}

Run phinx migrate
The table foo will be created, but a record will not be added to the phinxlog table. Running phinx status will report that the migration is down, meaning the user is left in an inconsistent state.

Is anyone able to provide a pull request with a fix?

phinx does not rely anymore on the autocommit setting

@lorenzo I was writing an issue for this same thing and came across this closed issue. I think that this should actually be reopened because it's a genuine issue with what I am assuming would be a pretty easy solution.
When autocommit is turned off, the migration itself will run without any issues because it is wrapped in START TRANSACTION...COMMIT. However, the phinxlog insert is not in a transaction, which causes it to be discarded when the connection is closed. The result is that the same migration(s) are run again and they fail.

Run migrations the first time:
❯ php ../vendor/bin/phinx --configuration=./config/phinx.foo.php migrate -vv
Phinx by CakePHP - https://phinx.org. 0.11.1

using config file ./config/phinx.foo.php
using config parser php
using migration paths
 - /path/to/migrations/foo
using adapter mysql
using database foo

 ==<PHONE_NUMBER>5237 AddSeparatePartsLaborCoreFieldsToArcCartItems: migrating
START TRANSACTION;

 -- Altering table arc_cart_items
 -- ...all migration queries...

COMMIT;

INSERT INTO `phinxlog` (`version`, `migration_name`, `start_time`, `end_time`, `breakpoint`) VALUES ('20191227215237', 'AddSeparatePartsLaborCoreFieldsToArcCartItems', '2019-12-30 11:50:15', '2019-12-30 11:50:15', 0);
 ==<PHONE_NUMBER>5237 AddSeparatePartsLaborCoreFieldsToArcCartItems: migrated 0.1825s

All Done. Took 0.2923s

You can see that the migration queries ran in a transaction, but the phinxlog insert did not.

Run migrations the second time:
❯ php ../vendor/bin/phinx --configuration=./config/phinx.foo.php migrate -vv
Phinx by CakePHP - https://phinx.org. 0.11.1

using config file ./config/phinx.foo.php
using config parser php
using migration paths
 - /path/to/migrations/foo
using adapter mysql
using database foo

 ==<PHONE_NUMBER>5237 AddSeparatePartsLaborCoreFieldsToArcCartItems: migrating
START TRANSACTION;

 -- Altering table arc_cart_items
InvalidArgumentException: The specified column doesn't exist: guru_item_id in /path/to/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/MysqlAdapter.php:491
Stack trace:
---STACK TRACE REMOVED---

Because the phinxlog entry was never actually inserted, the same migration is run again, which will obviously result in an error.
This could be fixed by using the same logic as the migrations themselves when doing the phinxlog insert:

if the engine has transactions, start a transaction
INSERT INTO phinxlog ...
if the engine has transactions, commit the transaction


Shortcuts with Ctrl+Alt modifiers may prevent some keyboard users from inputting non-English text.

Hi.
My Romanian keyboard layout is set so Right Alt + S writes Ș, but on brackets Alt + S goes for save.
I need to disable the Alt + (s,a,q,i,t) (if any).
Thanks.
Tasks

[x] Detect keyboard layout and make that info available to JS extension.
[x] Create a json file listing all different keyboard layouts with all the keys requiring AltGr key to input special characters.
[x] Filter out all shortcuts that have a key listed in the json file for the detected keyboard layout.
[x] Unit tests

Sorry for the delay, can confirm it works, thanks!

Can confirm too, issue is resolved in v1.1


bug: codegen crash with await at top-level

In a pair-programming session with @kentosugama we stumbled upon this backend bug:
func foo() : async Nat {
    return await async 4;
};
assert (await foo()) == 4;

The crash stack looks like
Motoko (source 0.7.3-41-g4aea75428)

Fatal error: exception "Assert_failure codegen/compile.ml:6902:11"
Raised at Codegen__Compile.Internals.call_prelude_function in file "codegen/compile.ml", line 6902, characters 11-23
Called from Codegen__Compile.Internals.add_cycles in file "codegen/compile.ml" (inlined), line 6904, characters 26-68
Called from Codegen__Compile.compile_exp in file "codegen/compile.ml", line 9272, characters 21-48
Called from Codegen__Compile.compile_exp_as in file "codegen/compile.ml", line 9314, characters 24-44
Called from Codegen__Compile.compile_exp.go in file "codegen/compile.ml", line 9238, characters 30-61
Called from Codegen__Compile.compile_exp.go in file "codegen/compile.ml", line 9239, characters 17-28
Called from Codegen__Compile.compile_exp in file "codegen/compile.ml", line 9241, characters 18-27
Called from Codegen__Compile.compile_exp in file "codegen/compile.ml", line 9206, characters 22-45
Called from Codegen__Compile.compile_exp in file "codegen/compile.ml", line 9206, characters 22-45
Called from Codegen__Compile.compile_exp in file "codegen/compile.ml", line 9206, characters 22-45
Called from Codegen__Compile.compile_exp in file "codegen/compile.ml", line 9206, characters 22-45
<lot of this>
Called from Codegen__Compile.compile_exp in file "codegen/compile.ml", line 9246, characters 19-40
Called from Codegen__Compile.compile_exp in file "codegen/compile.ml", line 9246, characters 19-40
Called from Codegen__Compile.compile_exp_as_opt in file "codegen/compile.ml", line 9323, characters 20-40
Called from Codegen__Compile.compile_dec.(fun) in file "codegen/compile.ml", line 9594, characters 29-59
Called from Codegen__Compile.compile_dec.(fun) in file "codegen/compile.ml", line 9574, characters 29-41
Called from Codegen__Compile.compile_decs_public.go.(fun) in file "codegen/compile.ml", line 9635, characters 44-62
Called from Codegen__Compile.compile_decs_public.(fun) in file "codegen/compile.ml", line 9638, characters 39-61
Called from Codegen__Compile.Func.of_body in file "codegen/compile.ml", line 769, characters 6-18
Called from CamlinternalLazy.force_lazy_block in file "camlinternalLazy.ml", line 31, characters 17-27
Re-raised at CamlinternalLazy.force_lazy_block in file "camlinternalLazy.ml", line 36, characters 4-11
Called from Lib.AllocOnUse.use in file "lib/lib.ml", line 527, characters 13-28
Called from Codegen__Compile.IC.export_init.(fun) in file "codegen/compile.ml", line 3881, characters 20-43
Called from Codegen__Compile.Func.of_body in file "codegen/compile.ml", line 769, characters 6-18
Called from Codegen__Compile.IC.export_init in file "codegen/compile.ml", line 3878, characters 18-228
Called from Codegen__Compile.compile in file "codegen/compile.ml", line 9994, characters 6-24
Called from Pipeline.compile_files in file "pipeline/pipeline.ml", line 708, characters 19-56
Called from Diag.bind in file "lang_utils/diag.ml", line 32, characters 27-30
Called from Diag.bind in file "lang_utils/diag.ml", line 32, characters 27-30
Called from Dune__exe__Moc.process_files in file "exes/moc.ml", line 211, characters 49-94
Called from Dune__exe__Moc in file "exes/moc.ml", line 306, characters 4-23

This could be the top-level await that is not supported.

This is
(* Calling well-known prelude functions *)
(* FIXME: calling into the prelude will not work if we ever need to compile a program
   that requires top-level cps conversion;
   use new prims instead *)
module Internals = struct
  let call_prelude_function env ae var =
    match VarEnv.lookup_var ae var with
    | Some (VarEnv.Const (_, Const.Fun (mk_fi, _))) ->
       compile_unboxed_zero ^^ (* A dummy closure *)
       G.i (Call (nr (mk_fi ())))
    | _ -> assert false

  let add_cycles env ae = call_prelude_function env ae "@add_cycles"
  let reset_cycles env ae = call_prelude_function env ae "@reset_cycles"
  let reset_refund env ae = call_prelude_function env ae "@reset_refund"
end

Are you compiling for IC or for wasmtime?

For the IC, I just suggested Kento to make that test part of an actor.

Well, it should probably be caught by the type checker. Shouldn't it give a capability error (or whatever the name of our implicit type parameters for await contexts are)?

Was that the main file or a library?


Remove obsolete debug output calls in 23 source files.

In the src/proxy tree.

[approve ci rat]

[approve ci autest]

Cherry-picked to v10.0.x


fix: flickering prices

resolves https://github.com/get10101/10101/issues/2232
resolves #2370

LGTM 👍 not sure though why this will fix the flickering price updates.
Did you verify that this is actually fixing it?

The flickering price came from us sending updates like this:
Price { bid: Some(71204.88), ask: None } which set one or the prices to 0.
I could have done a simple null check in the frontend... but where is the fun of that?


Add support for testing SDK against experimental development cluster

Summary
Allow developers to run the SDK against internal development clusters like so:
# Option 1
service1 = QiskitRuntimeService(
    url='https://api-ntc-....experimental-us-....us-east.containers.appdomain.cloud',
    channel='ibm_cloud',
    token='...',
    instance='crn:v1:staging:public:quantum-computing:us-east:a/...',
    verify=False
)
service1.backends()

# Option 2
service2 = QiskitRuntimeService.save_account(
    name='experimental'
    url='https://api-ntc-....experimental-us-....us-east.containers.appdomain.cloud',
    channel='ibm_cloud',
    token='...',
    instance='crn:v1:staging:public:quantum-computing:us-east:a/...',
    verify=False
)
service2 = QiskitRuntimeService(name='experimental')
service2.backends()

In this case, the resolved runtime url should not be updated like in the regular flow where the location identifier from the CRN is merged into the provided url.
Details and comments
This change should be transparent for most users except for internal developers working on Qiskit runtime. For that reason I did not add a release note either.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-3.05%) to 59.365%

Totals

Change from base Build<PHONE_NUMBER>:
-3.05%

Covered Lines:
2713

Relevant Lines:
4570

💛  - Coveralls


Detect .js files with source maps as generated

This covers compile-to-JavaScript languages other than CoffeeScript. E.g. it come up in one of our projects for files with JSX code that were compiled to "plain JavaScript" using babel. If the file has a source map reference, it's pretty much by definition generated from another file. :)
This also adds an additional check to the other generated? tests. Previously it was possible to comment out the minified_files? || and the tests would still happily pass.

Thanks for this contribution @jkrems :zap:. This will be live in the next release of Linguist (likely sometime in the next week).

Thanks!


FAF Client does not start on Windows 10

Describe the bug
Ran on Windows 10 64-bit
I just installed the FAF client from your website and installed it and ran it. It crashes after a second of loading and when the text "v2022.09.0" appears it crashes giving this error:
java.lang.UnsatisfiedLinkError: 'int org.bridj.Platform.sizeOf_ptrdiff_t()'
	at org.bridj.Platform.sizeOf_ptrdiff_t(Native Method)
	at org.bridj.Platform.<clinit>(Platform.java:232)
	at com.faforever.client.logging.LoggingService.<clinit>(LoggingService.java:42)
	at com.faforever.client.FafClientApplication.applicationMain(FafClientApplication.java:69)
	at com.faforever.client.Main.main(Main.java:13)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
	at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94)
	at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)

To Reproduce
A fresh installation of the FAF client
Expected behaviour
The client starts
Screenshots

Additional context
Could it be that I am missing some crucial install of java?
This bug report will be read by people that have not experienced the bug themselves - this report is all they have to investigate. The more precise your report, the easier it becomes for us to help you.

Duplicate bug report for https://github.com/FAForever/downlords-faf-client/issues/2823

An user solved this problem. The cause was in the installation directory, which contains the ! or another unsupported symbols

Duplicate


:bug: BUG-Using the style table property causes the table to stop displaying

Description
When using the style property as described (here)[https://docs.taipy.io/en/latest/manuals/gui/viselements/table/#show-a-table], the table stops displaying and the console displays a Web socket warning:
UserWarning: Exception raised in Web Socket communication in '<module>':
'<' not supported between instances of 'str' and 'int'

How to reproduce
from taipy.gui import Gui

data = [["Item1", True], ["Item2", True], ["Item3", False]]
columns = {"0": {"title": "Name"}, "1": {"title": "Activated"}}

page = """
<|{data}|table|style={lambda state, idx, row: "red-row" if idx % 2 == 0 else "blue-row"}|columns={columns}|>
"""

Gui(page=page).run(port=8000)

Run the above code.

Notice that the presence of an style sheet does not change the behaviour

The view is the following:

The console:
UserWarning: Exception raised in Web Socket communication in '<module>':
'<' not supported between instances of 'str' and 'int'

...
Expected behavior

The style is applied
The table displays properly

Runtime environment

OS: MacOS
Browser: Chrome
Python 3.10.5

this happens when columns don't have name (index is used)
And we need to add a new column (which has a name)
The json encoder tries to sort the keys of the row object which is not necessary and time consuming.


Fix - Release bytebuf when exception occur.

Motivation
Release bytebuf when exception occur.
Modifications
Verifying this change
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?

[x] no-need-doc

Done. @gaoran10


what makes the results of code in “examples/gcn.py” random?

❓ Questions & Help
Hi! I just takes example code ’gcn.py‘ to implement node classification. But I have different results every time I run the code. And in source code "gcn_conv.py", I don't find anywhere used random seed. You use  function 'glorot()' and 'zeros()' to initialize weight and bias, they are also not relate to random. What’s make the random results？
But when I add  torch.manual_seed(5) in the code, I get fixed results. The code is as follows.
import os.path as osp

import torch
import torch.nn.functional as F
from torch_geometric.datasets import Planetoid
import torch_geometric.transforms as T
from torch_geometric.nn import GCNConv, ChebConv  # noqa

dataset = 'Cora'
path = osp.join(osp.dirname(osp.realpath(__file__)), '..', 'data', dataset)
dataset = Planetoid(path, dataset, T.NormalizeFeatures())
data = dataset[0]

class Net(torch.nn.Module):
    def __init__(self):
        super(Net, self).__init__()
        self.conv1 = GCNConv(dataset.num_features, 16, cached=True)
        self.conv2 = GCNConv(16, dataset.num_classes, cached=True)
        # self.conv1 = ChebConv(data.num_features, 16, K=2)
        # self.conv2 = ChebConv(16, data.num_features, K=2)

    def forward(self):
        x, edge_index = data.x, data.edge_index
        x = F.relu(self.conv1(x, edge_index))
        x = F.dropout(x, training=self.training)
        x = self.conv2(x, edge_index)
        return F.log_softmax(x, dim=1)

device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
model, data = Net().to(device), data.to(device)
optimizer = torch.optim.Adam(model.parameters(), lr=0.01, weight_decay=5e-4)

def train():
    model.train()
    optimizer.zero_grad()
    F.nll_loss(model()[data.train_mask], data.y[data.train_mask]).backward()
    optimizer.step()

def test():
    model.eval()
    logits, accs = model(), []
    for _, mask in data('train_mask', 'val_mask', 'test_mask'):
        pred = logits[mask].max(1)[1]
        acc = pred.eq(data.y[mask]).sum().item() / mask.sum().item()
        accs.append(acc)
    return accs

best_val_acc = test_acc = 0
for epoch in range(1, 201):
    train()
    train_acc, val_acc, tmp_test_acc = test()
    if val_acc > best_val_acc:
        best_val_acc = val_acc
        test_acc = tmp_test_acc
    log = 'Epoch: {:03d}, Train: {:.4f}, Val: {:.4f}, Test: {:.4f}'
    print(log.format(epoch, train_acc, best_val_acc, test_acc))

hello @zhangyang1580 :
it is glorot that makes it random. (if we omit dropout? i.e. dropout may be different in every train iteration, but it does not affect test part)
python code is shown below. the GCNConv use inits.py's glorot distribution.
# glorot random normal distribution
def glorot(tensor):
    if tensor is not None:
        stdv = math.sqrt(6.0 / (tensor.size(-2) + tensor.size(-1)))
        # why it is random... and of course, no seed is set here.
        tensor.data.uniform_(-stdv, stdv)

yours sincerely
@wmf1997

got it,thanks! I didn't noticed the code tensor.data.uniform_(-stdv, stdv) .


Proposal: untracked api function

Untracked
Necessary to implement a function that provides a possibility for disabling the tracking of dependencies.
It has already been implemented in Angular Signals and MobX.

Execute an arbitrary function in a non-reactive (non-tracking) context. The executed function can, optionally, return a value.
Angular16 docs untracked

Runs a piece of code without establishing observers.
MobX docs untracked

What's the reason to use it?
For reading one signal without dependency creation the peek method already implement.
Reading signals without subscribing to them

On the rare occasion that you need to write to a signal inside effect(fn), but don't want the effect to re-run when that signal changes, you can use .peek() to get the signal's current value without subscribing.

But it is not enough.
untracked function provides the possibility for the reaction pattern:
function reaction(sender, listener) {
  effect(() => {
    const value = sender();
    untracked(() => {
      listener(value);
    });
  }
}

In that pattern, you have a way to control your dependencies. The reaction will collect dependencies only from the sender function, and react only on them.
Many thanks to you,
your signals implementation is amazing,
I think the best at the moment.

I really need this functionality, too.
In case of compositibility and easibility of usage, in some cases it's easier to use solidjs like Accessor
type Accessor<T> = () => T
Because its easy way to define lazy computation that will executed on demand. And you don't need to rely on rules of hooks. But for more flexible usage of this pattern, i need a way to turn off deps tracking on consumer side

#380


SQL queries in the article

Rewrite to simpler
CREATE VIEW REVENUE_BY_PRODUCT_CATEGORY
	AS SELECT PRODUCT_CATEGORY, CUSTOMER_CITY, SUM(ORDER_QUANTITY * PRODUCT_PRICE) AS ORDER_AMOUNT
		FROM ORDER_LINES O
			JOIN PRODUCT P
				ON P.PRODUCT_ID = O.PRODUCT_ID
        	JOIN CUSTOMER C
				ON C.CUSTOMER_ID = O.CUSTOMER_ID
		GROUP BY PRODUCT_CATEGORY, CUSTOMER_CITY;

or even better
SELECT SUM(CASE WHEN PRODUCT_CATEGORY = 'Outdoor' then ORDER_QUANTITY * PRODUCT_PRICE END)

SELECT CUSTOMER_CITY,
SUM(CASE WHEN PRODUCT_CATEGORY = 'Outdoor' THEN ORDER_QUANTITY * PRODUCT_PRICE END),
SUM(CASE WHEN PRODUCT_CATEGORY = 'Home' THEN ORDER_QUANTITY * PRODUCT_PRICE END)
FROM ORDER_LINES O
JOIN PRODUCT P
ON P.PRODUCT_ID = O.PRODUCT_ID
JOIN CUSTOMER C
ON C.CUSTOMER_ID = O.CUSTOMER_ID
GROUP BY CUSTOMER_CITY;

SELECT CUSTOMER_CITY,
SUM(CASE WHEN PRODUCT_CATEGORY = 'Outdoor' THEN ORDER_QUANTITY * PRODUCT_PRICE END),
SUM(CASE WHEN PRODUCT_CATEGORY = 'Home' THEN ORDER_QUANTITY * PRODUCT_PRICE END)
FROM ORDER_LINES O
JOIN PRODUCT P
ON P.PRODUCT_ID = O.PRODUCT_ID
JOIN CUSTOMER C
ON C.CUSTOMER_ID = O.CUSTOMER_ID
GROUP BY CUSTOMER_CITY;

Fixed

Fixed


fix(test):

Fix failed tests:
- custom matcher toBeForbidden()
- custom matcher toRevert()
- custom matcher toBeAllowed()
- balancer bb-a-USD pool address

Hey @jfrancai 👋  Thank you for contributing and getting the tests up-and-running again. (We should really re-enable running them for PRs.)
Apparently those balancer addresses were accidentally deleted. 😲
The changes you applied to the custom matchers don't seem to work on my machine. I assume there could be inconsistencies in how the caught errors are structured depending on the RPC node used. Can you share which provider you're using?

Hello! @jfschwarz 😃 Thanks for the feedback, yes I guess it's related to that, I'm using the one provided in the package.json file (https://rpc.ankr.com/eth).
The weird thing is that I also have inconsistencies on my side, in the sense that when I run tests in isolation like the one for uniswap for example (using jest --runInBand --testPathPattern './src/protocols/uniswap'), they work fine but when run all together with jest --runInBand, it fails. I'm still looking but I'm probably missing something, maybe you have an idea?

@jfrancai Not sure, but test issues could be related to throttling of RPC requests from Ankr. Like if there are too many requests due to running a larger number of tests, throttling kicks in and makes the tests fail or run into timeouts.
We've been using some unlimited private endpoints to improve test performance and reliability.
@nledo Let's try to get the CI job running again using the Karpatey Alchemy node? Then at least we'll all see the same test results and can use them as a reference when running tests locally.

I assume there could be inconsistencies in how the caught errors are structured depending on the RPC node used.

It could also potentially be related to the anvil version, since I don't see any issues with the current version of matchers and the Ankr RPC. Which one are you using, @jfrancai? (anvil -V)

I assume there could be inconsistencies in how the caught errors are structured depending on the RPC node used.

It could also potentially be related to the anvil version, since I don't see any issues with the current version of matchers and the Ankr RPC. Which one are you using, @jfrancai? (anvil -V)

I'm using anvil 0.2.0 (bfc6549 2024-05-07T00:18:05.525782863Z)

fixed in #175


after restarting pycharm it only throws Illegal State Exceptions for Jenkins plugin

All I get from Pycharm atm from jenkins plugin is:
IllegalStateException: Access from read action is not allowed, because it might lead to a deadlock.: Access from read action is not allowed, because it might lead to a deadlock.
how can it be fixed?
Greetings

Hi,
The plugin has been fixed by @cezary-butler. It is deployed on jetbrains repository and may fix the issue you encounter

If error still occurs with 0.11.0 please feel free to reopen.


Backport: godot: 2.1.4 -> 3.0 + godot_headers

godot: 2.1.4 -> 3.0 + godot_headers
(cherry picked from commit 048724c4affebacbc4bd40d1a667ba6a7551fdd0)
Motivation for this change
I missed that this was flagged for inclusion in 18.03 in #36453
Things done
Cherried the merge

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: godot
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: godot
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: godot
Partial log (click to expand)
scons: done building targets.
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/hf24yzfdylsdyy0ff7ysif4796apiq5v-godot-3.0.2
shrinking /nix/store/hf24yzfdylsdyy0ff7ysif4796apiq5v-godot-3.0.2/bin/godot
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/hf24yzfdylsdyy0ff7ysif4796apiq5v-godot-3.0.2/bin
patching script interpreter paths in /nix/store/hf24yzfdylsdyy0ff7ysif4796apiq5v-godot-3.0.2
checking for references to /build in /nix/store/hf24yzfdylsdyy0ff7ysif4796apiq5v-godot-3.0.2...
/nix/store/hf24yzfdylsdyy0ff7ysif4796apiq5v-godot-3.0.2


Why asyncio?

Hey! I stumbeled across your project, it's very well organized and fancy, you definitely deserved a star! I've got a question though.
Why does your project require asyncio runtime? It seems to me that your code doesn't have any kind of blocking code nor does it heavy computations. And, from my perspective, async code makes it just harder to grasp and adds more complex structures, like LRU cache for async functions, that you could've used from functools if your code was synchronious.

Hey! I stumbeled across your project, it's very well organized and fancy, you definitely deserved a star! I've got a question though.
Why does your project require asyncio runtime? It seems to me that your code doesn't have any kind of blocking code nor does it heavy computations. And, from my perspective, async code makes it just harder to grasp and adds more complex structures, like LRU cache for async functions, that you could've used from functools if your code was synchronious.

Thanks for the question, I really thought about async of project. In the near future, most likely the project will be slightly changed.


⚠ Bofrost.be has degraded performance

In 3e5a6fa, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1057 ms

Resolved: Bofrost.be performance has improved in 4419609.


Fix java class cast exception *1843

Problem
Main idea is to fix the error in the below issue. The error tries casting class org.apache.spark.scheduler.ShuffleMapStage to boolean, by calling the unboxToBoolean step.
Closes: #1843
Solution
The proposed solution is to return true after adding the stage to the stageMap.

[ ] Your change modifies the core OpenLineage model
[ ] Your change modifies one or more OpenLineage facets

If you're contributing a new integration, please specify the scope of the integration and how/where it has been tested (e.g., Apache Spark integration supports S3 and GCS filesystem operations, tested with AWS EMR).
Checklist

[x] You've signed-off your work
[ ] Your pull request title follows our guidelines
[ ] Your changes are accompanied by tests (if relevant)
[ ] Your change contains a small diff and is self-contained
[ ] You've updated any relevant documentation (if relevant)
[ ] Your comment includes a one-liner for the changelog about the specific purpose of the change (if necessary)
[ ] You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)
[ ] You've added a header to source files (if relevant)

SPDX-License-Identifier: Apache-2.0
Copyright 2018-2023 contributors to the OpenLineage project

Thanks for contribution @Anirudh181001!


add metadata uframe connection

add metadata routes

@DanielJMaher @oceanzus can i get this merged asap pls

@brian-smith723 for info

As soon as it passes and the print is removed :)

k

@DanielJMaher it passed


Cannot read property 'unshift' of null

Issue Id: c6474b54-bdc0-0c31-6db0-dddf1d13ebebVersions - 0.10.13-insider-  ef2a1fcaa553d14d7731b284a5ac5e4a55c42936-  17fa1cbb49e3c5edd5868f304a64115fcc7c9c2cStack TypeError: Cannot read property 'unshift' of null/vs/editor/common/services/modelServiceImpl.ts#L159:15 (unshift)/vs/editor/common/services/modelServiceImpl.ts#L84:18 (_createDecorationOption)    at Array.map (native)/vs/editor/common/services/modelServiceImpl.ts#L81:73 (map)/vs/editor/common/services/modelServiceImpl.ts#L342:22 (setMarkers)    at Array.forEach (native)/vs/editor/common/services/modelServiceImpl.ts#L336:19 (forEach)/vs/base/common/callbackList.ts#L63:26 (apply)/vs/base/common/event.ts#L107:26 (call)/vs/platform/markers/common/markerService.ts#L76:25 (fire)

Obsolete.


Audio not working on some youtube links, get "audio/x-unknown" error

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.04.06. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[X ] I've verified and I assure that I'm running youtube-dl 2016.04.06

Before submitting an issue make sure you have:

[ X] At least skimmed through README and most notably FAQ and BUGS sections
[ X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[X ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2016.04.06
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

Description of your issue, suggested solution and other information
I'm using Ubuntu. Sometimes when I download youtube links, it works perfectly. Sometims the video will apear to download, but when I try to play the video, there is no sound.

That is an example of the error message that my media player gives me. When I try to play in another media player, it gives me a similar error.
When I download the video, it seems to download the video part first, then the audio part, then it combines the two into a single file. This merging process appears to be broken. When I first started using youtube-dl it didn't used to do that. It used to download the file all in one piece and it worked pretty much 100% of the time. How can I re-enable the "download as one piece" mode?
Here are some examples of videos that are broken when I try to download them:
uibtdAez0gI
LFZlb5Sf0jY
0ZXGVaszR2I
1AlAVPTZ004
It seems that about 50% of the videos I download these day is broken this way.

Post the full output of youtube-dl when run with -v, i.e. add -v flag to your command line, copy the whole output and post it in the issue body wrapped in ``` for better formatting. It should look similar to this:
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2015.12.06
[debug] Git HEAD: 135392e
[debug] Python version 2.6.6 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...

Do not post screenshots of verbose log only plain text is acceptable.
The output (including the first lines) contains important debugging information. Issues without the full output are often not reproducible and therefore do not get solved in short order, if ever.

$ youtube-dl -v 1AlAVPTZ004
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'1AlAVPTZ004']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.04.05
[debug] Python version 2.7.6 - Linux-3.13.0-83-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 11.3-6, avprobe 11.3-6, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 1AlAVPTZ004: Downloading webpage
[youtube] 1AlAVPTZ004: Downloading video info webpage
[youtube] 1AlAVPTZ004: Extracting video information
[youtube] 1AlAVPTZ004: Downloading MPD manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on u'https://r17---sn-a5m7ln7d.googlevideo.com/videoplayback?id=d4094054f4d9d34e&itag=136&source=youtube&requiressl=yes&mm=31&mn=sn-a5m7ln7d&mv=u&ms=au&nh=IgpwcjA0LmxheDE2KgkxMjcuMC4wLjE&pl=23&ratebypass=yes&mime=video/mp4&gir=yes&clen=105308741&lmt=1394075667238679&dur=439.941&mt=1460066825&key=dg_yt0&upn=y2UiIVdlscI&signature=4AEA469D76BE73864A70C7BBBEEA1C6AA2F152FF.71C6B6A06C86BE20228D0181512E94D94E214679&sver=3&fexp=9406124,9410705,9416126,9416891,9420452,9422544,9422596,9423662,9426857,9426926,9427902,9428398,9428606,9428856,9429246,9429693,9430829,9431284,9433257,9433295,9433312,9433318,9433445,9433508&ip=<IP_ADDRESS>&ipbits=0&expire=1460088764&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,mv,ms,nh,pl,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: 2012 Panini Cooperstown Baseball Blaster Box Break!-1AlAVPTZ004.f136.mp4
[download] 100% of 100.43MiB in 00:49
[debug] Invoking downloader on u'https://r17---sn-a5m7ln7d.googlevideo.com/videoplayback?dur=440.021&keepalive=yes&lmt=1426491942311678&fexp=9406124%2C9410705%2C9416126%2C9416891%2C9420452%2C9422544%2C9422596%2C9423662%2C9426857%2C9426926%2C9427902%2C9428398%2C9428606%2C9428856%2C9429246%2C9429693%2C9430829%2C9431284%2C9433257%2C9433295%2C9433312%2C9433318%2C9433445%2C9433508&nh=IgpwcjA0LmxheDE2KgkxMjcuMC4wLjE&expire=1460088764&sparams=clen%2Cdur%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt6&mime=audio%2Fwebm&requiressl=yes&sver=3&itag=251&pl=23&upn=CQmGxhxQ1K0&ipbits=0&mm=31&id=o-AHhDtcCd3q5Xv5TJXXxQnd4012G8OxOmP1sC3oD6hvRx&mn=sn-a5m7ln7d&clen=8304517&gir=yes&ms=au&mv=u&mt=1460066825&source=youtube&signature=55D2E9A19230F0183356715AB66F20C9727C890F.53B3BF179DFEBB32330A6177BF250A26E2105A6C&ip=<IP_ADDRESS>&ratebypass=yes'
[download] Destination: 2012 Panini Cooperstown Baseball Blaster Box Break!-1AlAVPTZ004.f251.webm
[download] 100% of 7.92MiB in 00:03
[ffmpeg] Merging formats into "2012 Panini Cooperstown Baseball Blaster Box Break!-1AlAVPTZ004.mkv"
[debug] ffmpeg command line: avconv -y -i 'file:2012 Panini Cooperstown Baseball Blaster Box Break!-1AlAVPTZ004.f136.mp4' -i 'file:2012 Panini Cooperstown Baseball Blaster Box Break!-1AlAVPTZ004.f251.webm' -c copy -map 0:v:0 -map 1:a:0 'file:2012 Panini Cooperstown Baseball Blaster Box Break!-1AlAVPTZ004.temp.mkv'
Deleting original file 2012 Panini Cooperstown Baseball Blaster Box Break!-1AlAVPTZ004.f136.mp4 (pass -k to keep)
Deleting original file 2012 Panini Cooperstown Baseball Blaster Box Break!-1AlAVPTZ004.f251.webm (pass -k to keep)

Both VLC 2.2.2 and mpv 0.16.0 work fine for me. Most like you need to install some additional softwares: https://www.google.com/#q=required+plugin+could+not+be+found


Provisional headers are shown

In Chrome

In Edge

I pulled the latest UI and put it in the wwwroot directory and opened localhost:50000, and found that many resources were blocked by browsers.

Were you able to find the root cause?