PaddlePaddle ocr example crashed

Description
(A clear and concise description of what the bug is.)
PaddlePaddle ocr example crashed when i ocr another picture

Expected Behavior
(what's the expected behavior?)
JVM crashed
Error Message
(Paste the complete error message, including stack trace.)
ARNING: Logging before InitGoogleLogging() is written to STDERR
W0409 17:07:45.859364 25780 analysis_predictor.cc:1059] Deprecated. Please use CreatePredictor instead.
I0409 17:07:45.859364 25780 analysis_predictor.cc:139] Profiler is deactivated, and no profiling report will be generated.
e[1me[35m--- Running analysis [ir_graph_build_pass]e[0m
e[1me[35m--- Running analysis [ir_graph_clean_pass]e[0m
e[1me[35m--- Running analysis [ir_analysis_pass]e[0m
e[32m--- Running IR pass [simplify_with_basic_ops_pass]e[0m
e[32m--- Running IR pass [attention_lstm_fuse_pass]e[0m
e[32m--- Running IR pass [seqconv_eltadd_relu_fuse_pass]e[0m
e[32m--- Running IR pass [seqpool_cvm_concat_fuse_pass]e[0m
e[32m--- Running IR pass [mul_lstm_fuse_pass]e[0m
e[32m--- Running IR pass [fc_gru_fuse_pass]e[0m
e[32m--- Running IR pass [mul_gru_fuse_pass]e[0m
e[32m--- Running IR pass [seq_concat_fc_fuse_pass]e[0m
e[32m--- Running IR pass [squeeze2_matmul_fuse_pass]e[0m
e[32m--- Running IR pass [reshape2_matmul_fuse_pass]e[0m
e[32m--- Running IR pass [flatten2_matmul_fuse_pass]e[0m
e[32m--- Running IR pass [map_matmul_to_mul_pass]e[0m
e[32m--- Running IR pass [fc_fuse_pass]e[0m
e[32m--- Running IR pass [repeated_fc_relu_fuse_pass]e[0m
e[32m--- Running IR pass [squared_mat_sub_fuse_pass]e[0m
e[32m--- Running IR pass [conv_bn_fuse_pass]e[0m
I0409 17:07:45.982364 25780 graph_pattern_detector.cc:101] ---  detected 33 subgraphs
e[32m--- Running IR pass [conv_eltwiseadd_bn_fuse_pass]e[0m
e[32m--- Running IR pass [conv_transpose_bn_fuse_pass]e[0m
e[32m--- Running IR pass [conv_transpose_eltwiseadd_bn_fuse_pass]e[0m
I0409 17:07:45.994366 25780 graph_pattern_detector.cc:101] ---  detected 1 subgraphs
e[32m--- Running IR pass [is_test_pass]e[0m
e[32m--- Running IR pass [runtime_context_cache_pass]e[0m
e[1me[35m--- Running analysis [ir_params_sync_among_devices_pass]e[0m
e[1me[35m--- Running analysis [adjust_cudnn_workspace_size_pass]e[0m
e[1me[35m--- Running analysis [inference_op_replace_pass]e[0m
e[1me[35m--- Running analysis [ir_graph_to_program_pass]e[0m
I0409 17:07:46.062363 25780 analysis_predictor.cc:548] ======= optimize end =======
I0409 17:07:46.062363 25780 naive_executor.cc:107] ---  skip [feed], feed -> x
I0409 17:07:46.064363 25780 naive_executor.cc:107] ---  skip [save_infer_model/scale_0.tmp_1], fetch -> fetch
I0409 17:07:46.067366 25780 analysis_predictor.cc:139] Profiler is deactivated, and no profiling report will be generated.
I0409 17:07:46.067366 25780 naive_executor.cc:107] ---  skip [feed], feed -> x
I0409 17:07:46.070394 25780 naive_executor.cc:107] ---  skip [save_infer_model/scale_0.tmp_1], fetch -> fetch
W0409 17:07:47.504354 25780 analysis_predictor.cc:1059] Deprecated. Please use CreatePredictor instead.
I0409 17:07:47.504354 25780 analysis_predictor.cc:139] Profiler is deactivated, and no profiling report will be generated.
e[1me[35m--- Running analysis [ir_graph_build_pass]e[0m
e[1me[35m--- Running analysis [ir_graph_clean_pass]e[0m
e[1me[35m--- Running analysis [ir_analysis_pass]e[0m
e[32m--- Running IR pass [simplify_with_basic_ops_pass]e[0m
e[32m--- Running IR pass [attention_lstm_fuse_pass]e[0m
e[32m--- Running IR pass [seqconv_eltadd_relu_fuse_pass]e[0m
e[32m--- Running IR pass [seqpool_cvm_concat_fuse_pass]e[0m
e[32m--- Running IR pass [mul_lstm_fuse_pass]e[0m
e[32m--- Running IR pass [fc_gru_fuse_pass]e[0m
e[32m--- Running IR pass [mul_gru_fuse_pass]e[0m
e[32m--- Running IR pass [seq_concat_fc_fuse_pass]e[0m
e[32m--- Running IR pass [squeeze2_matmul_fuse_pass]e[0m
e[32m--- Running IR pass [reshape2_matmul_fuse_pass]e[0m
I0409 17:07:47.564352 25780 graph_pattern_detector.cc:101] ---  detected 1 subgraphs
e[32m--- Running IR pass [flatten2_matmul_fuse_pass]e[0m
e[32m--- Running IR pass [map_matmul_to_mul_pass]e[0m
I0409 17:07:47.565352 25780 graph_pattern_detector.cc:101] ---  detected 1 subgraphs
e[32m--- Running IR pass [fc_fuse_pass]e[0m
I0409 17:07:47.566351 25780 graph_pattern_detector.cc:101] ---  detected 1 subgraphs
e[32m--- Running IR pass [repeated_fc_relu_fuse_pass]e[0m
e[32m--- Running IR pass [squared_mat_sub_fuse_pass]e[0m
e[32m--- Running IR pass [conv_bn_fuse_pass]e[0m
I0409 17:07:47.603384 25780 graph_pattern_detector.cc:101] ---  detected 24 subgraphs
e[32m--- Running IR pass [conv_eltwiseadd_bn_fuse_pass]e[0m
e[32m--- Running IR pass [conv_transpose_bn_fuse_pass]e[0m
e[32m--- Running IR pass [conv_transpose_eltwiseadd_bn_fuse_pass]e[0m
e[32m--- Running IR pass [is_test_pass]e[0m
e[32m--- Running IR pass [runtime_context_cache_pass]e[0m
e[1me[35m--- Running analysis [ir_params_sync_among_devices_pass]e[0m
e[1me[35m--- Running analysis [adjust_cudnn_workspace_size_pass]e[0m
e[1me[35m--- Running analysis [inference_op_replace_pass]e[0m
e[1me[35m--- Running analysis [ir_graph_to_program_pass]e[0m
I0409 17:07:47.661382 25780 analysis_predictor.cc:548] ======= optimize end =======
I0409 17:07:47.661382 25780 naive_executor.cc:107] ---  skip [feed], feed -> x
I0409 17:07:47.664384 25780 naive_executor.cc:107] ---  skip [save_infer_model/scale_0.tmp_1], fetch -> fetch
I0409 17:07:47.664384 25780 analysis_predictor.cc:139] Profiler is deactivated, and no profiling report will be generated.
I0409 17:07:47.664384 25780 naive_executor.cc:107] ---  skip [feed], feed -> x
I0409 17:07:47.667392 25780 naive_executor.cc:107] ---  skip [save_infer_model/scale_0.tmp_1], fetch -> fetch
W0409 17:07:47.679383 25780 analysis_predictor.cc:1059] Deprecated. Please use CreatePredictor instead.
I0409 17:07:47.679383 25780 analysis_predictor.cc:139] Profiler is deactivated, and no profiling report will be generated.
e[1me[35m--- Running analysis [ir_graph_build_pass]e[0m
e[1me[35m--- Running analysis [ir_graph_clean_pass]e[0m
e[1me[35m--- Running analysis [ir_analysis_pass]e[0m
e[32m--- Running IR pass [simplify_with_basic_ops_pass]e[0m
e[32m--- Running IR pass [attention_lstm_fuse_pass]e[0m
e[32m--- Running IR pass [seqconv_eltadd_relu_fuse_pass]e[0m
e[32m--- Running IR pass [seqpool_cvm_concat_fuse_pass]e[0m
e[32m--- Running IR pass [mul_lstm_fuse_pass]e[0m
e[32m--- Running IR pass [fc_gru_fuse_pass]e[0m
e[32m--- Running IR pass [mul_gru_fuse_pass]e[0m
e[32m--- Running IR pass [seq_concat_fc_fuse_pass]e[0m
e[32m--- Running IR pass [squeeze2_matmul_fuse_pass]e[0m
e[32m--- Running IR pass [reshape2_matmul_fuse_pass]e[0m
e[32m--- Running IR pass [flatten2_matmul_fuse_pass]e[0m
e[32m--- Running IR pass [map_matmul_to_mul_pass]e[0m
I0409 17:07:47.733382 25780 graph_pattern_detector.cc:101] ---  detected 1 subgraphs
e[32m--- Running IR pass [fc_fuse_pass]e[0m
e[32m--- Running IR pass [repeated_fc_relu_fuse_pass]e[0m
e[32m--- Running IR pass [squared_mat_sub_fuse_pass]e[0m
e[32m--- Running IR pass [conv_bn_fuse_pass]e[0m
I0409 17:07:47.771381 25780 graph_pattern_detector.cc:101] ---  detected 24 subgraphs
e[32m--- Running IR pass [conv_eltwiseadd_bn_fuse_pass]e[0m
e[32m--- Running IR pass [conv_transpose_bn_fuse_pass]e[0m
e[32m--- Running IR pass [conv_transpose_eltwiseadd_bn_fuse_pass]e[0m
e[32m--- Running IR pass [is_test_pass]e[0m
e[32m--- Running IR pass [runtime_context_cache_pass]e[0m
e[1me[35m--- Running analysis [ir_params_sync_among_devices_pass]e[0m
e[1me[35m--- Running analysis [adjust_cudnn_workspace_size_pass]e[0m
e[1me[35m--- Running analysis [inference_op_replace_pass]e[0m
e[1me[35m--- Running analysis [ir_graph_to_program_pass]e[0m

C++ Traceback (most recent call last):
Not support stack backtrace yet.

Error Message Summary:
InvalidArgumentError: The input tensor's dimension should be equal to the axis's size. But received input tensor's dimension is 4, axis's size is 3
[Hint: Expected x_rank == axis_size, but received x_rank:4 != axis_size:3.] (at D:\v2.0.0\paddle\paddle\fluid\operators\transpose_op.cc:47)

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x00007ffe1b9b3e49, pid=29908, tid=25780

JRE version: Java(TM) SE Runtime Environment 18.9 (11.0.7+8) (build 11.0.7+8-LTS)
Java VM: Java HotSpot(TM) 64-Bit Server VM 18.9 (11.0.7+8-LTS, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
Problematic frame:
C  [KERNELBASE.dll+0x23e49]

No core dump will be written. Minidumps are not enabled by default on client versions of Windows

An error report file with more information is saved as:
\hs_err_pid29908.log

If you would like to submit a bug report, please visit:
https://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

I0409 17:07:47.826381 25780 analysis_predictor.cc:548] ======= optimize end =======
I0409 17:07:47.826381 25780 naive_executor.cc:107] ---  skip [feed], feed -> x
I0409 17:07:47.829383 25780 naive_executor.cc:107] ---  skip [save_infer_model/scale_0.tmp_1], fetch -> fetch
I0409 17:07:47.829383 25780 analysis_predictor.cc:139] Profiler is deactivated, and no profiling report will be generated.
I0409 17:07:47.829383 25780 naive_executor.cc:107] ---  skip [feed], feed -> x
I0409 17:07:47.832397 25780 naive_executor.cc:107] ---  skip [save_infer_model/scale_0.tmp_1], fetch -> fetch
Process finished with exit code 1
here is the picture

Hi @hackedbyxx thanks for reporting the issue.
It should have fixed in the 0.11.0-SNAPSHOT.
You can try with this jar through adding the https://github.com/awslabs/djl/blob/master/examples/pom.xml#L17-L22 SNAPSHOT repo.
You can use the nightly snapshot to fix that.
Or otherwise, simply patch the code change in here: https://github.com/awslabs/djl/pull/775 to your PaddleOCR translator and it should fix the error.

Hi @hackedbyxx thanks for reporting the issue.
It should have fixed in the 0.11.0-SNAPSHOT.
You can try with this jar through adding the https://github.com/awslabs/djl/blob/master/examples/pom.xml#L17-L22 SNAPSHOT repo.
You can use the nightly snapshot to fix that.
Or otherwise, simply patch the code change in here: https://github.com/awslabs/djl/blob/master/paddlepaddle/paddlepaddle-model-zoo/src/main/java/ai/djl/paddlepaddle/zoo/cv/wordrecognition/PpWordRecognitionTranslator.java#L80-L84 to your PaddleOCR translator and it should fix the error.

Ok,thanks

Hi @hackedbyxx thanks for reporting the issue.
It should have fixed in the 0.11.0-SNAPSHOT.
You can try with this jar through adding the https://github.com/awslabs/djl/blob/master/examples/pom.xml#L17-L22 SNAPSHOT repo.
You can use the nightly snapshot to fix that.
Or otherwise, simply patch the code change in here: https://github.com/awslabs/djl/blob/master/paddlepaddle/paddlepaddle-model-zoo/src/main/java/ai/djl/paddlepaddle/zoo/cv/wordrecognition/PpWordRecognitionTranslator.java#L80-L84 to your PaddleOCR translator and it should fix the error.

I've tried to change to the 0.11.0-SNAPSHOT,but it cant't  import package in the repository https://oss.sonatype.org/content/repositories/snapshots/

So
    <repositories>
        <repository>
            <id>djl.ai</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
        </repository>
    </repositories>

This doesn't work? @frankfliu do we have any spare repos?

Yes,it seems doesn't work

So
    <repositories>
        <repository>
            <id>djl.ai</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
        </repository>
    </repositories>

This doesn't work? @frankfliu do we have any spare repos?

Yes,it seems doesn't work

@hackedbyxx can you share your pom.xml here? I can help to take alook

@lanking520

4.0.0

org.springframework.boot
spring-boot-starter-parent
2.3.1.RELEASE

<properties>
    <java.version>11</java.version>
    <jna.version>5.3.0</jna.version>
    <djl.version>0.11.0-SNAPSHOT</djl.version>
</properties>

<repositories>
    <repository>
        <id>djl</id>
        <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
    </repository>
</repositories>

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>ai.djl</groupId>
            <artifactId>bom</artifactId>
            <version>${djl.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <scope>test</scope>
        <exclusions>
            <exclusion>
                <groupId>org.junit.vintage</groupId>
                <artifactId>junit-vintage-engine</artifactId>
            </exclusion>
        </exclusions>
    </dependency>

    <dependency>
        <groupId>ai.djl</groupId>
        <artifactId>api</artifactId>
    </dependency>
    <dependency>
        <groupId>ai.djl</groupId>
        <artifactId>basicdataset</artifactId>
    </dependency>
    <dependency>
        <groupId>ai.djl</groupId>
        <artifactId>model-zoo</artifactId>
    </dependency>
    <dependency>
        <groupId>ai.djl.mxnet</groupId>
        <artifactId>mxnet-model-zoo</artifactId>
    </dependency>
    <dependency>
        <groupId>ai.djl.mxnet</groupId>
        <artifactId>mxnet-engine</artifactId>
    </dependency>
    <dependency>
        <groupId>ai.djl.mxnet</groupId>
        <artifactId>mxnet-native-auto</artifactId>
        <scope>runtime</scope>
    </dependency>
    <dependency>
        <groupId>commons-cli</groupId>
        <artifactId>commons-cli</artifactId>
        <version>1.4</version>
    </dependency>
    <dependency>
        <groupId>ai.djl.paddlepaddle</groupId>
        <artifactId>paddlepaddle-model-zoo</artifactId>
    </dependency>
    <dependency>
        <groupId>ai.djl.paddlepaddle</groupId>
        <artifactId>paddlepaddle-native-auto</artifactId>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-freemarker</artifactId>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-aop</artifactId>
    </dependency>

</dependencies>

<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
        </plugin>
    </plugins>
</build>

@lanking520 I've solved this problems by remove all the mirrors in maven setting,thanks


Update zio-schema, zio-schema-derivation, ... to 0.4.2

Updates

dev.zio:zio-schema
dev.zio:zio-schema-derivation
dev.zio:zio-schema-protobuf

from 0.3.1 to 0.4.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (0.3.1).
You might want to review and update them manually.
project/Dependencies.scala

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-major, semver-spec-minor, old-version-remains, commit-count:1

Superseded by #275.


[Output formats] JSONc is a little hard to read in with standard cmd settings

With black background "null" is pretty hard to see and the blue for the main values are pretty high contrast (hard on eyes).  We should probably follow the VS Dark Theme color scheme: dark yellow (keys), rusty orange (vaues) and light blue (null).

Cleaning u old issues, reopen if this is still active.


Identify initial list of guides

This involves competitor analysis and presenting the findings to the team so that they can make an informed decision and come up with a list.

The same tutorials that were in EI650 have been added [1].
Remaining work

Testing with the new product pack.
Diagrams
New File processing tutorial. @nandika  - Will we need such a tutorial?

[1] https://github.com/wso2/docs-ei/tree/master/en/micro-integrator/docs/concepts

done.


improvement: change font to arial-like font arimo and adjust centering of degrees

Problem
Design updates:

update all fonts across the app to the Arial family, using bold for the main number
currently, the degree symbol makes the temperatures feel off-centered. Please account for this symbol and adjust slightly so that all temperatures appear visually centered on the screen.

Solution

removed Rubik font and added Arimo (Android does not have Arial installed, and Google Fonts does not have Arial either, but they have Arimo which is almost exactly similar - only 3 symbols are different)
Adjust font sizing / weight to match designs and add padding so that the degree is pushed to the right
Ensured that larger font settings still looks good!

Updated Thermostat Screen and font:

Arial vs. Arimo:

ahh looks great!! thanks vicki :)

thank you! I just made an edit - make the labels in the thermostat not bold (saw that in Andrew's latest email - I thought the labels were bolded in the picture)


feat: added edge runtime

Description

What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[x] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Mobile & Desktop Screenshots/Recordings

client side FIXED ✅

api FIXED ✅


Render notices and save preferences in PC

Closing as a duplicate of https://github.com/ethyca/fides/issues/3162


No Access to /redeem gui or /redeem cosmetics in game

Should be an omen command to unlock all the eeveelution scarves, but I don't have permissions to use the command.

It appears this is no longer a gui brought up via command but instead is brought up by pressing Escape then selecting the Pixelmon button and the cosmetics should be available there.


Hook up the keybindings to the SUI

Summary of the Pull Request
This is really similar to what we're doing with the CommandPalette. We're adding a PreviewKeyDown handler to the SUI MainPage, that connects to TerminalPage::_HandleKey. That allows the SUI a chance to search the keymap to dispatch actions for keybindings, similar to how the command palette does it.
This also means it's now possible for the SUI to invoke all the actions available to the Terminal. This includes the ones like IncreaseFontSize, which require a Terminal to actually do something. So we have to make sure all the calls to _GetActiveControl actually check that the result is non-null before using it.
 Like "Rename tab" / "Open Tab Renamer" do nothing. "Duplicate Tab" again does nothing - we try making a new settings tab, which just focuses the settings tab again. "Copy text" definitely does nothing, same with paste.
PR Checklist

[x] Closes #8767
[x] I work here
[ ] Tests not added
[n/a] Requires documentation to be updated

Validation Steps Performed
I performed all the actions that I changed. I did not test all actions exhaustively, because I felt that searching for callers of GetActiveTerminalControl() was exhaustive enough.

"Copy text" definitely does nothing, same with paste.

Can people copy/paste in the text fields inside the SUI still?

"Copy text" definitely does nothing, same with paste.

Can people copy/paste in the text fields inside the SUI still?

I wonder why we didn't put key binding handling in a Preview handler for Page

I wonder why we didn't put key binding handling in a Preview handler for Page

I wonder why we didn't put key binding handling in a Preview handler for Page

Same here :smile:

I wonder why we didn't put key binding handling in a Preview handler for Page

Same here :smile:

Guys do you have any idea, why KeyDown doesn't get propagated to the TerminalPage? This could be much safer.

Guys do you have any idea, why KeyDown doesn't get propagated to the TerminalPage? This could be much safer.

KeyDown should almost never get to the TerminalPage; it is "bubbled" up from the deepest layer to the outermost, so once TermControl marks the key event as handled (which it should do, because it sends every non-bound key to the connected process) it's done.

KeyDown should almost never get to the TerminalPage; it is "bubbled" up from the deepest layer to the outermost, so once TermControl marks the key event as handled (which it should do, because it sends every non-bound key to the connected process) it's done.

KeyDown should almost never get to the TerminalPage; it is "bubbled" up from the deepest layer to the outermost, so once TermControl marks the key event as handled (which it should do, because it sends every non-bound key to the connected process) it's done.

This one I understand :smile:
I am asking about the SUI.

KeyDown should almost never get to the TerminalPage; it is "bubbled" up from the deepest layer to the outermost, so once TermControl marks the key event as handled (which it should do, because it sends every non-bound key to the connected process) it's done.

This one I understand :smile:
I am asking about the SUI.

Oh. Hm. Great question :smile:

Oh. Hm. Great question :smile:

does "ctrl+c/v" still go through to the textbox when it's bound?

Ah butts. It does not. The TerminalPage eats it before the text box has a chance at it.
We could manually exempt Ctrl+C, Ctrl+V, Tab, Backspace, but that's starting to feel like the wrong solution.

does "ctrl+c/v" still go through to the textbox when it's bound?

Ah butts. It does not. The TerminalPage eats it before the text box has a chance at it.
We could manually exempt Ctrl+C, Ctrl+V, Tab, Backspace, but that's starting to feel like the wrong solution.

I thought that it returned false in non-terminal cases, indicating that the event should continue propagating. Hmm.

I thought that it returned false in non-terminal cases, indicating that the event should continue propagating. Hmm.

Hmm. Binding MainPage's KeyDown as opposed to PreviewKeyDown seems to work the way we'd expect. Perhaps that lets the TextBox do it's own thing in PKD, and when nothing else has claimed the event, it gets another chance in KeyDown?

Hmm. Binding MainPage's KeyDown as opposed to PreviewKeyDown seems to work the way we'd expect. Perhaps that lets the TextBox do it's own thing in PKD, and when nothing else has claimed the event, it gets another chance in KeyDown?

Guh ignore me. That does not always work as expected, especially with Tab. More often than not, the focus will move within the page, rather than bubble up to the _KeyDownHandler to give us a chance at the action. So that's not what we want 😕

Guh ignore me. That does not always work as expected, especially with Tab. More often than not, the focus will move within the page, rather than bubble up to the _KeyDownHandler to give us a chance at the action. So that's not what we want 😕

Guh ignore me. That does not always work as expected, especially with Tab. More often than not, the focus will move within the page, rather than bubble up to the _KeyDownHandler to give us a chance at the action. So that's not what we want 😕

I've written this 5 days ago in the ticket 😛
What about handling switch tab and close tab by now (via PreviewKeyHandler) until we understand what swallows the events?

Guh ignore me. That does not always work as expected, especially with Tab. More often than not, the focus will move within the page, rather than bubble up to the _KeyDownHandler to give us a chance at the action. So that's not what we want 😕

I've written this 5 days ago in the ticket 😛
What about handling switch tab and close tab by now (via PreviewKeyHandler) until we understand what swallows the events?

I've written this 5 days ago in the ticket 😛

Yea you're not wrong. I thought I could solve it quick without reading 🤦♂
As a team, we thought maybe the best way to go about this would be to do just the tab switching solution for the timeframe of 1.6, and come back to this discussion for 1.7. @Don-Vito You still cool spinning up that fix?

I've written this 5 days ago in the ticket 😛

Yea you're not wrong. I thought I could solve it quick without reading 🤦♂
As a team, we thought maybe the best way to go about this would be to do just the tab switching solution for the timeframe of 1.6, and come back to this discussion for 1.7. @Don-Vito You still cool spinning up that fix?

I've written this 5 days ago in the ticket 😛

Yea you're not wrong. I thought I could solve it quick without reading 🤦♂
As a team, we thought maybe the best way to go about this would be to do just the tab switching solution for the timeframe of 1.6, and come back to this discussion for 1.7. @Don-Vito You still cool spinning up that fix?

@zadjii-msft - waited to make sure you are not working on this. Can try to do it now. I hope it won't take too long.

I've written this 5 days ago in the ticket 😛

Yea you're not wrong. I thought I could solve it quick without reading 🤦♂
As a team, we thought maybe the best way to go about this would be to do just the tab switching solution for the timeframe of 1.6, and come back to this discussion for 1.7. @Don-Vito You still cool spinning up that fix?

@zadjii-msft - waited to make sure you are not working on this. Can try to do it now. I hope it won't take too long.

@Don-Vito You're the best, thanks 😄

@Don-Vito You're the best, thanks 😄

@zadjii-msft, @carlos-zamora - please see https://github.com/microsoft/terminal/pull/8885

@zadjii-msft, @carlos-zamora - please see https://github.com/microsoft/terminal/pull/8885

Frankly, I don't think this is needed with #8885, even in 1.7. I bet what we have will be good enough, now that I've seen it.

Frankly, I don't think this is needed with #8885, even in 1.7. I bet what we have will be good enough, now that I've seen it.


Upgrading to 2.0.2 from 1.0.4 breaks server

Operating System: Windows 7
Node Version: 10.9.0
NPM Version: 6.3.0
webpack Version: 4.17.0
webpack-serve Version: 2.0.2

Expected Behavior
work properly
Actual Behavior
does not serve content
Code
serve: {
        http2: true,
        port: STATIC_PORT,
        host: STATIC_HOST,
        https: {
            ca: fs.readFileSync('certs/cacert.crt'),
            key: fs.readFileSync('certs/server.key'),
            cert: fs.readFileSync('certs/server.crt'),
        },
        add: (app, middleware, options) => {
            app.use((ctx, next) => {
                ctx.set('Access-Control-Allow-Origin', '*');
                next();
            });

            middleware.webpack();
            middleware.content();
        },
    }

How Do We Reproduce?
Run npm run client in my repo and try to get https://localhost:4440/client.js - you'll get the resource client.js
Upgrade webpack-serve to 2.0.2 version and rerun command - you'll get the 404

DEPRECATED. Please use webpack-dev-server (he is in support and update mode again). Feel free to create a issue if some features are not implemented in webpack-dev-server.
Why deprecated webpack-serve ?

The author stopped developing the package.
Two development servers are misleading for developers.
Hard to maintain two packages with same purpose.
Some dependencies are not available to fixes/implement new features/etc (https://www.npmjs.com/package/webpack-hot-client and https://github.com/shellscape/koa-static) and there's nothing we can do here.
webpack-dev-server is stable.

Thanks for using webpack! We apologize for the inconvenience. In the future, we will avoid such situations.


Need help on adding/pinning file on IPFS through threads

I'm trying to create a service that has similar functionality as go-foldersync. Specifically, I would like to be able to add/get files from the IPFS-lite node the Thread daemon runs on and pinning files with the CIDs.
My service will manage files on the IPFS node, and manage the CIDs and other metadata in a store on Threads.
Since I'm coding in another language other than Go, I used the gRPC API for language binding. However, the API seems limited (I can't find anything that could let me interact with the IPFS-lite node). js-foldersync seems incomplete in this part, too.
Currently, I'm thinking of a few approaches:

Run a full IPFS node one the same machine, and use the IPFS HTTP API to access it.

I need suggestions on the approaches. Which one sounds like a more viable approach for you? Or did I overlooked something? I'm still trying to understand how Threads V2 works, so please let me know if I misunderstood anything.

Hi @shc261392, thanks for digging into threads! What language are you accessing the gRPC APIs from? Additionally, are you working with relatively large (and raw) files?

I'm accessing the gRPC APIs via Python.
And yes, we are working with relatively large files like images or videos.

So either of your suggested approaches would work. As you are working in go, your second option is ideal, because you can pass the same IPFS-lite node that you use to add files to IPFS to threads, that way you don't have to run two. Having said that, IPFS-lite doesn't really do pinning as in a full IPFS peer, so you'll still want to make sure your data is pinned somewhere if you need long-term persistence. If that is something you need, you could use a pinning service, or run a full IPFS node.

Since file pinning is necessary in our case, I'm sticking to the first approach for now.
Thank you very much for your suggestion.

Thanks for reporting back! Very useful to know various uses and use cases.


Remove policies for arch < sm35.

Goal is to clean up code and reduce build time:
Before:

Target
Build Time (Wall)
Build Time (CPU seconds)

thrust.cpp.cuda.cpp17.all
18:36.33
12414

cub.cpp17.all
22:58.27
4872

After:

Target
Build Time (Wall)
Build Time (CPU seconds)

thrust.cpp.cuda.cpp17.all
18:18.72
12174

cub.cpp17.all
13:53.14
3943

Thrust isn't significantly affected, as it spends most of its time building non-CUB algorithms (the set operation and minmax tests in particular). We can probably bring that down by removing old SM policies in a follow up patch, though Thrust currently only appears to go down to sm30 so there are fewer policies to take out.
CUB's compile time is reduced by nearly 40%. There's still a lot of room for improvement by looking at the CPU vs walltime (build used 12 cores). This is because there are one or two tests that take a very long time to compile. We can improve this by splitting up those tests so they can be parallelized.

DVS CL 29199322

Starting DVS on CL 29260540.
🤞

No timeouts :tada:


FUSE - Formatter behaves differently when calls end up calling Write (or similar)

Failing test name: FormattingDocument(testFileName: "FormatDocument.cshtml")

     @*
     test
     *@
     @while (true)
     {
     }

     @if (true)
     {

     }

     @(Html.DropDownList("list")
-        .ToString()
-        )
+    .ToString()
+    )

Problem
The context for c# in fuse has a method call surrounding the code rather than a variable assignment, causing the csharp compiler to behave differently in indentation rules.
Potential Fix
It's possible to assign DateTime.Now.ToString() as below to a variable that is uniquely named by the compiler, and then use that variable in the call. This would cause the formatting behavior to behave the same as today
Without Fuse
#line 17 "/path/to/Document.mvc"
__o = DateTime
.Now
.ToString();

#line default

With Fuse
           Write(
#nullable restore
#line 17 "/path/to/Document.mvc"
     DateTime
.Now
.ToString()

#line default
#line hidden
#nullable disable
           );

@ryzngard how impactful is this for integration tests? Trying to prioritize given we're low on dev power right now.

This accounts for 4/19 of the integration test failures from the last run.


Reproducible Builds (SOURCE_DATE_EPOCH)

Docker BuildKit supports reproducible builds by setting the env var SOURCE_DATE_EPOCH=0
It appears the OCI default labels does not respect this value,
This is a nice tool for teams to leverage in order to perform digest pinning, etc in their deployment pipelines (a new commit doesn't necessitate a re-deployment of infrastructure if the SHA didn't change, etc)

This may not be all that's required for https://github.com/dotnet/sdk-container-builds/issues/34 but it's great precedent and would probably go a long way.

I wonder if this flag would be interesting to the whole SDK too, independent of any integration into the containers-building portion of the tooling.

I'd say "no" other than maybe setting $(Deterministic) if it's set. The biggest thing in the containers work is the tarball timestamps IIRC; Roslyn should do a pretty good job keeping things bit-for-bit identical otherwise.

Also, worth noting that SOURCE_DATE_EPOCH is not Docker-specific and is standards-based.


Allow Custom Url Data in the Title

Added a url_parms option to match custom data from the url using regexp. This variable data can then be used as part of the title, just like {title}.
// EXAMPLE:

{
  "github.com" : {
    "title" : "[{repo}] {title}",
    "url_params" : {
      "repo" : "github\\.com\/[A-Za-z0-9\\-\\_]+\/([A-Za-z0-9\\-\\_]+)"
    }
  }
}

// CONVERTS: "github.com/user/repo-name/pulls/123" --> "[repo-name] Pull Request Title"

Tests included.

Hi @jessehouchins,
Thank's for your contribution. Your feature as exposed seems really GitHub specific and not easy to adapt for other needs, don't you think?
Bests

What do you mean? you can pull anything from the url that you like... it's all configuration.

Why are you doing match[1];?
What if you want to retrieve the username?

I suppose I could allow any number of matches and just use $1, $2, etc in the title as replacement tokens. That might make more sense

Sounds better. Can you update your code with this behavior and give multiple examples.
Of course, please make additional tests.
Bests

yep

Updated and added examples to the readme.

It seems there still may a bug in here, or my dev build is messed up.... let you know when it's resolved.

seems ok now.

Hey @jessehouchins,
Although I don't think this feature will be very useful (seems very specific), can you just resubmit your PR into release/0.6.0 branch?
Bests


Settings format

Which file format will be better for settings description: JSON, YAML, TOML or other.
It will be so good if to variant will be added few arguments related to choice :)

As much as I hate JSON, that much I'm for it - it's a standard, especially supported by Node.


feat: default AppId -> simpler integration tests

#745  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Problems with git clone

Windows Build Number
Microsoft Windows [Version 10.0.19043.1237]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
Linux version 5.4.72-microsoft-standard-WSL2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Oct 28 23:40:43 UTC 2020
Distro Version
Release:        20.04
Other Software
Git 2.33.0
Github
Repro Steps
git clone https://github.com/burbanox/responsive-design.git
Expected Behavior
Cloning the repository
Actual Behavior
Show error :
fatal: unable to access 'https://github.com/path/to/repo.git/': gnutls_handshake() failed: Error in the pull function
Diagnostic Logs
No response

From the sound of this, this does not appear to be a WSL-related issue. I would suggest running sudo apt-get install libssl-dev because the gnutls_handshake failure may be due to an SSL issue. If this persists, check if you are behind a proxy and modify your .config accordingly.


Drag and reorder not working in Firefox after scrolling horizontally

Hi,
I'm working on an app that scrolls horizontally. Trees that are visible before scrolling can be reordered, however, the same tree cannot be reordered if you scroll horizontally. This only affects firefox.
I've noticed that the "target area" for the drag and drop functionality is still there after scrolling, however, it is no longer aligned with the ui-tree.
I have created this gist to reproduce the issue: https://gist.github.com/tomcully/e13558ab2a9a6c53a143
Is there a known "fix" for this?
Thanks,
Tom

We are seeing the issue in 2.1.4/2.1.5
I narrowed this down to ui.tree dragMove
The calculation of the location of the draggable was not taking into consideration the difference between Chrome and FF
var targetX = eventObj.pageX - $window.document.body.scrollLeft;
$window.document.body.scrollLeft is always 0 for FF.
It can be fixed consistently with your code in other places.
var targetX = eventObj.pageX - (window.pageXOffset || $window.document.body.scrollLeft || $window.document.documentElement.scrollLeft);
var targetY = eventObj.pageY - (window.pageYOffset || $window.document.body.scrollTop || $window.document.documentElement.scrollTop);

However, the codebas has moved on and it looks like this has changed in master (which we couldn't get to work). We're probably going to just take a snapshot and put the fix in for now.

No probs :+1: Will look at some of the issues on the list when I get a sec :)
resolve #323

resolved in pull request 626


Complete Genesis Initialization

Define a JSON format for the complete genesis state, sufficient to launch as a smooth upgrade from BitShares. Implement loading of this genesis state into the object graph, and test building a chain off of that initialization complete with transactions which claim genesis stakes, transfer assets, etc.

Need to make sure that account withdrawals work for imported PTS and BTC addresses in addition to BTS addresses.

Please include the issue description in the commit log rather than just #17 that way scanning the commit history is easier.

Snapshot code including account name modifications: https://github.com/bitshares/bitshares/compare/cba06218f962f93576a5b94911009138cf07425f...5b2385d246


Provide up-to-date and easily browseable docs

Imho instead of committing the docs in the source code, we could run ddox on Travis/Circle Ci
For CircleCi it can be reduced down to something like:
test:
  override:
    - make -f doc/Makefile html # or any other command to create the docs
deployment:
  aws:
    branch: master
    commands:
      - AWS_DEFAULT_REGION=eu-west-1 aws s3 sync --acl public-read --delete web s3://docs.mir.dlang.io/latest

source
The AWS S3 key can be conveniently added to CircleCi via their web interface.

ddox while while we manage harbored-mod ?

Actually i was about to propose to use D-YAML ddoc rendered by hmod as example for hmod (currently and temporarily i've put my own stuff).

ddox while we manage harbored-mod ?

Oh sorry I wanted to write any documentation generator.
To be honest I don't really care which one (FWIW adrdox and scod have a nice output), my main point was that we setup a documentation generator for all repos that we maintain. In fact, I would probably do sth. like:
test:
  override:
    - wget https://raw.githubusercontent.com/dlang-community/tools/master/travis.d
    - rdmd travis.d

Then we only need to change the travis.yml's once and all improvements to the travis.d script are automatically propagated to all repos which we maintain.

https://dyaml.dpldocs.info/v0.7.0/dyaml.html


Update harness-platform-architecture.md

adding missing video
https://youtu.be/GGrxv00jqWw
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://ci.pr.harness.io/pr-402


Error occurring while run the app in android device

Error starting packager: Error: EACCES: permission denied, open '/Users/rmadevms/project/AwesomeProj/.expo/packager-info.json'
at Error (native)

Error: EACCES: permission denied, rename '/Users/rmadevms/.expo/log' -> '/Users/rmadevms/.expo/log.0'
at Error (native)

Now like this error occurs.Can you pls give me a solution


Differrent GLassmorphism Card UI Design with Vanila

I am a contributor from GSSoC - 22. I can create different kinds of glassmorphism card UI designs like glowing gradients and etc. and can add some effects like hover and tilt effects.so Please assign this issue to me
https://user-images.githubusercontent.com/97339865/156155012-4f9c5ee4-b50f-4398-9f27-893ca349870a.mp4

@CoderSahil128 you can start working on this issue.

@CoderSahil128 you can start working on this issue.

Thank you for assigning this issue. I'll make the PR and will send it tomorrow.

@khushi-purwar Kindly please tell me when would u gonna label this issue?


Archive & Deprecate

@lidel should we archive the repo & deprecate the module? Does not seem to be in use.

@hacdias yes, this should follow checklist from https://github.com/ipfs-inactive/window.ipfs-fallback/issues/3

@lidel just added a note to the README and deprecated the NPM module.
I don't have permissions to move to https://github.com/ipfs-inactive.

@hsanjuan / @daviddias are you able to help with move  of this repo to @ipfs-inactive?

Still needs someone to move this to @ipfs-inactive and archive it


Fix polymorphic association for some join cases

@dawidof Please add PR's to fix it on 3-1, 3-0 and 2-4 branches


Standardize and add granular, descriptive page titles

Fixes #866
Signed-off-by: Colin Schoen<EMAIL_ADDRESS>

PTAL

Thanks for reviewing @Sumukh


FilePicker: onChanged event not firing at all

Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
"@pnp/spfx-property-controls": "1.16.0",
"@pnp/spfx-controls-react": "^1.16.0",
"@microsoft/sp-office-ui-fabric-core": "^1.10.0",
"office-ui-fabric-react": "6.189.2",

Expected / Desired Behavior / Question
Clicking on files or uploading files should fire "onChanged" event
Observed Behavior
After click on any file or after attempt to upload "onChanged" event does not fire no matter what
Steps to Reproduce
Added onChanged event in FilePicker props.
Go to "Upload" tab
Select any file and click "Open"
Thanks!

I've digged into sp-dev-fx-controls-react/src/controls/filePicker/FilePicker.tsx and found some interesting thing:
there is not mentions of 'onChanged' event. we have it in a props and we can pass it in props but it doing just NOTHING.  Why documentation says that we can pass but it doing nothing.
I just faced with an issue in "Upload" tab. When we are uploading files this tab doesn't show filename which is not user friendly in my point and when i tried to add this filename with "onChanged" event it just doing nothing. Please, is it possible to show filename right in component or add please support of "onChanged" event

Hi @SemionKovaliov!
Thank you for reporting both issues.
I would say that onChanged should be deleted, and onSave should be used instead. FilePicker, at least for now, works as a standalone control, all intermediate operations (like file change) are handled inside the component. And when a user clicks save - then FilePicker returns to the parent its new selection.
Regarding filename - I've created a separate bug #518 to handle it.

 Why documentation says that we can pass but it doing nothing.

Please, be polite to contributors. All of them are spending their own time for free to help others.


Fix cargo examples boilerplate generator

This PR fixes two bugs:

An obscure error showing up when all artifacts produced by cargo are filtered out ("Cannot read property 'fileName' of undefined"). Instead, now it explicitly says that all artifacts were filtered out.

Launch config boilerplate generator outputted wrong filters for cargo examples, assuming they have the 'bin' kind in message-format=json, while in fact they have the 'example' kind, as seen in the manifest serialisation code.

This has been fixed upstream it seems.


notifications: retain notifications for active contact

notifications: retain notifications for active contact if the user is scrolled up and haven't read the new messages.
The change to line 478 in cli/cli_client.ml is not strictly needed atm since the current behavior is to reset scrollback when the user switches the active contact, but I hope it serves as reminder to keep track of notifications when at some nice point in time we will have user-specific scrollback state.

thanks!


chore: cleanup usage of blinded types

Motivation
We don't want to hide or shadow an actual consensus type name. And as defined in params package the blinded is not a defined fork group, so rather tend to use actual group name everywhere which is execution.
Description

Based on discussion we dont want to hide/shadow an actual type. The blinded types implementation renames types, e.g. BlindedBeaconBlock to BeaconBlock. Which is another consensus type. No such pattern used elsewhere for other fork groups.

Blinded itself is not defined as a fork group in params package, so keeping that implementation requires an extra effort.

Steps to test or reproduce

Run all tests

:tada: This PR is included in v1.20.0 :tada:


investigate enriched faceting from smartlogic tags

metro has created several tag groupings that would be useful to include as facets. these include:

lines/ways, e.g., "bus line", "rail line"
phase
project type
location
motion by
topics/subjects

these will all be imported into legistar as matterindexes. there are some examples in the test api now.

Hi, @shrayshray! Is there any way to add information about what grouping an index belongs to the indexes listing in the Legistar API? Otherwise, I bet we can grab it from the Semaphore API. Is a grouping equivalent to a class in Semaphore?
In any case, the way topics are represented in our data is changing in the upgrade, so we will probably want to wait on implementation here until those changes come in.

Hey, @shrayshray – want to reup the question here: Is there any way to add what grouping a matter index belongs to, to the Legistar API?

@hancush These facets are based on concept Class.
i.	Lines / Ways - Class: “Transportation Method” and all of its Subclasses & “System: Legistar” equals true
ii.	Phases - Class: “Transportation Phase” and all of its Subclasses & “System: Legistar” equals true
iii.	Projects - Class: “Project” and all of its Subclasses & “System: Legistar” equals true
iv.	Locations - Class: “Location” and all of its Subclasses & “System: Legistar” equals true
v.	Significant Dates - Class: “Significant Dates” and all of its Subclasses & “System: Legistar” equals true
vi.	Motion by -  Class: “Board Member” and all of its Subclasses & “System: Legistar” equals true
vii.	Topics/Subjects (REPLACES: current “Filter by Topic”) – Any term/tag not covered above & “System: Legistar” equals true

@shrayshray I know that it's possible for a concept to have more than one class, but in practice, will any of the concepts in the taxonomy you describe ever belong to more than one of the classes we're using for faceting? For example, can a concept be both a line and a location?

@hancush it's highly unlikely we'll have any concepts with two classes which are also two different facets. I can't think of any existing examples, or any cases where this might occur. On any concepts I've seen with two classes assigned, only one of them is a facet.

@shrayshray Very helpful! Thank you!

@shrayshray @camachoo New Lines / Ways and Phase facets are live on the staging site! (As a bonus, I've also fixed #592.)
https://lametro-upgrade.datamade.us/search/
When you view the empty search and toggle open the new facets, do they contain the values you expect?
It'd also be helpful if you could play with various combinations of filters on search results:

Select facets from the filters in the sidebar, and confirm they are applied correctly.
Click a topic from a search result and confirm results for the related facet (lines / ways, phase, or subject) are returned.

Also check out legislation pages, where I've grouped topics by facet.

If this all looks good so far, I'll set about adding the remaining new facets. Let me know what you think!

I like the way that looks....  Maybe a little more room for text to show?
[cid:ceed7d04-3c0e-4ffd-841c-28458ace1f28]

From: hannah cushman garland<EMAIL_ADDRESS>Sent: Thursday, June 4, 2020 7:58 AM
To: datamade/la-metro-councilmatic<EMAIL_ADDRESS>Cc: Camacho, Omar<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [datamade/la-metro-councilmatic] investigate enriched faceting from smartlogic tags (#463)
@shrayshrayhttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fshrayshray&data=02|01|camachoo%40metro.net|2299339eaa3747e893c808d80897b66c|ab57129bdbfd4cacaa77fc74c40364af|0|0|637268794973158087&sdata=tFyHFXgIeSKW91wROmAmy4d0z9M7mavRN%2BEIbCkpZqY%3D&reserved=0 @camachoohttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcamachoo&data=02|01|camachoo%40metro.net|2299339eaa3747e893c808d80897b66c|ab57129bdbfd4cacaa77fc74c40364af|0|0|637268794973168044&sdata=z9OThZc7Bjv6GVstEDPd5KAnUQe1zH8Lp1PWOvZJLDY%3D&reserved=0 New Lines / Ways and Phase facets are live on the staging site! (As a bonus, I've also fixed #592https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdatamade%2Fla-metro-councilmatic%2Fissues%2F592&data=02|01|camachoo%40metro.net|2299339eaa3747e893c808d80897b66c|ab57129bdbfd4cacaa77fc74c40364af|0|0|637268794973168044&sdata=NJTdHrfWITBDwDVyLnJIiLCBnNqa7BWq7SK658ouQv0%3D&reserved=0.)
https://lametro-upgrade.datamade.us/search/https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flametro-upgrade.datamade.us%2Fsearch%2F&data=02|01|camachoo%40metro.net|2299339eaa3747e893c808d80897b66c|ab57129bdbfd4cacaa77fc74c40364af|0|0|637268794973177999&sdata=0z2NbeK6kSogzsWZB0KTzqsCWUPuEhaGWPUF7FMydAc%3D&reserved=0
When you view the empty search and toggle open the new facets, do they contain the values you expect?
It'd also be helpful if you could play with various combinations of filters on search results:

Select facets from the filters in the sidebar, and confirm they are applied correctly.
Click a topic from a search result and confirm results for the related facet (lines / ways, phase, or subject) are returned.

Also check out legislation pages, where I've grouped topics by facet.
[Screen Shot 2020-06-04 at 9 55 02 AM]https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F12176173%2F83772876-7bea5680-a649-11ea-8aaa-8d91e1dd2dc2.png&data=02|01|camachoo%40metro.net|2299339eaa3747e893c808d80897b66c|ab57129bdbfd4cacaa77fc74c40364af|0|0|637268794973177999&sdata=419zVjIWwAzxhSuVq52M%2BsLdQiCSbPM3EQi%2BT%2BXXYCQ%3D&reserved=0
If this all looks good so far, I'll set about adding the remaining new facets. Let me know what you think!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdatamade%2Fla-metro-councilmatic%2Fissues%2F463%23issuecomment-638904960&data=02|01|camachoo%40metro.net|2299339eaa3747e893c808d80897b66c|ab57129bdbfd4cacaa77fc74c40364af|0|0|637268794973177999&sdata=z91cKLEdrzklOR289IN0h%2FyuFgFyIGnrT4nuoZ5YEJ8%3D&reserved=0, or unsubscribehttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAG3PL6R57UAN7SLTRBIVF3TRU6ZARANCNFSM4H36CMWQ&data=02|01|camachoo%40metro.net|2299339eaa3747e893c808d80897b66c|ab57129bdbfd4cacaa77fc74c40364af|0|0|637268794973187951&sdata=CQPF9%2FtAGy0MxKJGxSj%2FH2BN%2FTYSPd%2BRh385kz5XEaU%3D&reserved=0.

@camachoo I assume you mean in the filter side bar? Good call. Just deployed a patch.

@hancush could we sort the faceted concepts alphabetically, instead of by occurrence count?

@shrayshray Sure thing. Any other feedback?

@shrayshray Just deployed a patch to order faceted concepts alphabetically, with selected concepts first. (Same behavior as combined topics was originally.) If this looks good to you both, I'll add the remaining topics next week! Let me know.
P.s., I have changes ready to deploy for the query builder (#460) once you're done testing the new facets.

@hancush yes, this looks great!!

Hi again, @shrayshray! I'm not getting any results for the Location and Significant Dates classes. Are there any terms of those class in SES?

Also, all of the new facets (plus report types from #462) have been implemented and are live on staging: https://lametro-upgrade.datamade.us/search/.
Can you have a look and let me know if they appear and are behaving as expected?
As I mentioned, I'm not getting any results from SES for the Location and Significant Dates classes, but as terms are added, they should appear as facets on the site. Let me know about those classes, and we can get this bundle of issues out the door!

@hancush thank you! I'll take a look. Regarding Locations, we recently made some changes to the class names - they're in the test model right now but will be pushed to production soon. The new top-level class name is "All Locations". So the criteria for this facet should now be:
iv. Locations - Class: “All Locations” and all of its Subclasses & “System: Legistar” equals true

@hancush re: your earlier comment asking whether there are any terms for those Location and Significant Dates classes in SES - Yes (Although, see above - the locations class is now "All Locations"). Here is a report that has one from each tagged:
https://lametro-upgrade.datamade.us/board-report/2020-0129/
Location - "Long Beach"
Significant Dates - "Board Approved a Motion"
Here's another: https://lametro-upgrade.datamade.us/board-report/2019-0806/
Location - "City of Los Angeles" "Inglewood" and others
Significant Dates - "Board Approved a Motion"
Are those examples helpful? Would a list of terms or something be more helpful?

Ah, okay - just figured out what might be causing the problem. We gave you the wrong class name for Significant Dates. It's just "Date". So:
v. Significant Dates - Class: “Date” and all of its Subclasses & “System: Legistar” equals true

@shrayshray Got it! Updated both class names. We're pulling from the live SES instance, so no location topics yet, but Significant Dates are up @ https://lametro-upgrade.datamade.us/search/.

(Also, just my prelim two cents, but breaking the massive subjects facet into these smaller topical facets provides such a better search experience, especially when you don't have a ton of context for the subject matter, like me. ^_^)

@hancush I agree, this is awesome! Definitely a better experience! All looks as expected to me.

Woohoo! Any update on when you'll launch the location class, @shrayshray? I can always deploy this today, and rebuild the index when those topics come through. Let me know.

Please try again with the class “All Locations”.  Although we probably have to breakup this facet also into two.

Metro Specific Locations: Class= All Transportation Locations
Geographic Locations: Class= All Locations (except not) All Transportation Locations

These two also need to have the attribute System: Legistar.
I forget, do we know how to exclude subclasses?  Maybe we can get a call with Steve to hammer out some of these issues.
Let me know if the “All Locations” works.
Omar Camacho
LA Metro
Sr. Manager, Systems Projects
Research & Records Information Management
213.922.2335 W
<EMAIL_ADDRESS>metro.net | facebook.com/losangelesmetro | @metrolosangeles
Metro’s mission is to provide world-class transportation for all.
From: hannah cushman garland<EMAIL_ADDRESS>Sent: Wednesday, June 24, 2020 6:22 AM
To: datamade/la-metro-councilmatic<EMAIL_ADDRESS>Cc: Camacho, Omar<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [datamade/la-metro-councilmatic] investigate enriched faceting from smartlogic tags (#463)
Woohoo! Any update on when you'll launch the location class, @shrayshrayhttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fshrayshray&data=02|01|camachoo%40metro.net|2a34bdf1e2eb47f7beae08d81841a0a5|ab57129bdbfd4cacaa77fc74c40364af|0|0|637286017441733731&sdata=t26UoHC9C9JMyN0ZWfeb%2FrOPGi7REn6i%2Bnk8rljjQT8%3D&reserved=0? I can always deploy this today, and rebuild the index when those topics come through. Let me know.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdatamade%2Fla-metro-councilmatic%2Fissues%2F463%23issuecomment-648816429&data=02|01|camachoo%40metro.net|2a34bdf1e2eb47f7beae08d81841a0a5|ab57129bdbfd4cacaa77fc74c40364af|0|0|637286017441733731&sdata=upG3xXOxkA82JOvx%2BjUFPuwi46MP8MozipPi4W%2BkUQU%3D&reserved=0, or unsubscribehttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAG3PL6X5LAS463VA5WEO3ALRYH4Y3ANCNFSM4H36CMWQ&data=02|01|camachoo%40metro.net|2a34bdf1e2eb47f7beae08d81841a0a5|ab57129bdbfd4cacaa77fc74c40364af|0|0|637286017441743730&sdata=9JdrwcQCqrjUQ%2BPONf2oy1c3Y5WV9cssdLw9M%2B7%2FilQ%3D&reserved=0.

@camachoo Have these classes been launched? I'm not getting any results from the live SES instance: https://cloud.smartlogic.com/svc/0dcee7c7-1667-4164-81e5-c16e46f2f74c/ses/v1.2/CombinedModel/terms.json?FILTER=CL=All Locations

Not getting any from the test instance, either: https://cloud.smartlogic.com/svc/0ef5d755-1f43-4a7e-8b06-7591bed8d453/ses/v1.2/CombinedModel/terms.json?FILTER=CL=All Locations
:-/

From Hannah: "Per Steve:
The SES filter FILTER=CL= only returns concepts that have that class explicitly assigned. There's no inheritance. However, multiple filters can be combined into an OR type filter to get the same effect
So, can you provide a list of classes for each facet?"
Here's a comprehensive update to the original list of classes, which includes subclasses.
i

Lines / Ways - Class: “Transportation Method” and all of its Subclasses & “System: Legistar” equals true. Subclasses are:

Bus Line
Bus Way
Rail Line

Phases - Class: “Transportation Phase” & “System: Legistar” equals true.
Projects - Class: “Project” and all of its Subclasses – EXCLUDING “Transportation Phase” & “System: Legistar” equals true. Subclasses to include:

Project Development
Project Finance
-- Capital Project
-- Construction Project
-- Grant Project
-- Other Working Project

Metro Specific Locations: Class: “All Transportation Locations” and all of its Subclasses & “System: Legistar” equals true. Subclasses to include:

Alignment
Division
Employee Parking Lot
Pank ‘n’ Ride
Radio Station
Route
Station
Surplus, Temporary And Miscellaneous Property
Terminal
Transportation Location

Geographic/Administrative Locations - Class: “All Location” and all of its Subclasses - EXCLUDING “All Transportation Locations” & “System: Legistar” equals true. Subclasses to include:

Administrative Division
-- Electoral Districts
-- Sector
Corridor
Geographic Location
-- City
-- Country
-- County
-- Neighborhood
-- State
-- Unincorporated Area
Point of Interest
Subregion

Significant Dates - Class: “Dates” & “System: Legistar” equals true
Motion by - Class: “Board Member” & “System: Legistar” equals true
Topics/Subjects (REPLACES: current “Filter by Topic”) – Any term/tag not covered above & “System: Legistar” equals true

@hancush This looks amazing!!!! I comfortable with pushing to production.

Deployed!


Forcing verbose.

Pull Request Description
What issue does this change request address?
What are the significant changes in functionality due to this change request?
Forces verbose documentation making.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Test Fedora 31 on 20931be : invalidated by @joshua-cogliati-inl
checking civet

Job Test qsubs falcon on 996e239 : invalidated by @joshua-cogliati-inl
restarted civet

Job Test qsubs falcon on 3820307 : invalidated by @joshua-cogliati-inl
failed with could not read from remote repository

Job Test qsubs falcon on 3820307 : invalidated by @joshua-cogliati-inl
failed with could not read from remote repository

Job Test qsubs falcon on 092e870 : invalidated by @joshua-cogliati-inl
ssh config modified

Relevent fixes merged into #1710


Feature/input tests

There was a lot to test here, so if anything looks like it's missing or needs fixing let me know! This was a big component. (: Thanks for any feedback! ❤
Got rid of Has Feedback prop type per Jason's request,
and changed value to not include elements/arrays so we switched node to number, and string instead.

Awesome work! Looking great

Made the changes! Should be good to go now :D

Looks like one piece of feedback is still pending

Alright fixed the onChange test to OnValidate - all still run fine. On the feedback for addonRight and addonLeft there are 4 tests total, 1 for each rendering text, and 1 for each rendering an element, since the propType is a node, both should be tested.

👍


Config of pyquil gives a syntax error

I am running Ubuntu version 16.04 installed via crouton on an acer chromebook 11. I followed the docs and did pip install pyquil, which ran successfully, and then I ran pyquil-config-setup which gave the following:
Traceback (most recent call last):
  File "/home/physicsnerd/.local/bin/pyquil-config-setup", line 7, in <module>
    from pyquil.setup.pyquil_config_setup import main
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pyquil/setup/pyquil_config_setup.py", line 19, in <module>
    from pyquil.api._config import PyquilConfig
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pyquil/api/__init__.py", line 23, in <module>
    from pyquil.api.job import Job
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pyquil/api/job.py", line 21, in <module>
    from pyquil.parser import parse_program
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pyquil/parser.py", line 19, in <module>
    from pyquil.quil import Program
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pyquil/quil.py", line 26, in <module>
    from pyquil._parser.PyQuilListener import run_parser
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pyquil/_parser/PyQuilListener.py", line 23, in <module>
    from antlr4 import *
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/antlr4/__init__.py", line 1, in <module>
    from antlr4.Token import Token
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/antlr4/Token.py", line 59
    def text(self, text:str):
                       ^
SyntaxError: invalid syntax

This is what running pip install pyquil gave for output (it seemed to run successfully; I'm only putting this here just in case it is useful):
Collecting pyquil
  Downloading pyquil-1.6.2.tar.gz (73kB)
    100% |################################| 81kB 719kB/s
Collecting requests>=2.4.2 (from pyquil)
  Using cached requests-2.18.4-py2.py3-none-any.whl
Collecting numpy>=1.10 (from pyquil)
  Downloading numpy-1.13.3-cp27-cp27mu-manylinux1_x86_64.whl (16.6MB)
    100% |################################| 16.7MB 32kB/s
Collecting matplotlib>=1.5 (from pyquil)
  Downloading matplotlib-2.1.1-cp27-cp27mu-manylinux1_x86_64.whl (15.0MB)
    100% |################################| 15.0MB 21kB/s
Collecting typing>=3.6 (from pyquil)
  Downloading typing-3.6.2-py2-none-any.whl
Collecting urllib3>=1.21.1 (from pyquil)
  Using cached urllib3-1.22-py2.py3-none-any.whl
Collecting antlr4-python2-runtime>=4.7; python_version < "3" (from pyquil)
  Downloading antlr4-python2-runtime-4.7.1.tar.gz (111kB)
    100% |################################| 112kB 751kB/s
Collecting antlr4-python3-runtime>=4.7; python_version >= "3" (from pyquil)
  Downloading antlr4-python3-runtime-4.7.1.tar.gz (111kB)
    100% |################################| 112kB 1.3MB/s
Collecting idna<2.7,>=2.5 (from requests>=2.4.2->pyquil)
  Using cached idna-2.6-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.4.2->pyquil)
  Using cached chardet-3.0.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests>=2.4.2->pyquil)
  Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
    100% |################################| 337kB 902kB/s
Collecting cycler>=0.10 (from matplotlib>=1.5->pyquil)
  Downloading cycler-0.10.0-py2.py3-none-any.whl
Collecting six>=1.10 (from matplotlib>=1.5->pyquil)
  Downloading six-1.11.0-py2.py3-none-any.whl
Collecting pytz (from matplotlib>=1.5->pyquil)
  Downloading pytz-2017.3-py2.py3-none-any.whl (511kB)
    100% |################################| 512kB 736kB/s
Collecting subprocess32 (from matplotlib>=1.5->pyquil)
  Downloading subprocess32-3.2.7.tar.gz (54kB)
    100% |################################| 61kB 2.7MB/s
Collecting python-dateutil>=2.0 (from matplotlib>=1.5->pyquil)
  Downloading python_dateutil-2.6.1-py2.py3-none-any.whl (194kB)
    100% |################################| 194kB 1.8MB/s
Collecting backports.functools-lru-cache (from matplotlib>=1.5->pyquil)
  Downloading backports.functools_lru_cache-1.4-py2.py3-none-any.whl
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib>=1.5->pyquil)
  Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB)
    100% |################################| 61kB 2.8MB/s
Building wheels for collected packages: pyquil, antlr4-python2-runtime, antlr4-python3-runtime, subprocess32
  Running setup.py bdist_wheel for pyquil ... done
  Stored in directory: /home/physicsnerd/.cache/pip/wheels/ac/f0/65/9c2117811f8a77d4f6c549b9741f324cb9e7ed55e85ec195a4
  Running setup.py bdist_wheel for antlr4-python2-runtime ... done
  Stored in directory: /home/physicsnerd/.cache/pip/wheels/a6/43/d3/18b2ff3978bdc7bec8aa963e85dbc569c8ef4bd290f40017fa
  Running setup.py bdist_wheel for antlr4-python3-runtime ... done
  Stored in directory: /home/physicsnerd/.cache/pip/wheels/12/ef/55/3d28ddbef18ae00a21e1ef4ae367e5ada2a24ffb4ea3b927cd
  Running setup.py bdist_wheel for subprocess32 ... done
  Stored in directory: /home/physicsnerd/.cache/pip/wheels/7d/4c/a4/ce9ceb463dae01f4b95e670abd9afc8d65a45f38012f8030cc
Successfully built pyquil antlr4-python2-runtime antlr4-python3-runtime subprocess32
Installing collected packages: urllib3, idna, chardet, certifi, requests, numpy, six, cycler, pytz, subprocess32, python-dateutil, backports.functools-lru-cache, pyparsing, matplotlib, typing, antlr4-python2-runtime, antlr4-python3-runtime, pyquil
Successfully installed antlr4-python2-runtime-4.7.1 antlr4-python3-runtime-4.7.1 backports.functools-lru-cache-1.4 certifi-2017.11.5 chardet-3.0.4 cycler-0.10.0 idna-2.6 matplotlib-2.1.1 numpy-1.13.3 pyparsing-2.2.0 pyquil-1.6.2 python-dateutil-2.6.1 pytz-2017.3 requests-2.18.4 six-1.10.0 subprocess32-3.2.7 typing-3.6.2 urllib3-1.22

Upgrading pip may help with this: pip install --upgrade pip

@stevenheidel I updated pip before running pyquil-config-setup, actually, so I don't think that's the problem.

Try reinstalling PyQuil with the upgraded version of pip. The problem seems
to be that it's trying to install both the python 2 and 3 dependencies.
On Dec 28, 2017 19:00, "physicsnerd"<EMAIL_ADDRESS>wrote:

@stevenheidel https://github.com/stevenheidel I updated pip before
running pyquil-config-setup, actually, so I don't think that's the
problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rigetticomputing/pyquil/issues/250#issuecomment-354382410,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJf_i6nZsEnEMvGCxfXAns-pYP5dp5Zks5tFDnKgaJpZM4ROfiv
.

@stevenheidel I tried doing that and it's giving the same error - I might try completely uninstalling and then completely reinstalling.

Okay, I tried uninstalling and then reinstalling, and then it gave an error just installing (I uninstalled/reinstalled using pip):
Collecting pyquil
Requirement already satisfied: requests>=2.4.2 in ./.local/lib/python2.7/site-packages (from pyquil)
Requirement already satisfied: numpy>=1.10 in ./.local/lib/python2.7/site-packages (from pyquil)
Requirement already satisfied: matplotlib>=1.5 in ./.local/lib/python2.7/site-packages (from pyquil)
Requirement already satisfied: antlr4-python3-runtime>=4.7 in ./.local/lib/python2.7/site-packages (from pyquil)
Requirement already satisfied: typing>=3.6 in ./.local/lib/python2.7/site-packages (from pyquil)
Requirement already satisfied: urllib3>=1.21.1 in ./.local/lib/python2.7/site-packages (from pyquil)
Requirement already satisfied: antlr4-python2-runtime>=4.7 in ./.local/lib/python2.7/site-packages (from pyquil)
Requirement already satisfied: idna<2.7,>=2.5 in ./.local/lib/python2.7/site-packages (from requests>=2.4.2->pyquil)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./.local/lib/python2.7/site-packages (from requests>=2.4.2->pyquil)
Requirement already satisfied: certifi>=2017.4.17 in ./.local/lib/python2.7/site-packages (from requests>=2.4.2->pyquil)
Requirement already satisfied: cycler>=0.10 in ./.local/lib/python2.7/site-packages (from matplotlib>=1.5->pyquil)
Requirement already satisfied: six>=1.10 in ./.local/lib/python2.7/site-packages (from matplotlib>=1.5->pyquil)
Requirement already satisfied: pytz in ./.local/lib/python2.7/site-packages (from matplotlib>=1.5->pyquil)
Requirement already satisfied: subprocess32 in ./.local/lib/python2.7/site-packages (from matplotlib>=1.5->pyquil)
Requirement already satisfied: python-dateutil>=2.0 in ./.local/lib/python2.7/site-packages (from matplotlib>=1.5->pyquil)
Requirement already satisfied: backports.functools-lru-cache in ./.local/lib/python2.7/site-packages (from matplotlib>=1.5->pyquil)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in ./.local/lib/python2.7/site-packages (from matplotlib>=1.5->pyquil)
Installing collected packages: pyquil
Exception:
Traceback (most recent call last):
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/home/physicsnerd/.local/lib/python2.7/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pyquil-1.6.2.dist-info'

@stevenheidel are we good to close this?

Yes I'll close it


Fixed UnboundLocalError in dynamodb2.query when no filtering arguments are passed

Coverage decreased (-0.1%) to 94.039% when pulling 8d3ab5b5c32cd1bdb2ad2e9dbd315bde8da627de on krigar1184:bugfix/unbound-local-in-dynabodb2-query into b6aeae0f2d6b479e1bcf1a6d839d668c822c2569 on spulec:master.

Coverage decreased (-0.1%) to 94.039% when pulling 8d3ab5b5c32cd1bdb2ad2e9dbd315bde8da627de on krigar1184:bugfix/unbound-local-in-dynabodb2-query into b6aeae0f2d6b479e1bcf1a6d839d668c822c2569 on spulec:master.

Hi @krigar1184 - welcome to moto, and thanks for your PR!
The code looks good to me - happy to merge after the tests pass.
I think they fail because our DynamoDB-module handles errors slightly different, and we never raise Exceptions explicitly. Have a look at other exceptions in the query-method how they are handled:
https://github.com/spulec/moto/blob/master/moto/dynamodb2/responses.py#L530

Hi @bblommers, thanks for your help! I fixed error handling as you had asked.


add Image requirements to the upload menu

I am trying for 30 minutes now to upload my image and it wont work !
I tried resizing it, changing the name, the format and everything and I don't know why it wont work
If it is possible to add the requirement and format accepted to the images it would be fantastic
If not, put them on the github readme maybe ?
In anyway i'll contimue trying putting my image x_x
(this one) https://imgur.com/MYYtwkP

In the next update of Improved Intra, v4.0.0, this has been added. It is however not ready for release just yet. Soon™!


added orig VMD license and updated paper to cite VMD.

added orig VMD license and updated paper to cite VMD.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.83%.  Consider uploading reports for the commit c3700b4 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #88   +/-   ##
=======================================
  Coverage   93.83%   93.83%
=======================================
  Files           5        5
  Lines        1151     1151
=======================================
  Hits         1080     1080
  Misses         71       71

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Can't override nodeSelector on fury aws module components

In the fury aws module it's not possible to override the default node selectors for each deployed components.
For example it's not possible to change the nodeSelector for:

ebsCsiDriver
albLoadBalancerController
clusterAutoscaler

Replaced by https://github.com/sighupio/fury-distribution/issues/60


Problem occurred when increasing batch size

Hi, thanks for your great work!
I was training this repo on my own dataset.
Everything was OK when I set batch size as 64. I got training log and checkpoints of model.
But when I tried to increase batch size above 64 (There were enough free memory on my GPU), the training.py crashed before it printed any a single line of running log or error message.
Usage of GPU when batch size was 64:

Any idea on how did this happen?
Thanks!

In train.py
https://github.com/ming024/FastSpeech2/blob/172d2ea9a03b8dc6751388bacc26c15c801cbb4d/train.py#L28-L29
the dataloader defaults to sample batchsize ** 2 instances of samples at each iteration. And in dataset.py
https://github.com/ming024/FastSpeech2/blob/172d2ea9a03b8dc6751388bacc26c15c801cbb4d/dataset.py#L95-L112
the samples are sorted according to the lengths to maximize GPU utility.
However, the LJSpeech dataset has only 13100 samples, and 128**2 = 16384 is too large. If you want to set a large batch size you have to modify the collate_fn in dataset.py by yourself.

Thanks for your kind reply! I'll try that.

I was training this repo on my own dataset.
Have you tried training it on a Chinese dataset?

No, I haven't.


Rename Project to "Andromeda"

"Proxstar" is too confusing, I keep mixing it up with STARRS and Proxmox, please oh god make it stop.

I know why it was named like that, but please.


💡[FEATURE]: Enhancing Cards and background of "PET Adoption Cards section"

As an SSOC contributor

, I’m excited to contribute to our project by enhancing the pet adoption cards. After reviewing the current design, I’ve prepared a detailed plan for improvements:
Pet Adoption Cards:

Clearly display pet names, ages, breeds, and locations.
Improve the visibility of the “Adopt Me” button.
Apply consistent typography.

Background Design:

Update the body background with a visually appealing image or color gradient.
Add a subtle overlay to the card background for better readability.
Consider color fades between different sections.

Expected Outcome: A visually appealing and cohesive design that encourages pet adoption and provides essential information to potential adopters.
I kindly request your approval to work on this task. If assigned, I’ll diligently implement the proposed changes and ensure thorough testing across different devices and screen sizes.

Go for it!


Expand city search to include geonames

When I search for Munich using this UI component (e.g. embeded into a map like https://tangrams.github.io/bubble-wrap/#16/31.7436/35.2063) the widget doesn't return anything.
But using the Pelias search tool I do get a result (from GeoNames not WOF): http://pelias.github.io/compare/#/v1/search%3Ftext=munich
The tip says "Search for city", so it seems like adding geonames to the list of sources on this line would keep it "course" but expand the results:

https://github.com/mapzen/scarab/blob/09b0e62b2b14f634b9084bead1b3a5cd21573de0/src/components/search/search.js#L46

Pelias is working to add functionality to allow alternate names (since Munich and München are both name values on the WOF record, but only Münich goes into Search index & logic now).
But Geonames still has more city coverage than WOF, so even with duplicates between the two I think it's better to find more things by changing this now.
Once the following WOF issues are completed than this could be limited to WOF again:

BLOCKED: Add GeoNames populated places not already in WOF #108

Hey @nvkelso, I'm catching up on some issues now. After chatting with Julian it seems the trade off is that we increase coverage but reduce the quality of results. I tentatively agree that it seems worth while so that we can cover Munich (and similar localities). One question -- what does the timeline look like for including GeoNames data in WOF?

Search box is using geonames as an additional source now.


Final Task Distribution.

Since @sharmistharanit has an issue doing Task 3, I will do Task 3. @pratibha77118 Will do Task 1.

Thanks @Mosaddeq107 I will finish task 1 by tomorrow. This time we gonna do documentation of our part by ourselves.

Thanks @Mosaddeq107 I will finish task 1 by tomorrow. This time we gonna do documentation of our part by ourselves.

Did Dr Tim mention it? I thought we didn't need to do that for this HW.

We will do our task as you suggested.
I am closing this issue.


Feature sms log

@IgorKostyukov looks good except one comment about dbContext and somehow Azure Pipeline fails, while Github action is OK. Please have a look.


idle detection popup seems to be buggy

I selected "Add time as a new entry". The running timer was saved as new entry but also a new running  time entry was created that had the same duration as the idle time. (the same duration that the saved entry).
case: 280607

Probably out of date and already fixed


Use numerical uid/gid in Dockerfile

Older versions of OCP are unhappy with the non-numeric ids and the controller fails to start with the following error:
container has runAsNonRoot and image has non-numeric user (nonroot),
cannot verify user is non-root
The nonroot stuff was generated by an old operator sdk. Recent versions now put numerical ids. Do the same.
Fixes: https://issues.redhat.com/browse/KATA-1824
Signed-off-by: Greg Kurz<EMAIL_ADDRESS>
- Description of the problem which is fixed/What is the use case
- What I did
- How to verify it
- Description for the changelog

@gkurz if you have a build for this can you share that so it can be tested.


Update resource-groups-vm-searching.md

Powershell 1.0 commands above are listed in ISE as Get-AzureRMVMImagePublisher, etc...

Hi @Sergmis, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@Sergmis Thanks, Sergio -- I apologize for the delay. Right now, we have a note that says that for 1.0+ you remplace "Azure*" with "AzureRm*". Otherwise, if you're on PS <1.0, the commands are the same. We're getting ready to reverse that statement, but we have more people on <1.0 than on >1.0 at the moment. :-|
To wit:

[AZURE.NOTE] With Azure PowerShell modules above 1.0, the Switch-AzureMode cmdlet was removed. With that version and more recent, please replace the commands below with the Azure portion replaced with AzureRm. If you are using Azure PowerShell modules below 1.0, you will use the below commands but you must first Switch-AzureMode AzureResourceManager.

Perhaps we'll take your submission and rework this topic completely! I'll report back shortly.

@squillace - Ralph - can you follow up on this?

@tysonn sure will. Sorry; I've been distracted.

@Sergmis / @squillace - At this point, I'm going to close this PR. Author comments indicate change was not mergeable initially, and the VM content is being refactored.


Missing run_all function on durable.lang

Was run_all([{'host': host_name, 'port': port}]) removed from the codebase ? I am using durable-rules==2.0.17 and see that
from durable.lang import *
run_all([{'host': host_name, 'port': port}])

raises a NameError: name 'run_all' is not defined. If this is the case, what is the way to run the service at  a different port now ? Also, I could not find this on the latest version of durable.lang file - https://github.com/jruizgit/rules/blob/master/libpy/durable/lang.py

Hi Tony, durable_rules 2.0.x no longer requires redis. You don't need to call run_all and you can post events and assert facts without using the start method. To provide durability, please follow this example:
https://github.com/jruizgit/rules/blob/master/testpy/testdurable.py

Aha. True. Closing this one then. Thank you!


Listen connection dropping - use model

This is more of a usage question. I have started using this code in a server to listen to incoming GCM messages. I noticed that the GCM's stopped reaching my server suddenly but on restarting the server I got all the queued up GCM's. I am guessing that the listen connection had dropped in the night.
Should the the gcm.Listen call be in a forever loop like so:
func (r *Receiver) startListener() {
	for {
		err := gcm.Listen(r.gcmSenderId, r.googleApiKey, messageHandler, stopChannel)
		revel.INFO.Println("Restarted listener because of err", err)
	}
}

Not exactly. You don't always know that the connection has dropped. The best way is to send periodic pings and recreate your client when ping times out. You can get some ideas in our fork here: https://github.com/rounds/go-gcm/blob/master/xmpp_client.go

Once in a while my listener is dying with the error:
error on Recv>XML syntax error on line 1: unexpected EOF
Once it dies, it keeps getting this error again and again. Also, when the listener comes out it does not seem to finish the 'go' routine with the result that my process runs out of memory.

@bolshoy , I see that you have commented out the monitoring code in your fork. Is it not needed? Or was it giving some problem?
104   // Ping periodically and indentify xmpp disconnect.
105   //go c.monitorConnection()

@kuchlous right, it used to cause some problems during the connection draining, and I haven't checked it properly since then. Thanx for reminding me.

@bolshoy , so are you able to use the listener reliably without the monitoring?  BTW, thanks for all your work and prompt replies.

@kuchlous the clients runs good on production with monitoring disabled, but it does not handle lost connecitons properly. I am reworking it now, stay tuned.

@bolshoy , Thank you. Will wait for your update.

@kuchlous ready, give it a try.

@bolshoy , can you think of a way to simulate ping timeout from google GCM server? Without that will be difficult to verify that it working.

@kuchlous you can comment out the line https://github.com/rounds/go-gcm/blob/master/xmpp_client.go#L246 , this will simulate "no pongs" situation.
Also you may use tcpkill utility to simulate sudden connection drops.

@bolshoy , the code is working flawlessly. No problems for more than week. Thanks.

@kuchlous  thanx! :+1:


Change default of showRollDialogs user setting to false

This is for check dialogs right? Isn't that better to be on, given its the only way certain traits and effects (guidance) can work?

This is for check dialogs right? Isn't that better to be on, given its the only way certain traits and effects (guidance) can work?

I'm going through and adding tooltips to roll buttons. But it's definitely better off.

With it on, its a lot more discoverable that it exists. Some people end up turning it off permanently, but via that process they should at least remember it exists for when they need it on again. With it off, new users will not realize it will exist, will not have any inkling on how to add situational bonuses, until they start digging through wiki guides or asking around on discords.
If anything, the default should be a world setting. I'd rather not have this be yet another thing I have to teach players.

What sort of tooltips are you adding?

Sorry for the third message in a row. If the Roll button on the dialog had focus, so that the enter key would roll it immediately, would that help with its usability?


Multiple dependency blocks cause: Error: No valid credential sources found

Describe the bug
If I add another dependency block to my _envcommon module.hcl file, terragrunt/terraform can't see my credential files.
If I remove the second dependency It works just fine, adding another causes the issue.
To Reproduce
My remote state looks like this in my terragrunt.hcl file:
remote_state {
  backend = "s3"
  config = {
    encrypt        = true
    # uncomment for local testing:
    profile        = "saml"
    bucket         = "terraform-state-${local.account_name}-${local.account_id}-${local.aws_region}"
    key            = "${path_relative_to_include()}/terraform.tfstate"
    region         = local.aws_region
    dynamodb_table = "terraform-locks"
  }
  generate = {
    path      = "backend.tf"
    if_exists = "overwrite_terragrunt"
  }
}

My provider looks like:
generate "provider" {
  path      = "provider.tf"
  if_exists = "overwrite_terragrunt"
  contents  = <<EOF
  provider "aws" {
  region = "${local.aws_region}"
  # uncomment here for local testing
  shared_credentials_files = ["~/.aws/credentials"]
  profile = "saml"

  default_tags {
  # Use heredoc syntax to render the json to avoid quoting complications.
      tags = jsondecode(<<INNEREOF
  ${local.tags}
  INNEREOF
  )
    }

  # Only these AWS Account IDs may be operated on by this template
  allowed_account_ids = ["${local.account_id}"]

}
EOF
}

In my module.hcl file I define:
dependency "networking" {
  config_path = "${get_terragrunt_dir()}/../networking"
}

dependency "gateway" {
  config_path = "${get_terragrunt_dir()}/../gateway-db"
}

If I include the second dependency the following error occurs in the console:
│ Error: No valid credential sources found
│
│ Please see https://www.terraform.io/docs/language/settings/backends/s3.html
│ for more information about providing credentials.
│
│ Error: failed to refresh cached credentials, no EC2 IMDS role found,
│ operation error ec2imds: GetMetadata, exceeded maximum number of attempts,
│ 3, request send failed, Get
│ "http://xxx.xxx.xxx.xxx/latest/meta-data/iam/security-credentials/": dial
│ tcp xxx.xxx.xxx.xxx:xx: connectex: A socket operation was attempted to an
│ unreachable network.

I expect to see no error's if I provide two dependency blocks as documented here:
https://terragrunt.gruntwork.io/docs/reference/config-blocks-and-attributes/#dependency
Versions

Terragrunt version: 0.53.5
Terraform version: 1.6.4
Environment details:  Windows 11

Additional context
Add any other context about the problem here.

Hi,
can be shared output of execution with  --terragrunt-log-level debug to see where it is failing, similar setup on my test repo is executed without any issue


Key Design of HDFS Architecture

Article checklist
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[ ] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines

Hey @RuthAMare,
Thanks for the PR.
This article looks amazing. I have requested a few changes. Please let me know when it's done, we can then move on to the tech review.
As a general suggestion, make use of hemingwayapp to write short and meaningful sentences.
Make sure go through each comment, and resolve them before requesting for the review.
Thank you.

@srishilesh I've done the changes requested.
Thank you

Hey @RuthAMare,
Thank you for making the requested changes.
I have added 1 minor suggestion. Please resolve it before we move for the final review.
Thank you.

Thank you for the suggestion, i just added it.

programs check done

👋  @RuthAMare
Overall a nice article - it seems to cover some good topics.
Please go through my final edits - as I changed a couple things around - and I want to make sure we did not change the meaning of the sentences.
I found the last sentence confusing as I felt new topics were being discussed.
cc @srishilesh


Push being sent twice

Every time I send a push (using the Knuff iOS app) I get it twice, with about 1-2 seconds delta.
Tried it multiple times and it always comes twice...
Generally though - ingenious idea and extremely easy to kick off with the iOS app!

Thanks for trying it out!
I noticed this as well but didn't spend that much time on it because I thought it only happened on my dev device and had something to do with all the versions of the app I had installed.
Will spend some time investigating more now, thanks! :)

This seems to be an Apple issue: https://forums.developer.apple.com/thread/28115
I only get it on the home screen and only since 9.2.


Fix handling of environment path variable.

The fix takes the platform into account for evaluating the right environment
path variable.
Due to the case-sensitivity of the process.env object the python-tools package added a wrong "PATH"
variable to the env overwriting the actual windows "Path" variable. This causes a lot of tools not to
be found.
From my point of view it
Closes #34 #35 #36 #37 #38 #43 #47.
When you have python in your Windows "Path" variable every thing should be fine.

Thanks for this PR! I'll be testing this and giving it a look tomorrow. The tests fail due to a known bug which I will also try resolve. If I see this works I'll go ahead and release a new version.


UX optimization

Motivation
Super unread button when I must click "apply for terms and ....". Black button on black screen.
Just made more contrast for this byrron please
Usage example
No response
Possible implementations
No response

This is been handle on #582


[Hotfix][ZF-11136] sync svn r23910 & r23911

Updated Zend_Service_ReCaptcha to reflect new service URIs

Reviewed, merged, and pushed to master.


How to find train.rel.2.en & train.rel.2.hn????

These 2 datasets (train.rel.2.en & train.rel.2.hn), which are needed for training the model, are not in the source directory to download!
How can I download Them?
Should I prepare them by myself

These 2 dataset that is needed for training the model, is not in the source directory to download!
How can I download Them?
Should I prepare them by myself

python transliterate.py --data_dir <path_to_vocabulary_directory> --train_dir <path_to_models_directory> --decode

in this command , which vocabulary should i use, there are two vocabulary one for thindi and another one for English
please respond!!!!!!!!!!!!!


Convert reboot resource to a custom resource with descriptions

This is a simple resource. It's way easier to understand in a single file.
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

@lamont-granquist am I missing something here or is default_action busted when you specify :nothing?


Customer product page needed

The product detail page should be of similar implementation to the existing home page and category page, it features:
Navigation Elements:
Home (returns to home page)
Parent Category (returns to category page, should show string of current item category)
Product elements: (from ProductCatalog DynamoDB table)
image (not yet implemented)
brand
name
price
description
Current Inventory available: (this will eventually be dynamic) - not yet implemented
Customer Buy button:
Puts a request purchase onto the event stream, switched to confirming purchase wait UI
Confirming purchase wait UI:
Shows until Confirm Purchase or Decline Purchase is seen on the event stream
Purchase Successful:
Shows if Confirm Purchase is seen
Purchase Declined:
Shows if Decline Purchase is seen

Fixed.  We don't have price or inventory in scope currently.


Stream CSV downloads

Right now, enrollment and score CSVs are collected in StringIO, which buffers the file in memory. Instead we should generate them on-the-fly. This would make the downloads faster both by reducing the memory requirements of the server, and making the responses more amenable to gzip  (increasing throughput).
See https://docs.djangoproject.com/en/1.10/howto/outputting-csv/#streaming-large-csv-files for a possible approach.

Just kidding, it collects each row in a StringIO but emits rows one at a time.


New package: Clevertouch.Clevershare version <IP_ADDRESS>97

Pull request has been created with komac v2.2.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

From this download site all the downloads are from AWS, so seems like they just dont use a download link with their domain in it :)
https://www.clevertouch.com/dk/clevershare2g

Verify:


Thank you

Hello,
I have been looking at doing something similar. I see the approach you have is to watch a specific service, was this done for any particular reason?
I am thinking of doing something along the lines of on startup:

get all services using catalog.services
iterate over each using consul.service with the service name from the services call
publish them
create a refresh to receive new services, say call services on a 10s interval.

I would also limit my services to healthy ones.
The beauty of envoy is that it does health checks on it's own as well, so if this discovery is slightly dated it isn't the end of the world. Do you see any issues with this approach?

Wanted to give you guys a shout out over here, been working on an implementation of this as well. consul-envoy-service-mesh


:pending => 'this message' should store message for later output

Given:
describe "Something" do
  it "does something", :pending => 'awaiting a revelation' do
  end
end

When I run rspec
Then the output should include:

Pending:
  Something does something
    # awaiting a revelation
    # ./example_spec.rb:2

But it just prints this instead:
Pending:
  Something does something
    # Not Yet Implemented
    # ./example_spec.rb:2

+1 as is. I would enjoy using it.

@jbrains in progress - coming shortly

Appreciated.