launching from node launch-configs: find executables in ./node_modules/.bin

Currently a locally installed npm executable like "nodemon" is not found if specified in a launch config via the "runtimeExecutable" attribute.
We should consider to automatically searching executables in "./node_modules/.bin"

After some discussions we have decided to refrain from making node-debug's executable lookup aware of "./node_modules/.bin" because we do not want to extend the user's PATH automagically by an npm-specific path. If a users wants this feature she can always include "./node_modules/.bin" in her path explicitly.
A more transparent approach is to explicitly specify the executable path as the "runtimeExecutable" attribute, e.g.:
    "program": "${workspaceRoot}/node_modules/.bin/nodemon"

One ugly characteristic of this approach is that on Windows it was necessary to include an extension in the path which resulted in something like this:
   "program": "${workspaceRoot}/node_modules/.bin/nodemon"
   "windows": {
       "program": "${workspaceRoot}/node_modules/.bin/nodemon.cmd"
   }

The need for this has been eliminated: on Windows node-debug will automatically look for executables with extensions, so the following should work on all platforms:
    "program": "${workspaceRoot}/node_modules/.bin/nodemon"

/cc @roblourens see https://github.com/Microsoft/vscode-node-debug/commit/b472a235ab9178934a3a69494d948d4ee601ccba

@weinand I am still having to do the following
      "type": "node",
      "request": "launch",
      "name": "Mocha",
      "runtimeExecutable": "mocha",
      "args": [
        "-t",
        "5000"
      ],
      "cwd": "${workspaceRoot}/test",
      "windows": {
        "runtimeExecutable": "mocha.cmd"
      }


how to configure channel interceptors

Hi,
I am looking into a simple way that would allow to register interceptors on cloud stream channels (most specifically on kafka channels).
Since we could not find anything in the cloud stream / kafka-binder documentations, I have been looking into spring messaging but I can't really get a satisfactory answer.
If this feature is not yet supported, is it a planned one ?
Currently we do it using BeanPostProcessors to call addInterceptor() on the selected AbstractMessageChannel instances.

@joelmarty Being Spring Integration channels, normal interception works.
See https://github.com/spring-cloud/spring-cloud-stream/blob/master/spring-cloud-stream/src/test/java/org/springframework/cloud/stream/interceptor/BoundChannelsInterceptedTest.java#L67 for an example and the reference documentation for SI: http://docs.spring.io/spring-integration/reference/htmlsingle/#channel-interceptors

That's simpler than expected, maybe some documentation would help for people who are not familiar with spring integration.
Anyways, I think it covers my needs. Thanks!

Sure thing - thanks for the suggestion :)


Update register-devices-partner.md

@jaimeo removed the error resulting from de-registering a device

@jaimeo  - PR has been copy edited and is ready for final review.
Thank you.


chore: js-client@1@2 -> @3

🚀 Deployed on https://66e1cd49ba2baa33db3fa793--cozy-fox-0defec.netlify.app


Constant-time Base64-encoding for Argon2i password hash

The current encoding and decoding of a PasswordHash in orion::pwhash is not constant-time (also noted in the security section of the docs). It's been in the backlog to implement this, but it seems a viable crate has been released in the meantime: https://github.com/jedisct1/rust-ct-codecs
According to the README, the crate re-implements the encoding formats from libsodium/libhydrogen. It also defines#![forbid(unsafe_code)].
The current base64 crate should be switched out with the above. The wikis "Dependencies" section should also be updated to reflect this change.

Very cool! Glad to see that even the encoding is constant-time now. Will this be added to the automated timing tests?

Will this be added to the automated timing tests?

Good point! Yeah, this could be added to the dudect tests. They also need to be updated regardless, because the GH Actions workflow has stopped because of git-commit-inactivity in that repo. I think those should be running weekly. Adding it to the todos.

Fixed in #189 and constant-time execution tests included in https://github.com/brycx/orion-dudect/pull/6 (still pointing to master branch for Orion, but local tests pass)


adding Fen to the codeowner file for docs/03-policies/security.md

@openprivacy  with this change, any future changes to docs/03-policies/security.md will be assigned to you (and you will be able to merge it), along with the docs and management team.


[Logging] Add verbose output for parameters passed

Something Mathias shared here.
Add this as a part script that can be used for verbose output to show the parameters and any value provided.

cfd5304


Update index.mdx - typo

some more Middleware typos. I'm on it! 🕵

Q
A

Bug fix?
no

New feature?
no

BC breaks?
no

Fixed issues
no

sorry, I should've probably just made one PR...just doing them as I'm going through the docs. My bad for the PR quanitty noise 🙏


Precursor mass filter

WIP to modify the score if the prediction violates the precursor mass filter. Fixes #45.
Some initial stubs where calculations can be performed, but I'm not sure yet how I can retrieve the original precursor m/z's during predicting. @melihyilmaz any suggestions?

Ok, I managed to implement it.
One minor thing is that the precursor mass filter is on the neutral mass of the peptides, rather than the precursor m/z. Casanovo had the former information available for the peptides, so that conversion must have happened somewhere already, although I didn't try to find out where, so I just used that rather than converting back to precursor m/z. The tolerance in ppm is going to be slightly different than when computed on precursor m/z though, so I don't know how much that would confuse people.

Thanks for the review @wfondrie. I addressed your comments, except for handling the peptide strings in depthcharge. Can you ping me when that functionality is available?

I should be able to get it done this afternoon. I'll let you know @bittremieux!

Ugh, the hdf5 file must have incorrectly been added to a commit. Fixed now.

Feel free to merge @bittremieux


[FEAT] Multi-Select Dropdown

Description:
We want the capacity to select multiple options within a dropdown selection menu in the drag and drop app builder select block.
Existing:
Other applications have this, including the policy vector engine. Furthermore, the MUI dropdown has a built in way of enabling multiple select.
You could see more here: https://dmp.deloitte.com/detail/video/6345436531112 at the 0:24 to 0:31 timestamp.

This is being developed by @22mayank from USI team.


Drop deprecated envoy config

Changes

override_request_timeout_by_gateway_timeout was deprecated in envoy 1.22
Removing it from the bootstrap config

Envoy release notes for this:

changed the http status code to 504 from 408 if the request times out after the request is completed

/hold for tests
Fixes #1126

/unhold
/assign @skonto

/lgtm
/approve
I tested it locally. I see we also have:
[2023-12-18 09:39:26.990][1][warning][main] [source/server/server.cc:802] there is no configured limit to the number of allowed active connections. Set a limit via the runtime key overload.global_downstream_max_connections

I think we should follow best practices as in Istio and allow users to configure this.

But we'd need some documentation around it.

Yeah docs and some large default value maybe. :thinking:


FLW-1067: Change timer icon

Fix timer icon for pending transactions

Codecov Report

Merging #341 (0b69ec1) into develop (7920849) will increase coverage by 3.18%.
The diff coverage is 37.33%.


Improve RegExp compatibility with web browsers

The modification adds support to parse /A{/ like RegExps.
That is: if the iterator is invalid it should be treated as normal
characters.
This behaviour is defined in the ES2015 standard Annex B 1.4 point
This only works if the JERRY_REGEXP_STRICT_MODE is disabled
(set to zero/OFF).

@rerobika Thanks! I've updated the PR (also added an extra test case).


More-restrictive license?

Would it be possible to change the license for this project to something that requires derived works are required to be available free of charge (e.g. GPL or CC NonCommercial)?
It feels dirty to have to pay someone else $4 for a jailbreak tweak that's largely your and the community's coding & design work, and ultimately a derivative of a full-copyright design (Apple's).  I'd love to contribute some of my own enhancements to your project (I took a stab at perspective-zoom wallpapers a while back that I still need to finish), but… you know… I'd like not to be forced to pay for my own work too.  The jailbreak community has a bad habit of taking others' hard work, slapping in a few hidden-method calls, and calling it their own creation.  Software licenses are pretty good at preventing that kind of behavior.
Thank you for your consideration.

I think you greatly underestimate the work of the people in the community who developed tweaks based on this. People who worked to adapt this code to do enough to be warranted as a proper springboard replacement deserve every dollar paid to them. This project has incredibly little integration to be a springboard replacement.
Not to mention that it seems that you're under the impression that, if I changed the license of this project at this point in time, people who built upon this project would have to switch their licenses as well. That is not true, to my understanding. In fact, changing the license to something more "contagious" feels to me like it would do nothing but make people not want to use this code any longer.
Thanks for your suggestion, but it seems very unlikely that I'll change the license in this project to something that forbids commercial usage.

i think you sent this email to everyone who commented on that thing :)

On Apr 15, 2015, at 12:32 PM, Lucas Menge<EMAIL_ADDRESS>wrote:
I think you greatly underestimate the work of the people in the community who developed tweaks based on this. People who worked to adapt this code to do enough to be warranted as a proper springboard replacement deserve every dollar paid to them. This project has incredibly little integration to be a springboard replacement.
Not to mention that it seems that you're under the impression that, if I changed the license of this project at this point in time, people who built upon this project would have to switch their licenses as well. That is not true, to my understanding. In fact, changing the license to something more "contagious" feels to me like it would do nothing but make people not want to use this code any longer.
Thanks for your suggestion, but it seems very unlikely that I'll change the license in this project to something that forbids commercial usage.
—
Reply to this email directly or view it on GitHub https://github.com/lmmenge/WatchSpringboard-Prototype/issues/6#issuecomment-93540356.

@iAlborz what do you mean? Who else commented? I replied to https://github.com/lmmenge/WatchSpringboard-Prototype/issues/6 in my project. It seems to only have me, @capnslipp and now you.

Anyone subscribed to it gets emailed.
On Wed, Apr 15, 2015 at 3:57 PM, Lucas Menge<EMAIL_ADDRESS>wrote:

@iAlborz https://github.com/iAlborz what do you mean? Who else
commented? I replied to #6
https://github.com/lmmenge/WatchSpringboard-Prototype/issues/6 in my
project. It seems to only have me, @capnslipp
https://github.com/capnslipp and now you.
—
Reply to this email directly or view it on GitHub
https://github.com/lmmenge/WatchSpringboard-Prototype/issues/6#issuecomment-93549029
.

@omnicons then I guess it's not my fault everyone got it. They're subscribed, after all (I'm not sure if at project-level or issue-level). I usually reply to issues created in my own project before closing them. Otherwise it wold just be plain rude of me :P

I'm not complaining ^.^ Just being informative as to why we're getting
these. I've got the notifications turned off so it didn't bother me at all.
On Wed, Apr 15, 2015 at 4:01 PM, Lucas Menge<EMAIL_ADDRESS>wrote:

@omnicons https://github.com/omnicons then I guess it's not my fault
everyone got it. They're subscribed, after all (I'm not sure if at
project-level or issue-level). I usually reply to issues created in my own
project before closing them. Otherwise it wold just be plain rude of me :P
—
Reply to this email directly or view it on GitHub
https://github.com/lmmenge/WatchSpringboard-Prototype/issues/6#issuecomment-93549836
.


Use StringBuilder instead StringBuffer in Godot Java code

Android's StringBuffer is only needed for thread-safe creation of a String. If a String is built on a single thread StringBuilder should be used, "as it supports all of the same operations but it is faster, as it performs no synchronization."[1]
This PR replaces the uses of StringBuffer with StringBuilder.

Thanks!


Hubot.hear for HipChat rooms

I was thinking since the HUBOT_HIPCHAT_NAME breaks the adapter if someone doesn't enter the name in exactly, to make it easier the name can be extracted from the user list API call by matching against the JID?


Running on Google Colab python notebook

Trying to use this as frontend for Google Colab notebook, and mostly got it working, but when I open the app URL, which I had to mod to get the Colab runtime url since it shows <IP_ADDRESS>, I get the logo animating in, I get excited, then it says "Please wait while the application is re-connecting..."  and spins.  Using the sample app code, here's what I'm running:
use_port = 22207
from google.colab.output import eval_js
print("Open this URL: " + eval_js(f"google.colab.kernel.proxyPort({use_port})"))
flet.app(target=main, view=flet.WEB_BROWSER, port=use_port)

What am I doing wrong, or doesn't support Colab Jupyter ipynb yet?  This is perfect for what I'm working on being a Flutter dev who now has to put up with ugly looking AI projects.
The URL it opens with is the *-port.googleusercontent.com one that it makes based on the port & session.  So when the above code is ran, this is the output:
WARNING:websocket:websocket connected
App URL: http://<IP_ADDRESS>:22207
Connected to Flet app and handling user sessions...

I imagine the reason it can't connect is the code is trying to communicate to local <IP_ADDRESS> instead of the virtual server's address.
Here's a share of my very simple Colab notebook, it's very barebone, but might save you time if you wanted to debug.  Works on Google Colab free, but I have Pro.  https://colab.research.google.com/drive/1FLNB7DnoegqBx2nn41LD1BS9rza5CzZj
Seems like it wouldn't be difficult to get working since it does start up, but it's probably looking for the wrong host address/port to communicate with in the Flet code. For one, instead of using the :port syntax, Google creates a proxy port address for security. Flet also thinks the address points to local host instead of the generated address that it runs on. Ideally there should be an extra parameter to call flet.app(host="https..." to assign manually, or in the source have it check if google.colab to then use kernel.proxyPort instead. Shouldn't be difficult, it works with most other python WebUI frameworks currently, but I really want to use this one, and so would many other Colab and Jupyter Notebook users.. Any thoughts?

I just had to remove the line ngrok.api_request() in your colab and the app ran flawlessly!


Feat: Ability to change branch for all selected applications during bulk build from Application Groups

🔖 Feature description
The ability to select branches at runtime during bulk build from application groups would be great. The given branch should be propagated to all the applications that are selected for build.
🎤 Pitch
Developers would be using different branches for testing and building. In cases when you have different applications and projects to builds, it can be hectic to change the branch name of each and every workflow manually. With this feature, it would be really easy for anyone to dynamically change the branch (if the git repo is same) for different applications at once and build it.
✌ Solution
A feature which would allow me to change the branch name from Application Group before I select the applications and build it. Also there should be an option to select applications in which new branch name will be propagated.
🔄 Alternative
Branch change API can be used for time-being
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#5471

Cases

RBAC

Branch fixed: Users with Admin permission can change
Branch regex: Users with Build & Deploy permission can change

Source type

PR and Tag based build pipelines will not be changed

Branch regex

Provided branch name must match regex

Multi-Git
//Currently the API expects materialID as well to be able to cater to multi-git case

Duplicate of #3102


Merge master branch to prTesting1_201902050847 branch

OPS Build status updates of commit e3c5032:
:clock10: Preparing: average preparing time is 43 sec(s)

OPS Build status updates of commit e3c5032:
:clock10: Incremental building: average incremental building time is 14 sec(s)

OPS Build status updates of commit e3c5032:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


In smoke-tests using the plugin, remove test containers to avoid later hang

If you try to remove a plugin-attached container when the plugin is not running, Docker will hang for a minute or two.
Earlier, the fixtures in config.sh were carefully coded to avoid this issue, but #2116 brought an end to that.

Fixed in 0e655a2bbdb64359637c2d0da401c57bd3ddab5f - we individually remove relevant containers at the end of each test.


feat(ci): Add release plz check

Adds a check on PRs for the release plz job. Does a dry run of the release so that we can see if it will fail prior to landing in main

This isn't gonna work


Getting error message: There was a problem sending your payment. Error: Getting metadata from plugin failed with error: New streams cannot be created after receiving a GOAWAY

Itried to pay an invoice on yalls.org

like I did before, with the same version, I wanted to read postings by paying invoices.

invoice gets paid in no time...
Actual Behavior

"There was a problem sending your payment. Error: Getting metadata from plugin failed with error: New streams cannot be created after receiving a GOAWAY" in red letters.
Possible Fix

restarting ZAP desktop fixed it
Steps to Reproduce

go on yalls.org - pay invoice to read message

invoice opens in ZAP Desktop

click Pay

Error

Context

I was unable to pay invoices - no matter which post I tried
Your Environment

Zap Desktop version: 0.3.3 Beta
Operating System and version: windows 7

Closing as issue is almost a year old with no further updates. Problem relates to a much older version of node-grpc.


Text is cut short on required information fields on introduction pages

The pill format doesn't allow line returns, and the table is not large enough

Fixed in 2.2: dc2411e1a698662b238cd0bacbb1ab066ed0f094


"It's" should be "its" in Thunder Hooves

cuz grammar

Hello robmuh.
You can use the level-editor to fix this yourself. Try it, using the editor can be fun. And maybe you soon build levels yourself.
The link to the level:
codecombat.com/editor/level/thunder-hooves

Can the level editor be used to add simplier handling of list iterations as
well or is that a violation.
Rob Muhlestein
@SkilStak http://twitter.com/skilstak, Inc.
<EMAIL_ADDRESS>704-310-6778
@robmuh http://twitter.com/robmuh
On Mon, Mar 9, 2015 at 6:20 PM, J-F-B-M<EMAIL_ADDRESS>wrote:

Hello robmuh.
You can use the level-editor to fix this yourself. Try it, using the
editor can be fun. And maybe you soon build levels yourself.
The link to the level:
codecombat.com/editor/level/thunder-hooves
—
Reply to this email directly or view it on GitHub
https://github.com/codecombat/codecombat/issues/2491#issuecomment-77956671
.

We probably wouldn't accept a patch for that, because we still think that extending while to cover list iteration before introducing for-in makes more sense for the campaign progression.


Add Lean action in CI

Add Lean action in CI to make sure the package doesn't break.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

This is an example run in my fork: https://github.com/zhassan-aws/rust-lean-models/actions/runs/10584292641/job/29328218478

Does the action have some issues? It seems it is trying to save the cache twice (and the second one fails).

Good catch. I'm seeing this error in other repos that use the action though, e.g:
https://github.com/leanprover-community/aesop/actions/runs/10507096078/job/29108109514#step:5:4
Not sure what the error means.

Good catch. I'm seeing this error in other repos that use the action though, e.g:

Yes, this doesn't seem to be an issue with how you use it. It just makes me wonder about the quality of the action itself. Might just need some engaging with the action to help them improve it.

Created https://github.com/leanprover/lean-action/issues/96 to ask about the error.


Bug: No DB_Prefix or backticks inside SQL functions in QueryBuilder

PHP Version
8.2
CodeIgniter4 Version
4.5.1
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
MySQL 8.2.0
What happened?
Backticks and DBPrefix are missing on SQL generated by QueryBuilder function calls when SQL functions are in the parameters.
Steps to Reproduce
This code
$builder = $this->db->table('attribute_links');
$builder->join('attribute_values', 'attribute_values.attribute_id = attribute_links.attribute_id', 'inner');
$builder->set('attribute_links.attribute_id', "IF((attribute_values.attribute_value IN('false','0','') OR (attribute_values.attribute_value IS NULL)), $checkbox_attribute_values[0], $checkbox_attribute_values[1])", false);
$builder->where('attribute_links.definition_id', $definition_id);
log_message('error', $builder->getCompiledUpdate(false));

Yields
UPDATE `ospos_attribute_links` SET `ospos_attribute_links`.`attribute_id` = IF((attribute_values.attribute_value IN('false','0','') OR (attribute_values.attribute_value IS NULL)), 45873, 25595)
WHERE `ospos_attribute_links`.`definition_id` = 6

Note the missing backticks and dbprefix prepended to the attribute_values table and attribute value column inside the IF()
Expected Output
The missing join is a completely different issue and I've already submitted a feature request for that, but this affects ISNULL(), IF(), DATE() and CONCAT() that I've seen.
UPDATE `ospos_attribute_links`
JOIN `ospos_attribute_values` ON `ospos_attribute_values`.`attribute_id` = `ospos_attribute_links`.`attribute_id`
SET `ospos_attribute_links`.`attribute_id` = IF((`ospos_attribute_values`.`attribute_value` IN('false','0','') OR (`ospos_attribute_values`.`attribute_value` IS NULL)), 45873, 25595)
WHERE `ospos_attribute_links`.`definition_id` = 6

Anything else?
See https://forum.codeigniter.com/showthread.php?tid=90798 for more examples of what I mean.

In order to get the expected output (minus the missing JOIN) I have to change the code to this:
$db_prefix = $this->db->getPrefix();
$builder = $this->db->table('attribute_links');
$builder->join('attribute_values', 'attribute_values.attribute_id = attribute_links.attribute_id', 'inner');
$builder->set('attribute_links.attribute_id', "IF((`$db_prefix" . "attribute_values`.`attribute_value` IN('false','0','') OR (`". $db_prefix ."attribute_values`.`attribute_value` IS NULL)), $checkbox_attribute_values[0], $checkbox_attribute_values[1])", false);
$builder->where('attribute_links.definition_id', $definition_id);
log_message('error', $builder->getCompiledUpdate(false));

I don't think Query Builder supports such complicated queries.
https://codeigniter4.github.io/CodeIgniter4/database/query_builder.html#builder-set

I don't think Query Builder supports such complicated queries. https://codeigniter4.github.io/CodeIgniter4/database/query_builder.html#builder-set

Can you clarify what you mean by complicated in this query?  I understand the JOIN is not supported in the UPDATE, but this issue occurs outside of things like that.

I mean the second parameter is complicated.
$builder->set(
    'attribute_links.attribute_id',
    "IF((attribute_values.attribute_value IN('false','0','') OR (attribute_values.attribute_value IS NULL)), $checkbox_attribute_values[0], $checkbox_attribute_values[1])",
    false
);

I mean the second parameter is complicated.
$builder->set(
    'attribute_links.attribute_id',
    "IF((attribute_values.attribute_value IN('false','0','') OR (attribute_values.attribute_value IS NULL)), $checkbox_attribute_values[0], $checkbox_attribute_values[1])",
    false
);

OK, here is a simpler example.
This code:
$builder = $this->db->table('sales');
$builder->select('AVG(sales_items.discount)');
$builder->join('sales_items', 'sales_items.sale_id = sales.sale_id');
$builder->where('sales.customer_id', $customer_id);
$builder->groupBy('sale_id');
$selectQuery = $builder->getCompiledSelect();

Produces
SELECT AVG(sales_items.discount)
FROM `ospos_sales`
JOIN `ospos_sales_items` ON `ospos_sales_items`.`sale_id` = `ospos_sales`.`sale_id`
WHERE `ospos_sales`.`customer_id` = 45
GROUP BY `sale_id`

Surely this isn't too complicated and it points out that anything inside SQL functions (AVG in this case) is not getting db_prefix nor backticks.

The issue is not just SQL functions but parenthesis in general.  If I add parenthesis to the where() call (such as might be done using the OR or AND operators to indicate order of operations) the same thing happens.

When we specify the exact argument for the function (for example, $qb->table($table)), it is very easy to understand that it is possible to add a prefix here.
Well, how do you see the solution to the problem? How does the script understand that a prefix is needed in custom queries?

My initial thought was to parse inside SQL functions.  For example, since AVG() expects a column or table.column, to assume that when you come across that in the Select() function that you need to prepend the db_prefix, but this can get complicated since SQL allows subqueries.
I think one potential way to easily identify and deal with table.column references would be for CI4 to store the current schema in memory.
SELECT TABLE_NAME AS `Table`,
       COLUMN_NAME AS `Column`
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = 'foo'
ORDER BY TABLE_NAME, ORDINAL_POSITION;

The query takes nothing to run.  Strip the db_prefix from the table names and you now have a list tables which need to have db_prefix prepended and tables and columns which need to have backticks added.  Take that and any time you come across foo.bar format in calls to select(), where(), etc, you have a formula for what to escape.
Perhaps I'm missing something here, but maybe it gives someone an idea.

The sticky spot is going to be not just replacing everything that matches a table or column name since it's very likely for someone to have a table or column name that may match search criteria in a Where() call for example.  I think this can be overcome by either only replacing and adding back ticks when table.column format is encountered or replacing them in context of what is being passed.

I would write such complex queries directly.

I would write such complex queries directly.

To clarify, you're saying this counts as complex?
$builder = $this->db->table('sales');
$builder->select('AVG(sales_items.discount)');
$selectQuery = $builder->getCompiledSelect();

Yes. Anything with inaccurate parameters can produce unpredictable results. For basic tasks, there are prepared methods
$builder->selectAvg('age');
https://codeigniter4.github.io/userguide/database/query_builder.html#builder-selectavg

The issue is not just SQL functions but parenthesis in general. If I add parenthesis to the where() call (such as might be done using the OR or AND operators to indicate order of operations) the same thing happens.

Yes. I don't know why, but that is the current specification.
Simply put, Query Builder does not support functions or ().

I don't think this issue is easy to fix.
If someone can fix the current behavior without breaking the existing apps and compromising performance, please send a PR to the 4.6 branch.

I don't think it can be fixed. To handle complex SQL, we would have to add support for more methods to generate the appropriate SQL instead of trying to analyze the string with regex.

I don't think it can be fixed. To handle complex SQL, we would have to add support for more methods to generate the appropriate SQL instead of trying to analyze the string with regex.

Understood.  Adding support for JOIN inside an UPDATE and a QueryBuilder function to handle IF() statements would go a long way in handling my initial code example. As @neznaika0 pointed out, there's already a function for AVG()


Split out the values.yaml generation by version

Description
Split out the values.yaml generating functions into separate version specific folders. Since ruby require works on a global scope, the functions cannot be named the same thing (or one will overwrite the other). This makes it so the function names need to be dynamically generated so they are called appropriately.
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit cc8b9e313f95ae64d67db7ae49a92e6a747a1f9a
https://deploy-preview-2618--calico.netlify.com


History not holding

Before Submitting Your Bug Report

[X] I have verified that there isn't already an issue reporting the same bug to prevent duplication.
[X] I have seen the FAQ.

Maccy Version (see 'About' window)
2.2.1
macOS Version
15.1.1
Maccy Settings
{
    "KeyboardShortcuts_delete" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":51}";
    "KeyboardShortcuts_pin" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":35}";
    "KeyboardShortcuts_popup" = "{\\"carbonKeyCode\\":8,\\"carbonModifiers\\":768}";
    "NSStatusItem Visible Item-1" = 0;
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "1025 845 482 305 0 0 2560 1415 ";
    enabledPasteboardTypes =     (
        "public.html",
        "public.utf8-plain-text",
        "public.rtf"
    );
    historySize = 800;
    migrations =     {
        "2024-07-01-version-2" = 1;
    };
    numberOfUsages = 179;
    popupPosition = statusItem;
    showFooter = 1;
    showSearch = 1;
    showTitle = 1;
    windowSize = "[450,800]";
}

Description
Clipboard history is not holding from day to day.  I already increased the size amout in preferences but it is not holding from 2-3 days ago.  And if I restart the computer it seems to lose some things that were copied less than a day ago.
Steps to Reproduce
No response

Maybe you copy too much? It’s kind of hard to reason about your issue without any way to reproduce. Typically, 2-3 days are always at Maccy for my usage, but I suspect it might be different depending on how you use it.

Did you try searching for older entries or scrolling through the history list,

Did you try searching for older entries or scrolling through the history list?

So, for example, I was using this machine a few hours ago - I know there were items that I specifically copied.  I turned the system off and came back on just now and they are no longer in the history.  Items that I copied earlier than ones I know were more recent are here but not everything.  We are talking links and email addresses - none of them are sticking.

@panomedia Can you please show a screenshot of your Maccy window?

Okay, so apologies are in order.  My goofup.  All is in working order.


add min and max line settings to editor

Resizing the editor window was challenging. This change should allow the ability to dynamically adjust the size of the editor.

Added MinLines to EditorOptions
Added MaxLines to EditorOptions
Added inputs on test project to allow for interaction with these settings.

😄

Awesome, thanks for the PR. Merged & published [1.1.3] (https://www.nuget.org/packages/Blace/1.1.3)


#2109 - Date picker on event page broken in responsive layout

Fixes #2109
This PR changes the CSS so that the max-width on form inputs is only applied to screens larger than 768px.  In smaller layouts form fields are stacked to preserve horizontal space, so we should be utilizing all of the screen anyway.
Below is a screenshot of the corrected layout:

@dchristensen thanks so much for the explanation, issue reference and screen shot. This makes reviewing so much easier!


Add monitoring to ensure that replication from the production S3 bucket is working

There's an existing job that monitors the size of the asset NFS mount on the master and slave asset machines to ensure that they don't drift too much. We'll want something similar to give us confidence that the replication is working as expected.

Note that the govuk_assets:check_all_assets_have_been_replicated Rake task was run in production on 03 Nov 2017 as part of alphagov/asset-manager#146 and the results show that all objects had been replicated at this point.
/cc @chrisroos

Also note that the govuk_assets:upload_assets_marked_as_deleted_to_cloud_storage Rake task was run in production on 24 Nov as part of alphagov/asset-manager#304. This successfully uploaded S3 objects for all assets marked as deleted. Since these were newly created S3 objects they will have been automatically replicated to the backup S3 bucket.
/cc @chrisroos


Add-standards

Adds the organization standards to the readme to conform with the other readmes in the org.

What happened with the state of the branch here? There are a whole bunch of commits that look like they belonged to another pull request unrelated to the community standards changes.

I just noticed this as well.. I'm going to close the PR and submit a clean one later today


Added CleverBrush

Added CleverBrush. Online vector editor and digital publishing tool.

@AlexSergey hey! thanks a lot for your contribution!
Is CleverBrush similar to Canva and Crello?
If yes, maybe it make sense to make a new section of Online Editors or Tools for Marketing.
@valianka what do you think?

Hi!
We have 2 solutions:
Online vector editor -
https://cleverbrush.com/editor/
This is something like adobe illustrator in the browser. You can chek few videos in our youtube channel
https://www.youtube.com/channel/UCfIZ41OaXDeXRTUtixQOqug
Also ve have collage builder
https://www.cleverbrush.com/collage/
This is something like Canva
"new section of Online Editors" - this is great idea.

@AlexSergey thanks for the information!
We will put it in the category you initially submitted it. Later on we'll tweak it.


Migrate core module to new test structure based on JUnit 5

This PR continues changes required to migrate to JUnit 5 test structure as described in the https://github.com/SpineEventEngine/core-java/issues/701.
All core module tests are migrated to the new structure which takes advantage of JUnit 5 capabilities such as @DisplayName and @Nested classes.
Changes in this PR rely on base version 0.10.40-SNAPSHOT to obtain common test display names.

@armiol PTAL. I changed naming approach as discussed.

@armiol PTAL.


Autocomplete: fix problem when input with Chinese input method and enabled select-when-unmatched

This PR fixes the problem when the Chinese input method is used with select-when-unmatched enabled. Reproducible demo page: https://codepen.io/anon/pen/mYjKVP?editors=1111
Expected behavior:
When input with the Chinese input method, the value won't be logged unless the user hits the Enter button after the compositionend event.
Actual behavior:
handleKeyEnter method doesn't check if we're still on composition and immediately logs the previous value before the compositionend event. If we want to get the actual value, we need to hit the Enter button one more time.

Sorry, we have no plan to support this

@WaSheep It's not a PR for features. It's for solving an existing problem.


How does one edit this project?

I did a get on the entire project and tried to open the project in TileMill. But it seems like TileMill no longer recognizes the contents.
What do developers of this project use to edit all the styles?

We use(d) TileMill (we no longer use this project at Mapbox). TileMill should recognize the contents.

There is a big difference in "should recognize" and "does recognize". It DOES NOT recognize. Does that mean its a bug? Should someone fix the project so that it does open properly in TileMill?


updated reference file paths based on new box link.  fixed bug in WFC…

This was some zombie committee that @rosteen advised I put in as a PR.

seems to be repeated code.  so closing PR w/o merge.


Close button not showing

I'm setting the option showCloseButton = true, but the button "X" is not showing....

should be working as expected now, sorry for the long wait.

Unfortunately, that isn't available as a feature at the moment. The fastest way currently, would be to fork the repo and extend the confirmation.component


[RELEASE] Release 2.9.1

Release 2.9.1 with https://github.com/opensearch-project/opensearch-java/pull/881

2.9.1 is now available: https://repo1.maven.org/maven2/org/opensearch/client/opensearch-java/2.9.1/
https://github.com/opensearch-project/opensearch-java/releases/tag/v2.9.1


Bug: PValue needs some outer unionWith, breaks PEq

Right now it relies on  AssocMap's unionWith, which drops keys that are not present in both maps. This breaks a couple of things:

adding/subtracting/multiplying values
PEq is wrong

Might also be that I'm slightly incorrect here, double-checking rn. But in any case there's undefined behaviour without some way to specify default values.

You are slightly incorrect, see issue #556 and PR #558.

So on my Plutarch version it's broken, verified it - sparing you the details until I unfuck my attempt to use nix. My version was from around August. Will let you know if it persists, but would assume you fixed it as you seemed aware of the issue.

I think I managed to update my Plutarch version haphazardly, probably. Very likely.
I need to note that even in my old version the Eq wasn't broken, I raised this issue purely looking at the comments in the code, and wondering how punionWith # (plam (-)) was supposed to work without defaults. Which it does not, but it works well enough to implement Eq.


Groups with same name not sharing errors

Reproduction
https://formkit.link/cc52fafd117863912a545caff74f1cf6
Describe the bug
the forms data is sending as an object with all fields under the group (expected)
but the 2nd group of the same name is not displaying the errors
Environment
Latest

@justin-schroeder the behaviour is inconsistent, not sure if its a bug on what side of the problem.

It should replace/ignore name conflicts
Or it should combine errors too

Also as a work around the problem you can manually pass combined names to the same node so it works: https://formkit.link/707cf8f212efc1e72b3e9dae0f42867c

Yeah — names are meant to be unique. When it searches the tree for a node by a given name it does a BFS — in otherwords it stops the search when a result is found. Not sure we are interested in reversing course on that fundamental distinction.
Errors are not the only thing that would be affected by identical names. You’ll have issues with hydration, state, resets and more.
Are there good use cases for identical input names we have not considered?

Are there good use cases for identical input names we have not considered?

Specifically just GROUPS should be allowed to be multiple. I can see that it may cause some unexpected problems.
But the reason I came into this issue is because I have Inputs that have "grouped names" (as in their errors are referenced by group.foo, and group.bar) but are not in the same location to be put into a FormKit Group. So the only way to show their errors would be to place them in the groups like the original example (or use my custom plugin to allow any input to be put into a group it is not a child of).

I have the same issue. It would be great to have this implemented in FormKit.
I work on a SAS project in the insurance sector, and we have over 20 massive and complex forms. In all the forms, we have inputs that are scattered on the screen but belong to the same group. Most of them are positioned in a way that makes it easy for the user to understand what they relate to.
I tested FormKit, and it was by far the best solution I found for transforming forms into a schema list. Grouping separate fields was one of the first things I checked to see if it met my needs (and it worked... until I reached the validation part).
Right now, I'm trying to find a solution to group separate fields under the same object in a way that works with Zod validation. If anyone has any ideas or suggestions, I would appreciate it!
@jjjrmy If possible, could you share the plugin you developed to group the inputs into the same object?

Enterprise customer here.
I am too running into this issue, was quite the journey in regards of time to end up on this issue. Same use case.
Another example of this issue: https://formkit.link/1dfa6a5e7ba350b3591305b01b62f693
For me, @fenilli his plugin solution works fine. However it would be great if this could become part of FormKit core.


Add quick UTC timestamp buttons

These buttons might be useful if logging a live contact.  They auto-fill the current UTC timestamp.
Their additions on the second line made things look crowded, so I broke them onto separate lines and moved the MODE field up to line 1.

Apologies Daniel, I had missed this. Thanks for the PR!


Improvement for k8s.io/docs/concepts/storage/persistent-volumes/

On dynamic volume binding it is stated:

To enable dynamic storage provisioning based on storage class, the cluster administrator needs to enable the DefaultStorageClass admission controller on the API server.

This seems strange. The purpose of the "DefaultStorageClass admission controller" seems merely to be to provide a default value for PVC.storageClassName if it is absent. Why should whether it is enabled or disabled effect dynamic provisioning?
The linked description of the "DefaultStorageClass admission controller" offers no clue as to why this may be the case:

This admission controller observes creation of PersistentVolumeClaim objects that do not request any specific storage class and automatically adds a default storage class to them. This way, users that do not request any special storage class do not need to care about them at all and they will get the default one. This admission controller does not do anything when no default storage class is configured.

That's consistent with "merely to provide a default value for PVC.storageClassName when it is absent." as above.
Conclusion either the first quote is wrong or could really do with further explanation.

@sgpinkus yes the statement in documentation seems confusing i.e if the PersistentVolumeClaim objects that do not request any specific storage class and automatically adds a default storage class to them,  then why there is need to enable dynamic storage class for  PVC.storageClassName !


[BUG] After upgrading oauth2-oidc-sdk to 9.5.1 getting this error java.lang.NoClassDefFoundError: com/nimbusds/oauth2/sdk/http/CommonContentTypes

Describe the bug
We are currently using the oauth2-oidc-sdk 5.30 version but as it is vulnerable upgraded to 9.5.1 but we are not able to connect to Azure. getting this error
Exception or Stack Trace
ava.lang.RuntimeException: java.io.IOException: java.lang.NoClassDefFoundError: com/nimbusds/oauth2/sdk/http/CommonContentTypes
at rx.exceptions.Exceptions.propagate(Exceptions.java:57)
To Reproduce
Upgrade the oauth2-oidc-sdk  from 5.30 version to 9.5.1
Code Snippet

com.nimbusds
oauth2-oidc-sdk
9.5.1
runtime

Expected behavior
It should work as usual, without any errors, we should be able to connect to Azure from our application as we were using older version
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

OS: [e.g. iOS]
IDE : [e.g. IntelliJ]
Version of the Library used

Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[ x Setup information Added

Hi @narigala which SDK name and version are you using which references 5.3.0 oauth2-oidc-sdk?
Please note you can reference the auzre-sdk-bom (https://mvnrepository.com/artifact/com.azure/azure-sdk-bom) or the azure-spring-boot-bom (https://mvnrepository.com/artifact/com.azure.spring/azure-spring-boot-bom) which will also include much newer versions of this dependency.


Add startup notification

Added an event that notifies all initialized notifiers that chiadog has started

OK. Makes sense!

Closed in favor of #185


Rename BC in Breaking Changes

'BC' was hard to guess/understand imho.

I don´t know, BC is a well known abbreviation for Backwards Compatibility. No need to change it IMHO


Update About - within a few minutes of completion of the contest

Please update About section
to reflect actual behaviour
Been an hour, but no predictions are shown
About section

After 1 hour, no predictions are shown

That was due to some issue with the worker. Usually, it doesn't take this much time.


working fork with pip install pydantic-to-typescript2

I created a fork with this merged so the community can easily install it via pip. The code is published to PyPI as pydantic-to-typescript2.
Phillip Dupuis is still included as an author.
Repository link: Darius-Labs/pydantic-to-typescript2
install pydantic-to-typescript2 via pip
pip install pydantic-to-typescript2

Absolut legend :-)

Thank you for this! I was very busy for a bit there and honestly didn't even realize that this package had gained so much traction.
It should be resolved now that I've released v2 of pydantic-to-typescript. It supports all versions of pydantic (including v1 usage while v2 is installed) and we added a ton of tests to ensure nothing falls through the cracks. I'll definitely be inviting additional maintainers over the coming days.


add a base-10 string parse "uuism"

I think it's a pretty useful one to have in the base "toolbox".
Was not so sure about formatting, so please advise if needed.

This is a neat implementation, but is it necessary when parse exists?
With some rearranging, it might be a good base ≤10 parser.

Is it new? I spent whole evening looking for it :D
Yes, by changing the 10, any base can be chosen indeed. What rearrangements
you propose?
On Sat, Oct 7, 2023, 08:35 Kai Schmidt @.***> wrote:

This is a neat implementation, but is it necessary when parse
https://www.uiua.org/docs/parse exists?
With some rearranging, it might be a good base ≤10 parser.
—
Reply to this email directly, view it on GitHub
https://github.com/uiua-lang/uiua/pull/98#issuecomment-1751623027, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7CHLDKTJEK6J2CUMPYMTDX6DZ2DAVCNFSM6AAAAAA5WWW352VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRGYZDGMBSG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

All the Uiuisms should be written so that their arguments can be put to the right. So that they can be used like functions.
Your would have to be arranged so that the base and input string were both on the right.
Also, put a space between the arguments and the expression.

Thanks for the instructions - I'll open a new PR with a more idiomatic version.


[Le Cinéma Club] Wrong video extracted.

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.07.18 (update instructions) or later (specify commit)
[ ] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Provide a description that is worded well enough to be understood
Currently downloading from lecinemaclub.com only extracts the short video preview instead of the actual video behind it (both can be found in the page source).
Since the full video is an embedded Vimeo video, it is actually supported by the vimeo extractor. In fact, --referer lecinemaclub.com https://player.vimeo.com/video/730175262 gives me what I want—a download of the full video (as opposed to the video preview) with the vimeo extractor (as opposed to the generic extractor). It's just not what yt-dlp https://www.lecinemaclub.com/now-showing/the-blues-accordin-to-lightnin-hopkins//yt-dlp https://www.lecinemaclub.com does right away...
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '--ffmpeg-location', 'C:\\Program Files\\ffmpeg-master-latest-win64-gpl\\bin', '--exec', 'ffprobe -show_entries format=duration -v quiet', 'https://www.lecinemaclub.com/now-showing/the-blues-accordin-to-lightnin-hopkins/']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8 (No VT), error utf-8 (No VT), screen utf-8 (No VT)
[debug] yt-dlp version 2022.07.18 [135f05e] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-8.1-6.3.9600-SP0
[debug] Checking exe version: "C:\Program Files\ffmpeg-master-latest-win64-gpl\bin\ffmpeg" -bsfs
[debug] Checking exe version: "C:\Program Files\ffmpeg-master-latest-win64-gpl\bin\ffprobe" -bsfs
[debug] exe versions: ffmpeg N-106989-gb033913d1c-20220524 (setts), ffprobe N-106989-gb033913d1c-20220524
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.07.18, Current version: 2022.07.18
yt-dlp is up to date (2022.07.18)
[debug] [generic] Extracting URL: https://www.lecinemaclub.com/now-showing/the-blues-accordin-to-lightnin-hopkins/
[generic] the-blues-accordin-to-lightnin-hopkins: Downloading webpage
WARNING: [generic] Falling back on generic information extractor.
[generic] the-blues-accordin-to-lightnin-hopkins: Extracting information
[debug] Looking for video embeds
[debug] Identified a HTML5 media
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[download] Downloading playlist: Le Cinéma Club  |  THE BLUES ACCORDIN' TO LIGHTNIN' HOPKINS
[generic] Playlist Le Cinéma Club  |  THE BLUES ACCORDIN' TO LIGHTNIN' HOPKINS: Downloading 1 videos of 1
[download] Downloading video 1 of 1
[debug] Default format spec: bestvideo*+bestaudio/best
[info] the-blues-accordin-to-lightnin-hopkins: Downloading 1 format(s): 0
[debug] Invoking http downloader on "https://player.vimeo.com/progressive_redirect/playback/732500658/rendition/1080p/file.mp4?loc=external&signature=bd18c44dea1228bd64e65aeb6001269cc4264a89fea446830560ecf2aa99d6db"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: Le Cinéma Club  _  THE BLUES ACCORDIN' TO LIGHTNIN' HOPKINS [the-blues-accordin-to-lightnin-hopkins].mp4
[download] 100% of 8.43MiB in 00:02
[Exec] Executing command: ffprobe -show_entries format=duration -v quiet "C:\Users\Redacted\Downloads\dl\Le Cinéma Club  _  THE BLUES ACCORDIN' TO LIGHTNIN' HOPKINS [the-blues-accordin-to-lightnin-hopkins].mp4"
[FORMAT]
duration=11.391667
[/FORMAT]
[download] Finished downloading playlist: Le Cinéma Club  |  THE BLUES ACCORDIN' TO LIGHTNIN' HOPKINS

Downloading with --referer and manually extracted Vimeo link:
[debug] Command-line config: ['-vU', '--ffmpeg-location', 'C:\\Program Files\\ffmpeg-master-latest-win64-gpl\\bin', '--referer', 'lecinemaclub.com', '--exec', 'ffprobe -show_entries format=duration -v quiet', 'https://player.vimeo.com/video/730175262']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8 (No VT), error utf-8 (No VT), screen utf-8 (No VT)
[debug] yt-dlp version 2022.07.18 [135f05e] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-8.1-6.3.9600-SP0
[debug] Checking exe version: "C:\Program Files\ffmpeg-master-latest-win64-gpl\bin\ffmpeg" -bsfs
[debug] Checking exe version: "C:\Program Files\ffmpeg-master-latest-win64-gpl\bin\ffprobe" -bsfs
[debug] exe versions: ffmpeg N-106989-gb033913d1c-20220524 (setts), ffprobe N-106989-gb033913d1c-20220524
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.07.18, Current version: 2022.07.18
yt-dlp is up to date (2022.07.18)
[debug] [vimeo] Extracting URL: https://player.vimeo.com/video/730175262
[vimeo] 730175262: Downloading webpage
[vimeo] 730175262: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 730175262: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 730175262: Downloading fastly_skyfire m3u8 information
[vimeo] 730175262: Downloading fastly_skyfire m3u8 information
[vimeo] 730175262: Downloading akfire_interconnect_quic MPD information
[vimeo] 730175262: Downloading akfire_interconnect_quic MPD information
[vimeo] 730175262: Downloading fastly_skyfire MPD information
[vimeo] 730175262: Downloading fastly_skyfire MPD information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, lang, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 730175262: Downloading 1 format(s): hls-fastly_skyfire_sep-5733+dash-fastly_skyfire_sep-audio-cb6d576d
[debug] Invoking hlsnative downloader on "https://skyfire.vimeocdn.com/1658845523-0x23d146edd93e73597a6caa5d941dc1a28f14b532/32bb5ea9-1f92-48a9-9144-128310cbb247/sep/video/aba8c671/playlist.m3u8?query_string_ranges=1"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 314
[download] Destination: BLUES ACCORDIN TO LIGHTNIN HOPKINS [730175262].fhls-fastly_skyfire_sep-5733.mp4
[debug] File locking is not supported. Proceeding without locking
[download] 100% of 1.25GiB in 05:32
[debug] Invoking dashsegments downloader on "https://skyfire.vimeocdn.com/1658845523-0x23d146edd93e73597a6caa5d941dc1a28f14b532/32bb5ea9-1f92-48a9-9144-128310cbb247/sep/video/193f1884,16f47ee0,134e5ded,aba8c671,12d83eb1/audio/2903f9a6,6cc24dc2,cb6d576d/master.mpd?query_string_ranges=1&base64_init=1"
[dashsegments] Total fragments: 315
[download] Destination: BLUES ACCORDIN TO LIGHTNIN HOPKINS [730175262].fdash-fastly_skyfire_sep-audio-cb6d576d.m4a
[download] 100% of 21.89MiB in 01:53
[Merger] Merging formats into "BLUES ACCORDIN TO LIGHTNIN HOPKINS [730175262].mp4"
[debug] ffmpeg command line: "C:\Program Files\ffmpeg-master-latest-win64-gpl\bin\ffmpeg" -y -loglevel "repeat+info" -i "file:BLUES ACCORDIN TO LIGHTNIN HOPKINS [730175262].fhls-fastly_skyfire_sep-5733.mp4" -i "file:BLUES ACCORDIN TO LIGHTNIN HOPKINS [730175262].fdash-fastly_skyfire_sep-audio-cb6d576d.m4a" -c copy -map "0:v:0" -map "1:a:0" -movflags "+faststart" "file:BLUES ACCORDIN TO LIGHTNIN HOPKINS [730175262].temp.mp4"
Deleting original file BLUES ACCORDIN TO LIGHTNIN HOPKINS [730175262].fhls-fastly_skyfire_sep-5733.mp4 (pass -k to keep)
Deleting original file BLUES ACCORDIN TO LIGHTNIN HOPKINS [730175262].fdash-fastly_skyfire_sep-audio-cb6d576d.m4a (pass -k to keep)
[Exec] Executing command: ffprobe -show_entries format=duration -v quiet "C:\Users\Redacted\Downloads\dl\BLUES ACCORDIN TO LIGHTNIN HOPKINS [730175262].mp4"
[FORMAT]
duration=1881.046000
[/FORMAT]

I don't see the vimeo video in the webpage

Yes, the video has been taken down by now; there's a different film every week. Simply entering www.lecinemaclub.com always redirects you to the film they are currently screening, this week it's https://www.lecinemaclub.com/now-showing/born-to-film/. I can update description and verbose output if necessary, but the pattern should be the same.

hm.. the website embeds the preview the "normal" way, but the actual video is not embedded in any standard method. So an extractor will be needed to handle this

By now this has changed to the main video actually getting detected, but yt-dlp is still extracting the unnecessary preview beforehand. (I know this can be circumvented with --ies generic,vimeo.)
[debug] Command-line config: ['-vs', 'https://www.lecinemaclub.com/now-showing/fe26/']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8 (No VT), error utf-8 (No VT), screen utf-8 (No VT)
[debug] yt-dlp version 2023.02.17 [a0a7c01] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-8.1-6.3.9600-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 4.3, ffprobe N-106989-gb033913d1c-20220524
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1782 extractors
[generic] Extracting URL: https://www.lecinemaclub.com/now-showing/fe26/
[generic] fe26: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] fe26: Extracting information
[debug] Looking for embeds
[debug] Identified a html5 embed
[debug] Identified a vimeo embed
[download] Downloading playlist: FE26 a film by KEVIN JEROME EVERSON.
[generic] Playlist FE26 a film by KEVIN JEROME EVERSON.: Downloading 2 items of 2
[download] Downloading item 1 of 2
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] fe26-1: Downloading 1 format(s): 0
[download] Downloading item 2 of 2
[vimeo] Extracting URL: https://player.vimeo.com/video/799482718?loop=false&byline=false&portrait=false&title=false&speed=true&transparent=0&background=true&gesture=media#__youtubedl_smuggle=%7B%22http_headers%22%3A+%7B%22Referer%22%3A+%22https%3A%2F%2Fwww.lecinemaclub.com%2Fnow-showing%2Ffe26%2F%22%7D%7D
[vimeo] 799482718: Downloading webpage
[vimeo] 799482718: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 799482718: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 799482718: Downloading fastly_skyfire m3u8 information
[vimeo] 799482718: Downloading fastly_skyfire m3u8 information
[vimeo] 799482718: Downloading akfire_interconnect_quic MPD information
[vimeo] 799482718: Downloading akfire_interconnect_quic MPD information
[vimeo] 799482718: Downloading fastly_skyfire MPD information
[vimeo] 799482718: Downloading fastly_skyfire MPD information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, lang, vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 799482718: Downloading 1 format(s): dash-fastly_skyfire_sep-video-c635c6af+dash-fastly_skyfire_sep-audio-8c65c5ba
[download] Finished downloading playlist: FE26 a film by KEVIN JEROME EVERSON.


access Possessed Objectsa

This is not really an issue, more of an how to.
I have this simple code;
`import sys
from PyQt4 import QtGui, QtCore
from PyQt4.Qt import QWidget
from PyQt4.QtGui import QApplication, QListWidget
import unreal_engine as ue
import sys
import traceback
ue.log("Scanning now!!!!!.")
asset_mappings = {}
levels = ue.get_assets_by_class('LevelSequence', True)
for level in levels:
asset_mappings[level.get_name()] = level
print "level : {0}".format(level)
props = level.properties()
for prop in props:
print "  {0}".format(prop)
if prop in ['PossessedObjects']:
pass`
I access the LevelSequence, then get the properties PossessedObjects. I am hoping to access the LevelSequence's Camera (and its parameter.) when it is spawned by this LevelSequence.
My problem, is that I don't know the way to do this, what is the right syntax.  Reading the doc did not provide me the right answer. So for now, in my script, I use a pass command were it should have the right query command to access the camera.
The real programmer are teasing me about looking into the C++ code and find the right call, but I use python because I WANT to avoid the C++. I know, lazy.
I don't know if I can post this here, but I don't know where else to go and ask about Unreal python.

Hi, the sequencer api doc is still incomplete, but i plan to work on it in a couple of days:
https://github.com/20tab/UnrealEnginePython/blob/master/docs/sequencer_API.md
In addition to this, in 4.15 Epic changed a bunch of functions in the api, so maybe i will need to fix something more.
By the way, calling .properties() on an object, returns a list of all of its properties so maybe you should already be able to access only camera objects
Stay tuned :)

I was blind. The information I was looking for was there:
seq_obj.sequencer_possessable_tracks(guid)
I still have a lot to do, but I get the cameras attributes.  Now, to get their values, I still have some glitches, but I feel I am on the right track.
Thanks a lot.

Hello, me again. I wrote this code:
`import sys
from PyQt4 import QtGui, QtCore
from PyQt4.Qt import QWidget
from PyQt4.QtGui import QApplication, QListWidget
import unreal_engine as ue
import sys
import traceback
ue.log("Scanning now!!!!!.")
asset_mappings = {}
levels = ue.get_assets_by_class('LevelSequence', True)
for level in levels:
asset_mappings[level.get_name()] = level
print "Level : {0}".format(level)
props = level.properties()
for prop in props:
print "  {0}".format(prop)
if prop in ['PossessedObjects']:
poss_objs = level.sequencer_possessables()
for poss in poss_objs:
if poss[1] in ['CameraComponent']:
print "__Camera : {0}".format(poss)
poss_props = poss[2].properties()
for prop in poss_props:
print "____proprety : {0}".format(prop)
if prop not in ['DebugFocusPlaneMID', 'AttachChildren', 'ClientAttachedChildren', 'CreationMethod', 'UCSModifiedProperties']:
print "_________Value : {0}".format(poss[2].get_property(prop))`
It seems to get the camera from posseded Object in the level sequence.  From it, I get the properties and display their value.  The results are almost all at zero, not the values they should be. The properties value of the cameras seem to be wrong.

Ok, i'll check it, Thanks for rerporting

The new sequencer APi is available: https://github.com/20tab/UnrealEnginePython/blob/master/docs/sequencer_API.md

Thank you.  We are evaluating the update with great interest..

Me again.
Once again, I am trying to get access to the camera properties. Looking at all the example, there is a lot of creation of track and objects, but not demonstration of accessing existing one. And the doc shows nothing under "spawnable and possessable". Is there a way to access the properties of an existing camera? Do I have to pass by "possessable"? How can I access to level now?
Thanks.

ok, found it. Now, I only miss the drop down value that return a structure instead of a value.
editor = ue.get_editor_world()
for actor in editor.all_actors():
print "Actor:{0}".format(actor.get_name())
if actor.is_a(CineCameraActor):
    comps = actor.CameraComponent
    print comps
    props = actor.CameraComponent.properties()
    for prop in props:
        if prop not in ["ClientAttachedChildren"]:
            print "____{0}".format(prop)
            print "________{0}".format(actor.CameraComponent.get_property(prop))

Hi @frimalance you can use the fields() method for structures instead of properties() (that are for UObjects). Remember that structures are passed by value so you need to copy/clone them often if you need to update values.

Thanks for the info. Sorry to bother you again, but this brings more questions:
I did not find an easy way to test if the object is a structure. For the camera, I use this work around:
if type(actor.CameraComponent.get_property(prop)) == type(actor.CameraComponent.get_property("FilmbackSettings")):
There must be a better way.
If I set the CurrentFocalLength and the DefaultLensFocalLength from 35 to 31, they will change in the camera and the sequencer. But if I hit play, the Focal Length goes back to 35. If I use:
seq.sequencer_changed(True)
The Focal Length stays at 35. Is there something I don't understand?

from unreal_engine import UScriptStruct

if isinstance(something, UScriptStruct):
    print('something is a UE4 struct')

Regarding CurrentFocalLength, try calling .post_edit_change() in the modified object, as this hook could generally fixup some internal structure

Thanks for the code. Worked like a charm.
As for the CurrentFocalLength, I tried:
    actor.CameraComponent.CurrentFocalLength = 31.125
    actor.CameraComponent.post_edit_change()
    actor.post_edit_change()
    actor.CameraComponent.DefaultLensFocalLength = 31.125
    actor.CameraComponent.post_edit_change()
    actor.post_edit_change()

I changed order of execution, added "True" in the parentheses, but it keeps coming back to the value of 35.

Ok i'll try to reproduce it, thanks for reporting

Still investigating on it, but i can confirm that updating keyframe values works, so i think it is only a problem with the default possessed values.


Allows hooks to also receive a reference of the vpatch instance.

This PR allows hooks to also receive a reference of the vpatch instance.
When a node is created, there was no easy way to retreive all the properties used for creating the node.
This would be particularly useful when the vdom is automatically generated from some html template. This way, the hook system can also be used in a wider range.

Coverage increased (+0.01%) to 97.5% when pulling f4e37cef53fd1e99ccad920105a14eac85bfc179 on jails:hook-receive-vpatch into 1186cdcaad65054391c995b40f186eab598eb979 on Matt-Esch:master.

I am worried that exposing the vpatch directly opens up the API surface too much.
Might there be an alternative solution in user-land? (or at least define a new data structure for containing the v-node construction)

Maybe hooks was not the concept I was looking for. The documentation stated that hooks are "mechanisms for executing functions after a new node has been created". But looks likes they are more "mechanisms to control how a node attribute should behave on a change".
Did I miss something or there's not really a mechanism which allow to execute a function after a new node has been created ?

Closed in flavor of #213

@jails: Hooks aren't specifically for controlling node attributes. They are for doing things immediately after a virtual element has been turned into a real element (presumably things you couldn't do while the element was still virtual).
For example, say you want an element to focus on the next redraw. There is no property you can set on the HTMLElement to make that happen, because you have to call the HTMLElement.focus() method. So you create a hook to do it instead (although waiting for a new animation frame / tick, because hooks are called while the rendering is still happening).
Although this might not be the problem for it (it looks like you've already moved on), I personally don't see any issue with the vpatch being passed to hooks, but then I don't mind virtual-dom giving me enough rope to hang myself if it lets me tie a few new knots :)

Oh ok thanks the head up @littleloops! Yeah I finally moved on because if Hooks gave some control over created node, I realized that beeing able to control the rendering step (i.e overriding "vdom/create-element.js" #213) was definilty the logic I needed to be able to customize.


default soa is a.misconfigured.powerdns.server. and how can i change it?

Did you try using the PowerDNS GUI?


Create super-resolution demo for TensorFlow

Description
This is a demo of an image enhancement GAN model called ESRGAN for TensorFlow.

Codecov Report

Merging #1049 (1b47ba7) into master (d4e93e6) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1049      +/-   ##
============================================
- Coverage     70.23%   70.19%   -0.04%
  Complexity     5166     5166
============================================
  Files           510      510
  Lines         23121    23121
  Branches       2430     2430
============================================
- Hits          16238    16230       -8
- Misses         5573     5588      +15
+ Partials       1310     1303       -7

Impacted Files
Coverage Δ

...ain/java/ai/djl/tensorflow/engine/TfNDManager.java
84.37% <0.00%> (-3.91%)
:arrow_down:

...gine/src/main/java/ai/djl/dlr/engine/DlrModel.java
53.12% <0.00%> (-3.13%)
:arrow_down:

api/src/main/java/ai/djl/util/Platform.java
43.47% <0.00%> (-2.18%)
:arrow_down:

...g/src/main/java/ai/djl/serving/util/Connector.java
55.40% <0.00%> (-1.36%)
:arrow_down:

...ngine/src/main/java/ai/djl/mxnet/jna/LibUtils.java
42.23% <0.00%> (-1.25%)
:arrow_down:

.../djl/training/listener/MemoryTrainingListener.java
76.62% <0.00%> (ø)

...rc/main/java/ai/djl/paddlepaddle/jni/LibUtils.java
51.59% <0.00%> (ø)

api/src/main/java/ai/djl/repository/Artifact.java
89.65% <0.00%> (+1.72%)
:arrow_up:

Continue to review full report at Codecov.

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


[FLINK-36075] Add pagination partitioning strategy

This closes FLINK-36075 by:

Adding new enum value pagination for scan.partition.strategy option
Adding scan.partition.record-size option to specify the pagination size for each split

Marked it as a draft since more discussion is needed over the API design.

Seems CI is failing due to connectivity issues with Nexus repository.


[CP][beta channel] Fix source location of debugger() calls

commit(s) to merge: https://github.com/dart-lang/sdk/commit/aaa66ed77ea8b7582ab478ad4425dadcec4a5b02 https://github.com/dart-lang/sdk/commit/825b59ae6d77bb94b5434d8637ba85448206caa4
merge instructions: clean merge
What is the issue: ddc source maps produce incorrect locations when a method contains multiple "debugger()" calls
What is the fix: DDC's lowering was reusing the debugger node and keeping all with the same source location. The fix required tracking each statement and its source location separately.
Why cherrypick: This is not a high-priority item. The main issue is that it gives a poor debug experience. The issue was noticed by external customers. I'm inclined to cherry pick if a build is being created for other reasons.
Risk: low, only affects users with debugger statements which only occur on debug-only code. Overall, the fix is very contained.
Link to original  issue(s): https://github.com/dart-lang/sdk/issues/45544
/cc @kevmoo @mit-mit @whesse @athomas @vsmenon @franklinyow @nshahan

Approved in SCRUM

Merged to beta in 5cae07b3980f4684d3d477457c307a67235adf99 (2.13.0-211.13.beta).


Tables which show some link property values should not use SQL

Was implemented with the aid of https://github.com/OrienteerBAP/wicket-orientdb/blob/master/wicket-orientdb/src/main/java/ru/ydn/wicket/wicketorientdb/model/ODocumentLinksDataProvider.java


cmd/go: should help users understand when a new GOOS or GOARCH breaks their build

We ran to an interesting issue today in the Go newbies channel on the Slack workspace, specifically around a user's build breaking in between Go v1.10.x and v1.11.x. I'm not sure if there's really a tenable solution here, but I thought it was worth starting a discussion with the Go authors.
This user upgraded from Go v1.10.x to Go v1.11.2 with no other changes to their code, and they were then met with build failures:
./swaguidist.go:15:38: undefined: swaggerUiBundleJs
./swaguidist.go:17:38: undefined: swaggerUiStandalonePresetJs

When the user tried to figure out what was wrong, they incorrectly asserted that because some of the files in the package were large the compiler was ignoring them. They reached out to the Slack workspace to see whether anyone was aware of such a limitation, but thankfully we happened to spot the files ending in *_js.go.
While I think it's ideal to expect everyone to read the release notes in their entirety, I don't think we'll ever get to that place. It makes me wonder if there're are any options available to us that would make these things a little more approachable and actionable (especially to newbies), versus something like a variable not defined error.

Yes, this change in the handling of file names is an ongoing slow moving problem.

FTR: This is not about a language change breaking builds. The build system is not the language.

Should the mechanism introduced in #28221 be used to ignore build constraints that were not yet reserved by the language version recorded by the module?

@cznic Thanks, updated issue title.
@jimmyfrasche I worry that relying on that is likely to increase confusion rather than decrease it.


add ttl to TOTP

Add a convenience method to know the ttl of the current token

Hi! Thanks for your PR. Your changes look reasonable, and I can see cases where they could be used. Merging to master :)
As some other ongoing PRs have breaking change, and I don't want to publish a lot of versions on a single day, I am probably going to publish it later today/in a few days, once they are all resolved

Codecov Report

Merging #24 (40196c5) into master (181d17e) will decrease coverage by 0.93%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
- Coverage   93.58%   92.64%   -0.94%
==========================================
  Files           1        1
  Lines         296      299       +3
==========================================
  Hits          277      277
- Misses         19       22       +3

Impacted Files
Coverage Δ

src/lib.rs
92.64% <0.00%> (-0.94%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Upgrade WebRTC and project tools to Visual Studio 2017

This work is tracked in https://github.com/CatalystCode/3dtoolkit/tree/enhancement/webrtc-m62. The WebRTC patch is ready but we are unable to test the HoloLens client until we upgrade the UWP side to M62 as well. This is tracked in #194


EMR AutoScaling Complex Validation and Introduction of an ignore validator type

This is my attempt to help button up #736. This should incorporate @alexwen's code with the addition of a validate method to perform the more complex AdjustmentType and ScalingAdjustment validations that @markpeek requested in the original PR.
This PR also introduces an ignore method in validators.py that is implemented to "bypass" (for lack of a better term) so the simple property validation is "skipped' and the new validate method in emr.py is used.
The reasoning for the ignore method is that the ScalingAdjustment property in SimpleScalingPolicyConfiguration will actually take different types depending on the value of  AdjustmentType.
As a result, we need to skip the initial checking in favor of the more complex validation.
Old:
    props = {
        'AdjustmentType': (basestring, False),
        'CoolDown': (positive_integer, False),
        'ScalingAdjustment': (integer, True),
    }

New:
class SimpleScalingPolicyConfiguration(AWSProperty):
    props = {
        'AdjustmentType': (basestring, False),
        'CoolDown': (positive_integer, False),
        'ScalingAdjustment': (ignore, True),
    }

@bmurtagh I made a few tweaks if you want to verify. Thanks.

👀... if that's what you refer to as a few, I'd hate to see a PR where you claim a lot of tweaks 😎
+1 from me

Thanks @bmurtagh and @alexwen.


[BUG] Recently updated dependency Elastic.Transport 0.4.18 break the use of ElasticsearchSinkOptions

ECS integration/library project(s) (e.g. Elastic.CommonSchema.Serilog): Elastic.Serilog.Sinks
ECS schema version (e.g. 1.4.0): 8.6.1
ECS .NET assembly version (e.g. 1.4.2): 8.6.1
Elasticsearch version (if applicable):
.NET framework / OS: .NET 6
Description of the problem, including expected versus actual behavior:
The new Elastic.Transport version introduce the ITransport Interface (https://github.com/elastic/elasticsearch-net/pull/8061)
Doing "new ElasticsearchSinkOptions(ITransport)" cause the error CS7069	Reference to type 'HttpTransport' claims it is defined in 'Elastic.Transport', but it could not be found

Works with Elastic.Clients.Elasticsearch 8.12.0, the error was introduce when updating to 8.12.1

I have this same issue.

Thank you for raising this @GuillaumeBau we're addressing this here first:
https://github.com/elastic/elastic-ingest-dotnet/pull/47
And will shortly after update all references for the ecs-dotnet libraries as well.

This has been addressed here: https://github.com/elastic/ecs-dotnet/pull/364


Migrate jest-haste-map to jest-worker

Move all the jest-haste-map logic from worker-farm to jest-worker. Tests also needed some updates (mostly because mocking is a bit different now).
The best thing is that Flow types can now be shared! So the parent file imports the type of the callback, and uses it for typing the interface that the worker exposes.
No more callbacks, no more Promise wrapping... feels good 😄

CI has a weird dependency resolution failure

Yeah, all build fails because I don't know which version should I code for jest-worker in package.json. Is it OK if I just put the beta? We should probably wait for #4798 to get merged + released.

I published the latest jest-worker as 21.2.1, which is the latest public Jest version.

I love it, it's dropping almost 100 lines of code. Mind answering my questions inline? I apologize if some of the questions may not be very smart, I'm mostly looking to understand so that we can make sure the functionality and stability is the same with this compared to worker-farm.

Shipit.

Fixed! :) I will wait for all builds to get green and then we'll ship.


Notification Alert for both UP and Down continuously

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Hi Team,
I required alert or some action need to trigger on continuously my metrics. Is it possible ! Can I write custom notification method !!
Regards, Pranav
🐻 Uptime-Kuma Version
1.10.0
💻 Operating System and Arch
Ubuntu 22
🌐 Browser
Google Chrome
🐋 Docker Version
No response
🟩 NodeJS Version
No response

We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.

comment

We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.

comment!

@Pranav-Lakhani
I don't understand what you are referring to. Could you please translate what you meant using deepl.com?
(your post probably got no coverage because it is not clear what you mean)
I think you are asking if arbitrary code can be executed on-notifcation.
Currently, downtimes can trigger the webhook notification, which another can handle as you need.
I don't know what you mean by trigger on continuously my metrics.

@m-primo This comment was closed because it is a help issue.
Probably these issues should be discussions instead, but that is a decision that only Louis can make ^^
feature-request and bug will not be auto-closed


How to handle model consisting of multiple records?

I want to rollback all records in the model.
export default Ember.Route.extend(DataRoute, {
    model() {
        ...
        return this.store.peekAll('affiliate');

When leaving the route:
TypeError: model.rollbackAttributes is not a function

@ktrhn I'm thinking something like this (modification of the default route code):
const { get } = Ember;

export default Ember.Route.extend({
  resetController() {
    let affiliates = get(this, 'controller.model');

    affiliates.forEach(function(affiliate) {
      if (!get(affiliate, 'isDeleted')) {
        affiliate.rollbackAttributes();
      }
    });
  }
});

I've got a similar issue, when i was updating a relationship record, the confirm message was not popping when i was in transition. I then use an observer on my relationship and when it was triggered, i used
this.get('model').send('becomeDirty');
So my model now has dirty attributes and the transition confirm function is called

I'm curious to know about the app architecture. How are you isolating a single record for editing in that route if the model is a collection or records?

My app is based on a rest api so the model was the record that i was editing. When i was adding someone to a task, I used this command to set it dirty and give my alert message if i didn't saved the task with the newly assigned person.

Well my solution wasn't the best. I did some research and I found this repository ember-managed-relationships. It help me to set my model dirty when I edit a relationship record. I had to change the data-route code to this:
import Ember from 'ember';

export default Ember.Mixin.create({

  resetController() {
    let model =  this.get('controller.model');

    if (!model.get('isDeleted')) {
      model.rollback();
    }
  },

  actions: {
    willTransition(transition) {
      let model = this.get('controller.model');

      if (model.get('isDirty') && !this.willTransitionConfirm(transition)) {
        transition.abort();
      }
    }
  },

  willTransitionConfirm() {
    return true;
  }
});

It work well, I have my alert message when I add a tags to a comment and I get a transition without saving.

I also need to be able to rollback multiple records. I have a table of users, and I want to rollback all the changes made in the table, if save is not clicked.

well I guess you can rewrite the method to suits your need, by simply check if the users model isDirty and rollback if it is or you can use the fix I used if there is a relationship between your model

@vigpatrick couldn't we just submit a PR where it checks if it is an array, and if so does your suggestion, otherwise it does what this addon does now?


F# style guide: more examples (vanity alignment)

Summary
As a follow-up to https://github.com/dotnet/docs/issues/21487
and https://github.com/dotnet/docs/pull/21690 we can put more
examples here.
Completes #21487

(force-push closed the PR automatically, and seems github doesn't let me reopen it... so I'll open a new PR)


Increase performance up to 15000%

The basic idea is to use an array of characters instead of string processing.
Benchmark
For test I took the current css-file from gitlab.com: https://assets-cdn.github.com/assets/github-a15e59d993eb0844d736a04652f63d465d909127e84cf7cd27073076df530f05.css
$source = file_get_contents('https://assets-cdn.github.com/assets/github-a15e59d993eb0844d736a04652f63d465d909127e84cf7cd27073076df530f05.css');
$time = microtime(true);
$parser = new Sabberworm\CSS\Parser($source);
$css = $parser->parse();
var_dump(microtime(true) - $time);

On the my machine I received the following results:
before float(180.93577218056)
after float(1.1720938682556)

Why 150000000% while you’re at it…
Just kidding. Great work, thanks a lot!


Use dom-indexed types

This appears to work correctly (pending a dom-indexed release, obviously).

 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.