feat: Add fees to CLI

Benchmark results
Metrics with a significant change:

protocol_circuit_proving_time_in_ms (private-kernel-inner): 49,613 (+17%)
protocol_circuit_proving_time_in_ms (base-rollup): 86,405 (+16%)
protocol_circuit_proving_time_in_ms (public-kernel-tail): 181,977 (+17%)
protocol_circuit_proving_time_in_ms (root-rollup): 22,651 (+16%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.
| Metric |  |
| - |  |
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
1,412
1,412
1,412

l1_rollup_calldata_gas
9,452
9,452
9,464

l1_rollup_execution_gas
616,093
616,093
616,105

l2_block_processing_time_in_ms
1,294
4,810
9,511

l2_block_building_time_in_ms
44,647 (-1%)
176,898 (-1%)
353,545 (-1%)

l2_block_rollup_simulation_time_in_ms
44,480 (-1%)
176,272 (-1%)
352,321 (-1%)

l2_block_public_tx_process_time_in_ms
24,034 (-1%)
100,118 (-2%)
204,878 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
9,424 (-1%)
14,369 (-1%)

node_database_size_in_bytes
14,504,016
21,327,952

pxe_database_size_in_bytes
18,071
29,868

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.4 (-1%)
16.9
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.7
31.8
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.604 (-1%)
0.518 (-1%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.3 (-1%)
76.3
245 (-1%)
474
928
1,842
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.494 (-1%)
0.470
0.445
0.443
0.440
0.439
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
58.3 (-1%)
112 (-2%)
356
696 (-1%)
1,386
2,761
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
106
208
692
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.504 (-1%)
0.502 (-1%)
0.480 (-1%)
0.479
0.479
0.479
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
62.2 (-1%)

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
107

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.552

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
83,794
665,117

Transaction size based on fee payment method
| Metric |  |
| - |  |


Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61223

Added the description of each mbean attribute to the documentation.

This is a partial fix. It only addresses the attributes of the mbean element.
I'm wondering if, rather than duplicate the comments in the DTD file, if it would be simpler to copy the DTD to the docs and link to the DTD.

Thanks for the patch. There wasn't anything wrong with it but the more I thought about it, the more I thought that referencing the DTD directly was a better solution.


#655 feat: adds indentation instead of curly braces for and if blocks

TESTED with the following cases
(1) simple case for
for n from 1 to 3
    echo n

(2) simple case if
if 5 more than 3
    echo 1
    echo 2
    if 5 more than 3
        echo 3
    echo 4

(3) dropping down two levels of indentation
if 5 more than 3
    echo 1
    echo 2
    if 5 more than 3
        echo 3

(4) test for backward compatibility (the output repeats the curly braces, which is ugly but the code still works)
for n from 1 to 3
{
    echo n
}

(5) test with python integration
py begin
for i in range(5):
    print(i)
py finish

for n from 1 to 3
    echo n

(6) test for inconsistent numbers of spaces -  the code errors out with ERROR - use a consistent number of spaces for indentation
if 5 more than 3
    echo 1
    echo 2
    if 5 more than 3
        echo 3
      echo 4

Perfect!!


General Availability of templates support in YAML editor - Not available for Server but shown as such

[Enter feedback here]
The documentation for "General Availability of templates support in YAML editor" and its availability for Azure DevOps Server (2019+2022) is misleading because its simply not released yet for 2022 (and wont ever be released to 2019)
Reference -> 12 Jan 2023: General Availability of templates support in YAML editor | Area: Pipelines | Server: Future

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

ID: 1d3e0c4d-0102-cb51-1794-f8569009aa5b
Version Independent ID: 17f843b2-c55c-0bd7-dadf-1c5e16908783
Content: YAML pipeline editor guide - Azure Pipelines
Content Source: docs/pipelines/get-started/yaml-pipeline-editor.md
Service: azure-devops-pipelines
Sub-service: azure-devops-pipelines-get-started
GitHub Login: @steved0x
Microsoft Alias: sdanie

@Christ0phH Sorry for the delay in responding to this issue. You are correct, this area of the article was incorrectly marked to support Azure DevOps Server 2022. I am updating that today. That feature has released in Azure DevOps Server 2022.1, so I have added a note to clarify that. These changes will be live today. Thank you for letting us know.


How to run polyfill in development and production?

I've been configuring gulp-starter to handle a conditional polyfill load, in the form:
Because webpack needs Promises to run, and most setups always load a Promise polyfill - despite the fact that more and more browsers don't need it, so it is wasted code.
I want to conditionally Promise polyfill separately from the others dynamically, with an explicit

This is a bit unrelated... but since I've tackled this same issue for a similar project I thought I may as well chime in even if I don't have a specific suggestion for point 3. My current setup involves three files: the initial loader, the polyfill bundle, and the app. The loader includes Modernizr so I can test for Promises (and a bunch of other stuff); if the browser isn't fully supporting whatever the requirements are loadjs will request the polyfill bundle and then load the app bundle in a callback (or just load the app if everything is cool). Maybe it's a bad idea but I prepare all three bundles with Webpack since, if I'm not mistaken, Promises aren't required until you're using code-splitting... but it wouldn't be hard to bundle polyfills and your loader separately.

Closing, since seems like @synapticism answered this, and it's not directly related to this package.


Attach sources to the library

Navigating to some class shows this:

In a regular Gradle project, works as expected.

Is it a bug related to Kotlin Script?

Reported a bug in IntelliJ Kotlin plugin: https://youtrack.jetbrains.com/issue/KTIJ-24295

Moved to FAQ: https://github.com/typesafegithub/github-workflows-kt/pull/1171


instantActions.schema has no required header fields

Dear VDA5050 development team,
I spotted a minor inconsistency in the JSON schema definition files.
Per documentation Each JSON starts with a header.  (see section 6.4 Protocol Header). However, the instantActions.schema is not enforcing this. Other schema files use a required field for this.
I think what is missing is the following:
"required": [
    "headerId",
    "timestamp",
    "version",
    "manufacturer",
    "serialNumber",
    "actions"
]

if you look at
dev/2.0.1
it will be fixed in den next release.


Typo in README

Wow, what a wonderful resource. I just noticed a typo in the README:
python3
from project import db, create_app
db.creaye_all(app=create_app()) * should be db.create_all(app=create_app())
exit()
Thanks for your hard work making this template, it's helping me a lot

Thank you :)
I corrected the word 9596a1d
Thanks again!


DUPLO-11564 add metadata service option to example

Change description
add metadata service example
Checklists
Development

[x] Pull requests may not be submitted to the master branch (use develop instead) - or they will be closed.
[x] Lint rules pass locally
[x] Application changes have been tested thoroughly
[x] Automated tests covering modified code pass

Security

[x] Security impact of change has been considered
[x] Code follows company security practices and guidelines

Code review

[x] Pull request has a descriptive title and context useful to a reviewer.
[x] "Ready for review" label attached and reviewers assigned
[ ] Changes have been reviewed by at least one other contributor
[x] Pull request linked to task tracker where applicable

I removed OsDiskSize from there because there are 2 examples and OsDiskSize is in the other one https://github.com/duplocloud/terraform-provider-duplocloud/blob/develop/examples/resources/duplocloud_aws_host/resource.tf#L18C2-L18C2S
But I can add it to this one if you prefer as well

@joek-duplo I added the field you requested


Read the guidelines for 'Filing an issue

 Environment data

Language Server version: 2024.12.1
OS and version: win32 x64
Python version (and distribution if applicable, e.g. Anaconda):
python.analysis.indexing: true
python.analysis.typeCheckingMode: off

 Code Snippet

XXX

 Repro Steps

XXX

 Expected behavior
XXX
 Actual behavior
XXX
 Logs

XXX

Thanks for the report. Unfortunately, this is not enough information for us to investigate this issue.
If this continues to be a problem, would you please reopen the issue and add the information described in the troubleshooting guide?


Class Orchid\Backup\RouteBuilderServiceProvider install error

Hi, i try to install manually the orchidcommunity/backup from local package. I modified composer.json to avoid version errors. After that with composer update i got this error:
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   Error

  Class "Orchid\Backup\RouteBuilderServiceProvider" not found

  at vendor/laravel/framework/src/Illuminate/Foundation/Application.php:749
    745▕      * @return \Illuminate\Support\ServiceProvider
    746▕      */
    747▕     public function resolveProvider($provider)
    748▕     {
  ➜ 749▕         return new $provider($this);
    750▕     }
    751▕
    752▕     /**
    753▕      * Mark the given provider as registered.

      +10 vendor frames
  11  artisan:37
      Illuminate\Foundation\Console\Kernel::handle()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Do you have an idea whats wrong? I am new in this Laravel / Orchid / Composer magic ;-) Thx...

I forked the project and i have done all changes to get it work with Laravel 9 and Orchid 12. Backups cann be create through the queue and could be downloaded.


My public key link is wrong

I update to 1.0 and the link to "My public keys" ist wrong. I installed redmine in a subdirectory. My url ist https://server/redmine and the link is pointing to https://server/my/public_keys instead of https://server/redmine/my/public_keys . Did I miss a configuration?

Isn't fixed by 8097665de5868e699d0da91334192e2288340621. Still missing the subpath.


Added support for Github ping events

This commit adds support for responding correctly to Github ping events. (Header: X-Github-Event: ping)
This does not handle any other services (Bitbucket, Gitlab) as they do not send a ping request (to my knowledge, after looking through their respective documentation.)
I have also added tests for this behavior.
This hotfix should resolve #55
/cc @kylemcdonald

Thanks!


[W7.7][W09-B1] Address Book

Overall:
Good job on meeting all requirements for the v1.1 team component. However, some areas need more work. Hope you can tackle those areas in upcoming features.
Some detailed feedback:

README.adoc: You can revise content to read like a real product
Consider setting up auto-publishing your documents as described in the developer guide (so that you can have something like https://nus-cs2103-ay1718s1.github.io/addressbook-level4/

Wrong team name
Command Line Features only makes sense if you have another type of features
This list of features seem to be missing even existing features e.g. undo (probably some topics were left out from the ToC due to an error in your asciidoc syntax)
User Guide should include all features to be included in v2.0 (not just the current ones) and pending features should be clearly marked as coming in v2.0

See if there is shorter syntax that would require even less typing.

Is this intended?

You can describe the target user profile here (so some other place in the developer guide)

v1.2 comments for the Developer Guide
Some general feedback:

Good effort.
Consider bringing in other UML models such as object diagrams, sequence diagrams, activity diagrams, etc.
Use code snippets minimally (they tend to get outdated quickly). Point to the code file instead.
Use diagrams in moderation, especially if the diagram has lot of details. They are hard to create/maintain. Instead, draw just the relevant part only.
Avoid duplicating similar diagrams. Instead, point to an existing diagram and say new command works similarly.
Remove Appendix A if no longer relevant

Timetables

I believe you can apply java formatting to code snippets (see code snippets in the Undo/Redo description)

Delete Tag

See if you can use simpler language. e.g. this part sounds a bit 'too formal'

In general, the ability to delete a tag was implemented via an augmentation of the existing delete command. This augmentation is achieved via

Sequence diagrams for typical command execution can be in a more general section rather than in the Delete Tag section.

Remark

Looks like you took screen shots of ppt slides. There is a better way to save ppt diagrams as images.

Errors in asciidoc syntax?

Birthdays

This feature stops working after 2017? Seems it will not accept Birthdays later than 2017 :-p


TF1.8 is 10% slower than TF1.4 on most cases

I have tested on quantities of tensorflow-based applications, including tf_cnn_benchmark and keras typically applications and even for multi-GPU applications. All performance benchmarks are 10% dropped when TF1.4 is upgraded to TF1.8. However, once I revert the upgrade to use TF1.4 again, the 10% performance loss will be back.

Originally, training inceptionV3 per epoch costs 62sec, after bare upgrade from TF1.4 to TF1.8 without model code changes, fininshing 1 epoch costs 85sec.

CC @tfboyd

@ghostplant   Can you provide an example command line for tf_cnn_benchmarks?

I tested TF1.6 as well, which has a same performance with TF1.4. So there might be a performance regression between TF1.6 and TF1.8.

@ghostplant
I know the script well.  I published our original benchmarks and run nightly tests.  Knowing the command-line and your hardware helps me understand the problem.  I do not test Keras and I think Keras multi-gpu places all of the variables on GPU:0, which is often not great but can be "ok" with small numbers of GPUs and maybe something is making that slower.  tf_cnn_benchmarks is nice as we can kind of isolate that and put the parameters almost anywhere.  Hardware is good to know as you could have anything from nvlinked V100s to K80s PCIe with no GPU peer-to-peer or two GTX1080tis in a workstation also most likely not peer-to-peer.  You could be using nccl, hierarchical copy, fp16, parameter server = cpu and one of a number of args for tf_cnn_benchmarks.
My tests show that we are speeding up but I do not doubt your regression.  I know many argument combinations are not tracked, which is my fault and a result of pragmatic time use and maybe bad choices. :-)
There is light at the end of the tunnel.  While it will not help you with Keras, DistributedStrategies (the standard way of doing TensorFlow multi-GPU) will be enabled for Keras models and that will over a simple, flexible, and monitored way to do multi-GPU.
Send me a little more information and I will run some tests.  I could run some tests now but I fear they would not match your situation and just use up time.

My environment is Tesla P100x4 without NV-link. The initialization time for Keras application are all increased, and I think both CUDA environment and Keras engine itself are not the root-causes, and the example script is also not the root-cause as well, because all of them are not changed, so the only changes is the version of Tensorflow for cuda.

Again, can you provide your command line for tf_cnn_benchmarks?
There are many command line options in tf_cnn_benchmarks, and for resnet50 which I'm regularly tracking, the best performing option is getting faster since 1.4. You're probably using a different combination of options and that's why a command line is needed.

tf_cnn_benchmarks/tf_cnn_benchmarks.py --model resnet50 --batch_size 64 --num_batches 50 --data_format=NCHW --local_parameter_device cpu --num_inter_threads 0
Besides, I refer from the benchmark links: https://www.tensorflow.org/performance/benchmarks#details_for_nvidia_dgx-1tm_nvidia_tesla_p100
which says inceptionV3 can have a 569 images/sec using P100 x 4 (parameter on cpu), and I have the same hardware configuration but I never saw this speed (it only reaches 490 images/sec). Can you also tell me how to manage to make it 569 images/sec?

Running your command on 4 P100s (with the extra argument --num_gpus=4) gave me 870 im/s. This command may not be the best but at least it's slightly better than the old numbers (852) in https://www.tensorflow.org/performance/benchmarks. So it looks alright. My environment does have nvlink (the above link does mention nvlink), btw. Note that the best combination of options would also depend on your environment. Perhaps there is a regression on environment without nvlink but more information will be needed to find out if that's true.

--local_parameter_device cpu doesn't require NVlink. How about your inceptionV3 performance?

I got 535 im/s with the same command above except for --model inception3. This is a bit slower than the official number but I don't know if that's a regression -- unlike resnet50 I don't track the performance of inceptionv3 myself so I don't know what its performance was on my environment. Just to provide a data point for your reference. @tfboyd may have more information on it.

I don't quite understand from above what exactly is your observation or how you obtain them. But it seems related to the fact that none of the convolutional layers in ResNet50 have bias.

@ppwwyyxx It can be profiled by any tools, typically, nvtools, syscall counters. Are you sure Resnet50 CNN layers don't include bias weight?

I'm sure none of the convolutional layers in ResNet50 have bias. I'm not sure you mean the same thing by "bias weight". The convolution filters are often referred to as weight as well.

Nagging Assignee @tfboyd: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Thanks all, I'll close this issue. I think larger ops and function libraries in new versions might cost more memory which is reasonable to slightly reduce the performance.


Document running individual test methods

The specs2 SBT test runner allows running individual specs:
https://github.com/sbt/sbt/issues/911
junit-interface could likewise provide support for running individual test methods.

I'm getting Argument unrecognized by ScalaTest's Runner: *pattern when invoking like:
sbt test-only -- *pattern

Also, passing a single -q seems to effectively suppress a lot of output but when I do:
-q *pattern I get this error:
Discovery suffixes (-q) is not supported when running ScalaTest from sbt; Please use sbt's test-only or test filter instead

Seems like scalatest is involved here somehow although my build.sbt doesn't mention it and only imports this junit-interface for testing.

https://github.com/sbt/junit-interface/pull/107


CliRunner(mix_stderr=False) does not capture all writes to stderr

When CliRunner(mix_stderr=False) is used, the output of print("foo", file=sys.stderr) is not captured.  click.echo("foo", err=True) is captured (and this is tested in the test_stderr() test) but the output from print() is not captured.
Modifying tests/testing.py::test_stderr as follows demonstrates the bug:
def test_stderr():
    @click.command()
    def cli_stderr():
        click.echo("stdout")
        click.echo("stderr", err=True)
        print("sys.stderr", file=sys.stderr)

    runner = CliRunner(mix_stderr=False)

    result = runner.invoke(cli_stderr)

    assert result.output == "stdout\n"
    assert result.stdout == "stdout\n"
    assert result.stderr == "stderr\nsys.stderr\n"

    runner_mix = CliRunner(mix_stderr=True)
    result_mix = runner_mix.invoke(cli_stderr)

    assert result_mix.output == "stdout\nstderr\nsys.stderr\n"
    assert result_mix.stdout == "stdout\nstderr\nsys.stderr\n"

    with pytest.raises(ValueError):
        result_mix.stderr

    @click.command()
    def cli_empty_stderr():
        click.echo("stdout")

    runner = CliRunner(mix_stderr=False)

    result = runner.invoke(cli_empty_stderr)

    assert result.output == "stdout\n"
    assert result.stdout == "stdout\n"
    assert result.stderr == ""

Running this test, produces:
__________________________________________________________________________________ test_stderr ___________________________________________________________________________________

    def test_stderr():
        @click.command()
        def cli_stderr():
            click.echo("stdout")
            click.echo("stderr", err=True)
            print("sys.stderr", file=sys.stderr)

        runner = CliRunner(mix_stderr=False)

        result = runner.invoke(cli_stderr)

        assert result.output == "stdout\n"
        assert result.stdout == "stdout\n"
>       assert result.stderr == "stderr\nsys.stderr\n"
E       AssertionError: assert 'stderr\n' == 'stderr\nsys.stderr\n'
E           stderr
E         - sys.stderr

tests/test_testing.py:316: AssertionError
============================================================================ short test summary info =============================================================================
FAILED tests/test_testing.py::test_stderr - AssertionError: assert 'stderr\n' == 'stderr\nsys.stderr\n'
=============================================================================== 1 failed in 0.09s ================================================================================

The fix appears to be flusing stderr in src/click/testing.py:
--- a/src/click/testing.py
+++ b/src/click/testing.py
@@ -437,6 +437,7 @@ class CliRunner:
                 if self.mix_stderr:
                     stderr = None
                 else:
+                    sys.stderr.flush()
                     stderr = outstreams[1].getvalue()  # type: ignore

With this fix, and the modified test_stderr(), all tests pass.
Environment:

OS: macOS Ventura 13.5.1, Intel x86
Python version: Python 3.11.6 (v3.11.6:8b6ee5ba3b, Oct  2 2023, 11:18:21) [Clang 13.0.0 (clang-13<IP_ADDRESS>)] on darwin
Click version: version = "8.2.0.dev"

If you confirm this is a bug and not the intended behavior I am happy to submit a PR.

This isn't a bug. When using print in general, you have to flush to be sure all output is sent to steer. That's one of the reasons Click provides echo instead.

That's true with regular files but according to the python doc sys.stderr is always line buffered (unless used with -u flag) which means that CliRunner() is changing the expected behavior of print(*args, file=sys.stderr) (for Python >= 3.9)
When interactive, the stdout stream is line-buffered. Otherwise, it is block-buffered like regular text files. The stderr
stream is line-buffered in both cases. You can make both streams unbuffered by passing the [-u]
(https://docs.python.org/3/using/cmdline.html#cmdoption-u) command-line option or setting the
[PYTHONUNBUFFERED](https://docs.python.org/3/using/cmdline.html#envvar-PYTHONUNBUFFERED) environment
variable.

Changed in version 3.9: Non-interactive stderr is now line-buffered instead of fully buffered.

The following code demonstrates that sys.stderr is line buffered:
import sys
import time

def main():
    """Demonstrate that stderr is line buffered.
    This will pause 3 seconds, then print "Hello World!\n" twice to stderr then pause for 3 seconds and print "Done.".
    """
    # Hello World! will be printed after 3 seconds (stderr is line buffered) so "Hello " is not printed until the new line in the next print statement causes the buffer to be flushed
    print("Hello ", end="", file=sys.stderr)
    time.sleep(3)
    print("World!", file=sys.stderr)

    # Hello World! will be printed immediately
    print("Hello World!", file=sys.stderr)
    time.sleep(3)
    print("Done.")

if __name__ == "__main__":
    main()


Rachael

Merging in new SpatialAnalysis notebook and few csv files with monthly employment and labor force data by county for Washington.

Approving my own request and merging the branch to main.


Automate compiler plugin testing

Description:
Automate compiler plugin testing.
Suggested Labels:
Type/Improvement
Affected Product Version:
wso2/smb:0.3.0

Closing as we are no longer maintaining this code.


print time it takes?

Hi Tim,
first of all thanks for sharing pyschedule with us!
I have a question. Is there any way to print the time the scheduled tasks take until they're all done?
Best
Esther

I found it myself. I don't know if that's the perfect way to do it, but I just added 'print (t)' in the read_solution_from_mip function of the mip solver :)


Chore/check for prev statement

Changes

add signedStatements store
store signedStatements after successful register
on register, if an account with existing signature is called, a check will be run if they have a stale statement. If they do, they will be prompted to register again
Created this issue to match the TODO: https://github.com/WalletConnect/walletconnect-utils/issues/139

What's the context/corresponding issue for this PR?

What's the context/corresponding issue for this PR?

https://walletconnect.slack.com/archives/C044SKFKELR/p1696957808769889?thread_ts=1696465418.234599&cid=C044SKFKELR

Do we still need this for sure or should we hold until the decisions about limited/unlimited statement have resolved?

Do we still need this for sure or should we hold until the decisions about limited/unlimited statement have resolved?

Regardless of the outcome of the discussion, we'll need a mechanism to check for stale statements in the future.


Make pesto demo scroll fast

We can viewport the content using a ScrollableGrid. Also, we can use the
padding mechanisms of the grid to avoid extra padding widgets.

@Hixie @mpcomplete

tests?


[Windows] Allow for multiple views

Part of https://github.com/flutter/flutter/issues/142845

There is no known work left here.


This is great work. It can process the landing table that is created by snowflake_kakfa-sink-connector.

I tried using debezium JDBC sink connector but it cannot directly pipe to snowflake because snowflake does not support JDBC dialect.
Actually, this is bit zigzag because if we can change snowflake connector directly to handle the schema change and process the event, it will be much simpler than it landing on SF and using snow task to do so. More energy efficient.
BTW, have you ever thought to use your code to handle all tables instead of for each table use a task? I mean there are tradeoffs for sure.

Well.... I create this repository several years ago, and I know that Debezium and Snowflake add a lot of new features and improvements that change the way. Currently, I'm not sure what is the state of the art in both sides.
Now, probably this repo can be useful as a starting point, to understand several concepts, and start playing.
About the Debezium JDBC sink connector, I cannot see an official implementation for Snowflake. But reading the documentation, you only need to write a implementation of the DatabaseDialect.java class, and probably you can directly copy the majority of the code from the other implementations like PostgresDatabaseDialect.java. However, remember that Snowflake is good doing a bulk processes, not with row-by-row operations (except for Hybrid Tables). Depends of the nature of your data evolution, you can have an important tradeoff here.
By other hand, manage all tables in one shot... In Snowflake tasks the logic runs in sequential, it means that the more tables you have, the slower the process will be. You can create a single store procedure to put all the required logic, and call it with a few arguments from the task: if you have any issue managing one table, you can stop only the specific task and avoid breaking the hole system.

Hi @dariocazas , thank you for the reply. You are right, because snowflake JDBC interface does not support dialect which is used by debezium jdbc sink connector, we have to implement one by our own. This piece of code has to be integrated into snowflake jdbd driver, it will take some efforts to make it stable and production ready.
Also based on snowflake latest feature, create a stream on a non "event" table will not work anymore. Only one event table per account. It means it may not be suitable for this code to be used in production for large amount of data. Current code also did not consider the schema evolution.
A third solution is to change snowflake sink connector, enable it processing the event instead of directly dumping and handling schema evolution. This requires code change in snowflake sink connector.


Improve documentation for multiple subdomains

Inspired by https://chat.zulip.org/#narrow/stream/31-production-help/topic/realm.20creation.20link.20with.20pre-set.20name/near/1420432.

Merged, thanks for the review @cognusion!


Tt 75 lg search alternate

Modified version of original searching algorithm. It basically takes a search string, compares the entire string against the title field of the itineraries, and then splits the string into individual tokens, and compares each token against every field in the entire Itinerary Table. Also includes a price field for filtering itineraries <= the specified price.
yes this is computationally expensive but it will look good in the demo.
example test case:
curl "http://localhost:8084/search?q=Nightlife&price=200"
curl "http://localhost:8084/search?q=Adventure"
curl "http://localhost:8084/search?q=Exploring Lahore's Old City

bro our aws bill gonna be high

can u merge main and resolve conflicts please

can u merge main and resolve conflicts please

Yeap, I'm on it


Slides: Iteration

Sources:

Intermediate class
BANA 6043

@bradleyboehmke @eswan18 @cunningjames - I'm noticing some examples expanding concepts into pandas (e.g., iterating through a sequence ▶ iterating through DataFrame/Series. Do we want to keep those previews, or move them into the "Intro to Pandas" sections (and make an explicit callback)?
Personally, I think this might be better to move into the pandas sections, and focus more on the core concepts here; though I'm not that set against it. Mostly wanted to get some discussion here before we get too far into adapting other sections.

Yeah, I think I agree with you – iteration in Pandas isn't quite like iteration in the rest of the language, so I'd lean toward putting it in the Pandas section.


Source files are moved into src subdirectory.

Source files were moved into the src subdirectory in order to avoid file mess in the project root directory.

@gmantele, @msdemlei Could you please review the patch. Is it suitable for you?

It seems some checks are failed. I will recheck it.

On Tue, Jun 20, 2023 at 05:27:22AM -0700, Vitaly wrote:

@gmantele, @msdemlei Could you please review the patch. Is it
suitable for you?

Builds for me, too (gcc 10.2.1 and 12.2.0), the result passes the
tests, and the source tree looks quite a bit neater.  Thanks!


sql: change help token to ?? (from ?)

PR: https://github.com/cockroachdb/cockroach/pull/19108

Resolved by https://github.com/cockroachdb/docs/pull/2544.


add permissions to make ingress work on openshift

Signed-off-by: David J. M. Karlsen<EMAIL_ADDRESS>

Q
A

Bug fix?
yes

New feature?
no

API breaks?
no

Deprecations?
no

Related tickets
fixes #1260

License
Apache 2.0

What's in this PR?
OpenShift uses a special route concept, and w/o these permissions it will fail as described in #1260. I might have added a bit many verbs, but it mirrors the ingress, which makes sense.
Why?
Make ingress work ootb on openshift.
Additional context
Uses api detection to avoid problems on non-openshift platforms - should not be intrusive.
Checklist

[X] Code meets the Developer Guide
[X] User guide and development docs updated (if needed)
[X] Related Helm chart(s) updated (if needed)

From history it seems the bump happens on release, but I can bump if you want.

If you change the chart code itself, you have to bump the version. For releases, we bump the appVersion as well, but that is not needed in this case.

@pbalogh-sa fixed


[VC-34401] Update Prometheus metrics documentation to include information about the webhook

Preview: https://deploy-preview-1522--cert-manager.netlify.app/docs/devops-tips/prometheus-metrics/
Documentation to accompany the new webhook metrics server:

https://github.com/cert-manager/cert-manager/pull/7182

/approve


also treat CallerLocation and Machine memory as properly tagged

Only heap allocations need an exception.

@bors r+

:pushpin: Commit 340267525c9bfdd0b7bdca51f4a36e7857a05b25 has been approved by RalfJung

:hourglass: Testing commit 340267525c9bfdd0b7bdca51f4a36e7857a05b25 with merge 61ebb68dc0c38a4606b0a9e18206a96cb98fd2e3...

@bors retry r+

:pushpin: Commit 447f23c71b1bedc8ba363eeeb0c24affc79f89a0 has been approved by RalfJung

:hourglass: Testing commit 447f23c71b1bedc8ba363eeeb0c24affc79f89a0 with merge 74f81e952c8bf92a316c4b78247dd4a069a04268...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 74f81e952c8bf92a316c4b78247dd4a069a04268 to master...


Connections and some nodes are gone after update to commit 15b26ec4829f64418e47cd99410415604fe16ac7

Hi @acdamiani
I've updated Schema AI via import from git (before I downloaded it from Asset Store).
When I open my Graph, I get this error message / stack trace:
Broken text PPtr in file(Assets/Prefabs/Enemies/BaseAIGraph.asset). Local file identifier<PHONE_NUMBER>4919129) doesn't exist!
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Exception thrown while invoking [OnOpenAssetAttribute] method 'SchemaEditor.NodeEditor:Open (int,int)' : NullReferenceException: Object reference not set to an instance of an object
SchemaEditor.Internal.ComponentSystem.Components.ConditionalComponent.Create (SchemaEditor.Internal.ComponentSystem.CreateArgs args) (at ./Library/PackageCache/com.acdamiani.schema@15b26ec482/Editor/Canvas/Components/ConditionalComponent.cs:177)
SchemaEditor.Internal.ComponentCanvas.Create[T] (SchemaEditor.Internal.ComponentSystem.CreateArgs args) (at ./Library/PackageCache/com.acdamiani.schema@15b26ec482/Editor/Canvas/ComponentCanvas.cs:99)
SchemaEditor.NodeEditor.RebuildComponentTree () (at ./Library/PackageCache/com.acdamiani.schema@15b26ec482/Editor/Window/NodeEditorGUI.cs:390)
SchemaEditor.NodeEditor.Open (Schema.Graph graphObj) (at ./Library/PackageCache/com.acdamiani.schema@15b26ec482/Editor/Window/NodeEditor.cs:142)
SchemaEditor.NodeEditor.OpenGraph (Schema.Graph graphObj) (at ./Library/PackageCache/com.acdamiani.schema@15b26ec482/Editor/Window/NodeEditor.cs:133)
SchemaEditor.NodeEditor.Open (System.Int32 instanceID, System.Int32 line) (at ./Library/PackageCache/com.acdamiani.schema@15b26ec482/Editor/Window/NodeEditor.cs:278)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Blackboard entries are still there but conditionals and connections seem to be gone at least visually.
BaseAIGraph.asset.zip
AI.zip
I've added my Graph Asset and my custom Action and Conditional for you to reproduce it.

After going back to v 1.0.5 from Asset Store I still get the same error and I cannot create new connections. :-(

@acdamiani to avoid misunderstanding I did not update vom 1.0.5 to https://github.com/acdamiani/schema/commit/4d65500b8deb3f4127e8d2d4b06802d7da5b0545 or https://github.com/acdamiani/schema/commit/627c8558169341cae22a89872df20d41795ed027 but only from 1.0.5 to https://github.com/acdamiani/schema/commit/15b26ec4829f64418e47cd99410415604fe16ac7

I'm having a theory. It could be that I've created a class inside of the Schema folder structure and used it in the Graph asset. To update from Asset Store Package to Git Package I've had to delete the Schema folder from Assets folder. Unity automatically places it inside the Root/Packages folder.
Then obviously I've lost my class and the Graph Asset could not be opened anymore.
My Class was a conditional and the error happened in
SchemaEditor.Internal.ComponentSystem.Components.ConditionalComponent.Create...
Since the class is gone and I cannot put it back to the Root/Packages/Schema folder since it's readonly I cannot get the Graph asset to work.
Maybe it is possible in the future to simply create a warning (missing GraphObject) or so.
Without that the Graph asset is completely gone and a lot of work is lost eventually.


build: make finch-core a submodule instead of downloading archives

Signed-off-by: Justin Alvarez<EMAIL_ADDRESS>Issue #, if available: Supersedes #185, resolves #21
Description of changes:

make finch-core a submodule instead of downloading the release tarball

removes the extra step of uploading / downloading tar files from the internet at build time
makes it easier/possible to reference the submodules of finch-core directly

Testing done:

local build and e2e tests

[x] I've reviewed the guidance in CONTRIBUTING.md

License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Note: This PR also includes the changes in #185, since the submodules references the latest finch-core release, which bumps the Fedora version.

LGTM! Thanks Justin.
Should it be breaking change as it changes the build?

I don't think its a breaking change because it doesn't change the feature set, happy to discuss more if you disagree though


shape_predictor_68_face_landmarks

what is the purpose of "shape_predictor_68_face_landmarks"?
If I want to implement the dataset of LSUN (outdoor church), what kind of file that I have to choose to replace the "shape_predictor_68_face_landmarks"?
Would you please release the file?
The Image is from the "StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery".
This is the style that I want to try to implement.

where did you find the file "shape_predictor_68_face_landmarks"?


Unable to create destination storage account

When I need to create the destination storage account - it keeps failing:
New-AzureRmStorageAccount : Cannot validate argument on parameter 'Name'. The argument is null or empty. Provide an argument that is not null or
empty, and then try the command again.
$newStorageAccount = New-AzureRmStorageAccount $storageParams -e ...

                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidData: (:) [New-AzureRmStorageAccount], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Azure.Commands.Management.Storage.NewAzureStorageAccountCommand

@KobusOlie4   Which script were you running and what version of the AzureRM.Storage module do you have?  Use Get-Command New-AzureRmStorageAccount to verify you have version 2.3 or higher.  I did notice the newer module versions use -Name instead of -AccountName, but I've verified with both version 2.3 and 3.2 that it works with either parameter name.  I suspect since your -Name parameter is null, the storage account you're trying to clone is empty or does not have any storage blobs.  These scripts have not been modified to work with Managed Disks yet and rely on the URI of the blob storage to get the details of the source storage account. HTH and thanks for the feedback.

Thank you Jeff, REALLY cool script – I will test tomorrow morning again and revert.
Regards
Kobus
From: Jeff Bowles<EMAIL_ADDRESS>Sent: Monday, 17 July 2017 9:09 PM
To: JeffBow/AzurePowerShell<EMAIL_ADDRESS>Cc: Kobus Olivier<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [JeffBow/AzurePowerShell] Unable to create destination storage account (#8)
@KobusOlie4https://github.com/kobusolie4 Which script were you running and what version of the AzureRM.Storage module do you have? Use Get-Command New-AzureRmStorageAccount to verify you have version 2.3 or higher. I did notice the newer module versions use -Name instead of -AccountName, but I've verified with both version 2.3 and 3.2 that it works with either parameter name. I suspect since your -Name parameter is null, the storage account you're trying to clone is empty or does not have any storage blobs. These scripts have not been modified to work with Managed Disks yet and rely on the URI of the blob storage to get the details of the source storage account. HTH and thanks for the feedback.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/JeffBow/AzurePowerShell/issues/8#issuecomment-315850905, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcqO8XtqCy0IAZ7hK9broQEyUALbFlhgks5sO7BigaJpZM4OXNPI.

@KobusOlie4  I confirmed it is the newer modules causing this problem.  AzureRM version 3.2 used AccountName, but now that property is just Name in 4.2.1. This has been resolved in the latest release.


getting status of transcription in Azure STT

Hi,
We are using Azure Ingestion client to do transcription. Is there a way to programmatically check the status of transcription when it is complete within Azure Ingestion Client.

Hi @haldernayan,
I'm not sure if I got your question correctly, but we already check the status of the transcription programmatically inside the FetchTranscriptionFunction here:
https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/b2a2074734d920fb88f9cdc2a4cebcfe6883eafb/samples/ingestion/ingestion-client/FetchTranscription/TranscriptionProcessor.cs#L51
Another option would be to listen to blob created events as soon as the transcriptions are written to the blob storage:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-overview
Hope this helps!

no further response, closing now.


Why RPE and Flash Attention unable to enable simultaneously ?

Hi, Pointcept Team,
I found that the RPE and Flash Attention is unable to enable simultaneously.
However, to my knowledge, the Flash Attention is not a approximate computing, it is a precise computing of the self-attention.
So, what is the key reason to prohibit to doing that ?

Just because they didn't add support to that? I am not sure if is there anything change to the library, as PTv3 was written one year ago. Please free to make a PR if have a better option now.


docu typo: disover -> discover

There is a typo:
https://xmpp-ftw.jit.su/manual/extensions/buddycloud/#discovering-media-servers
socket.send(
    'xmpp.buddycloud.disover.media-server',
    {
        "of": "evilprofessor.co.uk"
    },
    function(error, data) { console.log(error, data) }
)

Hi, @robotnic can you raise this against the xmpp-ftw-demo (documentation) repo then https://github.com/xmpp-ftw/xmpp-ftw-demo as its unrelated to the server. (Even better you can use github UI to fork, edit, and make a pull request with a fix easily :+1: ).


tranquility-kafka: switch to kafka <IP_ADDRESS> for compatibility

Tested against Kafka 0.9 brokers and seems to work well. Fixes #108.

:+1:


???

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

Looks like this was opened accidentally


Problems building the go stuff

I'm new to go and trying to build this on OEL7 and getting this error:
[root@2c0a6a0a01eb flex]# make
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o flex-provisioner ./cmd/flex-provisioner
_/root/external-storage/flex/cmd/flex-provisioner
cmd/flex-provisioner/main.go:86:43: cannot use clientset (type *"k8s.io/client-go/kubernetes".Clientset) as type "github.com/kubernetes-incubator/external-storage/vendor/k8s.io/client-go/kubernetes".Interface in argument to volume.NewFlexProvisioner:
*"k8s.io/client-go/kubernetes".Clientset does not implement "github.com/kubernetes-incubator/external-storage/vendor/k8s.io/client-go/kubernetes".Interface (wrong type for Admissionregistration method)
have Admissionregistration() "k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1".AdmissionregistrationV1beta1Interface
want Admissionregistration() "github.com/kubernetes-incubator/external-storage/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1".AdmissionregistrationV1beta1Interface
cmd/flex-provisioner/main.go:89:41: cannot use clientset (type *"k8s.io/client-go/kubernetes".Clientset) as type "github.com/kubernetes-incubator/external-storage/vendor/k8s.io/client-go/kubernetes".Interface in argument to controller.NewProvisionController:
*"k8s.io/client-go/kubernetes".Clientset does not implement "github.com/kubernetes-incubator/external-storage/vendor/k8s.io/client-go/kubernetes".Interface (wrong type for Admissionregistration method)
have Admissionregistration() "k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1".AdmissionregistrationV1beta1Interface
want Admissionregistration() "github.com/kubernetes-incubator/external-storage/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1".AdmissionregistrationV1beta1Interface
make: *** [all] Error 2

have you cloned the repository into your GOPATH?


Adding a Trail Making Cognitive Test

Trail Making Cognitive Test
:recycle: Current situation & Problem
Using the active task feature of the cognitive tests that we recently found, I implemented a view that imports the Trail Making Cognitive Test.
:gear: Release Notes

Used the ResearchKit ORKOrderedTask to implement it
Not in any particular view, but we will need to discuss how we want to use and implement this feature

:books: Documentation
Please ensure that you properly document any additions in conformance to Spezi Documentation Guide.
I don't think that this requires any documentation as I'm just importing a piece of ResearchKit's active task feature and it's not quite relevant to Spezi.
:white_check_mark: Testing
Please ensure that the PR meets the testing requirements set by CodeCov and that new functionality is appropriately tested.
Will update after the tests run!
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[x] I agree to follow the Code of Conduct and Contributing Guidelines.

Great job!


Command not found after upgrade to 1.10

After upgrade to version 1.10,  while click "Install" in setting page, it shows below error:
/Applications/Atom.app/Contents/Resources/app/apm/bin/apm: line 8: dirname: command not found
/Applications/Atom.app/Contents/Resources/app/apm/bin/apm: line 9: basename: command not found
My OS is OS X EI 10.11.6

Please create a new issue and completely fill out the provided issue template.


cmd，run start.bat，and begin download model...，but download end，error occur:FileNotFoundError: [Errno 2] No such file or directory: 'checkpoints/fish-speech-1.4/tokenizer.tiktoken'

Self Checks

[X] This template is only for bug reports. For questions, please visit Discussions.
[X] I have thoroughly reviewed the project documentation (installation, training, inference) but couldn't find information to solve my problem. English 中文 日本語 Portuguese (Brazil)
[X] I have searched for existing issues, including closed ones. Search issues
[X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[X] [FOR CHINESE USERS] 请务必使用英文提交 Issue，否则会被关闭。谢谢！:）
[X] Please do not modify this template and fill in all required fields.

Cloud or Self Hosted
Self Hosted (Source)
Environment Details
conda create -n fish-speech python=3.12
conda activate fish-speech
pip3 install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/cu121
pip3 install -e .
pip install https://github.com/AnyaCoder/fish-speech/releases/download/v0.1.0/triton_windows-0.1.0-py3-none-any.whl
Steps to Reproduce
start.sh
✔ Expected Behavior
start 8080 webui service
❌ Actual Behavior
Start HTTP API...
Debug: flags = --listen <IP_ADDRESS>:8080 --llama-checkpoint-path "checkpoints/fish-speech-1.4" --decoder-checkpoint-path "checkpoints/fish-speech-1.4/firefly-gan-vq-fsq-8x1024-21hz-generator.pth" --decoder-config-name firefly_gan_vq
INFO:     Started server process [49168]
INFO:     Waiting for application startup.
2024-12-04 21:30:02.618 | INFO     | tools.api:initialize_app:886 - Loading Llama model...
Exception in thread Thread-5 (worker):
Traceback (most recent call last):
File "C:\soft\dmodel\anaconda3\envs\fish\Lib\threading.py", line 1075, in _bootstrap_inner
self.run()
File "C:\soft\dmodel\anaconda3\envs\fish\Lib\threading.py", line 1012, in run
self._target(*self._args, **self._kwargs)
File "C:\soft\dmodel\source\cetcisx\ai\fish-speech\tools\llama\generate.py", line 912, in worker
model, decode_one_token = load_model(
^^^^^^^^^^^
File "C:\soft\dmodel\source\cetcisx\ai\fish-speech\tools\llama\generate.py", line 677, in load_model
model: Union[NaiveTransformer, DualARTransformer] = BaseTransformer.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\soft\dmodel\source\cetcisx\ai\fish-speech\fish_speech\models\text2semantic\llama.py", line 408, in from_pretrained
tokenizer = FishTokenizer(tokenizer_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\soft\dmodel\source\cetcisx\ai\fish-speech\fish_speech\tokenizer.py", line 67, in init
mergeable_ranks = self.load_tiktoken_bpe(model_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\soft\dmodel\source\cetcisx\ai\fish-speech\fish_speech\tokenizer.py", line 89, in load_tiktoken_bpe
for line in open(tiktoken_bpe_file).read().splitlines():
^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoints/fish-speech-1.4/tokenizer.tiktoken'

I have also find the problem use python command mode: Error: Invalid value for '--input-path' / '-i': Path 'codes_0.npy' does not exist. But several days ago it runs well!
The python command :
!python tools/vqgan/inference.py
-i {src_A_audio}
--checkpoint-path "checkpoints/fish-speech-1.4/firefly-gan-vq-fsq-8x1024-21hz-generator.pth"
--output-path {reference_A_audio}
--device cpu #cuda
!python tools/llama/generate.py
--text {target_text}
--prompt-text "The text corresponding to reference audio"
--prompt-tokens {reference_A_token}
--checkpoint-path "checkpoints/fish-speech-1.4"
--num-samples 2
--device cpu #cuda

don't use git clone , use git checkout tags/v1.4.3


stepper dependency on material icons

Bug, feature request, or proposal:
bug
What is the expected behavior?
Texts are not printed on the screen instead of the icons if the icon set is not present.
Brownie points:
I can set up another icons from another icon sets (e.g. FontAwesome)
What is the current behavior?
stepper component has the dependency on material icons. If material icons are not used, it's rendered as text on the screen.

What are the steps to reproduce?
Index.html line 24 adds the necessary icons. If that line is commented out, icons will faill and text is printed on screen instead of icon.
Plunker template: https://plnkr.co/edit/n4ry3CkDsvV22aX4h5lo?p=preview
What is the use-case or motivation for changing an existing behavior?
I want to use FontAwesome icons (and I don't want to bundle the Material icons just for this one component)
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 2.0.0-beta.11
Angular 4.4.3
Is there anything else we should know?
Thanks for the Stepper component!

I would be okay with a svgIcon input, or a way to inject a template to be used in place of the icon.

or an option to keep the numbers (no icon change).

Any news on this?

you can set [completed]="false" on md-step and you will have only numbers instead of icons!!

But that would make every step look like incompleted (with the gray color), even the ones already completed.

I was a bit reluctant on trying [completed]="false" suggested by @dfront, after reading that it would make it look like uncompleted. But it's actually not that bad 😅
of course, it would've been better if it could be colored, since I'm using linear mode.

to replace the word "create" with the pen icon you need to add the google material font icon link.

@sam-lex, We can override styles and use some "creative" css to get this.
`
::ng-deep mat-step-header {
&:first-of-type {
.mat-step-icon {
* {
display: none;
}
        &:after {
            content: "1";
        }
    }
}

}`

Would someone mind please posting an example of overriding the create icon that shows for an editable step on the material 2 stepper. I've been struggling for hours trying to follow the docs and can't make it work so far @crisbeto

@ssgriffen
Here's .scss version:
::ng-deep mat-step-header {
    &:nth-of-type(2) {
        .mat-step-icon {
            * {
                display: none;
            }

            &:after {
                content: "1";
            }
        }
    }
}

@cfremgen I appreciate the example. However I am looking to only override the 'edit' icon when the step is in the edit state. The docs show a way to do this somwthing like this below
 <mat-horizontal-stepper>
 +      <ng-template matStepperIcon="edit">Custom edit</ng-template>
 +      <ng-template matStepperIcon="done">Custom done</ng-template>
 +
 +      <mat-step>Content 1</mat-step>
 +      <mat-step>Content 2</mat-step>
 +      <mat-step>Content 3</mat-step>
 +    </mat-horizontal-stepper>

but I haven't had success in implementing yet... @cfremgen  @crisbeto

I believe this is the commit you'll need https://github.com/crisbeto/material2/commit/8cc1aff709452044e332efb6ebb71f1030fc747c
But it's not in release yet.
You should be able to use my .scss as a starting point and only override if edit styles are applied. I am not sure though, I haven't encountered the exact scenario you're talking about.

@cfremgen okay, thank you, I didn't notice it wasnt released yet

is any one has example to use svg-icon in mat-icon for stepper.

::ng-deep mat-step-header {
&:nth-of-type(1) {
counter-reset: step-counter;
}
position: relative;
.mat-step-icon {
* {
display: none;
}
&:after {
content: counter(step-counter);
counter-increment: step-counter;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
}
this work for me

probably you use another font-family instead default.
you can solve this issue with fix 'Material Icon' for font-family in pages that use stepper.
:host /deep/ .material-icons {
  font-family: 'Material Icons' !important;
}

to replace the word "create" with the pen icon you need to add the google material font icon link <link href="https://fonts.googleapis.com/icon?family=Material+Icons"rel="stylesheet">

I think this is the best solution to utilize. Bcoz setting completed = "number" doesn't gives a nice UX.


starting the DM implementation for the non-overlapping case

Starting an implementation for LibriMix DM where the amount of overlap is not 100%.

Hello @ycemsubakan,
What is the current status of this PR please? Thanks.
Best,
Adel

This is an old PR, Martin then started another branch.


Update README.md

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

testing release drafter


[Spike] New mobiledoc based editor

Spike/prototype to test out new editor functionality based around https://github.com/bustlelabs/mobiledoc-kit
TODO:

[x] Isolate existing editor
[x] Add "New Editor" labs flag
[x] Swap new editor in/out based on labs flag
[ ] Integrate mobiledoc editor component

[x] Initial ember-mobiledoc-editor integration
[x] Basic toolbar styles
[ ] Basic editor content area styles

[ ] Add mobiledoc field to posts table
[ ] Generate HTML from mobiledoc when post is saved on the server
[ ] Display appropriate editor and notification if opening a markdown/mobiledoc post that doesn't correspond with the current labs flag setting

Investigate:

[ ] Options for converting existing markdown/html to mobiledoc
[ ] Options for image cards

Do I understand this correct as a step away from Markdown? Or is there a plan to allow the new editor to handle Markdown? Or in other words - how does Ghost looks like after this PR?

This is an experiment that aims to answer all of those questions. As I said to you in Slack the other day, we're planning right now - and that comes with some experimenting. It's a chicken-and-egg kinda situation.

Do I understand this correct as a step away from Markdown? Or is there a plan to allow the new editor to handle Markdown?

There are a couple of immediate options:

The mobiledoc editor already recognizes some markdown and automatically converts the text (such as lists etc) as you type and it's easy to extend with other text expansions so it would still be possible to type markdown to some extent
There is support for "cards" that are like editable sections with a HTML/text/dom renderer - it should be fairly simple to have a "markdown" card that ingests markdown formatted text and uses an existing markdown converter for it's HTML renderer. In this way there could even be multiple community markdown cards that use different markdown libraries

Although markdown should still be easy to support, the idea with the new editor is to move away from the restrictions that markdown imposes and open up a new level of flexibility/extensibility. However as @ErisDS said there's still a lot of experimentation to be done in that regard :smile:

Sounds interesting.

Closing as this is now located on the Ghost-Admin repo.

Oops, I was a little over-zealous with the PR closing earlier. Re-opening as this as it contains the server-side component of the new editor spike, the client-side part of this lives here.

Closing as this has served it's purpose and we're now working on a new mobiledoc implementation.


silence in the audios

When I stretch an audio with a ratio different from 0.5 in the interval ]0; 1[ the audio size is indeed accelerated but the duration doesn't change. For example when do that in python:
stretch_audio("input.wav", "output.wav", ratio=0.7)
The output.wav file has the same duration as input.wav, but the beginning is correctly accelerated. There is a silence to fill it.
I plot a graph with the ratio on the x-axis (here there was a 0.1 difference between each calculation) and the time on the y-axis. You can see that there are steps and that the duration doesn't change for "special" values :

Same error occured with me, any solution ?

What I did was I cut the end of the audio from the initial duration and ratio. It's not really a problem

My fix for this problem is as follows. I added a single line.
def stretch_audio(
    input_path: str,
    output_path: str,
    ratio: float = 1.0,
    gap_ratio: float = 0.0,
    upper_freq: int = 333,
    lower_freq: int = 55,
    buffer_ms: float = 25,
    threshold_gap_db: float = -40,
    double_range: bool = False,
    fast_detection: bool = False,
    normal_detection: bool = False,
    sample_rate: int = 0,
):
    """Stretches the input audio file and saves the result to the output path.

    Args:
        input_path (str): The path to the input WAV or MP3 audio file.
        output_path (str): The path to save the stretched WAV or MP3 audio file.
        ratio (float, optional): The stretch ratio, where values greater than 1.0 will extend the audio and values less than 1.0 will shorten the audio. From 0.5 to 2.0, or with `-d` from 0.25 to 4.0. Default is 1.0 = no stretching.
        gap_ratio (float, optional): The stretch ratio for gaps (silence) in the audio. Default is 0.0 = uses ratio.
        upper_freq (int, optional): The upper frequency limit for period detection in Hz. Default is 333 Hz.
        lower_freq (int, optional): The lower frequency limit. Default is 55 Hz.
        buffer_ms (float, optional): The buffer size in milliseconds for processing the audio in chunks (useful with `-g`). Default is 25 ms.
        threshold_gap_db (float, optional): The threshold level in dB to determine if a section of audio is considered a gap (for `-g`). Default is -40 dB.
        double_range (bool, optional): If set, doubles the min/max range of stretching from 0.5-2.0 to 0.25-4.0.
        fast_detection (bool, optional): If set, enables fast period detection, which may speed up processing but reduce the quality of the stretched audio.
        normal_detection (bool, optional): If set, forces the algorithm to use normal period detection instead of fast period detection.
        sample_rate (int, optional): The target sample rate for resampling the stretched audio in Hz (if installed with `[all]`). Default is 0 = use sample rate of the input audio.
    """
    audio_stretch = AudioStretch()
    audio_stretch.open(input_path)
    audio_stretch.stretch(
        ratio,
        gap_ratio,
        upper_freq,
        lower_freq,
        buffer_ms,
        threshold_gap_db,
        double_range,
        fast_detection,
        normal_detection,
    )
    audio_stretch.resample(sample_rate)
    audio_stretch.samples = audio_stretch.samples[:int(audio_stretch.nframes * ratio)] # Fix
    audio_stretch.save(output_path)


[custom channels 3/5]: Extract PART3 from mega staging branch

Extracts part 3 from https://github.com/lightningnetwork/lnd/pull/8960.

Requires a spicy rebase now that https://github.com/lightningnetwork/lnd/pull/8981 is in...


Fix: Proper error handling for file:open() call in couch_file.erl

Overview
According to Erlang's file:open docs this function returns {error, Reason} in case of failure but inside couch_file:sync and init functions there are no checks for this in two places. Consequently when I received {error, emfile} kind of error, process crashed with badmatch instead of a proper error.
Testing recommendations
Simulate {error, emfile} conditions (e.g. decrease ulimit on your OS) and observe an error.
Checklist

[x] Code is written and works correctly;
[ ] Changes are covered by tests;
[ ] Documentation reflects the changes;

-1.
We assert that we get the ok we expect. If we don't, we want the process to crash, which it does.
Adding error handling code for errors we don't intend to handle (in the sync case, you immediately throw it anyway) is an anti-pattern in erlang, though common (or mandatory) in other languages.

@davisp if you would like to comment on the init portions.

@rnewson yes and no. The issue is where we want that badmatch to happen and with what as the badmatch. For the init section this is a good change as it matches the initial open. What's being added is the handling when the second of two fails to behave the same as the first. This is fine as we already handle the error. And it cleans up logs a bit in that the emfile error happens in the process doing the open rather than a EXIT/DOWN message when the couch_file pid dies on a badmatch.
As for the init process this just reuses the existing logic which seems cleaner than going back and rewriting it to use proc_lib properly.
+1 after style issues are addressed

if @davisp is happy, I'm happy.

@davisp Thanks for review. Will address this in a few days when I have access to my laptop.


MSOL commands going away

With the retirement of the MSOL commands is there any updated documentation on how to retrieve this data using new MG commands?
[Enter feedback here]

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

ID: b5905fd6-5899-f2c6-ff56-f90c4183b5f4
Version Independent ID: d4ac0732-5985-702c-3260-f6b615f24292
Content: PowerShell and Microsoft Graph examples for group licensing - Microsoft Entra
Content Source: articles/active-directory/enterprise-users/licensing-ps-examples.md
Service: active-directory
Sub-service: enterprise-users
GitHub Login: @barclayn
Microsoft Alias: barclayn

@PlanetBlake
Thanks for your feedback! We will investigate and update as appropriate.


Add message_attributes to Message object as per SQS Message struct

Add message_attributes to Message object as per SQS Message struct
Return message_attributes and md5_of_message_attributes as part of receive_message call with optional message_attribute_names parameter
Return md5_of_message_attributes as part of send_message call

This is an adaption with some changes and added specs from #15

Hi there, I'm trying out fake-sqs and I found out that it doesn't support message attributes, which my project relies on. Any chance this PR can get in? 👍

@nritholtz The calculation of the checksum does not match that of the current aws sdk.
The following fix is needed to avoid a checksum failure:
diff --git a/lib/fake_sqs/message.rb b/lib/fake_sqs/message.rb
index 7fd2de6..7e4c0df 100644
--- a/lib/fake_sqs/message.rb
+++ b/lib/fake_sqs/message.rb
@@ -53,12 +53,14 @@ module FakeSQS

     def add_string_to_buffer(string, buffer)
       string_bytes = string.force_encoding('UTF-8').bytes.to_a
-      buffer.concat string_bytes.pack("N").bytes.to_a
+      buffer.concat [string_bytes.size].pack("N").bytes.to_a
+      buffer.concat string_bytes
     end

     def add_binary_to_buffer(binary, buffer)
       binary_bytes = binary.unpack("m*")[0].bytes.to_a
-      buffer.concat binary_bytes.pack("N").bytes.to_a
+      buffer.concat [binary_bytes.size].pack("N").bytes.to_a
+      buffer.concat binary_bytes
     end

     private

Also calling bytes.to_a is redundant, because bytes already returns an array.

@felixbuenemann Thanks for the information. Unfortunately, this PR is almost a year old, so this MD5 constraint didn't exist in the client then.
I've updated my commit with your snippet. Please note, that bytes actually returns an enumerator in ruby 1.9.3. Since the travis build supports ruby 1.9.3 also, the specs would've failed something like this:
 1) FakeSQS::Message#message_attributes has message attributes
     Failure/Error: expect(message.message_attributes_md5).to eq "6d31a67b8fa3c1a74d030c5de73fd7e2"
     TypeError:
       can't convert Enumerator into Array
     # ./lib/fake_sqs/message.rb:56:in `concat'
     # ./lib/fake_sqs/message.rb:56:in `add_string_to_buffer'
     # ./lib/fake_sqs/message.rb:40:in `block in message_attributes_md5'
     # ./lib/fake_sqs/message.rb:39:in `each'
     # ./lib/fake_sqs/message.rb:39:in `each_with_object'
     # ./lib/fake_sqs/message.rb:39:in `message_attributes_md5'
     # ./spec/unit/message_spec.rb:35:in `block (3 levels) in <top (required)>'

In addition, I had to add a commit to lock down Sinatra and ActiveSupport gem versions, since the gemspec currently allows the latest and there were plenty of new versions since my last commit a year ago. Both of these gem's latest versions ultimately require ruby version >= 2.2.2. Until older versions of ruby are dropped from this gem, I just added checks within the gemspec.

@nritholtz Thanks it works. Please merge this.

Closed in preference to #59


Dubious results in portability analyzer report

Hi Team,
I generated the portability report for 4.6.2 .Net Framework project to .Net Core v2.1.
In the target I'd also checkmarked 4.6.2 just to verify it shows 100% for the same project version or not.
To my surprise, it didn't show 100% for its own version. See the screenshot below.

Can you please let me know in case I'm missing something ?
Thanks
Rahul

https://github.com/Microsoft/dotnet-apiport/issues/760#issuecomment-466618176
This tool only includes APIs that are shipped by the .NET Framework team. Out of band SDKs aren't part of the catalog. It's a false positive. https://apisof.net is where our data comes from.


TestSyncTrigger time out

==================
WARNING: DATA RACE
Write by goroutine 39:
  github.com/coreos/etcd/etcdserver.(*raftNode).run()
      github.com/coreos/etcd/etcdserver/_test/_obj_test/raft.go:89 +0x9d
Previous read by goroutine 34:
  github.com/coreos/etcd/etcdserver.func·003()
      github.com/coreos/etcd/etcdserver/_test/_obj_test/server.go:474 +0x7e
  github.com/coreos/etcd/etcdserver.(*EtcdServer).run()
      github.com/coreos/etcd/etcdserver/_test/_obj_test/server.go:558 +0x17e5
Goroutine 39 (running) created at:
  github.com/coreos/etcd/etcdserver.(*EtcdServer).run()
      github.com/coreos/etcd/etcdserver/_test/_obj_test/server.go:471 +0x351
Goroutine 34 (running) created at:
  github.com/coreos/etcd/etcdserver.(*EtcdServer).start()
      github.com/coreos/etcd/etcdserver/_test/_obj_test/server.go:388 +0x5c7
  github.com/coreos/etcd/etcdserver.TestSyncTrigger()
      /home/travis/gopath/src/github.com/yichengq/etcd/gopath/src/github.com/coreos/etcd/etcdserver/server_test.go:666 +0x603
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:447 +0x133
==================
panic: test timed out after 3m0s
goroutine 249 [running]:
testing.func·008()
	/usr/local/go/src/testing/testing.go:681 +0x168
created by time.goFunc
	/usr/local/go/src/time/sleep.go:129 +0x59
goroutine 1 [chan receive]:
testing.RunTests(0xaeff80, 0x1607140, 0x37, 0x37, 0xc20809c201)
	/usr/local/go/src/testing/testing.go:556 +0xdc3
testing.(*M).Run(0xc2080566e0, 0x1611d60)
	/usr/local/go/src/testing/testing.go:485 +0xe1
main.main()
	github.com/coreos/etcd/etcdserver/_test/_testmain.go:222 +0x382
goroutine 200 [chan send (nil chan)]:
github.com/coreos/etcd/etcdserver.func·003()
	github.com/coreos/etcd/etcdserver/_test/_obj_test/server.go:474 +0xa9
github.com/coreos/etcd/etcdserver.(*EtcdServer).run(0xc208160480)
	github.com/coreos/etcd/etcdserver/_test/_obj_test/server.go:558 +0x17e6
created by github.com/coreos/etcd/etcdserver.(*EtcdServer).start
	github.com/coreos/etcd/etcdserver/_test/_obj_test/server.go:388 +0x5c7
goroutine 199 [chan receive]:
github.com/coreos/etcd/etcdserver.(*EtcdServer).Stop(0xc208160480)
	github.com/coreos/etcd/etcdserver/_test/_obj_test/server.go:573 +0x188
runtime.Goexit()
	/usr/local/go/src/runtime/panic.go:288 +0xf6
testing.(*common).FailNow(0xc2080807e0)
	/usr/local/go/src/testing/testing.go:329 +0x5e
testing.(*common).Fatalf(0xc2080807e0, 0xa579b0, 0x18, 0xc2081b1dc0, 0x1, 0x1)
	/usr/local/go/src/testing/testing.go:370 +0x98
github.com/coreos/etcd/etcdserver.TestSyncTrigger(0xc2080807e0)
	/home/travis/gopath/src/github.com/yichengq/etcd/gopath/src/github.com/coreos/etcd/etcdserver/server_test.go:680 +0x88a
testing.tRunner(0xc2080807e0, 0x1607518)
	/usr/local/go/src/testing/testing.go:447 +0x134
created by testing.RunTests
	/usr/local/go/src/testing/testing.go:555 +0xd4e
goroutine 257 [select]:
github.com/coreos/etcd/etcdserver.(*raftNode).run(0xc208160490)
	github.com/coreos/etcd/etcdserver/_test/_obj_test/raft.go:127 +0xf0b
created by github.com/coreos/etcd/etcdserver.(*EtcdServer).run
	github.com/coreos/etcd/etcdserver/_test/_obj_test/server.go:471 +0x351
FAIL	github.com/coreos/etcd/etcdserver	180.047s

Reading through the whole panic stack, TestSyncTrigger fails when check the action. This should not happen given the fact that we have use WaitSchedule today. My guess is that my test branch on my own outdated repo is an old version, but i have no way to confirm this now. Let us assume that has been fixed.
The forever waiting is caused by goroutine 200 [chan send (nil chan)]:, and this is caused by the data race that #3077 has fixed.

The forever waiting is caused by goroutine 200 [chan send (nil chan)]:, and this is caused by the data race that #3077 has fixed.

As we discussed offline, I do not think this is caused by the data race.

Actually the data race is also caused by WaitSchedule. Or the two routines should be synced.

The root failure is that action mismatch in TestSyncTrigger, and its root cause is that WaitSchedule doesn't let other goroutines run. I agree with you on this point.
i ran unit test suite 500 times, and surprisingly find that it fails 3 times in different tests because WaitSchedule doesn't wait for schedule to process far enough. I extended the wait time to 10ms now, which passed test suite 1000 times on travis.


Need new irelia skin!

If avalible, wish to update to new version 🙏

chibi katarina + skins is also missing

This version of the file entering the game will cause the game to crash

This version of the file entering the game will cause the game to crash

Have you solved it? I'm running into this issue as well

The new version works very well!! thx a lot ❤


Power Grid Stock Price Prediction

🛠 Related Issue

Closes #470

📝 Description

[Provide a concise description of the changes. Include the purpose and any relevant context or details.]
🔍 Type of PR

[ ] 🐛 Bug fix
[ ] ✨ Feature enhancement
[ ] 📚 Documentation update
[ ] 🛑 Other (specify): _______________

📸 Screenshots / 🎥 Videos (if applicable)

[Attach screenshots or videos]
✅ Checklist

[ ] I have performed a self-review of my code.
[ ] I have read and followed the Contribution Guidelines.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.

ℹ Additional Context

[Include any additional context or information that might assist reviewers in understanding the changes]

@Akshat111111  can please review this pull request and the other 2 pull #555


Height of character boxes is not correct

Bug report
Description: Height of character boxes is not correct on some fonts. I removed other font and graphical items from the PDF to isolate the problematic character boxes.

Steps to reproduce:

Run the script provided below on the provided PDF.
Open the output image pdf_with_boxes.png to see the boxes.

import cv2
import numpy as np
from pdf2image import convert_from_path
from pdfminer.pdfparser import PDFParser
from pdfminer.pdfpage import PDFPage
from pdfminer.pdfdocument import PDFDocument
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter
from pdfminer.converter import PDFPageAggregator
from pdfminer.layout import LAParams, LTTextBox, LTChar

def path_to_images(path, width, height):
    image_dims = (width, height)
    images_from_pdf = [np.array(img) for img in convert_from_path(path, size=image_dims)]
    return [cv2.cvtColor(image, cv2.COLOR_RGB2BGR) for image in images_from_pdf]

def draw_box_on_image(image, bbox, height, color=(255, 0, 0), thickness=1):
    bbox = bbox[0], height - bbox[3], bbox[2],  height - bbox[1]
    pt1 = (int(bbox[0]), int(bbox[1]))
    pt2 = (int(bbox[2]), int(bbox[3]))
    cv2.rectangle(image, pt1, pt2, color=color, thickness=thickness)

def parse_pages(pdf_path):

    fp = open(pdf_path, 'rb')
    parser = PDFParser(fp)
    doc = PDFDocument(parser)
    parser.set_document(doc)

    rsrcmgr = PDFResourceManager()
    laparams = LAParams(char_margin=3.5, all_texts=True)
    device = PDFPageAggregator(rsrcmgr, laparams=laparams)
    interpreter = PDFPageInterpreter(rsrcmgr, device)
    for page in PDFPage.create_pages(doc):
        interpreter.process_page(page)
        layout = device.get_result()
        yield layout

if __name__ == '__main__':

    pdf_path = 'chinese_chars_with_incorrect_char_boxes.pdf'
    output_image_path = "pdf_with_boxes.png"
    first_page = next(parse_pages(pdf_path))
    width, height = first_page.bbox[2], first_page.bbox[3]
    image = path_to_images(pdf_path, width, height)[0]

    for page in parse_pages(pdf_path):
        for tbox in page:
            if not isinstance(tbox, LTTextBox):
                continue
            for line in tbox:
                for char in line:
                    if not isinstance(char, LTChar):
                        continue
                    box = (char.x0, char.y0, char.x1, char.y1)
                    draw_box_on_image(image, box, height)

    cv2.imwrite(output_image_path, image)

chinese_chars_with_incorrect_char_boxes.pdf

I can replicate this issue with the newest version of pdfminer.six. Tried cleaning the pdf with mutools and running the code again, but no difference.

Hi, I'm using pdfminer.six-20200726.
I have another question regarding to cases when the font type is "unknown". As I understand, if the LTChar has a font type "unknown", it will have a neglectable height beside a proper width. Is there any way to recover the character heights, as well? Why is not it implemented already?
Thank you!

@rinczefi Are you able to share your PDF? Sounds like we'd need to work out why the font is unknown...

20200818 115816-1_Check Request - Sunlife Medical Case Fee - 0820_4.pdf
This is the PDF, I'm stuck with right now.

@jstockwin Is there any progress on this issue yet?

@rinczefi Apologies for not responding sooner. Unfortunately I am currently quite busy and so have not had much spare time for open source stuff. It's on my list of things to get around to, but no guarantees, I'm afraid.

@rinczefi were you able to solve this issue?

@rinczefi were you able to solve this issue?

@rinczefi were you able to solve this issue?

No, I were not.

@rinczefi were you able to solve this issue?

No, I were not.

@rinczefi were you able to solve this issue?

No, I were not.

@rinczefi were you able to solve this issue?

No, I were not.

@jstockwin @pietermarsman any updates on this issue or at least what is the root cause of this issue? It would be wonderful if you can shed some lights on the root cause. Thanks in advance.


fix(deps): update icr.io/ext/logdna-agent docker tag to v3.8.4-20230607.eca8b5c44555067a

This PR contains the following updates:

Package
Update
Change

icr.io/ext/logdna-agent
patch
3.8.2-20230417.55660d6109acca68 -> 3.8.4-20230607.eca8b5c44555067a

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 1.5.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Night Mode Feature

Is your feature request related to a problem? Please describe.

I want to give this project feature of night mode.

Describe the solution you'd like

I will give a checkbox like button by enabling it the color theme of the website changes to dark mode.

@purnima143 If valid please assign and also recommend me with the main color theme replacing the orange texture.

@purnima143 please suggest him about the color theme

@vedant-jain03 use brown color as background for dark theme...and for font use more up of orange or creame or white colors


Session revisions

This pull request fixes an issue that would prevent multiple session tokens to be used when fulfilling requests. This pull request also adds client status and reset methods.

Coverage remained the same at 100.0% when pulling ff5d91cd8f38288635477bc31795ed760cd75392 on session-revisions into c1029ac09e9d1563e4a0c1c9019d9b3db4e8a990 on master.


Remote video is just white.

When I join from a second computer, I see the RemoteVideoRoot is populated, however the video is blank. The material is instanced and has no texture assigned. Perhaps I did not set up the project correctly?

Yep. It is very easy to get this wrong. But don't worry, we have a new set of simple demos  to show the usage. Please check it out.


lab 03 updated, issue fixed

Fixes #447
Review of colleague's PR #
Changes proposed in this PR:

added function letters() and sortLetters(), test cases, issue raised by bot hopefully fixed

Interesting logic of implementing letters func - didn't think of approaching it this way

I wanted to say I don't even understand my logic now lolz, thank you for the feedback though :)


[firebase_auth] Resolve deprecated API warnings

Type the following command.
$ cd packages/firebase_auth/example
$ flutter run -d emulator-5554

The following warning is displayed.
firebase_auth/android/src/main/java/io/flutter/plugins/firebaseauth/FirebaseAuthPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

It fixes with this PR.

Hey @ko2ic , if you just rerun the tests, this time it will work, the gradle problem was fixed on master. (git commit -m "rerun tests" --allow-empty)

@ffeu Thank you !

Included in #775. Closing.


multi sig address

Hi everyone,
Any chance of someone giving me an example of creating a multisig within buidljs ?
Thanks 🥇

There are only two multisig functions in buidljs to CREATE multisig addresses. NOTE there are no functions in buidljs to spend from multisig.
multisig(pubkey1,pubkey2,pubkey3) - 3 parameters (string, string, string). This function will take 3 public keys and creates a 2 of 3 multisig address.
multisigRandom(m,n) - 2 parameters (integer, integer). M must be less than N. Generates random private keys based on the m-of-n provided and outputs the multisig address, redeemscript and private keys needed to sign.

Any chance writing this in a code/line as an example? Thanks

im trying to insert a code but i cant define pubkey1,pubkey2,pubkey3 or m,n!? any chance of helping me out with that?
getting error with Uncaught ReferenceError: m is not defined or Uncaught ReferenceError: pubkey1 is not defined

Create a random 2-3 multisig
var newkey = buidl.multisigRandom(2,3)
console.log("Address: "+newkey.addr)
console.log("WIF Keys: "+newkey.privateKeys)
console.log("RedeemScript: "+newkey.redeemScript)

Or if you want to provide public keys to create a multisig:
//generate the keypairs
var keypair1 = buidl.getNewAddress()
var keypair2 = buidl.getNewAddress()
var keypair3 = buidl.getNewAddress()

//obtain the public key for each
var pubkey1 = buidl.getDetails(keypair1.pk).publicKey
var pubkey2 = buidl.getDetails(keypair2.pk).publicKey
var pubkey3 = buidl.getDetails(keypair3.pk).publicKey

//create a 2 of 3 multisig with public keys
var wallet = buidl.multisig(pubkey1,pubkey2,pubkey3)
console.log("Address: "+wallet.addr)
console.log("RedeemScript: "+wallet.redeemScript)


Double-check room member removal

There seems to be a situation where the command right before this already clears the user from the members list, which in turn causes this line to throw a ValueError, complaining about the user_id not being in the members list.

LGTM, thanks!


Support import from trace event format event when there are too many "E" events.

Fixes #221

Coverage increased (+0.08%) to 46.991% when pulling 880351c12fdfea6be269fda82b5ac5542ce501ed on jlfwong/trace-event-extra-e-events into 30ca6291ca93557e2bb77a2bafc5bac580627102 on master.


ModuleNotFoundError: No module named 'sagemaker_pytorch_container.serving'

I built both the pytorch-1.2.0-gpu-py3 and pytorch-1.1.0-gpu-py3 images and tried to deploy a model in local mode using PytorchModel. I always get the error:

ModuleNotFoundError: No module named 'sagemaker_pytorch_container.serving'

Which makes sense, since when looking both inside the docker image and inside the src/sagemaker_pytorch_container, I don't see any serving.py script, only training.py.
Did I miss something ? How can I build a pytorch image able to do both training and serving from this repo ?

Pytorch hosting functionality was separated into a different container. Please use https://github.com/aws/sagemaker-pytorch-serving-container for serving/hosting.


Release build crashes when using package

During the android build of the release version, the application crashes with the following error:

Assembly takes place in the gitlab pipeline with Android Studio 2<IP_ADDRESS>
Gradle version - 7.4

same issue
it used to work, no updates were made and an error appeared one day

@saibotma i found this bugfix, maybe it's decision
https://github.com/jitsi/jitsi-meet-release-notes/blob/master/CHANGELOG-MOBILE-SDKS.md#common

Did you add Proguard rule to your android.Here is the Proguard rule for android, add this and check release build again :
https://github.com/jitsi/jitsi-meet/blob/master/android/app/proguard-rules.pro

 Did you add Proguard rule to your android.If missing, you must add Proguard-rules and check release build again. Check this Proguard rules : https://github.com/jitsi/jitsi-meet/blob/master/android/app/proguard-rules.pro

yes, we have this rules

@manh1707 for reproduce this bug, clean gradle cache, if you have done builds before, and run build again
it is necessary, because gradle cached jitsi and error occurs when loading it

the problem was in the vpn :point_right: :point_left:


Imprve docs for arithmetic operations

General

pyfar version:0.5.2

Description

[ ] Add information about handling complex time data to concepts/Arithmetic operations
[ ] Move documentation of arithmetic operations from Classes/Audio to a new section Modules/Arithmetic operations. They are functions not classes, I think they will be found easier if they have a separate section.
[ ] Merge in to develop_complex_signals

closing in favor of #506


Docs: Fix query terms in full text search

Describe this PR
There seem to have been some issues in the query terms for the docs of the fulltext search.
Changes

Fixed query terms (added some negations where needed)

Hey @tristndev 👋 thanks so much for taking the time to help us improve our docs!
I was actually confused about this as well when I saw your PR and initially agreed with it. After checking back with my team maters, I realized that the table is correct through. The description doesn't describe the operator but it basically explains why each query is a match or not. From that perspective, the table is correct.
I still created an issue for ourselves to look at this again and clarify this further to make sure we're preventing this kind of confusion in the future: https://github.com/prisma/docs/issues/5491
I still want to thank you for taking the time to help us improve our docs and encourage you to open more PRs in the future 💚


Line wrap in chinese only emit one line.

Problem Image:

The following code can reproduce.
doc.font("./simsun.ttc", "SimSun").text("1、自动化数据库（DB）服务器及2台终端感染病毒，导致数据库速度慢、终端工作不正常。\n2、训练飞机多架共用一个应答机编码，冲突告警数据量大，DB服务器储存容量很快到告警极限，导致DB服务器处理数据变慢，出现FDO终端发报时卡停现象。");

Font file:
simsun.zip
git bisect show that e02f69a is the reason.

This also occurs in other languages - we've been seeing issues where a broken line (because of a too narrow field width) will only show the last line. Rolling back to 0.8.0 fixes it.

Should be the same as issue https://github.com/devongovett/pdfkit/issues/689 - there is a pull request waiting that solves it, so we'll use 0.8.0 until it's been merged.

@klimkjar Thanks for pointing it out. Since #764 had been merged, I can close this issue.


Add an option to disable the coredump from vineyardd itself

Describe your problem
Disable coredump programmabily and determistically would help the deployment inside production environment to avoid coredump file take the disk space.
Additional context
Add any other context about the problem here.

c.f.:

https://stackoverflow.com/questions/60662162/omitting-core-dumps-via-c-a-define-or-other-in-code-compile-time-solutions
https://linux.die.net/man/2/setrlimit


GPG config improvements

--gnupg-home should be optional. I imagine the common case is to just use the normal home, as we're not giving existence of a key in the ring any special meaning in relation to a guild.

gnupg.py's gpgbinary option should be exposed.

The --pass-manage=save option should be removed. We shouldn't be encouraging storage of passphrases in clear text. If someone hates typing that much, they can take it upon themselves to use a key with no passphrase, or just use the agent.

Possibly, there should be a --pass-manage option to use the gpg default. Need to check if or how this differs from use_agent.

If you specify a nonexistent GPG home, it will be silently created and populated by GPG. This seems undesirable. Maybe check for existence first, or at least find a way to not swallow GPG's banter so the user can see what happened.

Six. Full key fingerprints, with or without spaces, should be acceptable wherever key IDs are used, and must not be truncated internally. Anywhere keys are referenced in shared data, e.g. roles.csv, the full fingerprint should be used instead. In short, truncated IDs should serve at most as a convenience for a particular user to refer to keys within a local keyring.

Git Guild Bounty Program

Total
Dev
Sales
Reporter
Tester(s)
Maintainer
Documenter

N/A
assignee(s)
N/A
@welshjf
@isysd, @d3brouille
@isysd
@d3brouille

$435.42
$275.00
$0.00
$22.92
$91.67
$22.92
$22.92

Another GPG improvement: the act of signing ought to be more in the user's control, for example a prompt like Sign ".gg/charter.md"? [Yes/no/view]  for each document.
Also, passphrase handling could be simplified by having get_pass cache it in a global variable, rather than having to remember to pre-prompt and pass whenever the code needs to sign multiple docs.

This is done as of #34 moving directly to gpg.


[BUG] Bad state: Arena no longer in use, releaseAll(reuse: false) was called.

Hi again @simc, sorry for bothering you!
Description
I'm trying to maximise performance as much as possible during a bulk writing. Whilst using an individual transaction for each write operation (each write operation depends on a network call to get some bytes, and these network calls are called in a queue with 10 parallel threads) is best in terms of reliability/durability, it has signigicantly worse performance than just writing to the filesystem (of course, this is still better in the long run, as statistics can be retrieved almost instantly).
Whilst trying to increase this performance by only using one transaction, I'm running into the error in the title. In the code below, you can see that I listen to a long-lived (singleton controlled) stream inside the transaction, and the stream contains the objects to write to the database. For every stream.add operation, I get the error above, which traces back to the transaction block.
What is the correct way to create a long lived transaction which can have multiple write events added dynamically by a stream?
Code sample
class BulkTileWriter {
  BulkTileWriter._(FMTCTileProvider provider)
      : _tileWriteStream = StreamController.broadcast(),
        _db = FMTCRegistry.instance.tileDatabases[DatabaseTools.hash(
          provider.storeDirectory.storeName,
        )]!;
  final StreamController<DbTile> _tileWriteStream;
  final Isar _db;

  static late BulkTileWriter instance;

  static void start(FMTCTileProvider provider) {
    instance = BulkTileWriter._(provider);
    instance._db.writeTxn(
      () async {
        instance._tileWriteStream.stream
            .listen((e) => instance._db.tiles.put(e));
      },
    );
  }

  static void write(DbTile tile) => instance._tileWriteStream.add(tile);

  static void stop() => instance._tileWriteStream.close();
}

// Elsewhere
BulkTileWriter.start(provider);

// Elsewhere
BulkTileWriter.write(DbTile(url: url, bytes: bytes));

Details

Platform: Windows
Flutter version: 3.3.9
Isar version: 3.0.5

The only other similar issue I could find was https://github.com/isar/isar/issues/896, but that appears to be a little different.

[X] I searched for similar issues already
[X] I filled the details section with the exact device model and version
[X] I am able to provide a reproducible example

@JaffaKetchup when the stream subscription in the transaction receives an event, it is already closed. There is nothing keeping this transaction running. The async callback you provide to writeTxn() returns immediately.
I don't understand however why you see such an unergonomic error message. That's certainly something that needs to be fixed.
I'd be extremely grateful if you could provide a small main() function that reproduces the issue.
Generally what you are trying to do is a very bad idea for multiple reasons:
Short transactions are not very expensive. They have a cost but not bad. Very long running transactions that wait for a network call or stream are very expensive and let the database file grow fast.
Additionally only a single write transaction can run at a time so you can't write anywhere else why this transaction is running.

Hi @simc,
Ah, that certainly makes sense: I should've seen it myself!
I'll try and make an MRE for you this week, it should be relatively easy to reproduce.
Interesting that only one write thread can be in use at one time, I've noticed that in every database I've come across. I guess this is a limitation of IO?
I realised that what I'm doing is a poor idea, I was more interested to see if Isar could be faster than pure IO if I pushed it to the max.
If you're interested in the difference in tiles per second, when making requests to the same server around the same time in 10 threads, pure IO writes about 250 whereas Isar writes ~170. As I said, everything else is much faster, so it's a tradeoff I'm willing to make (and I'm sure my users won't mind either). I guess it will be a game of optimising my code then!
Thanks for your fast response :)

Yes multi-threaded writing is generally very difficult and would slow down reading.
I guess 70% of IO is not too bad. Then again 170 writes / second sounds extremely slow. Isar should be easily able to write thousands of objects per second.
Maybe try batching some writes or compare the performance between sync and async writing so see how much you loose waiting for the Dart Isolate to sync with the Isar thread.

After implementing an Isolate system with bi-directional communication, I've managed to get this to write at ~280 tiles per second: I'm pretty sure it's a network limitation at this point, as it fluctuates over and under this number a fair bit (whereas it was a limit previously).
Batching might further increase performance, but it's not ideal for memory consumption (due to the nature of what I'm storing).
I should be able to get a minimal reproducible example posted on here tomorrow (day after at the latest).

@simc Here's the reproducible example:
Future<void> main(List<String> arguments) async {
  final db = await Isar.open([UserSchema]); // Any schema
  final stream = StreamController<User>.broadcast();
  await db.writeTxn(() async => stream.stream.listen((e) => db.users.put(e)));
  stream.add(User());

Interestingly, if I remove the await from in front of writeTxn, it exits without error. I can't find the actual database file to confirm if it wrote anything or not, and the Inspector link isn't shown.

Thanks so much for your help @JaffaKetchup 🙏

No problem at all, thanks for yours as well :)

Hey @simc,
Realised that my ~280 tps was actually misleading: the database thread had become unsynced with the download thread. So not all of the tiles had actually been written.
In reality, I can still only manage ~160 writes/second. Interestingly, the write operation takes exactly 5ms - 6ms per tile, no matter it's size:

I've tried everything I can to increase performance, but I seem to be stuck at this limit, and it seems to be the database thread that is limiting (I can reach upwards of ~330 downloads/second if I detatch the thread completley).

Do you have any idea of why this might be?
Thanks for all your help so far, it really is appriciated :)

@JaffaKetchup I don't entirely understand the code you posted. A few general tips:
Try batch writing e.g. wait a few ms for a few tiles to arrive and write them in a single transaction.
Try benchmarking individual components. Create a small benchmark inserting a list of tiles into Isar without all the network stuff. Then we can see whether it's an Isar limitation. If that's the case we can find a fix.

Buffering does seem to work well, although I have to worry about memory usage and app stability now. I'll leave the decision up to the developer on the other end.
Maybe a sentence or two in the docs would be good, referring to how buffering can remove the cost of multiple transactions when writing a lot of asynchronous data?


Update howto-mfa-nps-extension.md

Made changes to clarify that users need to be "registered" for MFA, not "enabled" for MFA since "enabled" implies that they are enabled at the user level and will require MFA for all sign-ins and not just those dictated by conditional access and NPS extension.

@slbishop : Thanks for your contribution! The author, @MicrosoftGuyJFlo, has been notified to review your proposed change.

#sign-off


Mobile Shops

Does not handle mobile shops such as:
http://shop.m.taobao.com/shop/shopIndex.htm?spm=a1z5f.7632052.0.0&shop_id=126895488
Needs to grab the shop_id, which in this case is 126895488 and then convert it into a link like this:
https://shop126895488.taobao.com

Python code:
    if 'shop.m.taobao.com' in url:
        # Weird mobile stores - e.g. shop.m.taobao.com/shop/...shop_id
        start = url.find('shop_id=') + 8
        # Default end is just the length of the url
        end = len(url)
        # Go through rest of the URL, stop when we find non-digit
        for x in range(start, len(url)):
            if not url[x].isdigit():
                end = x
        shop_id = url[start:end]
        return 'https://shop' + shop_id + '.taobao.com'

Fixed.


feat: add tracing feature

Description
Enables transaction durations to be trace-able, which is gated behind the tracing feature flag.
This will be used to generate a time-series data for how long transactions take, as the cache increases in size, to illustrate the improvements in using cairo-native.
Currently the duration is stored with the transaction execution info, not sure if this is the best place to store it.
Changes

added tracing feature to Cargo.toml
added some unit tests to check whether the trace works

Stale


Saying 0 confirmations open when there is sometimes still 1 left

Topic says it.
This happens sometimes, like 1-2 times per day. What could be the issue?

Are you using the device ID generated by SteamTotp? I had the same problem and getting my actually device ID seemed to fix this error.