text:
Accept single files in root folder of user share

trinapicot,
Some users of unBALANCE, reported they couldn't transfer files sitting at the root of the user share.
I made some changes to the diskmv script

Commented the section forcing a folder as argument
Modified some echo calls to printf (to send newlines)

I didn't make a proper PR, waiting for you to figure out if such a change is ok.
# if [ ! -d "/mnt/user/$MERGEDIR" ]
# then
#   echo "'$1' is not a valid user share directory." >&2
#   usage >&2
#   exit 1
# fi

-echo "diskmv finished"
+printf "diskmv finished\n"

 if [ ! $doit == 'true' ]; then
-  echo "... but it ran in test mode"
-fi
-
-echo
+  printf "... but it ran in test mode\n"
+fi

I would not just comment out that section, it is there make sure the user input is valid (it needs to be a part of the user share system). Perhaps the test could be changed from -d to -e to allow diskmv to work on single files as well as directories, but I designed diskmv to act on directories only. I'll have to ponder the consequences of opening it up to move single files.
I don't understand why you made the printf change. In my bash terminal, echo adds a newline by default, so your printf calls look equivalent to what was already there. If there is a good reason, I'm not opposed to changing all of the echo calls to printf.

@trinapicot,
Regarding 2 (printf), I think it has more to do with how Go handles echo output (and in general any shell command).
What happens is this
I: 2015/05/19 11:21:31 core.go:314: diskmv finished
I: 2015/05/19 11:21:31 core.go:314: I: 2015/05/19 11:21:31 core.go:403: disk.Path = /mnt/disk8 | item.Path = Media/Tv/Show | dst = /mnt/disk2

The first line is ok
The second line should finish before the second "I: 2015/...."
I tried some echo variations (adding "\n", calling it with echo $'line\n'), but none of them worked.
I used printf based on this stackoverflow thread, which may or may not be 100% correct :)
Regarding 1 (directory), you're absolutely right.
You need to make sure that user input is part of the user share. I didn't see that.
Let me know if "-e" works, from an "unintended side-effects" point of view (not a bash/rsync expert).
I'll wait for your feedback, before uploading a new version.

Regarding 2 (printf), if the diff you quoted is complete, you have removed the final echo statement (which has the effect of a blank new line at the terminal). I'm wondering if that was the solution to your problem since you didn't have to change all of the other echo statements. Does Go just have a problem with a blank new line? What happens if you add a blank newline at the end with printf "\n"?

printf "\n" didn't work.
But printf " \n" (a space before the newline character) worked !

My conclusion is that your problem is caused by the solitary newline character output at the end of diskmv, not the difference between echo and printf. Do you agree?
I don't know anything about Go, but if you are using it to run a bash script, it seems like it should be able to handle a solitary newline character as output.

Certainly seems so.

@jbrodriguez
Committed changes to allow single file as input to diskmv. Also removed solitary newline character in output.

Thanks @trinapicot, I really appreciate your input !

authors: jbrodriguez trinapicot

repo: trinapicot/unraid-diskmv

license: unlicense


text:
Support serving of Virtual Host requests

Closes #19
This PR also goes slightly into #37 , by creating an S3RequestInformation record - if @ragnard and @mosiac1 are happy with this choice, I'm glad to add the remaining fields and make the signer use it too.

@vagaerg reminder to squash the rebase commit please

source: gharchive/pull-request

authors: Randgalt vagaerg

license_type: permissive

license_source: github-api


text:
Question regarding json example

Hi
I use a json example in my slate documentation, but for every " / ", I get " / ". I know that / is ok json format, but I would prefer to have only one slash.
Do anyone one know what to do ?

sorry I found it.

source: gharchive/issue

repo: tripit/slate


text:
sc-9368 Display email log in admin UI

Scope of changes
sc-9368 Display email log in admin UI
Type of change

[ ] bug fix
[x] new feature
[ ] documentation
[ ] other (describe)

Acceptance criteria
https://app.shortcut.com/rotational/story/9368/display-email-log-in-admin-ui
Author checklist

[x] I have manually tested the change and/or added automation in the form of unit tests or integration tests
[ ]  I have updated the dependencies list
[ ]  I have recompiled and included new protocol buffers to reflect changes I made
[ ]  I have added new test fixtures as needed to support added tests
[x]   Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
[x]  I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

[ ] Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.

Codecov Report
Base: 43.99% // Head: 43.88% // Decreases project coverage by -0.10% :warning:

Coverage data is based on head (f1c925c) compared to base (a4fcbda).
Patch coverage: 90.90% of modified lines in pull request are covered.

:exclamation: Current head f1c925c differs from pull request most recent head fa38b02. Consider uploading reports for the commit fa38b02 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #926      +/-   ##
==========================================
- Coverage   43.99%   43.88%   -0.11%
==========================================
  Files         688      689       +1
  Lines       25575    25467     -108
  Branches     1565     1562       -3
==========================================
- Hits        11251    11176      -75
+ Misses      12877    12852      -25
+ Partials     1447     1439       -8

Flag
Coverage Δ

unittests
43.88% <90.90%> (-0.11%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

web/gds-admin-ui/src/pages/app/details/index.js
0.00% <ø> (ø)

web/gds-admin-ui/src/pages/app/details/EmailLog.js
90.90% <90.90%> (ø)

...user-ui/src/components/UserProfile/UserDetails.tsx
0.00% <0.00%> (-100.00%)
:arrow_down:

web/gds-user-ui/src/hooks/useQueryParams.ts
15.38% <0.00%> (-76.93%)
:arrow_down:

...eb/gds-admin-ui/src/pages/account/AccountLayout.js
28.57% <0.00%> (-71.43%)
:arrow_down:

web/gds-admin-ui/src/pages/account/Login.js
6.25% <0.00%> (-46.88%)
:arrow_down:

web/gds-admin-ui/src/utils/index.js
44.05% <0.00%> (-2.10%)
:arrow_down:

...com/trisacrypto/directory/pkg/bff/collaborators.go
59.21% <0.00%> (-2.10%)
:arrow_down:

....com/trisacrypto/directory/pkg/bff/organization.go
63.80% <0.00%> (-1.50%)
:arrow_down:

web/gds-user-ui/src/utils/axios.ts
16.39% <0.00%> (-0.53%)
:arrow_down:

... and 24 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

repo: trisacrypto/directory

license: MIT


text:
No log files being returned

@tristenmiller
Originally logged here, i think this is the correct repo now?
https://github.com/abisek/salesforce-elf-browser/issues/81#issue-1842383446
Basicially, I've not been able to pull any log files for over a month now. Is there an issue with the ELF browser?

Same issue here.

Did some digging, I've got not log files generated since June 2023. Is this a salesforce issue?

I'm guessing that you need to enable 'Generate Event Log Files' in setup https://help.salesforce.com/s/articleView?id=release-notes.rn_security_em_generate_event_log_files.htm&release=244&type=5

That was turned off! Good spot @tristenmiller , thank you. I'll see if new log files are generated later

Thanks @tristenmiller. Sorted.

I had the same problem.
Sumer'23 disable the log generation

repo: tristenmiller/salesforce-elf-browser


text:
Multiple outputs in sampling

Is there an option to get multiple outputs when sampling?
For example for specific top_p and temperature I want to return 2 options.
I know I can get multiple options when using beam_search but I need it in sampling setup.

In such case, you could

Pass same requests several time together with different random seeds. Then, you should get different results. This direction is more straightforward.
Pass the request first, and then pass it several times next with different random seeds. If you enable the reuse_kv_cache, the time of context phase of the second time would be short and it is recommended.

authors: byshiue tonylek


text:
[AMD] getBackwardSlice variant with handling for op regions

mlir::getBackwardSlice does not traverse through op regions. This can cause the backward slice to not be in topological order and this can result in the reordering pass moving a value's use before its def.
Example:
%0 op0 ...
%1 scf.if %arg0
{
%2 op1 %0, ...
}
%3 op2 %0,
%4 tt.load %1, %3
while gathering the backward slice of the tt.load, if op1's use of %0 is not seen during the post-order walk in mlir::getBackwardSlice, then the backward slice can have op0 after the scf.if. Global load reordering relies on the load's backward set being topologically sorted to move the load and its transitive dependencies.
This PR adds a getBackwardSlice variant with handling for op regions. This is a temporary fix until these changes are upstreamed to mlir::getBackwardSlice.
The core Triton is a small number of people, and we receive many PRs (thank
you!).  To help us review your code more quickly, if you are a new
contributor (less than 3 PRs merged) we ask that you complete the following
tasks and include the filled-out checklist in your PR description.
Complete the following tasks before sending your PR, and replace [ ] with
[x] to indicate you have done them.

[x] I am not making a trivial change, such as fixing a typo in a comment.

[x] I have written a PR description following these
rules.

[x] I have run pre-commit run --from-ref origin/main --to-ref HEAD.

Select one of the following.

[x] I have added tests.

/test for lit tests
/unittest for C++ tests
/python/test for end-to-end tests

[ ] This PR does not need a test because FILL THIS IN.

Select one of the following.

[ ] I have not added any lit tests.
[x] The lit tests I have added follow these best practices,
including the "tests should be minimal" section. (Usually running Python code
and using the instructions it generates is not minimal.)

@htyu @manman-ren

Closing this given superseded by https://github.com/triton-lang/triton/pull/5363.

authors: antiagainst karthik-man

repo: triton-lang/triton


text:
TestNG Support

Issue :
Unable to generate cluecumber report.
Is there a TestNg support for Cluecumber?
<generatedHtmlReportDirectory>${project.build.directory}/generated-cluecumber-report</generatedHtmlReportDirectory> is not generating the folder, nor the html
Runner :
mvn clean verify -Dsurefire.suiteXmlFiles=testng.xml
Note:
cucumber-report/cucumber.json is generated.
"json:target/cucumber-report/cucumber.json", != empty
POM  :
        <!-- https://mvnrepository.com/artifact/com.trivago.rta/cluecumber-report-plugin -->
        <dependency>
            <groupId>com.trivago.rta</groupId>
            <artifactId>cluecumber-report-plugin</artifactId>
            <version>2.3.1</version>
        </dependency>

   <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.19.1</version>
                    <configuration>
                        <suiteXmlFiles>
                            <suiteXmlFile>testng.xml</suiteXmlFile>
                        </suiteXmlFiles>
                        <testFailureIgnore>false</testFailureIgnore>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>com.googlecode.maven-download-plugin</groupId>
                <artifactId>download-maven-plugin</artifactId>
                <version>${maven-download-plugin.version}</version>
                <executions>
                    <execution>
                        <id>install-chrome-driver-linux64</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>wget</goal>
                        </goals>
                        <configuration>
                            <url>
                                https://chromedriver.storage.googleapis.com/${chromedriver-dep.version}/chromedriver_linux64.zip
                            </url>
                            <unpack>true</unpack>
                            <outputDirectory>${basedir}/drivers/linux/64bit/</outputDirectory>
                        </configuration>
                    </execution>
                    <execution>
                        <id>install-chrome-driver-windows</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>wget</goal>
                        </goals>
                        <configuration>
                            <url>
                                https://chromedriver.storage.googleapis.com/${chromedriver-dep.version}/chromedriver_win32.zip
                            </url>
                            <unpack>true</unpack>
                            <outputDirectory>${basedir}/drivers/windows/</outputDirectory>
                        </configuration>
                    </execution>
                    <execution>
                        <id>install-chrome-driver-osx</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>wget</goal>
                        </goals>
                        <configuration>
                            <url>
                                https://chromedriver.storage.googleapis.com/${chromedriver-dep.version}/chromedriver_mac64.zip
                            </url>
                            <unpack>true</unpack>
                            <outputDirectory>${basedir}/drivers/osx/</outputDirectory>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.6.1</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>3.1.0</version>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.21.0</version>
                <configuration>
                    <suiteXmlFiles>
                        <suiteXmlFile>testng.xml</suiteXmlFile>
                    </suiteXmlFiles>
                    <systemPropertyVariables>
                        <extent.reporter.html.start>true</extent.reporter.html.start>
                        <extent.reporter.html.out>test-output/HtmlReport/ExtentHtml.html</extent.reporter.html.out>
                    </systemPropertyVariables>
                </configuration>
            </plugin>

            <plugin>
                <groupId>com.trivago.rta</groupId>
                <artifactId>cluecumber-report-plugin</artifactId>
                <version>2.3.1</version>
                <executions>
                    <execution>
                        <id>report</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>reporting</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <sourceJsonReportDirectory>${project.build.directory}/cucumber-report</sourceJsonReportDirectory>
                    <generatedHtmlReportDirectory>${project.build.directory}/generated-cluecumber-report</generatedHtmlReportDirectory>
                    <expandBeforeAfterHooks>true</expandBeforeAfterHooks>
                </configuration>
            </plugin>

        </plugins>
    </build>

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-report-plugin</artifactId>
                <version>2.22.2</version>
            </plugin>
        </plugins>
    </reporting>

Runner Class
package com.demo.runnertypes;

import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import cucumber.api.testng.AbstractTestNGCucumberTests;
import org.junit.runner.RunWith;

@RunWith(Cucumber.class)
@CucumberOptions(
        features =  "src/test/java/com/demo/features", //feature location
        glue = { "com.demo.stepdefinitions", "com.stepdefinitions" }, //step definition , master hooks locations
        monochrome = true,
        tags =  {},
        plugin = {"pretty",
                "json:target/cucumber-report/cucumber.json",
                "html:target/cucumber",
                "json:target/cucumber.json", }
                //"com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter: test-output/report.html"}
)

public class DemoTest extends AbstractTestNGCucumberTests {
}

Found the solution
My plugin management was incorrect. The build was failing because of deliberate test failure.
I had to pass <testFailureIgnore>true</testFailureIgnore> to complete the maven life cycle.
Thank you for the gorgeous report tool - looking forward to using this.
Here's the updated POM.
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>3.0.0-M4</version>
                    <configuration>
                        <suiteXmlFiles>
                            <suiteXmlFile>testng.xml</suiteXmlFile>
                        </suiteXmlFiles>
                        <testFailureIgnore>true</testFailureIgnore>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>

repo: trivago/cluecumber-report-plugin


text:
Implement spectral analysis (FFT) of numerical solutions

It would be nice to be able to analyze the spectrum of numerical solutions via FFT, e.g., for the Taylor-Green vortex. This doesn't requir PDE-specific knowledge and would be a nice way to use FFTW.jl.
CC @jlchan

See https://github.com/trixi-framework/paper-2022-robustness-entropy-projection/blob/6402bf40e13e50ce45fa3fd8852cb37e3092c9ae/julia_simulations/utilities.jl#L193-L217 for a 2D example

authors: jlchan ranocha


text:
Avoid type instability in SemidiscretizationCoupled

Before:
────────────────────────────────────────────────────────────────────────────────────────────────────
Trixi.jl simulation finished.  Final time: 1.0368e6  Time steps: 720 (accepted), 720 (total)
────────────────────────────────────────────────────────────────────────────────────────────────────

 ───────────────────────────────────────────────────────────────────────────────────────
               Trixi.jl                        Time                    Allocations
                                      ───────────────────────   ────────────────────────
           Tot / % measured:               4.75s /  98.3%           3.31GiB / 100.0%

 Section                      ncalls     time    %tot     avg     alloc    %tot      avg
 ───────────────────────────────────────────────────────────────────────────────────────
 copy to coupled boundaries    3.60k    4.04s   86.5%  1.12ms   3.28GiB   99.3%   956KiB
 rhs!                          21.6k    406ms    8.7%  18.8μs   5.14KiB    0.0%    0.24B
   volume integral             21.6k    215ms    4.6%  10.0μs     0.00B    0.0%    0.00B
   interface flux              21.6k   64.5ms    1.4%  2.99μs     0.00B    0.0%    0.00B
   surface integral            21.6k   48.7ms    1.0%  2.25μs     0.00B    0.0%    0.00B
   boundary flux               21.6k   33.2ms    0.7%  1.54μs     0.00B    0.0%    0.00B
   Jacobian                    21.6k   22.1ms    0.5%  1.02μs     0.00B    0.0%    0.00B
   reset ∂u/∂t                 21.6k   12.2ms    0.3%   566ns     0.00B    0.0%    0.00B
   ~rhs!~                      21.6k   9.90ms    0.2%   458ns   5.14KiB    0.0%    0.24B
   source terms                21.6k    245μs    0.0%  11.3ns     0.00B    0.0%    0.00B
 I/O                              50    210ms    4.5%  4.21ms   13.7MiB    0.4%   281KiB
   save solution                 294    208ms    4.5%   709μs   12.2MiB    0.4%  42.7KiB
   ~I/O~                          50   1.81ms    0.0%  36.1μs    928KiB    0.0%  18.6KiB
   save mesh                      49    112μs    0.0%  2.28μs    602KiB    0.0%  12.3KiB
   get element variables         294    104μs    0.0%   352ns     0.00B    0.0%    0.00B
   get node variables            294   5.04μs    0.0%  17.1ns     0.00B    0.0%    0.00B
 calculate dt                    721   13.6ms    0.3%  18.8μs   9.10MiB    0.3%  12.9KiB
 ───────────────────────────────────────────────────────────────────────────────────────

Now:
────────────────────────────────────────────────────────────────────────────────────────────────────
Trixi.jl simulation finished.  Final time: 1.0368e6  Time steps: 720 (accepted), 720 (total)
────────────────────────────────────────────────────────────────────────────────────────────────────

 ───────────────────────────────────────────────────────────────────────────────────────
               Trixi.jl                        Time                    Allocations
                                      ───────────────────────   ────────────────────────
           Tot / % measured:               1.53s /  95.2%            539MiB / 100.0%

 Section                      ncalls     time    %tot     avg     alloc    %tot      avg
 ───────────────────────────────────────────────────────────────────────────────────────
 copy to coupled boundaries    3.60k    907ms   62.2%   252μs    516MiB   95.8%   147KiB
 rhs!                          21.6k    382ms   26.2%  17.7μs   5.14KiB    0.0%    0.24B
   volume integral             21.6k    206ms   14.1%  9.52μs     0.00B    0.0%    0.00B
   interface flux              21.6k   59.4ms    4.1%  2.75μs     0.00B    0.0%    0.00B
   surface integral            21.6k   46.1ms    3.2%  2.13μs     0.00B    0.0%    0.00B
   boundary flux               21.6k   30.1ms    2.1%  1.40μs     0.00B    0.0%    0.00B
   Jacobian                    21.6k   20.6ms    1.4%   954ns     0.00B    0.0%    0.00B
   reset ∂u/∂t                 21.6k   11.1ms    0.8%   515ns     0.00B    0.0%    0.00B
   ~rhs!~                      21.6k   8.50ms    0.6%   393ns   5.14KiB    0.0%    0.24B
   source terms                21.6k    250μs    0.0%  11.6ns     0.00B    0.0%    0.00B
 I/O                              50    159ms   10.9%  3.17ms   13.7MiB    2.6%   281KiB
   save solution                 294    157ms   10.8%   534μs   12.2MiB    2.3%  42.7KiB
   ~I/O~                          50   1.47ms    0.1%  29.4μs    928KiB    0.2%  18.6KiB
   save mesh                      49   79.1μs    0.0%  1.61μs    602KiB    0.1%  12.3KiB
   get element variables         294   59.9μs    0.0%   204ns     0.00B    0.0%    0.00B
   get node variables            294   5.12μs    0.0%  17.4ns     0.00B    0.0%    0.00B
 calculate dt                    721   11.7ms    0.8%  16.2μs   9.10MiB    1.7%  12.9KiB
 ───────────────────────────────────────────────────────────────────────────────────────

Looks fine to me now.
Thanks for the fix.

We see a huge amount of allocations in CI:
https://github.com/trixi-framework/Trixi.jl/actions/runs/9544683326/job/26303876791?pr=1979#step:7:3571

Okay, so the version on main is apparently allocation-free for simulations where all semidiscretizations have the same mesh, equations, solver and cache type. Then
mesh_other, equations_other, solver_other, cache_other = mesh_equations_solver_cache(other_semi_index,
                                                                                1,
                                                                                semi_coupled.semis...)

is type-stable, as the types of the return values will be the same over all values of other_semi_index. In cases where we have different equations or mesh types for the semidiscretizations, this allocates and is very slow, as it allocates inside a performance-relevant function.
The version in this PR always allocates, but one level higher, where the type-instability is not as performance-relevant.

Okay, new version.
Now I store boundary_condition.other_semi_index statically in the type of the BoundaryConditionCoupled, removing all type instabilities and allocations.

This is unbelievably ugly but I believe that @efaulhaber needs this quickly for a teaching project. IMHO OK to merge if @ranocha signs off as well.

Just to be clear: Thanks a lot to @efaulhaber for taking the time and figuring out how to make this allocation free. Your help is really appreciated!

authors: SimonCan efaulhaber ranocha sloede


text:
Add equations by Lucas

I propose to add the moist Euler equations implemented by Lucas, as-is, as a first step. @Arpit-Babbar and @FnHck then have a common basis for their experiments.
Note that we should review, clean up, ... this at some point. But maybe we can postpone this until we start implementing alternative equations.

Dry air consistency check
I also added a first test, which runs Trixi.jl's elixir_euler_warm_bubble.jl and then runs the same elixir again using the equations defined in TrixiAtmo.jl. Thereby we can make sure that the special case of a dry atmosphere, with the additional components set to 0, yields the same results a the ordinary Euler equations in Trixi.jl.
trixi_include comes in handy here as it allows to overwrite the elixir an the fly. However, this can certainly be improved. See e.g. https://github.com/trixi-framework/TrixiAtmo.jl/actions/runs/10007442043/job/27662157328?pr=21#step:5:690


text:
[WIP] Speed up CI tests

With the additional features being added having a single CI job became very slow.
This PR should speed up the CI time by splitting the tests into multiple jobs and also restricts the coverage testing to ubuntu.

With the additional features being added having a single CI job became very slow. This PR should speed up the CI time by splitting the tests into multiple jobs and also restricts the coverage testing to ubuntu.

This is a good idea to make the CI faster. Should we already drop back the macOS version here as discussed in #40?

With the additional features being added having a single CI job became very slow. This PR should speed up the CI time by splitting the tests into multiple jobs and also restricts the coverage testing to ubuntu.

This is a good idea to make the CI faster. Should we already drop back the macOS version here as discussed in #40?

I think this will not be necessary, since in this setup we would no longer do coverage testing on macOS. Since the problem in #40 only appeared in the coverage tests I expect that this would fix the problem.

Ah, gotcha. Then this sounds doubly good if it provides a workaround for the issues encountered on Mac-ARM.

This provides a good speedup from the single job tests that previously ran for over 30min.
For additional speed we could also separate the coverage tests into it's own job.
However, the checks become a bit crowded now as we test everything on macOS, windows and ubuntu.
@andrewwinters5000 What do you think about restricting the macOS and windows tests to the upstream testset, which should cover the most important features of TrixiSW?

This provides a good speedup from the single job tests that previously ran for over 30min. For additional speed we could also separate the coverage tests into it's own job. However, the checks become a bit crowded now as we test everything on macOS, windows and ubuntu. @andrewwinters5000 What do you think about restricting the macOS and windows tests to the upstream testset, which should cover the most important features of TrixiSW?

That might be for the best, especially because it avoids the need to adjust the tolerances for the wet/dry well-balancedness tests on macOS which I see are failing due to round-off differences.

Okay, I have restricted macOS & windows testing to upstream and separated the coverage tests.

LGTM! Thanks for speeding up the CI testing. I think we need to change the branch protections to reflect the new structure instead of the tests like Julia 1.10 - macOS-latest - x64 - pull_request that no longer exist.

Yes, branch protection still needs to be updated. Can you take care of this? I don't have sufficient rights.


text:
Twitch changed class name from tw-interactive to tw-button.

This caused the reward to stop working. For compatibility, we are trying to find a button for these two classes.

@gleydson ok, done

@trmcnvn @carlossancal
This PR looks ready to be merged as the extension is currently not working anymore

Thanks. Updated version has been published for Firefox, Chrome will be delayed due to required review by Google.

authors: Rezrazi freedbrt trmcnvn

repo: trmcnvn/twitch-channel-points


text:
Implement file source

For now, library supports only source from the Internet. Library should also handle local files as a data source

Yes please that would be lovely. This library seems to be working great with urls and we would appreciate file source support!
Any ETAs on this?

hey @altany
I am happy, you liked it :D. It is hard to say, what is ETA on this due lack of free time. I will try to find some time to implement it.

this would be great, i really like to use this library.

Regarding to this discussion: https://www.reddit.com/r/reactnative/comments/mf1gzn/looking_for_opensource_project_ideas/gsmb20n/?context=3
@eveningkid would like to take a look on this

Hey @troZee,
I remember you said you already had an idea on how to fix this.
Any chance you could give some guidance first? So I know where to start with your project :)
Thank you!

@eveningkid have you got a discord ? it would be easier to me to explain you everything :D

Sure, you can text me at eveningkid#0357 :)

Sure, you can text me at eveningkid#357 :)

@eveningkid

eveningkid#0357, for some reason the 0 got stripped!

eveningkid#357, for some reason the 0 got stripped!

I have added you as a friend. Please approve my request :D

authors: MateusViniciusSchons eveningkid troZee

repo: troZee/react-native-svg-view


text:
🛑 Bazarr is down

In 2848b17, Bazarr (https://tronflix.app/bazarr/system/status) was down:

HTTP code: 520
Response time: 125 ms

Resolved: Bazarr is back up in 78e0040.

repo: tronyx/upptime


text:
🛑 TronFlix is down

In cb7ddc0, TronFlix (https://tronflix.app) was down:

HTTP code: 520
Response time: 177 ms

Resolved: TronFlix is back up in ed17a59 after 5 minutes.


text:
🛑 Bazarr is down

In 826c52b, Bazarr (https://tronflix.app/bazarr/system/status) was down:

HTTP code: 521
Response time: 134 ms

Resolved: Bazarr is back up in d04e303 after 6 minutes.


text:
Import all doesn't work well with ESLint and eslint-plugin-react

Since we are adding the ESLint control comment to the top of the file for detecting undefined variables
/* eslint no-unused-vars: [2, { "vars": "all", "args": "none" }] */

this will work well for regular variables. However, if you are using JSX and React, we need an additional option and access to the eslint-plugin-react plugin, since that plugin is responsible for finding reference errors for components. https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-undef.md
/* eslint react/jsx-no-undef: 2 */

I'm actually having a difficult time getting the import all functionality to work for anything with ESLint. I think this is because eslint is not executed from the root of the project, so the .eslintrc file is not being used. In the project I am trying this in, there are some important options in there that need to be set in order for ESLint to work at all--e.g. ES6 and JSX support.
I wonder instead of adding these comments to the top of the file contents we should require the rules to be specified in the jshint_cmd configuration. For ESLint, I think that using a combination of the --plugin and --rule flags, this could be made to work. Granted, there's nothing stopping us from doing this now, but because this exists it seems like it should just work.

Unfortunately, I don't really see a way to enable JSX support using CLI flags alone. It looks like it is part of the es6 env, but using --env es6 gives me <text>: line 82, col 8, Error - Unexpected token <.

That's a bummer. It's working well for me in the brigade repo, both for regular variables and jsx ones. Is that not the case for you? I'm assuming you're referring to another project above though.

No, I'm referring to the Brigade repo. Do you happen to have a .eslintrc file in your home directory or something?

Nope.

There was a bug with how the eslint comment was injected into the file. Fixed in 3477032977c3516198923a5bce606fc84a89d744. I also made sure that parse errors aren't swallowed in 6cedbecfe7ce1ed4d60d6c7824afd45189831db3.

authors: lencioni trotzig

repo: trotzig/import-js

license: mit

license_source: bigquery


text:
melee is spelt wrong everywhere you idiot

i am quoting you taylor

Fixed in Races and Feats. Didn't find anywhere else. Of course, I'm working in the dev branch, so it may differ from the play branch.


text:
birdmouthed, fiesta

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[b,f]

/trunk merge

repo: trunk-io/mergequeue-staging


text:
forehorse, disenchanted

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[d,f]

/trunk merge


text:
celled, eagle

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c,e]

/trunk merge


text:
gilpey, decahedron

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[d,g]

/trunk merge


text:
assertor

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a]

/trunk merge


text:
galet, forebearing

This pull request was generated by the 'mq' tool

/trunk merge


text:
byblis, adinvention

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,b]

/trunk merge


text:
fraternized, beplague

This pull request was generated by the 'mq' tool

/trunk merge


text:
benumbedness, cavillers

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[b,c]

/trunk merge


text:
downmost, amidofluoride

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,d]

/trunk merge


text:
gomlah

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[g]

/trunk merge


text:
earclip, fenny

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[e,f]

/trunk merge


text:
electrocutional, astatize

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,e]

/trunk merge


text:
evocative, cteninidia

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[c,e]

/trunk merge


text:
caprices, emetics

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c,e]

/trunk merge


text:
fellable, entrepreneurship

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[e,f]

/trunk merge


text:
gheraoing, damselhood

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[d,g]

/trunk merge


text:
glyconean, bigarreau

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[b,g]

/trunk merge

repo: trunk-io/mergequeue


text:
gavialoid, aggies

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[a,g]

/trunk merge


text:
bulkheaded, chillies

This pull request was generated by the 'mq' tool

/trunk merge


text:
collateral, funnelform

This pull request was generated by the 'mq' tool

/trunk merge


text:
champlainic, gadbee

This pull request was generated by the 'mq' tool

/trunk merge


text:
furtive

This pull request was generated by the 'mq' tool

/trunk merge


text:
disconsider, flanerie

This pull request was generated by the 'mq' tool

/trunk merge


text:
deuteranomalous, fogyishness

This pull request was generated by the 'mq' tool

/trunk merge


text:
fulmarus

This pull request was generated by the 'mq' tool

/trunk merge


text:
blueprints, drabness

This pull request was generated by the 'mq' tool

/trunk merge


text:
chaetopodous

This pull request was generated by the 'mq' tool

/trunk merge


text:
fornenst, blunderingly

This pull request was generated by the 'mq' tool

/trunk merge


text:
campman, evacuative

This pull request was generated by the 'mq' tool

/trunk merge


text:
citified, filleter

This pull request was generated by the 'mq' tool

/trunk merge


text:
cryptoglaux, dysfunction

This pull request was generated by the 'mq' tool

/trunk merge


text:
disguisement

This pull request was generated by the 'mq' tool

/trunk merge


text:
glazier, djinni

This pull request was generated by the 'mq' tool

/trunk merge


text:
cerebrating, agatize

This pull request was generated by the 'mq' tool

/trunk merge


text:
angioglioma, frumaryl

This pull request was generated by the 'mq' tool

/trunk merge


text:
embolisms, caquetio

This pull request was generated by the 'mq' tool

/trunk merge


text:
expungers, digitally

This pull request was generated by the 'mq' tool

/trunk merge


text:
fezziwig, gangboard

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[f,g]

/trunk merge


text:
aratinga, brisement

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[a,b]

/trunk merge


text:
abram, dompt

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[a,d]

/trunk merge


text:
etherealism, audaciousness

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[a,e]

/trunk merge


text:
cloudbursts, docosanoic

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,d]

/trunk merge


text:
distruster, alexin

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[a,d]

/trunk merge


text:
farandole

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[f]

/trunk merge


text:
braggingly, arrisways

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[a,b]

/trunk merge


text:
albumean, ethologist

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[a,e]

/trunk merge


text:
girders

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[g]

/trunk merge


text:
🛑 pnt is down

In 9e95256, pnt (https://portainer.pnt.truongsinh.pro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: pnt is back up in b553da7 after 1 hour, 16 minutes.


text:
Document event payload elements and how to use Cel expressions

We need to document the event payload elements with some examples so that customers can use the new Cel expressions appropriately.

We also need to add a page that provides common examples of expressions you might want to use and different operators and functions we think people might want to use.
And we need to explain how the event payload is mapped to the cel context.  E.g. how nodeName becomes ctx.node.name

I think we're good now https://docs.trustgrid.io/docs/alarms/alarm-filters/#cel-expressions

repo: trustgrid/docs


text:
walletconnect doesn't work for trust wallet ios app

Copy of https://github.com/trustwallet/wallet-core/issues/2197, which I could not reopen. Provided more context, including a link to a demo where you can observe the issue happening.
Describe the bug
Using the WalletConnect npm package, we are not able to our Trust Wallet app to properly connect with our dapp. A new WalletConnect connection seems to be prematurely added to the WC seciton of the app, but our site is still waiting for the user to read the ETH message and sign it
To Reproduce
You can see it here: https://wallet-kit-e2e-react-pr-299.onrender.com/
Steps:

click on "connect my wallet"

scroll down to "trust" and click on it

scan the QR code with ios app (my app version is 7.9 (650) )

app hangs with:

Expected behavior
A sign-in view, with the message, should be displayed and there's a way for the user to confirm the message. For example, we get the following with rainbow using the exact same code in the previous section:

Additional context
In case it might help, the client object from client.signPersonalMessage above is the following (after JSON.stringify):
{
  "protocol":"wc",
  "version":1,
  "_bridge":"https://f.bridge.walletconnect.org",
  "_key":{ },
  "_clientId":"68a2c54b-0245-4526-9a25-79d77d71a9d1",
  "_clientMeta":{
    "description":"",
    "url":"http://localhost:4200",
    "icons":[
      "http://localhost:4200/assets/apple-touch-icon.png",
      "http://localhost:4200/assets/favicon-32x32.png",
      "http://localhost:4200/assets/favicon-16x16.png",
      "http://localhost:4200/favicon.ico"
    ],
    "name":"Dashboard"
  },
  "_peerId":"a938900b-6831-4740-b41c-59a2af9448af",
  "_peerMeta":{
    "description":"",
    "icons":[ ],
    "name":"Trust Wallet",
    "url":"https://trustwallet.com"
  },
  "_handshakeId":1651769694012533,
  "_handshakeTopic":"a56c05ed-bc12-47bc-af06-646c1c71c423",
  "_connected":true,
  "_accounts":[ "0xADe186d1607fC324196aF0d37aFF64e975ea4378" ],
  "_chainId":1,
  "_networkId":0,
  "_rpcUrl":"",
  "_eventManager":{
    "_eventEmitters":[
      { "event":"display_uri" },
      { "event":"connect" },
      { "event":"call_request_sent" },
      { "event":"wc_sessionRequest" },
      { "event":"wc_sessionUpdate" },
      { "event":"response:1651769694012533" },
      { "event":"connect" },
      { "event":"disconnect" },
      { "event":"response:1651769706341401" }
    ]
  },
  "_cryptoLib":{ },
  "_sessionStorage":{ "storageId":"walletconnect" },
  "_signingMethods":[
    "eth_sendTransaction",
    "eth_signTransaction",
    "eth_sign",
    "eth_signTypedData",
    "eth_signTypedData_v1",
    "eth_signTypedData_v2",
    "eth_signTypedData_v3",
    "eth_signTypedData_v4",
    "personal_sign",
    "wallet_addEthereumChain",
    "wallet_switchEthereumChain",
    "wallet_getPermissions",
    "wallet_requestPermissions",
    "wallet_registerOnboarding",
    "wallet_watchAsset",
    "wallet_scanQRCode"
  ],
  "_transport":{
    "opts":{
      "protocol":"wc",
      "version":1,
      "url":"https://f.bridge.walletconnect.org",
      "subscriptions":[ "68a2c54b-0245-4526-9a25-79d77d71a9d1" ]
    },
    "_queue":[ ],
    "_events":[
      { "event":"message" },
      { "event":"open" },
      { "event":"close" },
      { "event":"error" }
    ],
    "_subscriptions":[ "68a2c54b-0245-4526-9a25-79d77d71a9d1" ],
    "_protocol":"wc",
    "_version":1,
    "_url":"https://f.bridge.walletconnect.org",
    "_netMonitor":{
      "_eventEmitters":[
        { "event":"online" }
      ]
    },
    "_socket":{ },
    "_nextSocket":null
  }
}

could you please try to update iOS app to latest version (7.9 650)? I tried and worked

This wallet kit looks good for testing, can we get a beta invite?

@hewigovens thanks for quickly taking a look at that. i made sure my app was updated, but still see the same issue on my end:
https://user-images.githubusercontent.com/85070/175329853-6ae24b38-ee83-4955-b8fd-b8f0569e28e8.MP4
Is there anything I can provide that would help? Thanks!

@paololim  On your side, do you see connection screen or sign request does not work?

@paololim On your side, do you see connection screen or sign request does not work?

Just seems to hang on "connecting may take a few seconds" on my ios app. I deleted it and re-installed too, just in case if it makes a difference (it did not).

Update: I actually waited for it and it says "Failed to connect" after about 1 full minute.

Looks like network issue, try to remove all sessions and kill the app then try again

@paololim try to do it with VPN, please

Looks like network issue, try to remove all sessions and kill the app then try again

By removing all sessions, what exactly do you mean?

Remove all WalletConnect sessions on your app, Settings -> WalletConnect -> Remove each

Remove all WalletConnect sessions on your app, Settings -> WalletConnect -> Remove each

@hewigovens This occurs even when I delete the app. The video I posted above has no existing WC sessions

@paololim Does this still happen on latest iOS app? we couldn't reproduce it

@paololim Does this still happen on latest iOS app? we couldn't reproduce it

@hewigovens hello! Sorry, I just saw this now. We are still seeing this issue when testing internally - though some people have said it is working for them, while others have said it is not. We would really like to work with you on this to make sure the experience is great for both Trust's and Dynamic's users. Someone from our team is compiling videos/screenshots to recreate the issue and will post them here shortly.

This wallet kit looks good for testing, can we get a beta invite?

When you have a chance, please email hello@dynamic.xyz directly and we will get your team set up with beta access directly to our SDK - again, we would love to work with your team to make this a great experience for both!

to add to paolo's comment - this what happened yesterday for me:

I was able to connect and sign with Opensea - then i signed out
I was able to connect but not sign with dynamic - then i signed out
Tried uniswap and it failed
Went back to Opensea and could no longer connect
Went back to Dynamic and could no longer connect
I cleared the cache in Trust app and in my Browser
I went back to Opensea, could not connect
I went back to Dynamic, could not connect

to add to paolo's comment - this what happened yesterday for me:

I was able to connect and sign with Opensea - then i signed out
I was able to connect but not sign with dynamic - then i signed out
Tried uniswap and it failed
Went back to Opensea and could no longer connect
Went back to Dynamic and could no longer connect
I cleared the cache in Trust app and in my Browser
I went back to Opensea, could not connect
I went back to Dynamic, could not connect

@eadonj this looks weird, usually you disconnect from the dapp + remove the session from the app, you should be able to connect (at most kill and relaunch the app), do you run your own bridge or somehow?

i don't use a bridge or anything like that. it was just standard connecting and disconnecting from the different sites.

should we setup a call? we can screenshare a show you what's happening

Can confirm this is a trustwallet issue. Random and hard to track as well

Hey there! Having the same issue when deep linking from a flutter app on IOS...

I also have this problem when trying to use trust walletconnect feature. It just hangs on that "wait a few seconds" message. I have the latest app version on IOS. Sometimes after trying to get a connection multiple times I get connected by chance after many attempts but this is really annoying. It has been like this for ever. It is not a matter of now or a month ago.

authors: ArtemGoryunov Sprimage eadonj hewigovens ifarshgar loic-combis paololim

repo: trustwallet/wallet-core


text:
Add equipment support for backgrounds.

Along with displaying/exporting.

Added in #53


text:
部署方式 | How to Deploy
使用一键部署脚本 | Using zealot-docker on-click install (Default)
部署版本 | Version
5.0.0-nightly
Git 哈希值 (长度 40)| Git Ref (40 length)
e361f189444bcf491ff87eda2d14011020e3c417
反代服务 | Reverse Proxy
none
HTTPS 证书类型 | HTTPS(SSL)
可受信任的证书 Verified SSL
已阅读文档 | Read the document

[X] 已阅读 | Yes

描述 | Description
iOS13设备访问网页，没有安装按钮

问题日志 | Relevant log output
No response

什么设备
User Agent 是什么

iphone se，ua我明天看看

顺便看看是不是浏览器禁用了 JavaScript，一般情况下只要是 iOS 设备都不会不展示的

8839cfdaa117ac53e7773af84f93b94bbd57ab29 解决了包名过长的问题

UA Mozilla/5.0 (iPhone; CPU iPhone OS 13_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Mobile/15E148 Safari/604.1

顺便看看是不是浏览器禁用了 JavaScript，一般情况下只要是 iOS 设备都不会不展示的

我看了设置里没有禁用

之前版本是正常的吗？我没有 SE 在模拟 UA 的环境下无法复现。

我也不知道，第一次用这个老设备。

不确定是不是 js 编译的问题，微调了 728e7d0b09bf5607a98b1988ed41fe00ad5cb685 其他我也找不到具体哪里问题了

拉取最新版本 nightly 试试

我测试安装按钮在两个低版本 iOS 系统上的表现
--target=es2021 在 iOS 13 上不可见
--target=es2020 在 iOS 13 上可见
--target=es2018 在 iOS 10 上不可见
--target=es2017 在 iOS 10 上可见

感谢测试，保证最大的兼容度我改成 es2017 吧

fixed in 7dbb9ba8afdcd85e8f8c5b552c5b2a65fb5967b4

测试了，没问题

authors: InjoyDeng icyleaf mlch911

repo: tryzealot/zealot


text:
使用微信输入法时，rz/sz 会打印一些额外的内容

Windows 终端版本: 1.20.11781.0
微信输入法版本: 1.2.5

切换其他输入法就会变正常了

突然就好了，原因不明。

repo: trzsz/trzsz-ssh


text:
Fixes #29 Intermittent failures in io.vertx.ext.dropwizard.MetricsTest.testMultiHttpClients

Add some delay before updating latches, so that SPI callbacks can be called in time

Grrr, wrong repo...

repo: tsegismont/vertx-dropwizard-metrics


text:
请问选择后怎么取到值呢，新手麻烦指点下。

请问选择后怎么取到值呢，新手麻烦指点下。看文档里没有说。

$('#location').data('citypicker').getVal()

authors: HuColin yrang


text:
Force_encoding nonexistent under 1.8

The call to String#force_encoding causes the library to fail under Ruby 1.8, since it doesn't know what encodings are. I had to monkeypatch in a method to make the lirbrary usable.

+1.

There's no way this can even be ran on 1.8, unless your version of 1.8 is so horribly broken that nothing should be supporting it to any extent:
[~]$ irb
>> line="blah" #=> "blah"
>> RUBY_VERSION < "1.9" ? line : line.force_encoding('utf-8') #=> "blah"
>>
[~]$ irb-1.8
irb(main):001:0> line="blah"
=> "blah"
irb(main):002:0> RUBY_VERSION < "1.9" ? line : line.force_encoding('utf-8')
=> "blah"
irb(main):003:0> line.force_encoding('utf-8')
NoMethodError: undefined method `force_encoding' for "blah":String
	from (irb):3
	from :0
irb(main):004:0>

Well somehow dano produced it a little over a year ago, and I reproduced it two days ago...

I posted this issue before Scott committed the fix. Just sayin'

@CodeBlock the latest version is 2.1.2 (https://github.com/tsion/on_irc/blob/master/on_irc.gemspec#L8) - get that and see if it's fixed

@danopia then he should have closed it
@duckinator then he should have released it

@tsion close this issue + release 2.1.2? kthxbai :P

I'll take a look at this when I get a bit more time. Either way, I think you should use the "cinch" library for IRC bots. It's what I use.

Not an option as it does not have 1.8 support. Wanted something simple, guaranteed to work without needing to muck around with rvm and whatnot.
-re

Thanks!

I have no idea why I yanked 2.1.2 any more, but I've released 2.1.3, which is just 2.1.2 with one extra trivial bug fix.

CodeBlock just informed me that it is working. Closing the issue.

authors: CodeBlock danopia duckinator tsion


text:
Clarify the reusability of the tutorial code

I was copying and pasting some of the tutorial code into a new repo, and realised that we should say somewhere the licence that applies to any code examples? My suggestion is that code snippets in the tutorials should be licensed as liberally as possible, and not even require attribution.

I think code snippets like this as implicitly assume to be "do whatever you want", we probably don't need to worry about assigning a formal license.
The overall repo license is CC-BY, so I think it's fine.

Yeah, I agree about not having a formal licence. We could say in the index page that code snippets in this repo are "do whatever you want"? I just need a phrasing

I think we can just sentence saying "All code in these tutorials is free to use for whatever purpose (CC-BY)" or something.
I think that's the de-facto anyway, I doubt anyone is not using the code because they are worried about copyright infringement.

Given that there is a LICENCE file in the repo and a code of conduct, I think this issue can be closed.

authors: gregorgorjanc hyanwong jeromekelleher

repo: tskit-dev/tutorials


text:
🛑 Online Document Editor is down

In 77bc3a3, Online Document Editor ($URL_OFFICE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Online Document Editor is back up in 29cdc32 after 3 hours, 15 minutes.

repo: tsueri/upptime


text:
Context menu (right button click) on checkbox at left of row causes exception

Clicking in that area should just be ignored.
Trace:
Caused by: java.lang.NullPointerException 	at org.vaadin.teemusa.gridextensions.contextclick.ContextClickEvent.<init>(ContextClickEvent.java:18) 	at org.vaadin.teemusa.gridextensions.contextclick.ContextClickExtension$1.contextClick(ContextClickExtension.java:28) 	... 33 more

Sorry for slow response. There is a missing null check for property check as the selection column actually does not have a propery attached to it. Will fix this ASAP

authors: rsivan tsuoanttila

repo: tsuoanttila/GridExtensionPack


text:
国际化问题

想请教一个跟这些MOD没有太大关系的问题，如果大佬觉得不合适可以直接关闭。
我想给自己的MOD添加国际化支持，参考大佬的代码，编纂了 zh.po 翻译文件，在 OnLoad 方法中进行了注册

new PLocalization().Register();
LocString.CreateLocStringKeys(typeof(ModStrings), "");

然后在 Options 类中进行了标注

  [RestartRequired]
  [JsonObject(MemberSerialization.OptIn)]
  public class Config
  {
      [Option("ModStrings.Config.MULTIPLIER_TITLE", "ModStrings.Config.MULTIPLIER_TOOLTIPS", null)]
      [Limit(1, 20)]
      [JsonProperty]
      public int Multiplier
      {
          get;
          set;
      }

      public Config()
      {
          Multiplier = 5;
      }
  }

游戏内的内容比如建筑菜单等地方可以正常的读取po文件中的数据了，但是游戏模组设置界面的菜单中的文本却读不到，永远是默认值，能否请大佬指点一下问题所在

project.zip
附上相关文件

我也很困扰，因为我最近也是遇到这个问题，我也不知道怎么搞。我有空再看看，如果解决了我会告诉你。

（手动捂脸
加油

我看了一下其他的MOD，有的MOD采用的方法是在 PLocalization 前手动load对应的国际化文件把文本填给 LocString 的变量以后再初始化 。。。
应该不需要这么蠢的方式吧 。。。

我看了一下其他的MOD，有的MOD采用的方法是在 PLocalization 前手动load对应的国际化文件把文本填给 LocString 的变量以后再初始化 。。。 应该不需要这么蠢的方式吧 。。。

有可能，只要能解决就行，我最近没空看。或者你可以看看 SGT 是怎么实现国际化的。

authors: neavo ttdly

repo: ttdly/ONI-Mods


text:
Map and bubble plots in R by Catrina Loucks

Details
Learn about maps and bubble plots in R using the ggmap packages.
Where: Simon Fraser University, Burnaby Campus, Library Research Commons
When: 11:30 am - 12:30 pm, Monday, March 14, 2016
Prerequisite knowledge: Entry level R
Dependencies:  R

Etherpad: https://etherpad.wikimedia.org/p/2016-03-14-SFU
Data: https://raw.githubusercontent.com/cloucks/ggmap_tutorial/master/worm_strains.csv
Cheatsheet: https://github.com/cloucks/ggmap_tutorial/blob/master/ggmapCheatsheet.pdf
Notes: https://github.com/cloucks/ggmap_tutorial/blob/master/ggmap_tutorial.Rmd
Video:

Is it possible to add pie charts using ggmap?

@cloucks do you have an answer to @bretshandro's question?

@cloucks, I found this:
http://rgraphgallery.blogspot.com/2013/04/rg-plot-pie-over-google-map.html
It looks like it's possible, but a bit complicated.

@SimonGoring I've never tried that, but the link you found looks like a good place to get started!

Thanks!
I also found this if anyone else is looking:
library(ggplot2)
library(dplyr)
library(ggmap)
library(grid)

ukraine <- qmap(location = 'ukraine', fullpage = TRUE)

n <- 10
fake_data <- factor(gl(3, n, label = c('a','b','c')))[sample(3*n,.50*3*n)]
f_df <- data.frame(x = factor(1), y = fake_data) %>%
  group_by(y) %>%
  summarise(count = n())

pie <- ggplot(data = f_df, aes(x="", y = count, fill = y)) +
  geom_bar(width = 1, stat="identity") +
  coord_polar(theta = 'y') +
  theme_nothing()

vplayout <- function(x, y)  viewport(layout.pos.row = x, layout.pos.col = y)
grid.newpage()
pushViewport(viewport(layout = grid.layout(19,19)))
print(ukraine, vp = vplayout(1:19, 1:19))
print(pie, vp = vplayout(10, 10))

@bretshandro cool! Thanks for sharing!

authors: SimonGoring bretshandro cloucks ttimbers

repo: ttimbers/studyGroup


text:
根据消息id,下载消息附件（图片，视频，文件）请问执行成功后，附件保存什么路径里了呢？

执行成功只返回了ok，并不知道去哪里找附件。

@faritor 原视频怎么下载嘞，我下载下来是被压缩的

repo: ttttupup/wxhelper


text:
Failed to build

According to the instruction, it tell me that I need to execute a v script but it failed.
V panic: received http code 404
v hash: 31c01fe
0   build                               0x000000010274aef0 main__download + 584
1   build                               0x000000010274b490 main__run + 312
2   build                               0x000000010271a67c cli__Command_handle_cb + 116
3   build                               0x0000000102719190 cli__Command_parse_commands + 1252
4   build                               0x00000001027188d4 cli__Command_parse + 328
5   build                               0x000000010274b894 main__main + 924
6   build                               0x000000010274cbb4 main + 88
7   dyld                                0x000000018ff810e0 start + 2360

Then I discover that when the script is downloading the webview.h it failed because webview github repo content has move.

Fixed build.vsh (with mui's header)
#!/usr/bin/env -S v

import cli
import os
import time
import net.http
import regex

const lib_url = 'https://raw.githubusercontent.com/webview/webview/refs/heads/master/core'
const lib_dir = '${@VMODROOT}/src'
const cxx = if _ := find_abs_path_of_executable('g++') {
	'g++'
} else if _ := find_abs_path_of_executable('clang++') {
	'clang++'
} else {
	panic("Can't find C++ compiler. Make sure g++ or clang++ is executable.")
}

// == Build Docs ==============================================================

// Remove redundant readme section from module page.
fn rm_readme_section(html string) string {
	mut r := regex.regex_opt(r'<section id="readme_webview".*
') or { panic(err) }
	sec_start, sec_end := r.find(html)
	return '${html[..sec_start]}
${html[sec_end..]}'
		.replace('
README
', '')
}

fn build_docs() ! {
	// Cleanup old docs.
	rmdir_all('_docs') or {}
	// Build docs.
	mut p := new_process(@VEXE)
	p.set_args(['doc', '-readme', '-m', '-f', 'html', '.'])
	p.wait()
	// Prepare html.
	mut webview_html := read_file('_docs/webview.html')!
	webview_html = rm_readme_section(webview_html)
	write_file('_docs/webview.html', webview_html)!
}

// == Download & Build Library ================================================

fn spinner(ch chan bool) {
	runes := [`-`, `\\`, `|`, `/`]
	mut pos := 0
	for {
		mut finished := false
		ch.try_pop(mut finished)
		if finished {
			print('\r')
			return
		}
		if pos == runes.len - 1 {
			pos = 0
		} else {
			pos += 1
		}
		print('\r${runes[pos]}')
		flush()
		time.sleep(100 * time.millisecond)
	}
}

@[if windows]
fn download_webview2() {
	http.download_file('https://www.nuget.org/api/v2/package/Microsoft.Web.WebView2',
		'${lib_dir}/webview2.zip') or { panic(err) }
	unzip_res := execute('powershell -command Expand-Archive -LiteralPath ${lib_dir}/webview2.zip -DestinationPath ${lib_dir}/webview2')
	if unzip_res.exit_code != 0 {
		eprintln(unzip_res.output)
		exit(1)
	}
}

fn download(silent bool) {
	println('Downloading...')
	dl_spinner := chan bool{cap: 1}
	if !silent {
		spawn spinner(dl_spinner)
	}
	http.download_file('https://raw.githubusercontent.com/malisipi/mui/refs/heads/main/webview/webview/webview.h', '${lib_dir}/webview.h') or { panic(err) }
	http.download_file('${lib_url}/src/webview.cc', '${lib_dir}/webview.cc') or { panic(err) }
	download_webview2()
	dl_spinner <- true
}

fn build(silent bool) {
	mut cmd := '${cxx} -c ${lib_dir}/webview.cc -DWEBVIEW_STATIC -o ${lib_dir}/webview.o'
	cmd += $if darwin { ' -std=c++11' } $else { ' -std=c++17' }
	$if linux {
		cmd += ' $(pkg-config --cflags gtk+-3.0 webkit2gtk-4.0)'
	} $else $if windows {
		defer {
			// Cleanup
			rm('${lib_dir}/webview2.zip') or {}
			rmdir_all('${lib_dir}/webview2') or {}
		}
		cmd += ' -I${lib_dir}/webview2/build/native/include'
	}
	println('Building...')
	build_spinner := chan bool{cap: 1}
	if !silent {
		spawn spinner(build_spinner)
	}
	build_res := execute(cmd)
	build_spinner <- true
	if build_res.exit_code != 0 {
		eprintln(build_res.output)
		exit(1)
	}
	println('\rSuccessfully built the webview library.')
}

fn run(cmd cli.Command) ! {
	// Remove old library files
	execute('rm ${lib_dir}/webview.*')
	silent := cmd.flags.get_bool('silent')!
	download(silent)
	time.sleep(100 * time.millisecond)
	build(silent)
}

// == Commands ================================================================

mut cmd := cli.Command{
	name: 'build.vsh'
	posix_mode: true
	required_args: 0
	pre_execute: fn (cmd cli.Command) ! {
		if cmd.args.len > cmd.required_args {
			eprintln('Unknown commands ${cmd.args}.\n')
			cmd.execute_help()
			exit(0)
		}
	}
	execute: run
	commands: [
		cli.Command{
			name: 'docs'
			description: 'Build docs used for GitHub pages.'
			execute: fn (_ cli.Command) ! {
				build_docs() or { eprintln('Failed building docs. ${err}') }
			}
		},
	]
	flags: [
		cli.Flag{
			flag: .bool
			name: 'silent'
		},
	]
}
cmd.parse(os.args)

Thanks for pointing that out, the issue still persists.
Let's update #37 to fix it

authors: abc-JYL ttytm

repo: ttytm/webview


text:
Create way for user to select different aircraft

In settings you could change which aircraft's checklists are visible on home screen when the app opens.

I'd like to try this one


text:
Cant install who is on my wifi because it lacks "WMI" but I get an error when trying to install wmi!

import who_is_on_my_wifi
Traceback (most recent call last):
File "", line 1, in
File "C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.3\plugins\python-ce\helpers\pydev_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:\Users\Frederik\PycharmProjects\Check_Network\venv\lib\site-packages\who_is_on_my_wifi.py", line 13, in
import wmi
File "C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.3\plugins\python-ce\helpers\pydev_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'wmi'

Then I try and install WMI
pip install wmi
Collecting wmi
Using cached https://files.pythonhosted.org/packages/ee/b9/a80d1ed4d115dac8e2ac08d16af046a77ab58e3d186e22395bf2add24090/WMI-1.5.1-py2.py3-none-any.whl
Could not find a version that satisfies the requirement pywin32 (from wmi) (from versions: )
No matching distribution found for pywin32 (from wmi)

I am using Python 3.8 and Windows 10 in Pycharm

Hello,
this error means that you can't install pywin32 (just as my library depends on wmi, wmi depends on pywin32)
Please try:
pip install pywin32

If another error appears, let me know.
Here are links to pywin32 issues and stack overflow where you could find a solution to your problem.
I hope it helped at least a little.


text:
Updated HW1 template and added HW0

Created the .tex template for homework 1.
Also added **/.DS_Store to the .gitignore so I don't end up accidentally pushing any of those.

Second commit creates the hw0 template and modifies hw1 to move its first question into hw0.

Thanks looks good!

authors: MattWerenski michaelchughes


text:
问一个问题,单独的专题

例如,我想以一个类型为JavaScript的专题类的文档, 像首页面那种显示如何完成!

怎么没有回答呢?就是想开辟一块菜单单独写文章

分类和标签功能还不够使用吗？


text:
fix: log_gamma for numpy backend

there is no numpy.math module. I assume scipy should be used.
also, while running PhiFlow notebooks, I noticed that there is another similar issue in _backend.py.

@holl- updated the main branch, I aligned my changes with the same approach, to support legacy numpy

Good catch!
I've removed the numpy.math references in this here: https://github.com/tum-pbs/PhiML/commit/65e4e3059cfe5b6c0901321beda3d5909beb77d1

Good catch! I've removed the numpy.math references here: 65e4e30

thank you.
P.S. It would be nice to improve the way you work with contributors to improve the community and the quality of your software.

Hey! Sorry if I offended you in some way, wasn't my intention.
We follow pep8 for the most part but with some exceptions.

Hey! Sorry if I offended you in some way, wasn't my intention.
We follow pep8 for the most part but with some exceptions.

nw, I wasn't offended, just rather surprised. I made a small PR to fix first numpy misuse, a few hours later you push a fix for it. I push another commit to fix another numpy misuse, a day later you push a fix for that too.
Some might get discouraged from contribution.

Yeah, I think the first one was concurrent work. The reason I didn't just merge this PR is that it contains a lot of unrelated changes due to your auto-formatter being configured differently from mine. I still appreciate your contributions, though, as I wouldn't have found the second bug otherwise.👍

authors: andreinechaev holl-

repo: tum-pbs/PhiML


text:
怎样将书脊编译至封面中

直接编译得到的封面中，第二页是空白页。系里要求将书脊放在第二页，不知道该怎样操作？

最简单的方法是用 pdf 编辑软件插进去，比如像 macOS 的 Preview 这样的轻量级软件；
中英文封面是 \maketitle 一个命令生成的，如果要在里面插入书脊的内容必须要重定义。（其中的空白页是用 \cleardoublepage 生成的。）
这样也不方便打印（中文封面的背面是书脊），所以不适合作为模板的默认样式。

我改了一下 \spine 允许在正文中使用。但是如果要插到第二页（中文封面和英文封面之间），就必须将，就必须将 \maketitle 拆成两个命令。

authors: AllanWlz zepinglee

repo: tuna/thuthesis


text:
[test] Some benchmark tests are failing

Running the complete bench test suite with go test -timeout=0 -bench=. ./..., I noticed that some are failing.
List of failing benchmark tests:

https://github.com/tuneinsight/lattigo/blob/adf762375670e412bab261cd7ffff9ca03777ad5/bgv/bgv_benchmark_test.go#L155
https://github.com/tuneinsight/lattigo/blob/adf762375670e412bab261cd7ffff9ca03777ad5/bgv/bgv_benchmark_test.go#L208
https://github.com/tuneinsight/lattigo/blob/adf762375670e412bab261cd7ffff9ca03777ad5/ckks/ckks_benchmarks_test.go#L206
https://github.com/tuneinsight/lattigo/blob/adf762375670e412bab261cd7ffff9ca03777ad5/rlwe/rlwe_benchmark_test.go#L54
https://github.com/tuneinsight/lattigo/blob/adf762375670e412bab261cd7ffff9ca03777ad5/rlwe/rlwe_benchmark_test.go#L61

Moreover, two tests are intentionally skipped, I was wondering if they should remain this way?

https://github.com/tuneinsight/lattigo/blob/adf762375670e412bab261cd7ffff9ca03777ad5/dckks/dckks_benchmark_test.go#L94
https://github.com/tuneinsight/lattigo/blob/adf762375670e412bab261cd7ffff9ca03777ad5/dckks/dckks_benchmark_test.go#L156

@romainbou I'll fix the failing tests. Regarding the benchmarks in dckks, I'll discuss with @ChristianMct if we should enable them for insecure parameters.

repo: tuneinsight/lattigo


text:
Is there a way to access the DMP?

I cannot find it in the docs.

Sadly no. There is no real documentation on how to use the DMP in the datasheet, so I couldn't implement it.
data sheet and register map
http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/IMU/PS-MPU-9150A.pdf
http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/IMU/RM-MPU-9150A-00.pdf

Yep, those are the docs I was referring to.
I have seen some implementations with C and C++, but I can't really figure
out their structure. Would you like to see them?
On Mon, Mar 16, 2015 at 8:31 PM Sebastian Plamauer notifications@github.com
wrote:

Sadly no. There is no real documentation on how to use the DMP in the
datasheet, so I couldn't implement it.
data sheet and register map
http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/IMU/PS-MPU-9150A.pdf
http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/IMU/RM-MPU-9150A-00.pdf
—
Reply to this email directly or view it on GitHub
https://github.com/turbinenreiter/micropython-mpu9150/issues/6#issuecomment-81591131
.

Sure, but I can't promise anything. Spent a lot of time searching around, but never found anything good.

People from my lab got this working on mbed:
http://developer.mbed.org/users/syundo0730/code/MPU6050-DMP/
It is written in C++, and based on code written by Jeff Rowberg for the
MPU-6050.
On Mon, Mar 16, 2015 at 8:57 PM Sebastian Plamauer notifications@github.com
wrote:

Sure, but I can't promise anything. Spent a lot of time searching around,
but never found anything good.
—
Reply to this email directly or view it on GitHub
https://github.com/turbinenreiter/micropython-mpu9150/issues/6#issuecomment-81604788
.

It's a can of worms as far as I can see. Read the comments section of the link below - particularly the most recent one by @SVFeingold - to summarise the chip can only do 6-axis sensor fusion, and even this is slow and uses a proprietary encrypted binary. The job is probably best done in Python in the driver. I'm sure @turbinenreiter would look favourably on such a contribution from anyone with a grasp of quaternions.
Sparkfun breakout board

I have used the RTIMULib software discussed further down in the comments in the link from @peterhinch
My setup used the micropython pyboard to stream the sensor data from the mpu9150 to a host PC via USB; I then used the RTHostIMUGL (one of the programs provided at https://github.com/richards-tech/RTIMULib) to compute the sensor fusion and display the results.
Unfortunately when I tried to get it running a couple of weeks ago I found that I didn't really document where I left off; it will take me a few hours to resurrect the system when I get a chance.
The RTIMULib software does implement the quaternion sensor fusion algorithm in C++; it could potentially provide a model for a Python implementation, or perhaps even be ported as an optional C module to MicroPython.
I should add that RTIMULib is well supported and under active development; Richard Barnett was very responsive when I had questions about his code a few months ago.
I'd love to get back to working on this, but not sure when I will be able to squeeze in the time.

Much as this interests me I've too many things on to address it now. But the RTIMULib looks good and has Python bindings. I'd try cross compiling it: if it compiles OK MicroPython might interface to it without much trouble. It strikes me as a better solution than the code cited by @masasin with its opaque binary blob in MPU6050_6Axis_MotionApps20.h

In the end we used RTIMULib as well, and just communicated with the chip
via i2c.
On 2015年5月6日(水) 17:23 Peter Hinch notifications@github.com wrote:

Much as this interests me I've too many things on to address it now. But
the RTIMULib looks good and has Python bindings. I'd try cross compiling
it: if it compiles OK MicroPython might interface to it without much
trouble. It strikes me as a better solution than the code cited by
@masasin https://github.com/masasin with its opaque binary blob in
MPU6050_6Axis_MotionApps20.h
—
Reply to this email directly or view it on GitHub
https://github.com/turbinenreiter/micropython-mpu9150/issues/6#issuecomment-99375564
.

authors: blmorris masasin peterhinch turbinenreiter


text:
cilent crash, looks like a nuclearcraft error

I don't know what happened, but when I join to my server, client crash. I restart the game and join the server, crash again, same problem. I think it is nuclearCraft's bug.
http://pastebin.com/b5ufke3P

This error let my client can't join the server

Can you join single player worlds?

Yes, single player is working

After I delete the world file on server and restart, I can join my server again. But got kick out after a few minutes and can't join server anymore, but I lost the logs : (

Hmm - might be a similar issue to this one: https://github.com/SleepyTrousers/EnderZoo/issues/45 ... I'll look for a fix, but I'm not exactly sure what that may be.

thank you  👍

The only info I can find on this is that the crash is being caused by an entity ID mismatch between the server and client, and I have no control over that as Forge handles it automatically, so I can't see how this could be fixed without starting a fresh server with fresh configs. Sorry I couldn't find a better solution.


text:
Add AWS config controls for Well-Architected Security Pillar & Reliability Pillar framework closes #588

New controls added :

[x] apigateway_rest_api_stage_xray_tracing_enabled
[x] ecs_task_definition_container_non_privileged
[x]  ecs_task_definition_container_readonly_root_filesystem
[x]  ecs_cluster_container_insights_enabled
[x]  ecs_service_fargate_using_latest_platform_version
[x]  efs_access_point_enforce_user_identity
[x]  elb_classic_lb_multiple_az_configured
[x]  lambda_function_use_latest_runtime
[x]  lambda_function_multiple_az_configured
[x]  opensearch_domain_in_vpc
[x]  opensearch_domain_encryption_at_rest_enabled
[x]  vpc_network_acl_remote_administration
[x]  networkfirewall_firewall_policy_default_stateless_action_check_fragmented_packets
[x]  networkfirewall_firewall_policy_default_stateless_action_check_full_packets
[x]  networkfirewall_firewall_policy_rule_group_not_empty
[x]  networkfirewall_stateless_rule_group_not_empty
[x]  codebuild_project_s3_logs_encryption_enabled
[x]  elb_application_gateway_network_lb_multiple_az_configured
[x]  ec2_instance_not_use_multiple_enis

New queries + controls added :

[x]  vpc_peering_dns_resolution_check
[x] opensearch_domain_node_to_node_encryption_enabled
[x] opensearch_domain_data_node_fault_tolerance
[x] elb_network_lb_cross_zone_load_balancing_enabled
[x] ecs_task_definition_nonroot_user

Not required as these controls are defined in Well-Architected mod itself.

repo: turbot/steampipe-mod-aws-compliance


text:
Facing error for installing graphlaB create

(gl-env) C:\Users\User>pip install --upgrade --no-cache-dir https://get.graphlab.com/GraphLab-Create/2.1/my_email/product_key/GraphLab-Create-License.tar.gz
Collecting https://get.graphlab.com/GraphLab-Create/2.1/my_email/product_key/GraphLab-Create-License.tar.gz
Downloading https://get.graphlab.com/GraphLab-Create/2.1/my_email/product_key/GraphLab-Create-License.tar.gz (1.8 kB)
ERROR: Could not find a version that satisfies the requirement graphlab-create>=2.1 (from GraphLab-Create-License==2.1) (from versions: none)
ERROR: No matching distribution found for graphlab-create>=2.1 (from GraphLab-Create-License==2.1)
PLEASE NEED SOME HELP!!!!!!!!!

Take a look at the README for this repository, it says:
THIS REPOSITORY IS DEPRECATED.
THE FUNCTIONALITY HAS MOVED TO Turi Create.

authors: TobyRoseman janardhanyadav

repo: turi-code/SFrame


text:
Ssl issue

This should resolve the https issue with census

🎉

authors: bermannoah epintozzi

repo: turingschool-projects/ripped


text:
Bump lxml to ^5.0.0

Issue
Currently, this library cannot be added to projects which use lxml >= 5.0.0.
$ poetry add mkdocs-drawio -G docs
Using version ^1.6.0 for mkdocs-drawio

Updating dependencies
Resolving dependencies... (0.0s)

Because no versions of mkdocs-drawio match >1.6.0,<2.0.0
 and mkdocs-drawio (1.6.0) depends on lxml (>=4.9.0,<5.0.0), mkdocs-drawio (>=1.6.0,<2.0.0) requires lxml (>=4.9.0,<5.0.0).
So, because my-project depends on both lxml (^5.1.0) and mkdocs-drawio (^1.6.0), version solving failed.

Solution
I suspect this is due to the packaging constraints in the pyproject.toml:
https://github.com/tuunit/mkdocs-drawio/blob/ac4f5baadaa85e43b4476f78909db05532431075/pyproject.toml#L25.
From what I can tell, there is no need to limit the library to lxml 4.9, other than that was what was used at the time of the library's creation, so allowing anything above 4.9 should be fine. I would make a PR, but I am slightly confused as to how Poetry is being used in this repo; Poetry is not included in the dev container or the GitHub Actions workflow, so I don't know where/how the lxml version constraint was introduced.
If you are using Poetry for versioning, you should be able to replace the line noted above with:
lxml = ">=4.9.0"

Thanks for opening the issue.
Release 1.6.1 is now available with all dependencies upgraded.
Please try again.

Maybe I make another release to be less restrictive with the versions instead of forcing the latest newer version for all dependencies

It works! Thank you so much!

Maybe I make another release to be less restrictive with the versions instead of forcing the latest newer version for all dependencies

I am in favor of this. Take a look at: https://python-poetry.org/docs/dependency-specification/ for how to specify less restrictive versions.

https://github.com/tuunit/mkdocs-drawio/releases

authors: Antyos tuunit

repo: tuunit/mkdocs-drawio


text:
Add ufuncs

Add ufuncs for the following operations from the QD library:

arctan2
arctan
arccos
arcsin
arctanh
arccosh
arcsinh
power
modf
ldexp

Tests have also been added for each of these new functions.

This should fix #10. Note that there is some support for negative a values in numpy with np.power(a, b) which can be raised to integer values. This coverage is not replicated in the QD functions.

I'm not sure what is going on with the ubuntu test for arcsin and arccos. These pass locally on my M1 Mac. I'll try them on my Ubuntu computer and see if they fail locally too.

It does indeed fail on my Linux computer. I'll probably need some help diagnosing the issue. Both arcsin and arccos are failing.
A few things that I have tried:

I computed the function definition for both arcsin and arccos: e.g. atan2qq(a, sqrtq(subdq(1.0, sqrq(a)))) using their numpy ufuncs on ddoubles: np.atan2qq(a, np.sqrt(1 - np.sqr(a))). This returned results in agreement with the numpy result
Using x = np.linspace(-1, 1, 100) and x_d = x.astype(ddouble), I find np.arcsin(x) - np.arcsin(x_d) is at most ~1e-16. However, the test, which I think does the same thing, fails.
Doing the same for arccos does show some obvious disagreement. However, picking the pieces apart does not show any obvious disagreement.

I hope I'm missing something obvious here!

Something weird is going on at 45 degrees (sqrt 2)...

authors: AaronDJohnson mwallerb

repo: tuwien-cms/xprec


text:
grid variables not worked

because:
.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12 {
  position: relative;
  // Prevent columns from collapsing when empty
  min-height: 1px;
  // Inner gutter via padding
  padding-left:  ($grid-gutter-width / 2);
  padding-right: ($grid-gutter-width / 2);
}

but, for example, i needed in 24 columns in grid.

has this been re-worked?

authors: bewards suenot

repo: twbs/bootstrap-sass


text:
Integrate Parker into the build process

i.e. https://github.com/katiefenn/parker
By diffing a PR's CSS stats against the previous stats, we can get a warning if something causes the number of entities to explode.
See also: mdo's jQuery SF talk where he mentions similar tooling and graphs at GitHub
https://speakerdeck.com/mdo/at-mdo-ular-css?slide=41
https://speakerdeck.com/mdo/at-mdo-ular-css?slide=42

Or perhaps whatever generates http://www.basscss.com/stats/

CSSStats (from mdo's jQuery SF talk) is interesting. The report for Bootstrap is here.

authors: bardiharborow cvrebert

repo: twbs/bootstrap


text:
Custom Switch not working when loading dynamically

I'm using the some custom form functionality. To be specific I'm having a problem with the custom-switch (https://getbootstrap.com/docs/4.2/components/forms/#switches).
When I use this class within a not dynamic view it works perfectly, but when I use it in a dynamic view (loaded with AJAX) the toggle ain't working. This is what could be expected, because the bootstrap js is loaded in the not dynamic page. How can I initialize this component in a dynamic view? I can simply add the bootstrap js to the dynamic view, but that's a bit hacky.

Tried to reproduce this but I can't realy reproduce this:
https://codepen.io/MartijnCuppens/pen/QYgLJx
Check if you applied all the classes to the elements and if you think it's still a bug, provide a codepen so we can help you further.

authors: FerronN MartijnCuppens


text:
[4.4] form-control generates invalid height property

when using .form-control, the CSS is like this:
display: block;
width: 100%;
height: calc(1.6em + 0.75rem2px);
padding: 0.375rem 0.75rem;
font-size: 0.9rem;
font-weight: 400;
line-height: 1.6;
color:
#495057;
background-color:
#ffffff;
background-clip: padding-box;
border: 1px solid
#ced4da;
border-radius: 0.25rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

So height becomes height: calc(1.6em + 0.75rem2px);.
What I could find was that it has something to do with the add mixin:
node_modules/bootstrap/scss/_variables.scss:503 which says:
add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)) !default;

Duplicate of #29743

authors: ChrisRedButton Hectix


text:
Revisit browser and device docs

Per https://github.com/twbs/bootstrap/pull/29956.

Closing this issue as I think we're okay on that page.


text:
Improve image layout in the carousel example.

The way the featurette images positioned themselves when the display was below the md threshold was very ugly and "unusable".

Before
After

![Original layout] (http://i.imgur.com/LnOgyPA.png?1)
![Modified layout] (http://i.imgur.com/g6r6hu2.png?1)

Not only does it look better, it also does a much better job of showcasing bootstrap functionality. The new layout is a good example of the usefulness of push/pull. It also serves to educate people about center-block, because it is instinctual for people to try to center images with text-align, but in this case that would not work since img-responsive changes the display type on the the img to block (which the [website] (http://getbootstrap.com/css/#images-responsive) has no mention of btw). See this guy (I made the same mistake): https://github.com/twbs/bootstrap/issues/14596.
I used this template in my project, and it took me a good while to figure out how to fix these two problems.

I decided to take the liberty to edit the web page on img-responsive. I added a warning about text-align and the fact that display changed to block. I find this is necessary because there was no mention at all of .img-responsive changing the display type, so  users were left on a frustrating journey to figure out why they can't center images anymore.


text:
Jumbotron: Putting heading font size in variables to allow for easier overrides

This was relevant on one of my projects recently. It'd be nice to be able to change the jumbotron heading font-size with a simple variable override.
Thanks!

I fixed the stupid mistake that @cvrebert pointed out - thanks for your patience!

CC: @mdo

:shipit:

authors: cvrebert max-b mdo


text:
Less restrictive Regex in Util.getSelectorFromElement issue #18641

PR for issue #18641

Overlaped with #21615 and #21654 which remove totaly this regex

@Johann-S shall we close the original issue?

No, until they are a PR merged which close this issue

Closing since we merged #21615.

authors: Johann-S joezcool02 mdo


text:
Docs: fix homepage npm install version

The npm install bootstrap should be npm install bootstrap@next on the homepage . People (such as me) will mistakenly think that v5 is already the latest version, especially when I see the following sentence is  gem install bootstrap -v 5.0.0.alpha3...

We'll skip this for now I think since Beta 1 is right around the corner :).

Well, maybe we still want it. Thoughts @XhmikosR?

Yeah, let's land it because the tag is needed until we release the stable version.
I'm gonna add it to #31057.

authors: XhmikosR luob mdo


text:
Fix tooltip selector usage

As quick fix as many people seems to use old 'black magic' stuff.
NOTE: Please do not use data-bs-original-title .
It returned, just to support the strange cases where tooltip are created through selector
(explanation: a falsie tooltip is created on a wrapper and adds delegated event listeners),
but for some strange reason, new tooltips are supposed to show the same title as the first ones, or to be initialized from a data-attribute that shouldn't exist (title) after the initialization
closes #36895
closes #36813

You may do a test on your code using this script https://deploy-preview-36914--twbs-bootstrap.netlify.app/docs/5.2/dist/js/bootstrap.bundle.min.js and feedback me. I am not so sure that you can use title as selector. Especially if you clone an already initialized instance.
Note: the only sure is that can be reverted just letting title empty, but it is not a valid way to leave the attribute empty

Thank you for your test. I reverted the change of title attribute (f156f8c) to almost its initial state, just to avoid inconsistencies, but have in mind to replace this usage as it is invalid. We keep an empty attribute instead of removing it.  😞

@julien-deramond what is your opinion? May I drop 5cc297d1767cfa9a0d6e27f9804c354392e96dc6 or not?

@julien-deramond what is your opinion? May I drop 5cc297d or not?

IMHO setting the title to an empty string is not a good practice and can lead to bad usage. Since the first commit fixes the 2 issues, I'd drop https://github.com/twbs/bootstrap/commit/5cc297d1767cfa9a0d6e27f9804c354392e96dc6.

authors: GeoSot julien-deramond


text:
Add new UI client

Built on top of apiUpdates branch. This PR is only about the JS client, I'm not including any of the changes from apiUpdates branch
I think it should work with current main, but I didn't test it (We want to merge apiUpdates anyways, right?)

Could you update the README to help build/use the new UI?

Did you use a formatter? If not I suggest we use Prettier.

I use prettier. Once we have a flake.nix we could add a command to check the format.

FYI - @jlesquembre, #39 has now been merged. Also, one question about these changes. From what I can tell, these only include the table and graph views and not the query editor which we have in the prototype deployed to https://nixpkgs-graph.app/. Would it be possible to somehow include that as well (e.g. as a tab)? I think having the table view as the default as you have it here is nice though.

@dorranh I suggest we don't do that in this PR, get it merged ASAP so we can start on all the UI features we want in smaller, short-lived  feature branch. WDYT?

@dorranh could you provide an example to call the /gremlin endpoint? With the latest API version I always get an empty response. Looks like something is wrong with my query but I don't find the reason.

Hey ya you should be able to any valid Gremlin query, for example here is a request JSON body that works for getting raw data (but not the cytoscape graph input)
{
    "query": "g.V()"
}

{
    "raw": "[]"
}

For getting the cytoscape input you need to submit a query like the default one on nixpkgs-graph.app which returns a path, e.g.
{
   "query": "g.V().filter{it.get().value('pname').matches('auto-multiple-choice')}.repeat(outE().otherV().simplePath()).times(2).path().by('pname').by(label)"
}

where auto-multiple-choice is the package name.
That should return an additional attribute called cyto_data in the response.

@jlesquembre could you rebase and make sure the UI you implemented works?

Done, I had to do some changes, now works with the new API

authors: GuillaumeDesforges dorranh jlesquembre

repo: tweag/nixpkgs-graph-explorer


text:
Geo Enabled tweets return Coordinates value "False"

Hello,
I am using Tweepy to access the streaming API. I am able to get results with the code below but for tweets where the Geo Enabled value is "True" I am getting a Coordinates returned value of "False". How can this be? Do I need to decode the JSON object being returned for status.coordinates?
from tweepy.streaming import StreamListener
from tweepy import OAuthHandler
from tweepy import Stream
import random
import time
import MySQLdb
import json
consumer_key="XXX"
consumer_secret="XXX"
access_token="XXX"
access_token_secret="XXX"
db=MySQLdb.connect(host='localhost', user='XXX', passwd='XXX', db='twitter')
db.set_character_set('utf8')
Coords = dict()
Place = dict()
PlaceCoords = dict()
XY = []
curr=db.cursor()
class StdOutListener(StreamListener):
""" A listener handles tweets that are the received from the stream.
This is a basic listener that inserts tweets into MySQLdb.
"""
def on_status(self, status):
print "Tweet Text: ",status.text
text = status.text
print "Time Stamp: ",status.created_at
print "Time Stamp: ",status.created_at
print "Source: ",status.source
source = status.source
print "Author: ",status.user.screen_name
author = status.user.screen_name
print "Name: ",status.user.name
name = status.user.name
print "Time Zone: ",status.user.time_zone
time_zone = status.user.time_zone
print "User Language: ",status.user.lang
user_language = status.user.lang
print "Followers: ",status.user.followers_count
followers = status.user.followers_count
print "User Description: ",status.user.description
user_description = status.user.description
print "Geo Enabled: ",status.user.geo_enabled
geo_enabled = status.user.geo_enabled
print "Friends: ",status.user.friends_count
friends = status.user.friends_count
print "Retweets: ",status.retweet_count
retweets = status.retweet_count
print "Location: ",status.user.location
location = status.user.location
print "ID: ",status.user.id_str
user_id = status.user.id_str
#Coords.update(status.coordinates)
#XY = (Coords.get('coordinates'))
print "Coordinates: ",status.coordinates
coordinates = status.coordinates
print "Place: ",status.place
place = status.place
Here is a sample result output:
Tweet Text:  @aranone aran tu eres el mejor  soy tu fanatico 1 me gusta tu musica.hey pana sique asi q vay bn te deseo lo mejor bro)
Time Stamp:  2013-05-30 23:36:38
Time Stamp:  2013-05-30 23:36:38
Source:  web
Author:  juandvd_96
Name:  juan David Romero
Time Zone:  Atlantic Time (Canada)
User Language:  es
Followers:  365
User Description:  hola soy juan david... soy una chico muy enamorado... y soy muy fekiz...
Geo Enabled:  True
Friends:  1857
Retweets:  0
Location:  veezuela maracaibo
ID:  481513551
Coordinates:  None
Place:  None
cheers,
BD

It's deprecated. See here: https://groups.google.com/forum/#!topic/twitter-api-announce/5_wG5KjLcVA

news features ?

This issue is now stale, since the geo_enabled attribute no longer exists and the geo attribute is also deprecated. Simply use the coordinates or place attributes instead.
For more information, see https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/tweet-object.html and https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/geo-objects.
For code block usage, see https://help.github.com/articles/creating-and-highlighting-code-blocks/.

repo: tweepy/tweepy


text:
Missing dependencies for SOCKS support

File "twitterBot.py", line 39, in
twitter.tweet('Hello world')
File "twitterBot.py", line 15, in tweet
self.api.update_status(status=message)
File "/home/since95/pythonApi/pythonApi/local/lib/python2.7/site-packages/tweepy/api.py", line 194, in update_status
)(post_data=post_data, _args, kwargs)
File "/home/since95/pythonApi/pythonApi/local/lib/python2.7/site-packages/tweepy/binder.py", line 245, in call
return method.execute()
File "/home/since95/pythonApi/pythonApi/local/lib/python2.7/site-packages/tweepy/binder.py", line 189, in execute
raise TweepError('Failed to send request: %s' % e)
tweepy.error.TweepError: ***# Failed to send request: Missing dependencies for SOCKS support.**
Getting error , i am using it behind the proxy.. proxy variable is SET stills shows error

Closed in https://github.com/tweepy/tweepy/commit/254c63d5f59a16b89df398f91f2e6751647946bf.


text:
docker部署访问量无法导入

这是我用docker部署的，然后导出了访问量，删掉原有数据，我再进行导入，提示解析失败

这是我vercel用db数据库导出，在docker版本中导入的，显示导入成功，但实际上没有显示

导入访问量的时候他会导入到评论的那张表里面，所以导致了图二中导入了不显示

docker的访问量导出了没法导入可能是因为少了个_id字段，我尝试着手动添加那个字段，最后docker的访问量也能导入了。

问题的大概就是docker部署的少了个_id字段，导致docker导出的访问量无法正常导入，在进行导入访问量时会和评论在同一个文件

访问量不支持导入，未来也不会支持

访问量不支持导入，未来也不会支持

那面板导出按钮存在的意义是？

那面板导出按钮存在的意义是？

导出数据

由于访问量并非简单insert导入，需要合并、更新同一个文章的访问量，实现较复杂，并且重复导入可能会造成访问量错误，访问量统计并非评论系统的主要功能，如确需要导入访问量，可以在云函数未运行时，通过lokijs连接db.json.2手动导入数据。

好的，因为文章不多，目前我已手动完成迁移，但是docker部署的在同一环境下不能导入这应该也算bug的，我在测试环境中通过vercel部署的情况下是可以正常导入导出（虽然会合并到评论表中

repo: twikoojs/twikoo


text:
Automated conversations

Requirements

The Dev Phone should be able to remember repetitive conversations from the development loop and automatically have those conversations
Needs to be able to understand which messages belong to which actor (in the event that an application sends multiple messages, for example)
Needs to have a sense of an acceptable/sensible wait time for a message to appear
On failure states (where the expected conversation doesn't match the actual) it should log as much information as possible (which message it failed on, whether it failed due to delay or mismatch data, etc.)
Needs some sort of syntax for saving messages in a sensible way

First thought is an array of objects. Array to show the order of the interaction, objects to hold message + useful metadata (actor, etc)

Considerations

Should there be an option for fuzzy matching, in the event that a developer is making small changes to copy but still wants to test? Alternately, there should just be a way to quickly edit the conversation script, rather than having to re-record again.

From a "this is a potential testing tool for Twilio users" point of view: Have we considered exposing most of this via a module that can be integrated into existing testing tooling?
i.e. rather than having to build a bunch of UI, data storage, and the rest for this up front, exposing something like an uncomplicated module that can be the client that's sending/receiving messages, and just letting that be called as you would any other module in JavaScript? That might also allow us to figure out the needed interactions and then build the other UX for this on top of that as an additive step rather than doing 100% of it upfront.
The basic parts that I can think of that'd need to be built:

ability to do phone calls

perhaps enable an audio file to be played as the developer's input?

ability to do SMS

ideally probably not super different than the current implementation of how we send a message, just... relatively headless?

ability to do MMS (once this lands in dev phone)

probably same as above?

Maybe my understanding of the offering here is too shallow and this is all not possible, but in general I'd expect that we'd be able to capture responses and do deep assertion checks to make sure that they're what the user would expect back and then allow their test suite to pass/fail if that is/isn't true?

authors: ayyrickay bnb

repo: twilio-labs/dev-phone


text:
Merge pull request #1 from twilio-labs/master

feat(pixels): add my new pixel (#6016)

Checklist

[x] I ran npm test locally and it passed without errors.

[x] I only edited the _data/pixels.json file.

[x] I entered the username in the pixels.json that I'm also using to create this pull request.
[x] I acknowledge that all my contributions will be made under the project's license.

repo: twilio-labs/open-pixel-art