UPDATE Qt-Advanced-Docking-System to v3.7.2

Describe the pull request

What does your PR fix?

UPDATE Qt-Advanced-Docking-System to v3.7.2

Which triplets are supported/not supported? Have you updated the CI baseline?

x64-windows, No

Does your PR follow the maintainer guide?
IDN

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

vcpkg x-add-version done
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

Thanks for your contributor.
Please sign CLA first.

CLA signed

LGTM.

Thanks for the update!


Implement basic authentication for sta connections

Codecov Report

Merging #22 (488d526) into master (a63f181) will decrease coverage by 1.85%.
The diff coverage is 80.76%.

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
- Coverage   96.65%   94.79%   -1.86%
==========================================
  Files          28       28
  Lines         926      942      +16
  Branches      167      171       +4
==========================================
- Hits          895      893       -2
- Misses         19       29      +10
- Partials       12       20       +8

Impacted Files
Coverage Δ

stapy/cli/parser.py
98.55% <66.66%> (-1.45%)
:arrow_down:

stapy/sta/delete.py
94.59% <71.42%> (-5.41%)
:arrow_down:

stapy/common/config.py
92.10% <80.00%> (-7.90%)
:arrow_down:

stapy/sta/query.py
92.52% <81.81%> (-4.54%)
:arrow_down:

stapy/sta/abstract_request.py
93.33% <86.66%> (-4.35%)
:arrow_down:

stapy/__init__.py
100.00% <100.00%> (ø)

stapy/sta/post.py
100.00% <100.00%> (ø)

stapy/version.py
100.00% <100.00%> (ø)

... and 1 more

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 a63f181...488d526. Read the comment docs.


Edit Table Properties

This is already a very nice tool. Are you also planning to add a feature that will allow the table query properties to be edited (or at least displayed) ? Especially when the query that returns the table content is not a view but SQL code it would be nice to be able to edit that.
"partitions": [
{
"name": "xxxxx",
"source": {
"query": [
"SELECT",
"    column1 AS [A]",
"   ,column2 AS [B]",
"   ,column3 AS [C]",
"FROM",
"    [schema].[table]",
],

Hi @moonsjine
Glad you like the tool :-)
Viewing/editing partition properties is already possible. If you select a table in the Explorer Tree, you should see that there is a "Partitions" property. Clicking the ellipsis button (see picture below), will open a new window where you can view each partition, as well as edit the source query.

Closing this issue, but feel free to reopen or create a new issue if you have any further questions.


Create migration walkthrough

@BHeisel Please confirm all passwords/tokens, etc.  are useless, but it would be better to use generics, rather than old/outdated security data.  (e.g. YOUR_IRONMQ_TOKEN)

@jim-phillips The IronMQ credentials weren't valid. Good point though and I updated the KB

@jim-phillips Audited all the migration KBs and changed all references to generic entries


GET /meta/oci/{resource}?cloudCredentialId=xxxxxx does not retrieve the OCI passphrase as part of the response

Fixes GET /meta/oci/{resource}?cloudCredentialId=xxxxxx does not retrieve the OCI passphrase as part of the response
Refer https://github.com/rancher/rancher/issues/41957
Issue:

Problem

Solution

Testing

Engineering Testing
Manual Testing

Automated Testing

QA Testing Considerations

Regressions Considerations

Can you also add the region to this . Today we add region to the creds as well

Done - added missing region


Feature Request - Incomplete restore

Hi Muallim
Is there any way to restore my backups to the some point. As I came from Oracle and SQL Server I will try to explain with their feature.
Say in Oracle we have Point in Time Recovery. We can say restore my database to this point. Or in SQL Server we are taking Transnational Backups, and we can restore all of them or few of them.
Can we implement same in autoxtrabackup? Say if I took Full + 5 INC backups and I want to restore FULL + 3 INC.  Even better if we can choose TAG to which we want to restore.

Hi,
Even you can do the incomplete restore we can not  name it as PITR(point-in-time-recovery).
This is because:

You took 1 full + 3 incrementals at 14:00.
The crash happened at 15:00.
You have restored from backup.
Now you have to apply binary log entries to go to crash point(for this 1 hour interval).
XtraBackup itself do not copy binary logs to backup folder, because it is on user to keep binary logs or not. XB's duty is to backup tables. The reason I don't want to copy binary logs, is that the logs can be in huge amount of size and it will affect the tool's overall performance. So to be clear, applying binary logs should be done by user.

But I can implement those things from here:

To prepare/recovery up to given number of increments.
To prepare/recovery up to given TAG.

Are you okay with this?

Yes Muallim. I have mentioned PITR to better explain my point. This all about what you have pointed to. Restoring by TAG will be awesome feature.

It is really cool feature, thanks for this request.
I will implement this for 1.5.0 version of autoxtrabackup.

What do you want to do?
1. Prepare Backups and keep for future usage. NOTE('Once Prepared Backups Can not be prepared Again')
2. Prepare Backups and restore/recover/copy-back immediately
3.  UNIV_DEBUG switched on !!!!!!!!!
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Memory barrier is not used
InnoDB: Compressed tables use zlib 1.2.7
InnoDB: Using CPU crc32 instructions
InnoDB: Initializing buffer pool, size = 100.0M
InnoDB: Completed initialization of buffer pool
InnoDB: Highest supported file format is Barracuda.
InnoDB: Log scan progressed past the checkpoint lsn 58447684
InnoDB: Database was not shutdown normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages
InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 58447716 (0%)
InnoDB: 128 rollback segment(s) are active.
InnoDB: Waiting for purge to start
InnoDB: 5.6.24 started; log sequence number 58447716
xtrabackup: Last MySQL binlog file position 191, file name mysql-bin.000007

xtrabackup: starting shutdown with innodb_fast_shutdown = 1
InnoDB: FTS optimize thread exiting.
InnoDB: Starting shutdown...
InnoDB: Shutdown completed; log sequence number 58450404
InnoDB: The universal page size of the database is set to 4096.
xtrabackup: using the following InnoDB configuration for recovery:
xtrabackup:   innodb_data_home_dir = ./
xtrabackup:   innodb_data_file_path = ibdata1:12M:autoextend
xtrabackup:   innodb_log_group_home_dir = ./
xtrabackup:   innodb_log_files_in_group = 2
xtrabackup:   innodb_log_file_size =<PHONE_NUMBER>
InnoDB: Using atomics to ref count buffer pool pages
2017-11-09 21:43:18 7f8d41617840 InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Memory barrier is not used
InnoDB: Compressed tables use zlib 1.2.7
InnoDB: Using CPU crc32 instructions
InnoDB: Initializing buffer pool, size = 100.0M
InnoDB: Completed initialization of buffer pool
InnoDB: Setting log file ./ib_logfile101 size to 1024 MB
InnoDB: Progress in MB: 100 200 300 400 500 600 700<PHONE_NUMBER>
InnoDB: Setting log file ./ib_logfile1 size to 1024 MB
InnoDB: Progress in MB: 100 200 300 400 500 600 700<PHONE_NUMBER>
InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
InnoDB: New log files created, LSN=58450404
InnoDB: Highest supported file format is Barracuda.
InnoDB: 128 rollback segment(s) are active.
InnoDB: Waiting for purge to start
InnoDB: 5.6.24 started; log sequence number 58450444
xtrabackup: starting shutdown with innodb_fast_shutdown = 1
InnoDB: FTS optimize thread exiting.
InnoDB: Starting shutdown...

Result: FAILED

$ autoxtrabackup --tag='This 1 INC backup' --defaults_file=/home/shahriyar.rzaev/XB_TEST/server_dir/xb_2_3_ps_5_6.conf -lf /home/shahriyar.rzaev/autoxtrabackup2.log --prepare -v -l DEBUG

2017-11-09 22:25:25 ERROR    FAILED: Incremental BACKUP prepare
2017-11-09 22:25:25 ERROR    /home/shahriyar.rzaev/XB_TEST/server_dir/target/percona-xtrabackup-2.3.x-debug/bin/xtrabackup version 2.3.8 based on MySQL server 5.6.24 Linux (x86_64) (revision id: )
incremental backup from 58447776 is enabled.
xtrabackup: cd to /home/shahriyar.rzaev/XB_TEST/backup_dir/ps_5_6_x_2_3/full/2017-11-09_22-11-03/
xtrabackup: This target seems to be already prepared.

But to be honest could not find the reason:
Full backup prepared with:
2017-11-09 22:24:26 DEBUG    Running prepare command -> /home/shahriyar.rzaev/XB_TEST/server_dir/target/percona-xtrabackup-2.3.x-debug/bin/xtrabackup --prepare --apply-log-only --target-dir=/home/shahriyar.rzaev/XB_TEST/backup_dir/ps_5_6_x_2_3/full/2017-11-09_22-11-03 --no-version-check --core-file

Incremental prepared with:
2017-11-09 22:24:41 DEBUG    Running prepare command -> /home/shahriyar.rzaev/XB_TEST/server_dir/target/percona-xtrabackup-2.3.x-debug/bin/xtrabackup --prepare --target-dir=/home/shahriyar.rzaev/XB_TEST/backup_dir/ps_5_6_x_2_3/full/2017-11-09_22-11-03 --incremental-dir=/home/shahriyar.rzaev/XB_TEST/backup_dir/ps_5_6_x_2_3/inc/2017-11-09_22-11-37 --no-version-check --core-file
2017-11-09 22:25:23 DEBUG    /home/shahriyar.rzaev/XB_TEST/server_dir/target/percona-xtrabackup-2.3.x-debug/bin/xtrabackup version 2.3.8 based on MySQL server 5.6.24 Linux (x86_64) (revision id: )
incremental backup from 58447769 is enabled.
xtrabackup: cd to /home/shahriyar.rzaev/XB_TEST/backup_dir/ps_5_6_x_2_3/full/2017-11-09_22-11-03/
xtrabackup: This target seems to be already prepared with --apply-log-only.
xtrabackup: xtrabackup_logfile detected: size=2097152, start_lsn=(58447769)
InnoDB: The universal page size of the database is set to 4096.

So they are seems to be valid.

Passing 2nd Incremental tag and and 3rd as well succeeded.

So related to this feature I have implemented to prepare until given tag name.
The --tag option is universal here in term of:

If it is passed with --backup option it will create given backup tag
If it is passed with --prepare option will search given tag name from backup tags and prepare until this tag name, included.

This is wonderful thing actually.
But I have discussed with other world community members and decided not to implement:

To prepare/recovery up to given number of increments.

Because could not find practical usage if there are no tags. In other words, getting backup with tags and preparing with tags is sufficient at this moment.

Implemented.
Closing.


Update change-address-contact-and-more.md

Changed steps for Changing Alternate email address.

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/3537

@cmcatee-MSFT Please merge this PR. Thanks


Start building solution without VS

What does the pull request do?
Start building solution without VS
What is the current behavior?
In order to build a solution using Nuke, we need a pre-installed msbuild from VS
What is the updated/expected behavior with this PR?
Use msbuild from dotnet sdk
How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Breaking changes

Fixed issues

MSBuild from .NET Core can't build Xamarin projects

MSBuild from .NET Core can't build Xamarin projects

😒 https://stackoverflow.com/questions/62211169/building-xamarin-android-app-on-windows-no-visual-studio-build-agent-setup#comment110034053_62211169

Then it seems to me that it should be postponed


Rename record to map

It may be worth doing this to avoid confusion with Erlang records

Should still have a record type then though.  The standard ML 'record' definition is often internally implemented near identically to how Erlang Records are (I.E. a tagged tuple), which has very nice performance benefits compared to Elixir structs (which are just maps internally).  If anything a 'record' should be implemented as a tagged tuple and a row-typed record (known as an object in OCaml) should be implemented internally as a map, same as Elixir Structs.
I do not like the name of 'struct' for that though, not even in Elixir, as struct implies something hardcoded in size, which Elixir structs are not, unlike tagged tuples.

I'm not a big fan of the name struct for the same reasons.
I'd like to use similar language to Elixir and Erlang where possible, and my records/structs/whatever are implemented using maps so we can have polymorphic functions that accept any with a field of name X with value type Y.
An enum with a single variant is effectively a record, though it doesn't have the nice named field access.
I don't like the name object so much as I think people might confuse it for objects that have classes in an OOP setting.

I don't like the name object so much as I think people might confuse it for objects that have classes in an OOP setting.

Ditto, a row-typed record 'is' still a record, just with named data instead of positional data, slightly slower but more flexible (like the record/struct distinction in elixir).  But for OCaml it is what it is...

and my records/structs/whatever are implemented using maps so we can have polymorphic functions that accept any with a field of name X with value type Y.

So your records are already row-typed records?  You really should support standard positional records as they do have a noticeable speed improvement in certain situations as well as are more reliably matched.

An enum with a single variant is effectively a record, though it doesn't have the nice named field access.

Except it also strongly types the data as well.  This is a super common pattern in OCaml:
type stack_ptr = StackPtr of integer

type heap_ptr = HeapPtr of integer

And you don't have to worry about passing the wrong type to the wrong section, and yet it still internally compiles it to a raw integer, it effectively strongly types the wrapped type but still lowers it to that at compile time for efficiency reasons (OCaml is roughly C speed in execution, within a factor or so), it might even be a useful optimization on the beam.

a row-typed record 'is' still a record, just with named data instead of positional data

Agree, but I really want to avoid confusion with Erlang records. Besides the names listed above do we have any other options?

And you don't have to worry about passing the wrong type to the wrong section, and yet it still internally compiles it to a raw integer, it effectively strongly types the wrapped type but still lowers it to that at compile time for efficiency reasons (OCaml is roughly C speed in execution, within a factor or so), it might even be a useful optimization on the beam.

I think this optimisation is worth having, but I am planning to make it a different syntax than just an enum with a single variant, much like Haskell does with newtype. My reasoning is that I want the runtime representation of data structures to be very predictable so that Erlang/Elixir users can call Gleam functions easily. I don't think having a special case for a single constructor fits well with this goal.

I don't think having a special case for a single constructor fits well with this goal.

I agree, OCaml only did it that way because it tries to minimize syntactical overhead, but sometimes adding in more is great for clarity.  :-)

Just a passing idea, an unpacked strongly typed head:
type blah = Blah of int

Could compile down to just an integer, where:
type blah =
| Blah of int

(* or, same declaration *)

type blah = | Blah of int

Compile down to (in Elixir format) {:Blah, 42} or so.

I dig it! I think this is where we will go :)


Two fixes for zero allocation logging

Do not use non-POD type for TLS. This is for Issue #213.
Use GNU's __thread if it's available. On my linux box, cmake
wrongly thinks attribute((thread)), which is for Cygwin,
is available.

Your PR seems to leak memory. I have a working patch for the related issues which does not allocate dynamic memory. I however need to fix the tests.

IMO not freeing heap-allocated memory is fine as long as it can be accessible via a global pointer. Tools like valgrind should categorize this as "still reachable" not a leak. I agree it'd be nicer we can get rid of it though. I'm looking forward to your patch, thanks!
$ cat still_reachable.cc
__thread int* global;
int main() {
global = new int();
}
$ g++ still_reachable.cc
$ valgrind --leak-check=full ./a.out
...
==137829== HEAP SUMMARY:
==137829==     in use at exit: 4 bytes in 1 blocks
==137829==   total heap usage: 1 allocs, 0 frees, 4 bytes allocated
==137829==
==137829== LEAK SUMMARY:
==137829==    definitely lost: 0 bytes in 0 blocks
==137829==    indirectly lost: 0 bytes in 0 blocks
==137829==      possibly lost: 0 bytes in 0 blocks
==137829==    still reachable: 4 bytes in 1 blocks
==137829==         suppressed: 0 bytes in 0 blocks

What if your glog client application create and destroy 1000 threads (because it is supposed to work continuously for 2 years and is creating 3 threads per day for various tasks) ?  At some point of time your pull request will bring a trouble(sooner or later) and not freeing heap allocated memory in C++ is real issue for every application.

Added #226.


Integration not found

Dear.
Since HA version 2021.6.0 the component doesen't work anymore.
I get this message:
Platform error sensor.niu - Integration 'niu' not found.
I've tried to reinstall it but nothing.
This situation stops HA from restarting or updating.
Thanks
Andrea

See my pull request since version 2021.6 is for a custom component a version number required.
In the meantime to get working again change the manifest.json
and add to the bottom: "version": "0.0.1"
See also here: https://github.com/marcelwestrahome/home-assistant-niu-component/pull/11/files

It now works.
Thanks!
Andrea
Il giorno sab 5 giu 2021 alle ore 13:55 robbinonline <
@.***> ha scritto:

See my pull request since version 2021.6 is for a custom component a
version number required.
In the meantime to get working again change the manifest.json
and add to the bottom: "version": "0.0.1"
See also here:
https://github.com/marcelwestrahome/home-assistant-niu-component/pull/11/files
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/marcelwestrahome/home-assistant-niu-component/issues/12#issuecomment-855229289,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIOA75BD6CTHAGGVKZL5743TRIGEBANCNFSM46EM5SFQ
.

solved


Added better icons

It's a wall that is being built. It has got the colors of the scriptCS logo. The bricks could also represent the tasks run by the task runner - the blue one is active.

Related to #193

@bitbonk thanks for raising this, but it's a huge departure from the current branding so I'm going to decline in this instance.
If we are to change the branding in the future than it should be an evolution of what we currently have. Of course, it's best for this to be community driven and new ideas are always welcome but it's important to propose them for consideration before spending too much time on any artwork. A PR is, of course, one way to do that, but I'd hate for anyone to spend too much time on something which isn't going to be used.


Using trained model to predict future prices.

I have a trained a model on the 'AAPL' stock. I backtested it and was happy with its results. I now want to try to predict future prices. Is there a way to do this using the model that I trained?

Have a look at .ipynb files in the "notebooks" directory, you'd figure out how to train a model and use the trained model for prediction.

What you mean by "predict future prices"?  RL may provide buying/selling actions.

Sorry, I wrongly phrased my question. The correct phrasing: How to make the model generate a buy or sell action for the next day?

the lib just let you make a decision on the current condition!

In RL, the trading agent output an action at the "current" state, which can taking past information into account (say 10 time slots of the past).  So, "the action for the next day" is the agent's output at the next day.

@Aryagm Have you got the answer you want?

@chenliqiang1982  The discussion was quite clear, based on the context.  "RL cannot generate actions for a future time".  We should close this issue since it is kinda users' obligation to know the "very" basics.

Yes, thank you for your help everyone!


Rewrite ambiguous text for ILB deployment

[Enter feedback here]

For App Service Environment with an internal load balancer deployment, it's not clear if the VIP is the endpoint for FTP/S and
if insecure FTP is disallowed, would there still need to be a network rule to allow traffic internally in the case of ILB deployment.

Please rewrite this to make it clear.

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

ID: 89142752-64bc-31c2-9189-aa2c2dcf2997
Version Independent ID: 4ef63a3f-beca-e562-5e69-3cc931bd1022
Content: Networking considerations - Azure App Service Environment
Content Source: articles/app-service/environment/network-info.md
Service: app-service
GitHub Login: @madsd
Microsoft Alias: madsd

@maloyaxa Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Hi @maloyaxa

Can you please suggest how/where you would make changes to make it clearer. Not sure I understand what other endpoint it could be.
Port 21 is also used for internal health checks, but the rule can be defined with a source of LoadBalancer only. This is already described in the Network security group section.

Closing for now. Please reopen when you have time to engage. #please-close


Simplify Login popup

This simplifies the login modal and focuses the user on one thing, logging in.

Removed the contract address
Removed 'register' button
Used correct string to display user message that they don't own the domain
Informs the user if their wallet is connected to the wrong network using existing strings.

Closes #33

@ilanolkies I added the functionality when hitting enter to submit the form. I also added a spinner as the authentication process sometimes takes a half a second. Finally, no metamask redirects to the setup page.


Intermittent Timeout Issues

Just got sixpack up and running, but I'm seeing 50% - 75% of participate requests timeout in production. Here is the error I'm seeing on the client side:
Error: request timed out at http://cssmenumaker.dev/sites/all/themes/cssmenu/js/sixpack.js?o6pqly:171:29

Line 171 of the javascript client looks like this:
    var _request = function(uri, params, timeout, callback) {
        var timed_out = false;
        var timeout_handle = setTimeout(function () {
            timed_out = true;
            return callback(new Error("request timed out"));
        }, timeout); // <--- Line 171

I've been trying to isolate the problem with either the client or the server, but results or so sporadic it's difficult to pin down.
Server
EC2 t2.micro instance on AWS. CPU levels never seem to spike so I don't think i'm taxing the server too much.  My production website does receive 10,000+ visitors a day so the participate endpoint is definitely getting pinged every second or so.
Here is the participate endpoint:
http://<IP_ADDRESS>:5000/participate?client_id=64935fe6-ac98-4447-a26f-4840c6956eb0&experiment=homepage-layout&alternatives=original&alternatives=variation

Client
I'm using the Sixpack javascript client.
Python Setup
I'm not that familiar with Python, but this is how I called my scripts to run in the background:
sudo SIXPACK_CONFIG=~/sixpack.yml sixpack &
sudo SIXPACK_CONFIG=~/sixpack.yml sixpack-web &

The docs mentioned running gunicorn in production. Not sure if this would be related to my timeout issues.

You're definitely going to run into issues is production if you're not running gunicorn. Sixpack as it sits is single threaded.

@zackkitzmiller ok cool. I'll get that setup and see if it solves the problem. Thanks for the quick feedback.

No problem. Let us know if you run into anything else. I'm going to close this for now, but feel free to re-open if you run into more performance issues.

@zackkitzmiller forgive my newbness when it comes to python and gunicorn, but I'm not able to access the server once I run using gunicorn.
I specified the server to run on port 5001, but it looks like gunicorn in running on port 8000. I've tried both with no response.
ubuntu@ip-172-30-2-187:~$ gunicorn --access-logfile - -w 8 --worker-class=gevent sixpack.server:start
[2016-05-05 18:10:47 +0000] [1900] [INFO] Starting gunicorn 19.4.1
[2016-05-05 18:10:47 +0000] [1900] [INFO] Listening at: http://<IP_ADDRESS>:8000 (1900)
[2016-05-05 18:10:47 +0000] [1900] [INFO] Using worker: gevent
[2016-05-05 18:10:47 +0000] [1905] [INFO] Booting worker with pid: 1905
[2016-05-05 18:10:47 +0000] [1907] [INFO] Booting worker with pid: 1907
[2016-05-05 18:10:47 +0000] [1909] [INFO] Booting worker with pid: 1909
[2016-05-05 18:10:48 +0000] [1911] [INFO] Booting worker with pid: 1911
[2016-05-05 18:10:48 +0000] [1913] [INFO] Booting worker with pid: 1913
[2016-05-05 18:10:48 +0000] [1915] [INFO] Booting worker with pid: 1915
[2016-05-05 18:10:48 +0000] [1917] [INFO] Booting worker with pid: 1917
[2016-05-05 18:10:48 +0000] [1919] [INFO] Booting worker with pid: 1919

I've also opened up all these ports on my EC2 box:

Any help would be appreciated.

@zackkitzmiller I've got Gunicorn up and running, but it seems that sixpack-web isn't reading properly from the sixpack-server.
Here is how i'm running both:
gunicorn -b <IP_ADDRESS>:8080 --access-logfile - -w 8 --worker-class=gevent sixpack.server:start &
gunicorn -b <IP_ADDRESS>:8000 --access-logfile - -w 2 --worker-class=gevent sixpack.web:start &

I can ping the server with http://<IP_ADDRESS>:8080/participate?client_id=64935fe6-ac98-4447-a26f-4840c6956eb0&experiment=homepage-layout&alternatives=original&alternatives=variation and I get the proper response back.
But, when I try to visit sixpack web at http://<IP_ADDRESS>:8000/ I get this:

Obviously there is any issue with loading the static CSS files, but it also should be showing experiment data, which it doesn't seem to be recognizing
Do I need to be passing the sixpack.yml config file in someway? Thats the only thing I see missing at the moment.


How to support on-board execution？

At present, the test framework or case is executed on the simulator. I wonder if it can support the execution on the board? （Such as executed on Linux operating system）

You can execute the tests on a board - so on actual hardware. For each test scenario you will need to program the board with the actual test, execute it and somehow get the results back to the host (maybe via UART) to compare against the references.

Can anyone who has actually run compliance tests on hardware (including an
FPGA implementation) speak up and show how you did it?
This would be a good case study. The lack of any response would also be an
interesting, and negative, case study.
On Tue, Aug 4, 2020 at 6:36 AM Stephan<EMAIL_ADDRESS>wrote:

You can execute the tests on a board - so on actual hardware. For each
test scenario you will need to program the board with the actual test,
execute it and somehow get the results back to the host (maybe via UART) to
compare against the references.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-compliance/issues/115#issuecomment-668600921,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJSR2B6GBJMIPEJANXDR7AFGBANCNFSM4NTJ35PA
.

I have been reminded that there was a competition about 18 months ago where multiple FPGA prototypes were designed and passed compliance. see https://riscv.org/2018/12/risc-v-softcpu-contest-winners-demonstrate-cutting-edge-risc-v-implementations-for-fpgas/

I haven't tried the current framework on FPGAs. However, RISCOF does have a gdb plugin running over spike : https://gitlab.com/incoresemi/riscof-plugins/-/tree/master/gdb
If you don't have debug support on your device then as mentioned by @stnolting you will have define your own mechanism to read out the signature at the end of the test and dump it somewhere on the host system. I hope the device macros like halt would suffice for this.

I haven't tried the current framework on FPGAs. However, RISCOF does have a gdb plugin running over spike : https://gitlab.com/incoresemi/riscof-plugins/-/tree/master/gdb
If you don't have debug support on your device then as mentioned by @stnolting you will have define your own mechanism to read out the signature at the end of the test and dump it somewhere on the host system. I hope the device macros like halt would suffice for this.

I only tried the current framework (riscv-compliance) on FPGAs . It's can be run but need to change code.
I am trying run on FPGAs  based on riscof framework .

A follow up on the request by @allenjbaum on Aug 5, I run compliance tests on my icebreaker board via an usart, testing my riscv implementation (midgetv). See here.

thanks
On Wed, Sep 23, 2020 at 1:54 AM bnossum<EMAIL_ADDRESS>wrote:

A follow up on the request by @allenjbaum https://github.com/allenjbaum
on Aug 5, I run compliance tests on my icebreaker board via an usart,
testing my riscv implementation (midgetv). See here
https://github.com/bnossum/midgetv/blob/master/work/compliance/README.md
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-compliance/issues/115#issuecomment-697229093,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJUGFHK3BAB5K72J6GLSHGZTDANCNFSM4NTJ35PA
.

Can this issue be closed now? Note that riscv-compliance has been renamed riscv-arch-test, so scripts may need to be updated to account for that. Tests still assume specific architectural options for some tests (e.g. c-extension and misaligned handling) which will be resolved in the next fversion of the framework.

I was wondering if there was a more structured way to get the test cases than regexes. Would be useful to be able to extract the comments above the test cases like for example here [0] into a csv file (pre/post conditions) to be able to more easily use them in custom test suites or runners. The yaml used to generate those is fairly complex and high level. Would also be nice to include the actual instruction being tested in hex format.

[0] https://github.com/riscv/riscv-arch-test/blob/master/riscv-test-suite/rv32i_m/I/src/add-01.S#L51

is it support for u74 unmatched board

In theory, yes.
Whoever is performing the tests need to implement the model-specific macro
support, as defined in the architectural tests spec
(any macro prefixed with MODELTEST_ string) but basically,

the ability to download ELF formatted tests into onboard memory
the ability to start tests running at the start address in those ELF
files
the ability to recognize when the board tells you that the test is
complete (generally an MMIO write to a specific address)
the ability to dump a specific area of memory into a text file in a
simple hex format
There is a note in issue #115 where someone has demonstrated it running on
real hardware
(as opposed to a RTL model) so it can be done, but you'll need to ask
someone at SiFive if they've actually done that work,.

On Wed, Apr 6, 2022 at 12:27 AM indumathiraju @.***>
wrote:

is it support for u74 unmatched board
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/115#issuecomment-1089919762,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJUJHSQWITFILU2IM23VDU4HHANCNFSM4NTJ35PA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I am probably the "someone" that demonstrated it running on real hardware. I just want to point out that my testing was done 18 months ago, and the macros of the testsuite has been changed since then. The principle is, however, still sound.

I didn't think required model specific macros have changed at all.
Optional macros (signature updates, for sure) have changed, but should be
backward compatible.
But I do agree that the principle is still sound.
Thanks for chiming in.
If you have any documentation about how you did that could share, we'll add
it to the repo.
On Thu, Apr 7, 2022 at 8:27 AM bnossum @.***> wrote:

I am probably the "someone" that demonstrated it running on real hardware.
I just want to point out that my testing was done 18 months ago, and the
macros of the testsuite has been changed since then. The principle is,
however, still sound.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/115#issuecomment-1091878641,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJV6RUCIB3HMHDLVCATVD35GJANCNFSM4NTJ35PA
.
You are receiving this because you were mentioned.Message ID:
@.***>

As I believe this question has been answered, I'm closing this issue. If the answers are not satisfactory, reopen.

The test suite is really ment to test against the ISA prior to tape out.
If you are testing after that and find a bug/problem in the chip...  Not
good
On Wed, Apr 6, 2022 at 11:07 AM Allen Baum @.***> wrote:

In theory, yes.
Whoever is performing the tests need to implement the model-specific macro
support, as defined in the architectural tests spec
(any macro prefixed with MODELTEST_ string) but basically,

the ability to download ELF formatted tests into onboard memory
the ability to start tests running at the start address in those ELF
files
the ability to recognize when the board tells you that the test is
complete (generally an MMIO write to a specific address)
the ability to dump a specific area of memory into a text file in a
simple hex format
There is a note in issue #115 where someone has demonstrated it running on
real hardware
(as opposed to a RTL model) so it can be done, but you'll need to ask
someone at SiFive if they've actually done that work,.

On Wed, Apr 6, 2022 at 12:27 AM indumathiraju @.***>
wrote:

is it support for u74 unmatched board
—
Reply to this email directly, view it on GitHub
<
https://github.com/riscv-non-isa/riscv-arch-test/issues/115#issuecomment-1089919762
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AHPXVJUJHSQWITFILU2IM23VDU4HHANCNFSM4NTJ35PA
.
You are receiving this because you were mentioned.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/115#issuecomment-1090380932,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD72ZMYT5OSIJGWRR2J56F3VDWSCHANCNFSM4NTJ35PA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
/****************
Marc Karasek
ASM T648
Herder of Cats
****************/

Well yes - it means you haven't done proper DV.
DV is for catching bugs.
Arch-tests are for catching misreadings, misinterpretations, or just plain
ignoring details of the spec
On Tue, Oct 11, 2022 at 1:55 AM Marc Karasek @.***>
wrote:

The test suite is really ment to test against the ISA prior to tape out.
If you are testing after that and find a bug/problem in the chip... Not
good
On Wed, Apr 6, 2022 at 11:07 AM Allen Baum @.***> wrote:

In theory, yes.
Whoever is performing the tests need to implement the model-specific
macro
support, as defined in the architectural tests spec
(any macro prefixed with MODELTEST_ string) but basically,

the ability to download ELF formatted tests into onboard memory
the ability to start tests running at the start address in those ELF
files
the ability to recognize when the board tells you that the test is
complete (generally an MMIO write to a specific address)
the ability to dump a specific area of memory into a text file in a
simple hex format
There is a note in issue #115 where someone has demonstrated it running
on
real hardware
(as opposed to a RTL model) so it can be done, but you'll need to ask
someone at SiFive if they've actually done that work,.

On Wed, Apr 6, 2022 at 12:27 AM indumathiraju @.***>
wrote:

is it support for u74 unmatched board
—
Reply to this email directly, view it on GitHub
<

https://github.com/riscv-non-isa/riscv-arch-test/issues/115#issuecomment-1089919762

,
or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AHPXVJUJHSQWITFILU2IM23VDU4HHANCNFSM4NTJ35PA

.
You are receiving this because you were mentioned.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
<
https://github.com/riscv-non-isa/riscv-arch-test/issues/115#issuecomment-1090380932
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AD72ZMYT5OSIJGWRR2J56F3VDWSCHANCNFSM4NTJ35PA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
/****************
Marc Karasek
ASM T648
Herder of Cats
****************/
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/115#issuecomment-1274343780,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJSHYSTF5FJYRFU2RHTWCUTQZANCNFSM4NTJ35PA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Oh, and a correction to my earlier email, where I said
(any macro prefixed with MODELTEST_ string)
but should have said :
(any macro prefixed with RVMODEL_ string instead of RVTEST_ string)
On Tue, Oct 11, 2022 at 2:10 PM Allen Baum @.***>
wrote:

Well yes - it means you haven't done proper DV.
DV is for catching bugs.
Arch-tests are for catching misreadings, misinterpretations, or just plain
ignoring details of the spec
On Tue, Oct 11, 2022 at 1:55 AM Marc Karasek @.***>
wrote:

The test suite is really ment to test against the ISA prior to tape out.
If you are testing after that and find a bug/problem in the chip... Not
good
On Wed, Apr 6, 2022 at 11:07 AM Allen Baum @.***> wrote:

In theory, yes.
Whoever is performing the tests need to implement the model-specific
macro
support, as defined in the architectural tests spec
(any macro prefixed with MODELTEST_ string) but basically,

the ability to download ELF formatted tests into onboard memory
the ability to start tests running at the start address in those ELF
files
the ability to recognize when the board tells you that the test is
complete (generally an MMIO write to a specific address)
the ability to dump a specific area of memory into a text file in a
simple hex format
There is a note in issue #115 where someone has demonstrated it running
on
real hardware
(as opposed to a RTL model) so it can be done, but you'll need to ask
someone at SiFive if they've actually done that work,.

On Wed, Apr 6, 2022 at 12:27 AM indumathiraju @.***>
wrote:

is it support for u74 unmatched board
—
Reply to this email directly, view it on GitHub
<

https://github.com/riscv-non-isa/riscv-arch-test/issues/115#issuecomment-1089919762

,
or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AHPXVJUJHSQWITFILU2IM23VDU4HHANCNFSM4NTJ35PA

.
You are receiving this because you were mentioned.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
<
https://github.com/riscv-non-isa/riscv-arch-test/issues/115#issuecomment-1090380932
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AD72ZMYT5OSIJGWRR2J56F3VDWSCHANCNFSM4NTJ35PA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
/****************
Marc Karasek
ASM T648
Herder of Cats
****************/
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/115#issuecomment-1274343780,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJSHYSTF5FJYRFU2RHTWCUTQZANCNFSM4NTJ35PA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Reading: Update display for homeroom breakdown tool

Update to https://github.com/studentinsights/studentinsights/pull/2622, aiming at making this easier to parse quickly when debugging.  Internal-only tool.

selfie


Error: Swift_TransportException (530)

Swift_TransportException (530)
Expected response code 250 but got code "530", with message "530 5.7.1 Authentication required "

+1 how to get registration to work correctly?

well, you guys need to add SMTP configuration in your .env files.
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null


the doc about document Type is not valid

In the description of Document entity, the section of documentType is not valide. In the doc there is a type "contractAnnexe" but in the source code, the validation expects to receive "contractAnnexes"
please fix the doc and standards by urls
http://standards.openprocurement.org/document_types/recommended/contract_en.json
http://standards.openprocurement.org/document_types/recommended/contract_uk.json
http://standards.openprocurement.org/document_types/recommended/contract_en.json

Fixed by https://github.com/openprocurement/openprocurement.api/pull/46


fix: Trilogy Driver Options

The trilogy driver does not use keyword arguments in its initializer, which results in an ArgumentError to be raised when an options hash is used instead.
This change rolls back the overridden initializer to accept a hash.

@ericmustin Looks like I should have been a little more careful when I introduced this change:
https://github.com/open-telemetry/opentelemetry-ruby/pull/1063/commits/027cba10fe485308a1efe8765869e4c017e22bca#diff-6ba5c9beb3eb94883042f29a069003cab7f6296395e612e75b0abe00c98abbb3R51


Wrong text position

I'm building an application base on the Intervention image - imagick, this library working well so far. But I have a problem with render text with custom fonts. It seems like it is wrong line-height (I know intervention doesn't have line-height at all). Here is the result

The top left item was rendered by Monsreat (regular) fonts.
The other text was used Parisienne (regular) fonts.

I deeply research to source code of Intervention (Imagick) and found that line

Can someone explain why we have to put: 0.65 / 2 to the center - line 67?
$posy = $posy + $dimensions['textHeight'] * 0.65 / 2;

And do you have any idea how can I correct the position for my text?
Thanks.

Hi @mihnsen,
I was about the raise an issue asking the same question.
In my case, I was planning to create an image and inserting it into the main image. I believe it might fix the issue.
Something like this:
$imagickImage = new \Imagick();
$draw = new \ImagickDraw();
$draw->setGravity(\Imagick::GRAVITY_NORTH);
$draw->setFont($fontSource);

$draw->setFontSize($fontSize);
$draw->setFillColor( 'black');

$info = $imagickImage->queryFontMetrics($draw, 'text');
$imagickImage->newImage((int) $info['textWidth'], (int) $info['textHeight'], 'none');
$imagickImage->annotateImage($draw, 0, 0, 0, 'text');
$imagickImage->setImageFormat('png');

$interventionImage->insert($imagickImage, ...);

I suggest to try this task with Intervention Image 3 which supports line height.


Stargate msg and query

Closes #388

[x] Implement StargateMsgEncoder
[x] Implement StargateQueryHandler
[x] Test message encoder
[x] Test query handler

Thanks. If you could add a follow up pr sometime with submit proposal, that would be great
Now contracts can vote


Missing cookbook dep results in misleading error

Description
Described originally here: https://tickets.opscode.com/browse/CHEF-4694
I can't login to the old site to post comments.
If there is a cookbook pinned in the cookbook_versions section of an environment and that same cookbook does not exist on the Chef Server, then the run fails but with the output below that indicates a 504 error for the API endpoint. A better error would be helpful here, like Cookbook [NAME] does not exist on the Chef Server.
Even better, a nice feature of the knife environment from file ... command would be to fail if there are cookbook constraints for cookbooks that don't exist on the Chef Server. Much like when you do a knife cookbook upload [COOKBOOK] and a dependency of [COOKBOOK] is either not on the Chef Server or not being uploaded.
This resulted from a cookbook name typo in the environment file. When uploaded, there was no indication of a problem. A lot of time was spent troubleshooting this and a more helpful error would be great. Thanks for Chef!!!
Chef Version
Chef 12.7.3
Chef 12.5.1
Chef Server 11
Platform Version
RHEL 6.5
Replication Case
Upload an environment file to Chef Server that includes a version constraint in cookbook_versions for a cookbook that doesn't exist on the Chef Server.
Client Output
Here is the relevant output from the client.log:
[2016-03-11T14:55:20-05:00] ERROR: Server returned error 504 for https://internal-chef.fortis.bose.com/environments/marge-efe-003/cookbook_versions, retrying 1/5 in 4s
[2016-03-11T15:00:24-05:00] ERROR: Server returned error 504 for https://internal-chef.fortis.bose.com/environments/marge-efe-003/cookbook_versions, retrying 2/5 in 6s

This shouldn't happen with any recent Chef Server. 504 is a gateway timeout, meaning the solver didn't fail fast on an unknown artifact name.

Client improvement isn't impossible, but I think we can probably rely on the server error messages given they would have quickly pointed to the issue.

Best the client can do here is return some kind of "solver timeout" error for a 504 on cookbook_versions.  This should really be refiled under http://github.com/chef/chef-server/issues/new

I ran into a very similar issue (504 gateway timeouts) a while ago and I was able to solve this issue by increasing the nginx gateway timeout on my chef server. For instance, I added the following line to /etc/opscode/chef-server.rb:
nginx['proxy_connect_timeout'] = '60s'

60 seconds is probably a bit high (1 second was the default, I believe), but I haven't had any problems with backends consuming too many resources either.


Raspberry overheating with Visualizer

My raspberry is showing overheating icon when Alexa is not even speaking :O Also when she speaks the animation is very slow and does not look very natural :P
Here is picture:

hmm interesting
The slowness is probs due to raspberry pi not powerful enough to use canvas
maybe have an option in the config to enable/disable visualisation
Or not use canvas for visualising

Made a PR which should fix the overheating

And by the way, where did you get the glass for your mirror? The place I want to get it from will cost me around £200

I did the mirror according to this tutorial: http://www.cyber-omelette.com/2016/12/smart-mirror.html
There is no special mirror. There is only normal glass and plastic cover on top of it ;)


Backend API Changes to create, list, rename, replace and delete attachment for raw request (#782,780,779)

support attachment feature for raw request
Add attachment

[x] Service tier to support to add multiple documents
[x] Provide new endpoint to allow adding files
[ ] Unit Testing

Rename attachment

[x] Service tier to support renaming a file by creating new version
[x] Provide new endpoint to allow renaming of file
[ ] Unit Testing

Replace attachment

[x] Service tier to support replacing a file by creating new version
[x] Provide new endpoint to allow replacing of file
[ ] Unit Testing

Delete attachment

[x] Service tier to support deleting of a file by creating new version
[x] Provide new endpoint to allow deleting of file
[ ] Unit Testing

Note on URL format =  http://localhost:15000/api/foidocument/rawrequest/{requestid}
POST http://localhost:15000/api/foidocument/rawrequest/1
Http Body:
{
"documents": [
{
"filename":"doc2.docx",
"documentpath": "/EDU-90909/doc2.docx",
"category": "new"
},
{
"filename":"doc3.docx",
"documentpath": "/EDU-90909/doc3.docx",
"category": "new-doc3"
}
]
}
Response:
{
"message": "Documents created",
"status": true
}

Note on URL format = http://localhost:15000/api/foidocument/rawrequest/{requestid}
GET http://localhost:15000/api/foidocument/rawrequest/1
Response
[{"foidocumentid": 1, "filename": "doc2.docx", "documentpath": "/EDU-90909/doc2.docx", "category": "new", "created_at":
"2021-11-17 00:54:09.390249", "createdby": "sumathi"}]

Note on URL format = http://localhost:15000/api/foidocument/rawrequest/{requestid}/documentid/{documentid}/rename
POST http://localhost:15000/api/foidocument/rawrequest/1/documentid/2/rename
Http Body:
{
"filename":"doc6.docx"
}
Response:
{
"id": 2,
"message": "New Document version created",
"status": true
}

Note on URL format =  http://localhost:15000/api/foidocument/rawrequest/{ministryrequestid}/documentid/{documentid}/replace
POST http://localhost:15000/api/foidocument/rawrequest/1/documentid/1/replace
Http Body:
{
"filename":"doc2.docx",
"documentpath": "/EDU-90909/doc2.docx"
}
Response:
{
"id": 1,
"message": "New Document version created",
"status": true
}

Note on URL format =  http://localhost:15000/api/foidocument/rawrequest/{ministryrequestid}/documentid/{documentid}/delete
POST http://localhost:15000/api/foidocument/rawrequest/1/documentid/1/delete
Response
{
"id": 1,
"message": "New Document version created",
"status": true
}


[API] The user can save invalid parameters as location

Environment:

OS - Windows 10 IoT Enterprise LTSC
Browser - Chrome 130.0.6723.117

Reproducible: always.
Precondition:

The site Space2Study is opened.
The user is logged in
The Postman app is opened
The user's access token is available and added to the Postman headers.

Steps to Reproduce

Choose the PATCH method in Postman.
Add the endpoint {server}/users/{id} in the URL field, replacing {server} with the actual server address and {user_id} with the user's ID.
In the Body tab, select the raw type and set the data format to JSON.
Enter the following test data in the body:
{
"country": "Героям Слава!",
"city": "Slava Ukraini!",
"address": {
"country": "Героям Слава!",
"city": "Slava Ukraini!"
}
}
Send the request.

Actual Result:
Status code 204 No Content is returned.
The user's information is updated successfully in the system, Location contain invalid parameters.

Expected Result:
Status code 400 Bad Request is returned.
The system rejects the update because the test data (Location contain invalid parameters) violates the validation rules for the user's information.
User story -#2693

Planned to be fixed as part of issue ticket #998

The issue has been reopened because this bug is more complex and cannot be resolved merely by adding a validation schema, as suggested in #998. Currently, valid country and city data are fetched only on the client side from an external API.


Should fail if home dir is relative and tilde is used

Currently there's the assumption that the home directory is not relative:
https://github.com/djberg96/win32-xpath/blob/main/ext/win32/xpath.c#L175
However, it doesn't seem to actually work. The test I added for it is failing because the user doesn't actually exist, not because of the relative directory.

Upon further review, what's happening is that the env variables are ignored in the case of a valid  explicit ~user because it's looked up from the registry. It's only in implicit cases where a relative home dir causes an error.


add examples for properties/property definitions

Issues
https://github.com/OpsLevel/team-platform/issues/256
Changelog

[ ] make cli easier to use by adding example on property, property defn input
[ ] Make a changie entry

Tophatting

closing since this isn't practical to use in the CLI when it comes to property defs and assignments.


GIF images lose animation

When using statically.io for .gif images, they lose their animation data.
See:
https://cdn.statically.io/img/noesteijver.nl/f=auto,q=90/wp-content/uploads/2018/07/NoesteIJver-webanimaties-Content.gif

https://noesteijver.nl/wp-content/uploads/2018/07/NoesteIJver-webanimaties-Content.gif

We will add this to our notes and schedule for improvement.

This appears to be fixed, based on URLs provided in OP.

Indeed.


Add "fast modus" to coloredConsoleTarget

@304NotModified This is an initial work on #980 . Just let me know if I'm on the right track.

using this config:
  <target xsi:type="ColoredConsole"
      name="color"
      layout="${longdate}|${level:uppercase=true}|${logger}|${message}"
      fastmodus="true"
      useDefaultRowHighlightingRules="true"
      errorStream="false"/>

Regarding the unit testing, should I include a performance one?
Cheers,

Current coverage is 73.05%

Merging #1046 into master will increase coverage by +0.14% as of e90245b

@@            master   #1046   diff @@
======================================
  Files          263     263
  Stmts        14873   14892    +19
  Branches      1617    1621     +4
  Methods          0       0
======================================
+ Hit          10845   10879    +34
- Partial        416     417     +1
+ Missed        3612    3596    -16

Review entire Coverage Diff as of e90245b

Uncovered Suggestions

+0.08% via ...nternal/AspHelper.cs#206...218
+0.08% via ...nternal/AspHelper.cs#188...200
+0.08% via ...nternal/AspHelper.cs#170...182
See 7 more...

Powered by Codecov. Updated on successful CI builds.

I will look at this in detail this week. Thanks for the PR Daniel!

reviewed :)

Regarding the unit testing, should I include a performance one?

Well I'm curious about the performance improvement. Not sure if an unit test is the best place for it. What do you think?

Thanks for the comments, IO will work on the suggested changes this week.

@304NotModified regarding the performance improvement, we are skipping allt he REGEX/Keyword logic at providing a sub set of the functionality. We just higlight the output but without looking at the content.

Sounds good Daniel!

@304NotModified Let mejnow if you think these needs more work.

Will review it this weekend

We just higlight the output but without looking at the content.

Maybe I seeing it wrong, but:

FastOutput calls FindConsoleRowHighlightingRule
FindConsoleRowHighlightingRule does multiple times if (cr.CheckCondition(logEvent))
CheckCondition is heavy and use the content of a message?

Maybe we should otherwise time it. But I'm not sure this is fast now.

@304NotModified You're right FastOutput calls FindConsoleRowHighlightingRule, we can just stick to the default in the fast modus, and use a dictionary to macth the LOG level to the higlingthing rule, let me know what do you think about this idea.

That sounds like a good proposal @dnlgmzddr !

@dnlgmzddr I took a different angle on this which does not require a "fastModus" setting. It will be faster as long as there are no word-highlight rules. See #1112. What do you think about this?
Did you do any performance tests comparing the runtime with "fastModus=false" vs "fastModus=true"? It would be interesting to compare notes :P

@dnlgmzddr hey! Did you saw the comment of @bhaeussermann ?

This one has been superseded by #1171 and #1112


chore: add json schema validation for v5 config

chore: add json schema validation for v5 config
This PR:

adds json schema validation for the newly migrated v5 dendron configuration.

Pull Request Checklist
Dendron Extended PR Checklist

NOTE: the links don't work. you'll need to go into the wiki and use lookup to find the note until we fix some issues in the markdown export

Code
Basics

[x] code should follow Code Conventions
[x] circular dependency check: make sure your code is not introducing new circular dependencies in plugin-core.  See Avoiding Circular Dependencies.
[x] sticking to existing conventions instead of creating new ones

eg: if configuration for utilities are already in one module or package, add future utilities there as well

Extended

General

[~] check whether code be simplified
[~] check if similar function already exist in the codebase. if so, can it be re-used?
[x] check if this change adversely impact performance

Operations

[x] when shipping this change, will it just work or will it introduce additional operational overhead due to complicated interface or known bugs?

Architecture

[~] check if code is introducing changes on a foundational class or interface. if so, call for design review if needed

eg: making changes to DNode

Instrumentation
Basics

[~] if you are adding analytics related changes, make sure the Telemetry docs are updated

Extended

[~] can we track the performance of this change to know if it is successful?

eg: see usage for export pod

Tests
Basics

[~] Write Tests
[x] Confirm existing tests pass
[x] Confirm manual testing
[~] Common cases tested
[~] 1-2 Edge cases tested
[~] If your tests changes an existing snapshot, snapshots have been updated

Extended

[~] If you are adding a new language feature (graphically visible in VS Code/preview/publishing), an example is included in the test workspace
CSS

[~] display is correct for following dimensions

[~] sm: screen ≥ 576px, eg. iphonex, (375x812)
[~] lg: screen ≥ 992px
[~] xxl: screen ≥ 1600px eg. mac (1600x900)

[~] display is correct for following browsers (across the various dimensions)

[~] safari
[~] firefox
[~] chrome

Docs

[~] if your change reflects documentation changes, also submit a PR to dendron-site and mention the doc PR link in your current PR
[~] does this change introduce a new or better way of doing things that others need to be aware of? if so, an async should be created and a process added in Development or Packages

Close the Loop
Extended

[~]  is this a developer BREAKING change? if another person cloning from this branch will need to adjust their dependencies or mental model of the architecture, then it is. if this is the case, make sure this is communicated according to Close Loop

eg: breaking dev change due to new dependency

will we still have v4 validation after this change or will it only validate v5?

No. It won't. I'll change it so that it recognizes both v4 and v5


Use async functions in the module code and tests

Re: https://github.com/sindresorhus/pageres/pull/212/files#r41089180

@kevva @SamVerschueren Comment here before doing it so we don't have any conflict ;)

I can do this one together with https://github.com/sindresorhus/pageres/issues/186 if you like. Although nyc doesn't appear to work with AVA on my computer :).

Cool. Actually, would be cool to use async function in the code too. What do you think?

Using await/async in the module would be very cool!

:+1:

+11

Implementing this.

It looks like I can't use async/await if the test function has to wait for stream data like this method. https://github.com/sindresorhus/pageres/blob/master/test/test.js#L45-L58
test('generate screenshots', async t => {
	const streams = await new Pageres()
		.src('yeoman.io', ['480x320', '1024x768', 'iphone 5s'])
		.src('todomvc.com', ['1280x1024', '1920x1080'])
		.run();

	t.is(streams.length, 5);
        streams[0].once('data', data => t.true(data.length > 1000));
});

The test that checks for data.length is not executed. Using t.plan or t.end doesn't work as an async/await test will stop immediately at the end of the function.
If you guys know another solution for this, that would be nice. If not, I will create an event-pify library that can be used like this.
test('generate screenshots', async t => {
	const streams = await new Pageres()
		.src('yeoman.io', ['480x320', '1024x768', 'iphone 5s'])
		.src('todomvc.com', ['1280x1024', '1920x1080'])
		.run();

	t.is(streams.length, 5);

	const data = pify(streams[0], 'data', Promise);

	t.true(data.length > 1000);
});

event-pify is probably something you would only use in tests I guess.
Any insights or improvements are more then welcome!

You can just do this:
pify(streams[0].once, Promise)('data');
Might need to do this, not sure:
pify(streams[0].once.bind(stream[0]), Promise)('data');

Awesome! Thanks for pointing this out :).

Oh yes, yesterday I thought I could use pify as well. But the thing is that the first argument of the once method is not an error object but the actual data object. By using pify, it would reject the promise with the data object as error.
So maybe we should create a no-error-pify or something. Or add an option to the current pify module. But don't like spoiling such a nice module with something like this :).
Any ideas?

Ah, good point.
Could always use t.plan:
test('generate screenshots', async t => {
	t.plan(2);

	const streams = await new Pageres()
		.src('yeoman.io', ['480x320', '1024x768', 'iphone 5s'])
		.src('todomvc.com', ['1280x1024', '1920x1080'])
		.run();

	t.is(streams.length, 5);
        streams[0].once('data', data => t.true(data.length > 1000));
});

t.plan doesn't work. If I use t.plan(2) in the example above, it will throw an error
 Assertion count does not match planned

If I use t.plan(1), it works but it will only test for the length of the streams, not the data itself.

t.plan doesn't work. If I use t.plan(2) in the example above, it will throw an error

Sounds like a AVA bug. t.plan() should work in async functions too. Mind opening a ticket?

I guess pify-event or something might make sense here then.

Will open a ticket. In the meantime, will create a pify-event module.

So I created rfpify and it works for .once like this
const data = await rfpify(streams[0].once.bind(streams[0]), Promise)('data');

But it looks quite ugly when I have to use pipe.
await rfpify(streams[0].pipe.bind(streams[0]))(concatStream(data => {
	const size = imageSize(data);
	t.is(size.width, 1024);
	t.is(size.height, 768);
}));

I found concat-stream-promise which seems to work very well.
Downsides:

Not used a lot
No tests

test('support local relative files', async t => {
	const streams = await new Pageres().src('fixture.html', ['1024x768']).run();

	t.is(streams[0].filename, 'fixture.html-1024x768.png');

	const data = await streams[0].pipe(concatStream());

	t.true(data.length > 1000);
});

Just pify the normal concat-stream. I'm not a fan of useless promise wrappers.

I tried to pify the concat-stream library but it didn't seem to work. Will have a look at it again.

Ok, I made a simple module for this: https://github.com/sindresorhus/get-stream

You Sindre... are amazing ;)! Thanks for the module!
One tiny question. Dropping node 0.10 support in your current modules, or only this one? I see you aren't using pinkie-promise. Probably to keep it as minimal as possible.

Still supporting Node 0.10 here. We can just do global.Promise = pinkiePromise at the top of the test file. And yes, did it to stay minimal.

Was just wondering because travis isn't running on 0.10.
But thanks again for the module!

Oh, yeah, then we don't have to do that.

Still have to find a way to pify the pipe and concatStream stuff.
const data = await streams[0].pipe(rfpify(concatStream.bind(concatStream), Promise)());

Restults in Promise rejected → TypeError: dest.on is not a function

Why not use get-stream there? Can you submit the pull request and we can discuss inline? Will also make it easier for me to suggest solutions.

Fixed by https://github.com/sindresorhus/pageres/commit/2acdad9ece48e88fac2624e2c575274e4b475039 and https://github.com/sindresorhus/pageres/commit/38f88d85e59400f9b36a76642d7bf53f6b1dcc07.


Update Machine Learning section in readme

Add semi-supervised learning under categories of machine learning.
Add some applications of for each category and sub fields of machine learning.

oka.


SpotBugs:  redundant null check

Spotbugs is reporting a lot of redundant null check values. The value being used is declared null then checked for not being null.
Example:
https://github.com/Azure/azure-sdk-for-java/blob/master/batch/data-plane/src/main/java/com/microsoft/azure/batch/protocol/implementation/TasksImpl.java#L949
DateTime ocpDate = null;
...
DateTimeRfc1123 ocpDateConverted = null;
if (ocpDate != null) {
    ocpDateConverted = new DateTimeRfc1123(ocpDate);
}

This pattern doesn't appear anymore in newer versions of Autorest.


common: Add test category tags

What this PR changes/adds
Added:

ComponentTest annotation
EndToEndTest annotation

Why it does that
For story #171
Further notes
Moved other annotations to a common annotations package.
Linked Issue(s)
Closes #171
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[ ] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #199 (33fe382) into main (15f0936) will decrease coverage by 3.76%.
The diff coverage is n/a.

:exclamation: Current head 33fe382 differs from pull request most recent head 6cb17cb. Consider uploading reports for the commit 6cb17cb to get more accurate results

@@             Coverage Diff              @@
##               main     #199      +/-   ##
============================================
- Coverage     62.94%   59.18%   -3.77%
+ Complexity     2551     2442     -109
============================================
  Files           635      635
  Lines         13712    13712
  Branches        957      957
============================================
- Hits           8631     8115     -516
- Misses         4639     5197     +558
+ Partials        442      400      -42

Impacted Files
Coverage Δ

...act/observe/ContractNegotiationObservableImpl.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...spatcher/message/MultipartDescriptionResponse.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...description/ArtifactDescriptionRequestHandler.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...her/message/MultipartRequestInProcessResponse.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...cription/DataCatalogDescriptionRequestHandler.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...tcher/sender/MultipartContractRejectionSender.java
0.00% <0.00%> (-90.91%)
:arrow_down:

...ispatcher/sender/MultipartContractOfferSender.java
0.00% <0.00%> (-88.34%)
:arrow_down:

...tcher/sender/MultipartContractAgreementSender.java
0.00% <0.00%> (-81.09%)
:arrow_down:

...api/multipart/IdsMultipartApiServiceExtension.java
0.00% <0.00%> (-80.40%)
:arrow_down:

...atcher/IdsMultipartDispatcherServiceExtension.java
0.00% <0.00%> (-75.61%)
:arrow_down:

... and 20 more

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 15f0936...6cb17cb. Read the comment docs.


Fix: Prevent Visual Studio from stopping when deleting an item

Resolved / Related Issues
In debug, Visual sSudio stops at a Win32Exception necessary to know if the recycle bin can be used. This pr disables Visual Studio stops for this exception.
Validation
How did you test these changes?

[x] Built and ran the app
[ ] Tested the changes for accessibility

How can I reproduce this issue?
Can you tell Visual Studio to ignore it locally? I'm not sure we should add this to the code.

Open Files in Debug mode, select a file, press Delete. Visual Studio stops at a Win32Exception. The code can only raise an exception regardless of the result. It is probably not possible to do otherwise.
It's fine for Visual Studio to break for a Win32Exception, but not this one. Developers shouldn't change the options, just definitely point out not to stop at this exception.

I can't reproduce this
Fyi @d2dyno1

I can reproduce it, do you have the right exceptions activated in Visual Studio?

How can I check?

How can I check?

Visual Studio, Press Ctrl+Alt+E and check if the Win32Exceptions are checked.
In case: https://learn.microsoft.com/en-us/visualstudio/debugger/managing-exceptions-with-the-debugger?view=vs-2022#tell-the-debugger-to-break-when-an-exception-is-thrown

It's checked but it's possible I ignored this specific error.


For SaaS applications, identifier first authenticator is not working for tenanted users when multi-attribute login is enabled

Describe the issue:
Need to validate this scenario whether the identifier first authenticator is supposed to be used in SaaS applications for tenanted users.
How to reproduce:
Create a SaaS application in the super tenant. (You can update MyAccount as well)
Enable multi attribute login from the resident IDP configs.
Edit the authentication configuration as:
step 1 - identifier first
step 2 - any
Now, create a tenant. (eg: abc.com)
Log in to the tenant and create a user in the tenant (kate)
Try to login to the SaaS application using<EMAIL_ADDRESS>Expected behavior:
the tenanted user should be able to proceed to the second step of the authentication sequence.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS-6.0.0, IS-6.1.0-RC1

Duplicate https://github.com/wso2/product-is/issues/15422

Fixed by:

PR https://github.com/wso2-extensions/identity-local-auth-basicauth/pull/172


Cow: Watch muhsinasajith.com

Cow requests the watch of the watch_keyword muhsinasajith\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

muhsinasajith\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Dragonrage in Charcoal HQ


Method/service for fetching job logs over the web

Currently jobsub server makes job logs available to authenticated users over https, serving them from the local sandbox (which is where it submits jobs from and condor puts output into) on the schedd, with a cron job to clean those up after 30 days. This service is used by landscape jobview to provide a central SSO-authenticated method to access these logs.
Now, with jobsub_lite, the "sandbox" is on the user's submit machine, with input and output only available in the spool dir on the schedd, retrievable with jobsub_fetchlog (which uses condor_transfer_data), until the job is removed from the queue (either manually or by configuration). We have a couple options to provide web access for jobsub_lite jobs:
Option 1: run server on schedd
Run a web service on each schedd that can serve files from the condor spool dirs, which would require tweaking some permissions knobs in condor.
Pros

Relatively straightforward to setup
similar to old setup, simple integration with landscape jobview

Cons

condor includes stuff like credentials in the spool dir
spool dir only exists while job is in queue, so we either keep jobs in the queue for 30 days (which has side-effects, like jobs not showing up in history until then) or reduce the availability window
one more thing to maintain

Option 2: dCache
Have condor put the output into a shared location, like dcache (or ceph via s3, coming soon(ish)). See https://htcondor.readthedocs.io/en/latest/users-manual/file-transfer.html?#file-transfer-using-a-url
Pros

Leverages existing services
Files available after job leaves queue, cleaned up by dCache
less things to maintain

Cons

May require a custom file transfer plugin (or maybe http wil "just work"?)
Need to verify dCache areas all set up for everyone in every group

Steps

[X] create area in scratch dCache for logs - RITM1589453
[x] add scope to tokens to write to the dCache area - RITM1602974
[x] #255
[x] job data for jobsub_lite jobs in Lens (currently expects to find "completed" jobs in history, not true now)
[x] jobview fetch output from dCache

I think you've covered all the reasonable options, and in good detail.  Which one are you leaning towards?

I very much prefer Option 2, it's keeping with the "stick to condor" ethos of this project, and will reduce future maintenance and operation burden over Option 1 (as much as I would enjoy developing a new service). Unfortunately it doesn't "just work" in testing so far, our Vault tokens are formatted differently than the file transfer plugin expects. Should be a simple fix, we'll see what condor devs say.
I'm really intrigued by the s3 support, but I don't think our ceph project will be in a production state for some time yet. If we treated it as an implementation detail we could switch from dcache to ceph in the future maybe.
Further consideration then is where exactly to put the logs:

Under /<experiment>/scratch/users/<user>, which currently is included with storage.create scope for all (?) tokens. (ed: actually at least one vo has /<experiment>/users/<user> instead). Advantage is these areas exist already, and users could directly access their (or others) logs using existing dcache access policies.
Some new location in scratch dcache, which we could add to all token scopes (or maybe pass a different credential?). Advantage of this is that we'd have full control over the area, and could change implementation details transparently in the future.

All tasks completed - jobsub (master branch) wrappers copy logs to dcache, lens is shiny and new and gets correct information for all jobs, and jobview goes to dcache for logs for all jobsub_lite jobs (where JobsubVersion classad attribute begins with lite).
Everything is running on landscapeitb for testing. I'll close this once everything is running in production.

Yay!


[Bug]some font of " DataProxy-SDK architecture " page  incorrectly

What happened
look at this

What you expected to happen
some font is wrong.
How to reproduce
open this website:https://inlong.apache.org/zh-CN/docs/modules/dataproxy-sdk/architecture/
Environment
standard Chrome
InLong version
master
InLong Component
InLong DataProxy-SDK
Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

pls fix it thx, remove the 送 character

@xupt-sdp

@EMsnap it's my pleasure.I'll submit a pr.

@EMsnap should i add the bug in “incubator-inlong-website” and fix?I'm a green hand

@xupt-sdp you can start a PR for incubator-inlong-website refer to how-to-commit.

overview has change in this pr
https://github.com/apache/incubator-inlong-website/pull/271


🔐  Restricting assume roles to relevant trusted entities only

User Story
As a… member of the CloudOps team
I want to… restrict who can assume the AWS roles
So that… it improves the security
Value / Purpose
It improves security and follows AWS trusted advisory guides
Useful Contacts
Touhid, Rich, Aaron, Ed, Ky
Additional Information

[ ] SharedServicesCodeBuild
[ ] CodeBuildPanwInbound
[ ] CodebuildPanwPanoramaBaseConfig
[ ] CodeBuildPanwGlobalProtect
[ ] pttp-production-production-infra-shared-services-admin
[ ] CodeBuildPanwPSN
[ ] CodeBuildPanwEastWest
[ ] CodeBuildPanwOutbound
[ ] CodeBuildPanwPanorama
[ ] CodeBuildPanwPanoramaPolicyConfig
[ ] staff-device-production-infra-code-build-panw-sop-oci-access

Shared Services

[ ] pttp-global-ima-snmp-shared-services-admin
[ ] pttp-global-ima-ds-shared-services-admin
[ ] pttp-david-infra-shared-services-admin

Pre-Prod

[ ] CodeBuildPanwEastWest
[ ] CodeBuildPanwGlobalProtect
[ ] CodeBuildPanwInbound
[ ] CodeBuildPanwOutbound
[ ] CodeBuildPanwPanorama
[ ] CodebuildPanwPanoramaBaseConfig
[ ] CodeBuildPanwPanoramaPolicyConfig
[ ] CodeBuildPanwPSN
[ ] CodeBuildTGW
[ ] pttp-pre-production-infra-shared-services-admin
[ ] SharedServicesCodeBuild
[ ] staff-device-pre-production-infra-code-build-panw-sop-oci-access

Development

[ ] arn:aws:iam::068084030754:role/CodeBuildPanwPanoramaPolicyConfig
[ ] arn:aws:iam::068084030754:role/staff-device-development-infra-code-build-panw-sop-oci-access
[ ] arn:aws:iam::068084030754:role/CodeBuildPanwPanorama
[ ] arn:aws:iam::068084030754:role/CodeBuildPanwOutbound
[ ] arn:aws:iam::068084030754:role/CodeBuildPanwEastWest
[ ] arn:aws:iam::068084030754:role/CodeBuildPanwPSN
[ ] arn:aws:iam::068084030754:role/CodeBuildTGW
[ ] arn:aws:iam::068084030754:role/pttp-development-infra-shared-services-admin
[ ] arn:aws:iam::068084030754:role/CodeBuildPanwGlobalProtect
[ ] arn:aws:iam::068084030754:role/CodebuildPanwPanoramaBaseConfig
[ ] arn:aws:iam::068084030754:role/CodeBuildPanwInbound
[ ] arn:aws:iam::068084030754:role/SharedServicesCodeBuild

Definition of Done

[ ] Roles will have specific trusted entities in the trust relationship
[ ] Create documentation with details

Pre-Prod:
CodeBuildPanwEastWest
CodeBuildPanwGlobalProtect
CodeBuildPanwInbound
CodeBuildPanwOutbound
CodeBuildPanwPanorama
CodebuildPanwPanoramaBaseConfig
CodeBuildPanwPanoramaPolicyConfig
CodeBuildPanwPSN
CodeBuildTGW
pttp-pre-production-infra-shared-services-admin
SharedServicesCodeBuild
staff-device-pre-production-infra-code-build-panw-sop-oci-access

Hey team! Please add your planning poker estimate with ZenHub @ASTRobinson @bagg3rs @kyphutruong @mitchdawson1982 @moontune @mTouhid @wanieldilson


Standardized grouping / mapping options and helper function to group plotly figure via dropdown

Groupings available for all figures

animation_slider
dropdown
facet_rows
facet_columns

Additional groupings available for coordinate plots

color

Additional groupings available for scatter plots

marker_size

Dropdown helper function
Take a function returning a plotly figure for a single grouping and use that to generate a consolidated figure for all groupings with a dropdown.


Added property name in draft-3 required error

In case of required error with draft-3, the error message is missing property names. (Similar to #91)
Creating a new PR against the updated master.

@erayd Actually as i mentioned, after creating the PR #430 I've deleted my branch (As you can see in the PR it shows unknown repository). Not sure if i can check out the PR rebase it and push it again without having my original branch.

@sunspikes I missed that comment - think I typed my reply before yours loaded for me. Noting that, let's just go with this PR.
For future reference, if you have an open PR, don't delete the branch it's attached to until after it's been merged ;-). If you accidentally delete your branch, GitHub allows you to restore it from the PR (there's a button at the bottom of the PR for this).


Automatic tenant lookup

I have implemented automatic tenant lookup.
I've seen this method here: https://crmtipoftheday.com/1271/where-is-my-tenant-id/ far less pain then conventional way.
However I'm not able to make it optional, because tenant id in your code is not the last argument and if I proceed I will definitely introduce breaking changes, which I believe you would prefer to have full control over. So tenant is still expected from command line but not used anywhere :)
I believe if you would like this change it won't be a huge issue to justify rest of the code accordingly.

Nice one thank you!
Perhaps it could simply be if one parameter is provided we assume it's the env url and we lookup the tenant as per this PR - otherwise if there are two then we use the specific value provided and don't auto-lookup.
cdsify-gen uses minimist to grab named arguments - but don't think we need these right now.


chore(python): update packages

⚠ Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

[x] I have read through the Contributing Documentation.
[ ] I have added relevant tests.
[ ] I have added relevant documentation.
[x] I will add labels to the PR, such as pr-type/bug-fix, pr-type/feature-development, etc.

Summary
What does this PR do?
Try to update Python packages.
Does this close any open issues?
Closes N/A
Screenshots
Include any relevant screenshots here.
Other Information
Any other information that is important to this PR.


Request: Oredict recipes for infusion crafting

At the moment infusion crafting can't take oredict entries as input or recipe components. Wanted to use iron ingots in a recipe and welp
Edit: So genius that I am I wrote this before looking deeper into the code. I just assumed it was only item matching because the other addRecipes took Objects for recipe components. Everything in infusion recipes automatically get's matched with the oredict and there's no way of preventing that. For testing purposes I even crafted an arcane bore with oak planks. And I feel dirty now ^^

Came here to make another isse, found this again.
To clarify the problem:
As I see it, you can not NOT make oredict recipes.
The Infusion Recipes don't know oredict entries as components, only ItemStacks, which, when compared for equality during crafting, end up being automatically oredict matched.
You can't i.e. ask for specific wooden planks in a recipe, because later in the item check it will automatically look

Thanks, I'll take a look.

I've changed the way the infusion recipes registry works for the 1.8 update to allow for oredict entries instead of just itemstacks. Automatic matching does not occur anymore as it was causing issues with my own stuff as well.
Unfortunately it was too big a change to include for 1.7.10.


Saving

Any recommendations on how to best save a model? With other esn libraries, I typically save the relevant hyper-parameters / random seed and retrain but this seems like it might be a little more nuanced.
Also, I noticed that the to_cuda() call was not used on your Mackey example with the gdesn- is there an issue with using cuda in that case?
I have really enjoyed reviewing your work. It is excellent. Thank you for being so thorough in your tests.

Hi, thank you for trying it out!
Unfortunately, there is no feature for saving a model at this moment. I've tried pickling right now, but it doesn't work, because I use a lot of inner functions. I will implement saving a model ASAP - this week for sure, maybe around Thursday/Friday.
As for cuda - for such small series like MackeyGlass there is usually no profit in using GPU - at least from my experience. There is however no reason not to use it if you have one. I reviewed it and fixed some obvious mistakes, so please fetch latest changes from main branch and the example should work with cuda.
I didnt have enough time to test it against different scenarios, so the fix may not be robust, but I'll go back to it later this week to make sure it really works.
Please let me know if you need anything else, or would like to contribute somehow :)

Thank you, I really appreciate it!
Another question: using mg_example.py as a starting point, are you able to successfully input an X w/ a dataset that has an input_size greater than 1? It appears that the check_forward_input in auto_esn/esn/reservoir/cell.py might not be receiving the full dimensions of the input. I'm still looking into it to see if it might be an error on my end. Right now,  I have X following size torch.Size([series length, number of features]) and the input_size = number of features. Should I be doing something different?

Hello again, it works for me :) I created a small snipped in the pull request here: https://github.com/Ro6ertWcislo/AutoESN/pull/9
Please observe the changes and try running it. I duplicated the mackeyglass input, so that now I have two same series as input, so I get a tensor shaped (num_samples, 2) but the result is still one series.
What about your output dimension? If it's greater than one, you should check the "output_dim" parameter.
Look here: https://github.com/Ro6ertWcislo/AutoESN/pull/10
I created two-dimensional input with two mackey glasses. The second is shifted (-1 for the whole series). And after setting the output_dim=2 I'm getting two different series as the output.
Let me know if this is helpful.
Btw, I'm not 100% sure if I'm going to make it with saving until tomorrow, but I'll add it by the end of the week for sure

Hi, I added saving - please take a look at https://github.com/Ro6ertWcislo/AutoESN/blob/master/src/auto_esn/examples/save_load_model.py
you just call a torch.save() and that's it :)
You had a really good point with saving only the seed and then recreating the whole model, but unfortunately I had to do it "the hard way" saving everything. That's because of the Initialization object which can be really complex and I'm using a lot of inner functions there, which cannot be pickled. Moreover, I would have to remember not only the seed, but also all the operations performed during initialization and their parameters . This could be done, but it would require a lot of work, so just saving a model with torch utilities is the solution for now :D
Let me know if it works for you and if you have any other questions

Thank you, this is fantastic. I will check out the torch.save() addition. It makes sense that it would be difficult to pickle the model.
Your clarification regarding the multivariate inputs was very helpful. Thank you for creating that example. I know It's not unique to this model but it appears that the accuracy is very sensitive to the scaling of the multivariate inputs.

hm, have you tried using self normalizing activation?
activation = self_normalizing_default(leaky_rate=1.0, spectral_radius=500)
For me it looked like it's more robust against input that you would scale otherwise, especially that the spectral radius in this activation enables you to omit the scaling part, as shown here https://user-images.githubusercontent.com/32894690/113477802-ce242000-9484-11eb-8c35-b3ee36a4b394.png (image at the bottom of readme).
Other things htatthat worked well for me was to normalize the input, remember the shift and spread, then train the model on normalize input and during inferece I would have my result as model_output*spread + shift.
An example is here https://github.com/Ro6ertWcislo/AutoESN/blob/master/src/auto_esn/examples/sunspot.py
Im not 100% sure it would help you, but I guess it's worth trying :)


Program cannot redirect from page login to login-check

When I wrote http://localhost:81/76824974/eshop_cms/login in the browser, it showed the login page. When I clicked the Login button after filling out the form. It cannot redirect to the login-check file as I expected.

Why do you employ JS to do the redirect, why not return Location header with 302 from PHP?
In general, I see reasons why to employ JS but .. I fail to see them in context of the current codebase.


Create a CI keeping kvariants up-to-date

related to #184

@ManyTheFish I may give this a shot. 👋
If I understand the linked discussion correctly, the goal here is to create some sort of CI that will ensure that kvariants/dictionaries/source/kVariants.tsv in this repo is kept up to date with kVariants.txt in https://github.com/hfhchan/irg, right?
I think we could add a github action that will run on a regular schedule (eg. once a week) that will check if we're up to date. If not, it will submit a PR with the latest changes. This way, you would retain the control over when exactly the update happens.


Help Understanding the Name of an Activity

Hello,
I have a chatbot which is trying to mimic the backchannel example.
Everything is mostly correct, except I'm having trouble understanding how exactly the code below is supposed to work.
      botConnection.activity$
        .filter(function (activity) {
          console.log("show me the activity name passed" + activity.name);
          return activity.type === 'event' && activity.name === 'changeBackground';
        })
        .subscribe(function (activity) {
          changeBackgroundColor(activity.value);
        });

I'm assuming I need to name something changeBackground within my bot perhaps?  Also shouldn't the activity.type be a 'message' instead of event?
When I do a console.log to show me the activity.name every message I pass is "undefined".  Where exactly do I set the name of the Activity so that I can fire the Change Background?

Since this is a question about functionality and not a bug report of feature request, please ask it on Stack Overflow so that others can benefit from the answer. If you'll post a link to your question here I'll answer it there!

@billba sorry about that you are absolutely right.
Post added to Stack Overflow.


feat(ui_auth): added Hungarian localization

Description
Added Hungarian localization to Firebase UI Auth
Related issues
Closes #9054
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See [Contributor Guide]).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (melos run analyze) does not report any problems on my PR.
[x] I read and followed the [Flutter Style Guide].
[x] I signed the [CLA].
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

@lesnitsky I also found out that some labels are hardcoded, for example here and here in the email verification screen. I experimented a little and added some new labels but it turned out that it does not handle if new label definitions are missing from existing localizations. I could create another PR for that, but what is your suggestion, how to handle the different localizations? Should I add these in English to every arb?

@koltai75 no need to assign, @Kukkerem feel free to review this PR
as of hardcoded labels – we're looking into adding translations to those early next year, so no action required from you.

@koltai75, seems like @Kukkerem is not responsive, do you know someone else who speaks Hungarian and could review this PR?

@lesnitsky I changed some localization texts according to the suggestions of @Kukkerem.


Only update settings if they differ from the buildPreset settings

Rather than always updating the settings, I figured it would make more sense to only update if it was different from the build preset.  If the current value is different from the current workspace setting, it'll overwrite it.  If it's the same, it'll just write the same value and doesn't appear as a change.

Discussed offline: Maintain support for settings; don't update the settings after creation.


CINE control buttons with wrong titles

Bug Report
Description
To improve user experience, we would like to have labels/titles coherent with its button's functionality.
On CINE control, the current labels/titles of buttons 'Next image' and 'Skip to last image' may mislead the user, since they are not coherent with the functionality of each button.

Steps to Reproduce

Load view studies page
Select the Cine tool on the toolbar
Hover on the 4th button and verify that the label says "Play Image"
Hover on the 5th button and verify that the label says "Skip, to last image"

Acceptance Criteria
To be coherent with its functionality:

the 4th button should have title/label "Next image"
the 5th button should have title/label "Skip to last image"

@rodrigolabs can you pick up this quick fix?

@rodrigolabs can you pick up this quick fix?

Yes! 🙌🏻


Using another library instead of encoding/json for the JSONFormatter

Is your feature request related to a problem? Please describe.
I was using the JSONFormatter to print structure, when i saw that encoding/json doesn't support map[interface{}]interface{}
Since the logger doesn't return any information when such an error occurs, it took me several hours of debugging to finally locate that the problem came from the json formatter (I didn't expect it not to support a data type like that).
After a bit of online digging, I discovered that this is a fairly common problem and that libraries like json-iterator (among others) try to solve it.
Describe the solution you'd like
Use something other than the core library to format it to support all data types
Describe alternatives you've considered

Make my own logger using json-iterator
Create my own formatter, but the library doesn't currently seem to support custom formatter.

Additional context
json: unsupported type: map[interface {}]interface {}

@0xN0x could this problem possibly have been improved by #123? It's in main.

@0xN0x could this problem possibly have been improved by #123? It's in main.

I'm going to try it tonight, but since the library still uses encoding/json, I don't think the problem will be solved because it's a limitation on that side.


Make the RFI data loading optional

if we download only the annotation files via asfsmd, we want to be able to load bursts without needing the RFI

is this showing "merging is blocked" for other people? Not sure why it says that for me since there's 2 approvals now...

More reviews don't seem to help. Maybe it's the move isce framework GitHub group that's preventing PR from merging? IIRC we were in the OPERA-ADT GitHub group before. I can't think of anything else that's different.

I invited Seongsu to the isce-framework org, apparently he wasn't a member 😿

@scottstanie Thanks for adding me to the organization :)


Update max lambda timeout to 900 seconds

AWS has recently increased the timeout limit from 300 seconds (5 minutes) to 900 seconds (15 minutes).
This PR updates all instances of 300 seconds with 900 seconds.
https://aws.amazon.com/about-aws/whats-new/2018/10/aws-lambda-supports-functions-that-can-run-up-to-15-minutes/

thanks, I've published this as 5.2.0 on npm


Can't write to SD card (external) even allowing the app to write

Phone model: Galaxy S4 GT-i9505 - ROM JDCT ROM 6.0.

I know about this problem. It's a system restriction: since 4.4 apps can't access external SD card, only internal memory.

Me too, but I was using JDCT 5.1.1 and your app was working perfectly when I tried to record any file to SD card...
So there is nothing you could do?
I'll downgrade to 5.1.1 then... Waiting to your reply to close this issue.

This restriction could be disabled by fixing some files in /system dir. Some custom rooms do this by default (CM, for example).

Well.. In JDCT ROM they don't tweaked this. Even if I edit some XML related to this, the sd card doesn't works.
Back to 5.1.1 then... 6.0, maybe next year.
Thank you for your support Mishiranu. I'll close this issue.

Devs fixed this issue on JDCT 6.0, so isn't a problem with the app.