text:
mini.ai: tag selection breaks when tag contains an underscore

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.ai
Description
When the tags in an xml file contain underscores, the selection is not correct.
Neovim version
0.9.2
Steps to reproduce

Open an xml file, containing the following line: <first_name>First Name</first_name>
Move the cursor to any position inside the <first_name> tag
Press vit

Expected behavior
The text between the pair of tags gets selected: First Name
Actual behavior
Error message:
(mini.ai) No textobject "it" found covering region within 500 lines and search_method = 'cover_or_next'.

Thanks for the issue!
Tag textobject has obvious limitations in 'mini.ai' due to it using Lua pattern matching by default. The current implementation does recognize only alphanumeric characters in tag name. You can modify in setup() call as it is suggested in this comment (it will recognize alphanumeric and punctuation as tag name):
require('mini.ai').setup({
  custom_textobjects = {
    t = { '<([%p%w]-)%f[^<%w][^<>]->.-</%1>', '^<.->().*()</[^/]->$' }
  }
})

However, specifically for tags a more sustainable and robust approach would be to use tree-sitter parsing and textobjects based on queries from 'nvim-treesitter-textobject': create 'after/ftplugin/html.lua' file and define vim.b.miniai_config buffer local variable there:
local spec_treesitter = require('mini.ai').gen_spec.treesitter
vim.b.miniai_config = {
  custom_textobjects = {
    t = spec_treesitter({ a = '@function.outer', i = '@function.inner' }),
  },
}

It will be more accurate but won't work inside comments and strings, though.

Hello @echasnovski,
Thanks for the feedback!
I tried your second suggestion, using spec_treesitter. However, mini.ai still reports the error, and I cannot figure out why.
A minimal config to reproduce can be found here.
It includes file test_failed.xml.

Hello @echasnovski,
Thanks for the feedback! I tried your second suggestion, using spec_treesitter. However, mini.ai still reports the error, and I cannot figure out why.
A minimal config to reproduce can be found here. It includes file test_failed.xml.

I think you are the first one to actually create a minimal repo instead of saying "it doesn't work for me locally". That is a very nice move! As a gratitude for this next-level reproducible example, take a look at abeldekat/test_mini_ai#1.

Haha! You're welcome, @echasnovski. You are the first one to create an issue in my personal repo. I'll keep it around for a while...)
I was already wondering why in issue 110 the solution was reported to work for the html filetype...
That said, I don't think I am the right person to offer a good PR to the nvim-treesitter-textobjects plugin.
I have no in-depth knowledge regarding the plugin and treesitter's query syntax.
If you don't mind, I'll update the corresponding issue in LazyVim, mentioning the PR you created.

That said, I don't think I am the right person to offer a good PR to the nvim-treesitter-textobjects plugin.
I have no in-depth knowledge regarding the plugin and treesitter's query syntax.

If you indulge a small inspirational talk, then I'd like to point out that no one has as in-depth knowledge about tree-sitter queries without trying. Most of those queries are results of actual language users being persistent enough to sit and try to "fake it till you make it". Looking at other queries, reading a bit about how they work in general (I started here) and playing with them interactively (like with Neovim's built-in :InspectTree and :PreviewQuery in latest Nightly) goes a long way. Otherwise, if nobody is invested enough, chances are that it won't be done at all.

You are the first one to create an issue in my personal repo. I'll keep it around for a while...)

Oh, but I would like to ask for this PR to eventually (not in the far distant future) be either merged or closed. Don't really like having dangling PRs :)

Thanks for the inspirational talk! I can certainly try.
I closed your PR.

Hello @echasnovski,
You already wrote that the tree-sitter approach does not work inside comments and strings. Up until recently, I did not fully grasp the consequences of this limitation.
As xml is quite commonly used in other languages to manipulate data, I don't think this alternative is a solution to the problem.
I hope someone else is able to submit a PR adding the xml queries to plugin nvim-treesitter-textobjects.
Thanks for your patience and encouragement in this conversation, and also for all the wonderful plugins you write!

authors: abeldekat echasnovski


text:
Enveloped signature is invalid

I am sorry if this is not the correct place for this report.
I am trying to upgrade a project from Java 8 to Java 13. The project uses the Java EE modules that have been removed from Java11+ so I imported jaxws from maven.
    <dependency>
        <groupId>com.sun.xml.ws</groupId>
        <artifactId>jaxws-rt</artifactId>
        <version>2.3.3-b01</version>
    </dependency>

This is what the signed message structure needs to look like:
...
<SOAP-ENV:Body>
  <MyElement Id="signThisElement">
    <child1></child1>
    <child2></child2>
    <Signature>
      ...
    </Signature>
  </MyElement>
</SOAP-ENV:Body>
...

The problem is that, with the exact same code and the exact same message, jaxws in Java 13 produces a different signature than Java 8 does.
Specifically there are two differences:

DigestValue and SignatureValue element values are completely different
SignatureValue and X509Certificate have carriage return encoded as XML character reference at the end of every line (
)

To sign the SOAP message I do the following:
SOAPBody soapBody = soapMessage.getSOAPBody();
Node nodeToSign = soapBody.getFirstChild(); // I actually use xpath to select this
// then i set the attribute id node, signature, keys,
// transforms (including Transform.ENVELOPED), reference etc.
...
// finally to configure context
DOMSignContext dsc = new DOMSignContext(privateKey, nodeToSign);

The structure of the message produced by this code in Java13 is exactly the same as in Java8, but a diff between the two messages shows that the DigestValue and SignatureValue element values are different, and also in Java13 (and 11) SignatureValue and X509Certificate have
 appended to the end of each line, while this is not present in the signature generated by Java 8.
I did some experimenting, and if I pass the soapBody directly to DOMSignContext instead of nodeToSign (without making any other changes), then the generated DigestValue and SignatureValue objects are valid (they have the same values Java8 produces when nodeToSign is passed to dsc)  - BUT the structure of the xml is invalid because theSignature element gets appended as a sibling of MyElement instead of being appended as a last child, like this:
...
<SOAP-ENV:Body>
  <MyElement Id="signThisElement">
    <child1></child1>
    <child2></child2>
  </MyElement>
  <Signature>
    ...
  </Signature>
</SOAP-ENV:Body>
...

I have tested this on both of the latest versions of AdoptOpenJDK 11 and 13.
There was a similar bug reported here but this was for an Enveloping signature, instead of Enveloped, and it has been marked resolved in March: bug report
Here is the entire code I use for signing the SOAPMessage: signSOAP

There is a change in Base64 encoder/decoder in JDK in how it handles line endings. Can you try to set -Dorg.apache.xml.security.ignoreLineBreaks=true?

There is a change in Base64 encoder/decoder in JDK in how it handles line endings. Can you try to set -Dorg.apache.xml.security.ignoreLineBreaks=true?

I have added this option and it produces the same result as without the option.
The SignatureValue and DigestValue element values are the same and
 is still present at the end of each line in SignatureValue and X509Certificate.

There is a change in Base64 encoder/decoder in JDK in how it handles line endings. Can you try to set -Dorg.apache.xml.security.ignoreLineBreaks=true?

Using the property you suggested made no difference.
I also tried this property: -Dcom.sun.org.apache.xml.internal.security.ignoreLineBreaks=true
This one removed all the line breaks (and with them the
 characters) starting from the signature element until the end of the soap message. Unfortunately the produced signature is also invalid.

I ran multiple tests with jdk8, jdk11, and jdk13 (all latest version of AdoptOpenJDK).
I also tested setting ignoreLineBreaks on org.apache.xml.security vs com.sun.org.apache.xml.internal.security vs not setting any property.
Here are my observations:

setting ignoreLineBreaks on the org.apache.xml.security did not work on any of the tested JDK versions
setting ignoreLineBreaks on the com.sun.org.apache.xml.internal.security worked on all of the tested versions
Java 11 and Java 13 behave the same way

To stay brief I will only paste the DigestValues here.
The correct DigestValue for the message is only present on Java8.
Java 8 with no parameter
DigestValue - NuCdkvEe/d/CraL4euO12iOV6l8=
Java 8 with com.sun.* property
DigestValue - NuCdkvEe/d/CraL4euO12iOV6l8=
Java 8 with org.apache.* property
DigestValue - NuCdkvEe/d/CraL4euO12iOV6l8=
Java 11 with no parameter
DigestValue - x6cC45lHsoESckUIYpnd+xoSzy4=
Java 11 with com.sun.* property
DigestValue - B/iFVo+ZTIKk5iMqGFvht0wODXc=
Java 11 with org.apache.* property
DigestValue - x6cC45lHsoESckUIYpnd+xoSzy4=
Java 13 with no parameter
DigestValue - x6cC45lHsoESckUIYpnd+xoSzy4=
Java 13 with com.sun.* property
DigestValue - B/iFVo+ZTIKk5iMqGFvht0wODXc=
Java 13 with org.apache.* property
DigestValue - x6cC45lHsoESckUIYpnd+xoSzy4=
Putting all this aside, I think the key here is not in the line breaks.
Why would Java 13 produce the correct DigestValue when the parent of the node to be signed is passed to DOMSignContext?
Here is the DigestValue for Java13 when the SOAPBody is passed to DOMSignContext, instead of the Node that is to be signed:
Java 13 with no parameter - soapbody passed
DigestValue - NuCdkvEe/d/CraL4euO12iOV6l8=
Java 13 with com.sun.* property - soapbody passed
DigestValue - NuCdkvEe/d/CraL4euO12iOV6l8=
So we see now the DigestValue is correct for the message.
If I pass the SOAPBody to DOMSignContext then the Signature is placed as the last child of the body,
and I need it to be placed as the list child of the element that is being signed like it does on Java 8 when nodeToBeSigned is passed (Enveloped).
This made me feel I could create a valid message signature if I passed the SOAPBody to DOMSignContext, and then somehow move the signature into the first child of the SOAPBody.
So I did that by adding this after signature.sign(dsc):
Node sigNode = soapMessage.getSOAPBody().getLastChild();
soapMessage.getSOAPBody().getFirstChild().appendChild(sigNode);
And suddenly the signature is now valid. Even the signature with
 is valid, and the remote server confirms it.
This definitely feels like a regression.

Behaviour changed in jdk 8 update 231, see its release notes:  https://www.oracle.com/technetwork/java/javase/8u231-relnotes-5592812.html

The tests I have done on Java 8 were on 8u2.3.2 and the old code works there, and I know for a fact that it works on older versions of 8 so I don't think that it is related.

Changes like https://issues.apache.org/jira/browse/SANTUARIO-482 and related are in JDK 8 since update 231 - as noted in release notes; previous version of xmlsec library in jdk was 1.5.4. Why do you think they are not related?

Because I have already determined in my previous comment that the newline character has nothing to do with the fact the signature is invalid. And the remote server even recognozes the valid signature if it contains the newline reference.
The difference is in the interaction of DOMSignContext and XMLSignature as seen on the gist I posted.
The same code produces two completely different signatures on Java 8 and Java 11+ with jaxws-rt. Java 11+ produces the same result after applying the fix from gist, and the ignoreLineBreaks property does not have to be set for the signature to be valid.
I think the issue can be reproduced by the code sample provided, but if I am missing something obvious please let me know.

I spent a few hours in the debugger and I tracked down the issue to com.sun.org.apache.xml.internal.security.c14n.implementation.CanonicalizerBase, specifically the  canonicalizeSubTree(Node currentNode, NameSpaceSymbTable ns, Node endnode, int documentLevel) method.
For some reason this method in Java 11+ canonicalizes the Signature element as well, even though that is against enveloped signature spec. This makes the whole signature invalid.
I don't have time right now to dig deeper than that but if it is not related to jaxws you can close this issue.

@shunkica I've added a simple test-case to my github repo to reproduce the issue referenced in SANTUARIO-516
https://github.com/coheigea/testcases/tree/master/misc/saaj
The XML Signature validation failure is caused by the fact that the owner document of the URI attribute in the document does not equal the owner document of the element the owner belongs to. I'm pretty sure this is a bug in SAAJ.
Note that if you use 2.2.10, then it works fine.

Hi everyone,
I am facing similar issue and it is blocking the migration to Java 11. Is there a timeline for fixing this issue or a suggested work around for fixing it?

Hi everyone,
I am facing similar issue and it is blocking the migration to Java 11. Is there a timeline for fixing this issue or a suggested work around for fixing it?

You can pass the parent of the node you want signed to DOMSignContext and then move the signature once it is generated. Look at the gist I provided in one of my previous comments.

I tried that approach earlier, but did not work and validation failed. I believe the reason for that is I am signing the whole envelope, so even if I move the signature element to the top level, it is still inside the signing content and because of the issue mentioned in https://github.com/eclipse-ee4j/metro-jax-ws/issues/93#issuecomment-564333970 , it affect the signature.

Not sure if that helps, 1.3.28 version is working and 1.4.0 is failing. So the changes between those releases cause the issue.

Hi all,
I raised this issue under https://github.com/eclipse-ee4j/metro-saaj/issues/165.
I have prepared a candidate fix that is enough to resolve correct canonicalization and signing under dsig and Santuario.

Are there any updates on this? The other linked issue has been closed

do you see the same problem in metro 3.0.0?

Are there any updates on this? The other linked issue has been closed

I didn't test it but according to the commits it looks like this has been fixed in 3.0.0

so let's close this for now. Feel free to reopen or open new issue if see the problem there. Thanks!

I confirm my testcase works correctly with:
com.sun.xml.ws
jaxws-rt
3.0.0

Thank you for verification, @coheigea !

Thank you for verification, @coheigea !

@lukasj Re metro: It seems above the fix has been applied to metro 3x. What about later 2x versions?
I note metro 3 is based on jakarta servlet 5.0 which doesn't play nicely with tomcat < 10.

source: gharchive/issue

authors: aarowman brodziakm coheigea faridadh lukasj lukebex3 shunkica

license_type: permissive

license_source: bigquery


text:
iox-#1393 Construct DESTINATION_* variables from CMAKE_INSTALL_FULL_*DIR

Pre-Review Checklist for the PR Author

[x] Code follows the coding style of CONTRIBUTING.md
[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-#123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit messages are signed (git commit -s)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[ ] All checks have passed (except task-list-completed)
[ ] Assign PR to reviewer

Notes for Reviewer
Implements the solution described in #1393:

This can be fixed by constructing DESTINATION_CONFIGDIR from CMAKE_INSTALL_FULL_LIBDIR and then getting rid of the concatenation in Config.cmake.in.

Checklist for the PR Reviewer

[x] Commits are properly organized and messages are according to the guideline
[x] Code according to our coding style and naming conventions
[x] Unit tests have been written for new behavior

[x] Each unit test case has a unique UUID

[x] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[x] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Closes #1393

@elfenpiff I'm fine with not changing the header.

source: gharchive/pull-request

repo: eclipse-iceoryx/iceoryx


text:
Investigate not complete submissions

There are 7 incomplete submissions.
See https://app.pass.jhu.edu/data/submission?filter=submitted==true;source==pass;submissionStatus=out=complete&page[totals].
Investigate those submissions to see there are bugs that need to be fixed or data that needs to be remediated.

The aggregated deposit status of all of these is in-progress.

There are actually 8 submissions with an aggregated deposit status of in-progress

Document describing problems and possible resolutions: https://docs.google.com/document/d/1NV5biTtsRREiQSIl9egp2wI3jIlQq04ub4iakDxxqY4/edit?usp=sharing

Fixed as documented in the linked document above. One remains in progress, but it should be in progress.

repo: eclipse-pass/main

license_source: github-api


text:
feat(bpdm-system-test): golden record tester module.

Description

In this pull request, we have created golden record process tester application.
The application can be executed and also packaged as a JAR as usual.
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

Hello @nicoprow,
For restricted dependency, I have already created IP check issue 17770.

repo: eclipse-tractusx/bpdm


text:
feat(bpdm): add bpdm orchestrator roles and svc acc

Description
Add following BPDM technical user roles for CX Operator:

BPDM Orchestrator Admin
BPDM Orchestrator Task Creator
BPDM Orchestrator Processor Clean
BPDM Orchestrator Processor CleanAndSync
BPDM Orchestrator Processor PoolSync

Add BPDM service accounts for CX Operator:

sa-cl7-cx-1
sa-cl7-cx-7
sa-cl25-cx-1
sa-cl25-cx-2
sa-cl25-cx-3

Why
eclipse-tractusx/portal-iam#155 added new BPDM roles and service accounts. Adding these in seeding data allows for configuration via portal.
Issue
eclipse-tractusx/portal-backend#1020
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[ ] I have performed IP checks for added or updated 3rd party libraries
[ ] I have created and linked IP issues or requested their creation by a committer
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[ ] I have added tests that prove my changes work
[x] I have checked that new and existing tests pass locally with my changes
[x] I have commented my code, particularly in hard-to-understand areas

Added test cases in issue:
https://github.com/eclipse-tractusx/portal-backend/issues/1020#issuecomment-2382674257

Hi @typecastcloud thank you for the PR, awesome! could you please rebase to main? IMO, that will solve the issue with the currently failing build https://github.com/eclipse-tractusx/portal-backend/actions/runs/11139606243/job/30956625767?pr=1048 could you please also change the PR title to feat(bpdm): add bpdm orchestrator roles and svc acc to follow conventional commits?

Title renamed and rebased. Still the same build issue.
When I run tests, order for /api/administration/registration/Network/companies in docs/api/administration-service.yaml changes.

repo: eclipse-tractusx/portal-backend


text:
Iox #115 add sofi stresstests

closes #115
Initially, all atomic counter where accessed with memory_order_seq_cst. In order to not synchronize with the counter, I used different orderings, but I'm not sure if this is a good idea since there is a good chance that the ordering is wrong. Do you think I should change it back? In this case we would just stresstest the algorithm without checking the memory order.
@dkroenke, do we want to have one binary per stresstest?

@budrus @MatthiasKillat @mossmaurice ahem, I would like to merge this PR this year. Could you have a look at this?

repo: eclipse/iceoryx


text:
Unable to write or read using webclient or postman

I am trying to read from w3c using webclient and postman and I can authorize but when I try to read, write,etc a value:
Example with postman
GET http://localhost:8090/vss/api/v1/
{
"action": "get",
"requestId": "1234",
"path": "Vehicle.OBD.EngineSpeed"
}
It says:

ERROR: HTML status = 404
{
"action": "get",
"error": {
"message": "I can not find Requested resource do not exist in my db",
"number": 404,
"reason": "Path not found"
},
"requestId": "1079400840",
"timestamp": 1587719333
}

The vss_rel_2.0.json is correct and testclient works.
This problem was an issue closed here https://github.com/eclipse/kuksa.invehicle/pull/113
but it was not resolve.

Hi, I am not "fluent" in the REST interface, and need some time to replciate, however, just in case the 404 is misleading: Did you authorize first? The REST API also needs a valid  JWT token before it works.
testclient uses websocket, so it could be that it works, while you did something else with POSTMAN.  Did you also try with the REST test thingy https://github.com/eclipse/kuksa.val/tree/master/test/web-client  ? (and if the testclient works you might look what it does using Wireshark, and compare it what you are doing with postman)
maybe @BojanKV is still alive and remembers something

Hi, yes, I have not problems with testclient using websocket, I can authorize, read and write with no problem.
Using  web-client and postman (I use postman to do different proofs configuring w3c-visserver with a different IP to access to it from external)
With POSTMAN and web-client I can only authorize.
Good idea, I am going to use wireshark to compare.

For future reference, GET  needs to be on e.g. signals/Vehicle.Speed  with the experimental REST support,

authors: SebastianSchildt amglcc amgtel


text:
New testclient, websocket connection handling

Something seems to be wrong with websocket connection handling
Reproduce

Start server
Connect with new testclient (connect authorize setValue)
works fine
Restart server (so the old connection is broken/invalid)
in testclient type "connect"
authorize: That works! (so I assume it DID reconnect?)
setValue: first time works
setValue second time: Exception: websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason
Ctrl-C gives back prompt
setValue works again

Already not perfect, but now the super strange thing:
type connect again: Looks fine, but now roughly every second call to setValue succeeds while the others give 403
Do we have two sessions now, that are randomly used
@nayakned Can you check, and maybe push a fix?

A new robust problem found:

Start server
Start testclient
In testclient type Connect two times (second time maybe by mistake)
Authorize

works fine until now, but then setValue may be failed with the following error message:
VSS Client> setValue Vehicle.Speed 500
{
    "action": "set",
    "error": {
        "message": "Path(s) in set request do not have write access or is invalid",
        "number": 403,
        "reason": "Forbidden"
    },
    "requestId": "1235",
    "timestamp": 1596814834
}

Try Vehicle.OBD.Speed if the problem persists.

Closed by #28


text:
Add MP version 2.2.

Fixes #124.
As long as there is no Implementation assigned to a version, it doesn't show up on the page.

@Emily-Jiang This issue was just to add version 2.2.
Adding OpenLiberty and Thorntail is handled through #128 and #123

repo: eclipse/microprofile-starter


text:
Add back rav1e and SVT-AV1

It looks like rav1e and SVT-AV1 were removed in https://github.com/eclipseo/image-comparison-sources/commit/86ea6dac1212bc32eef6ed41b625f364755a90cb. Is there any chance they could be added back?

This is on my todo list, I need to recompile libavif with support for them.

The problem I am facing is that neither svt-av1 nor rav1e support rgb/yuv444 import, and they don't support lossless mode either, which limit the pertinence in including them in the comparison.

OK I've added Rav1e and Svt-av1 and refactored the metrics graphs.

authors: EwoutH eclipseo

repo: eclipseo/image-comparison-sources


text:
Feature toggles and configuration changes

Fixed heroku integration (was returning 404)
Changed the way tests are stored to support coveralls code inspection
Added feature toggles on a config file, for now only supports startup dialog hooks

Coverage increased (+7.2%) to 70.0% when pulling fd72876ced9d5c8af71cded3b555cb468196d6ae on pancho111203:feature-toggles into cbe5490d860eb18bd352ab4593ec8241b92934c7 on eclipsesource:master.

@pancho111203  I think something went wrong here, the PR contains already merged commits. Can you re-check?

I used the other branch as base for this one. My mistake...

There's another issue with the current state of this PR, since it also contains coverage reports. Can you try to fix this?

Coverage increased (+7.2%) to 70.0% when pulling 3db681f9dc8796587d3e328bcb33b7c8829dfab8 on pancho111203:feature-toggles into cbe5490d860eb18bd352ab4593ec8241b92934c7 on eclipsesource:master.

Coverage increased (+1.9%) to 64.735% when pulling 358c2a8957772aed875d253ed763669796546a27 on pancho111203:feature-toggles into cbe5490d860eb18bd352ab4593ec8241b92934c7 on eclipsesource:master.

authors: coveralls edgarmueller pancho111203

repo: eclipsesource/JsonFormsEditor

license: mit


text:
Consider Adding [MemoryDiagnoser] to Tests

It might be interesting to see how the frameworks compare in terms of memory consumption, and [MemoryDiagnoser] should get that information.

:+1: new official results, including memory stats, will be live within the hour

authors: JasonBock stevedesmond-ca

repo: ecoAPM/BenchmarkMockNet

license: MIT


text:
platform/egl: Fix EGL texture implementation

The EGL test failures where provoked by two things:

GLES 2.0 deprecates gl::TEXTURE_2D as a valid parameter to
gl::enable, which was provoking an unexpected INVALID_ENUM error.
GLES 2.0 doesn't have glGetTexImage, so to test that writing to a
texture actually works we have to bind it to another FBO. We do it on
the sharing test.

Also, added a no-op feature to easily run egl tests on linux. Too bad we can't test it on Travis :(

Merging it directly since it only affects with the removal of one LoC of non-tests.


text:
饼状图颜色设置无效

### One-line summary [问题简述]
根据数据生成的饼状图默认为纯白色，怎么调色都没有效果，但是使用官网的写死的数据就能够显示出来对应的颜色
Version & Environment [版本及环境]

ECharts version [ECharts 版本]:echarts3
Browser version [浏览器类型和版本]:chrome，firefox都是一样的效果
OS Version [操作系统类型和版本]:window10

Expected behaviour [期望结果]
希望颜色显示正常
ECharts option [ECharts配置项]
bomPropor = {
                title: {
                    text: '数据库表数量',
                    subtext:cntSum.toLocaleString()+"/条",
                    left: 'left',
                },
                tooltip : {
                    trigger: 'item',
                    formatter: "{a} <br/>{b} : {c} ({d}%)"
                },
                visualMap: {
                    show: false,
                    min: 80,
                    max: 600,
                    inRange: {
                        colorLightness: [0, 1]
                    }
                },
                series : [
                    {
                        name:'访问来源',
                        type:'pie',
                        radius : '55%',
                        center: ['40%', '50%'],
                        data:tableData,
                        roseType: 'angle',
    		            label: {
    		                normal: {
    		                    textStyle: {
    		                        color: 'rgba(255, 255, 255, 0.3)'
    		                    }
    		                }
    		            },
    		            labelLine: {
    		                normal: {
    		                    lineStyle: {
    		                        color: 'rgba(255, 255, 255, 0.3)'
    		                    },
    		                    smooth: 0.2,
    		                    length: 10,
    		                    length2: 20
    		                }
    		            },
                        itemStyle: {
                        	normal: {
                                color: '#27408B',
                                shadowBlur: 200,
                                shadowColor: 'rgba(0, 0, 0, 0.5)'
                            },
                            emphasis: {
                                shadowBlur: 10,
                                shadowOffsetX: 0,
                                shadowColor: 'rgba(0, 0, 0, 0.5)'
                            }
                        }
                    }
                ]
            }

Other comments [其他信息]
界面如图：

控制台信息如图：

因为你加了 visualMap 设置了 colorLightness，如果你的数据都大于 visualMap 中的 max，就映射到最亮的颜色，也就是白色

authors: iicechen pissang

repo: ecomfe/echarts


text:
Suportar kit com variações

Describe the bug
Ao finalizar a venda com produto Kit composto por variação, ele considera o valor do produto individual e não o preço do KIT.
To Reproduce

Cadastre um KIT que seja composto por um produto com variação:

Ao vender o produto, veja que o carrinho comporta corretamente, assumindo o valor do Kit:

Porém, ao finalizar a venda, ele desconsidera o valor do KIT e finaliza com o valor do próprio produto.

Additional context
. Produto para simular: https://storefront-baby.netlify.app/kit-leve-10-pague-9-esmalte-cores-vibrantes
. Cadastro do produto KIT: https://app.e-com.plus/#/resources/products/5fbf8c3069274c73fcdc3569

Uai @ThaisChaves , mas você colocou a quantidade do item como 0, zero é diferente de ficar em branco (varíavel), zero é sempre zero mesmo...

@leomp12 , eu coloquei 0 depois de alguns testes. Se deixar em branco, da o mesmo problema.(mudei e deixei em branco pra vc dar uma olhada).
E mesmo que esteja zero, ele não poderia mostrar um valor no carrinho e ao fechar a compra mudar o valor. :+1:

@leomp12 ainda tem outro problema. Antes eu só vi que o valor mudava, mas eu não finalizei a venda. Olha o erro que dá quando finaliza:

O item esta com a quantidade em branco do kit no cadastro e adicionei ele assim no carrinho pra comprar:

Beleza @ThaisChaves , na verdade eu nem testei para variação, de fato esse kit por enquanto funciona apenas com produtos simples.

Tem previsão disso, temos uma loja que precisa disso, migrou quando lançou e depois viu que não funcionava para variação, ofereci então voltar pra club e quando tivesse informava novamente, mas quis saber de prazo

Tem previsão disso, temos uma loja que precisa disso, migrou quando lançou e depois viu que não funcionava para variação, ofereci então voltar pra club e quando tivesse informava novamente, mas quis saber de prazo

Vou tentar fazer até amanhã @matheusgnreis , se não até o fim do mês vai sair.

Vou tentar fazer até amanhã @matheusgnreis , se não até o fim do mês vai sair.

Já funcionando para kits com quantidades dinâmicas como o do exemplo abaixo:

Nesse caso o segundo produto tem variações:

Para kits com composição de quantidades fixas por item é necessário implementar no admin primeiro (exibir as variações uma por uma no admin).

Já funcionando para kits com quantidades dinâmicas como o do exemplo abaixo:

Nesse caso o segundo produto tem variações:

Para kits com composição de quantidades fixas por item é necessário implementar no admin primeiro (exibir as variações uma por uma no admin).

authors: ThaisChaves leomp12 matheusgnreis

repo: ecomplus/storefront


text:
Sphinx problems for KinkedRconsumerType

https://hark.readthedocs.io/en/latest/example_notebooks/KinkedRconsumerType.html
There are lots of bugs in the sphinx rendering here -- the markdown table of parameter values is not translating correctly.

See #556 I believe this is fixed now

authors: llorracc sbenthall

repo: econ-ark/HARK


text:
Implement --dryrun

Currently the --dryrun option is marked as experimental in the CLI and is not present in the config file. It is currently unimplemented.
--dryrun should give you your results file with your configuration parameters, spark options, and all that jazz, just with no actual results. Basically walking through the whole program but without letting the workloads work.
if(dryrun == false) {
  doStuff()
}
else {
  // don't do stuff
}

The expected UI for this would be:
./bin/spark-bench.sh --dryrun /path/to/my/config.conf

I am closing all issues in ecurtin/spark-bench.
Pertinent issues should be re-opened as issues in SparkTC/spark-bench.

repo: ecurtin/spark-bench


text:
Problem when using with Angular

Hi,
I was using the library on nodejs and everything was working as expected. Now I try to do the same thing on angular (with webpack) and somehow the library just breaks everything. I cannot see the real error but wherever I load the JSON (from "ta-json") Angular fails to load the whole file.

Uncaught Error: Unexpected value 'AppComponent' declared by the module 'AppModule'

I am getting the error above but I tried and tested many times that it only occurs if I use a simple JSON.deserialize or any other method it provides.
Any idea?

It complains that JSON is not exported..
Error info:
'JSON' is not exported by node_modules\ta-json\index.js
https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
src\aot\weby\peoplive\spa\src\weby\account\sign-up-component.js (15:9)
13: import { AccountService } from "../../service/account.service";
14: import { Pattern } from "../../common/pattern";
15: import { JSON } from "ta-json";

This is most likely due to the fact that ta-json uses the CommonJS module format (so as to provide compatibility with NodeJS - and so rollup complains a bit.
I think what you need to do is install the rollup CommonJS module, then read this, and add the parts of ta-json that you use, like JSON, @JsonObject etc to namedExports.
Let me know if that doesn't work

That's the error I could get when I tried to compile with rollup/aot. I tried the recommendations on the link, could'not make it work
During development I use webpack and it silently ignores the library either.

Now, I made it work with webpack. And on rollup, I figured out to skip "ta-json" export error but now I am getting Reflect.js export error. The error below is only thrown if I use ta-json library. I think I am lost here :)
'default' is not exported by 'node_modules\reflect-metadata\Reflect.js'

Hi there, sorry completely missed this. Were you able to resolve it?

unfortunately no. I moved back to my old pattern (handling pure json) because it added a lot of errors like those, which I could not afford enough time to overcome

actually since the beginning of my Typescript career (~1 year) I always though that I should transfer every json into a proper class instance, i still think that is the right way, however I observe that community prefer to build very advanced architecture build on transfering pure json objects/strings all around. I wanted to experience this bizarre pattern which sounds very disturbing to me, but I will try any way. Maybe because community also is experiencing several issues with json to class instance conversion.

If I prefer to use typed class instances instead of basic json objects, here are the places where I should implement it throughout the project:
Whenever the client (angular) is sending a request, I convert my typed class instance into json.
The server is converting back the json to the typed class instance. If there is any database operation, I convert the typed class instance to json and persist it. If I need to get some data from database, I get it as json, then converts to typed class instance, do some stuff and convert back to json to send to my angular client.
lost of conversion. what do you think?
client (angular) <-> CLASS to JSON <-> SERVER (Node or Spring) <-> CLASS TO JSON <-> OBJECT DB (MongoDB)

Again, apologies for my slow replies, things have been pretty crazy.
That seems reasonable to me, as long as you aren't doing hundreds of these every second! I do basically the same thing (as it is a lot more powerful than just pure JSON passing).
On the topic of this issue, I've just released 2.3.0 which adds support for ES6 modules syntax - so you should be able to easily use the library with rollup now.
Could you give it a go and let me know how you get on?
Thanks!

Closing due to inactivity.

authors: edcarroll mustafaekim

repo: edcarroll/ta-json


text:
The theme isnt working on my Ghost Installation

Version 3.9.0
Environment production
Database mysql
Mail Direct
I installed this theme on my Ghost Blog but its not loading resource of theme. I am adding a Screenshot of Browser console when visiting my site after activating this theme. other theme are working perfectly
https://kmu.files.cnow.at/s/Dp84HwRG5eEyqpP

Uploaded the wrong file

repo: eddiesigner/liebling


text:
Client not building

Been poking at this for a while now, and maybe I'm missing something obvious, but I can't seem to get the client to build.  Webpack runs through its process, and it appears successful but nothing new shows up in the public folder.  Ideas?  (I'm on windows)

The repo uses an older version of Webpack so make sure you are using the version in package.json.
Other than that its been tested on Ubuntu.

Gotcha.  Probably a parking issue or something, since it goes thru the whole compile, just no file.  I'll keep poking at it and post my fix if I find one.

authors: dcholth eddyystop


text:
program medication update mutation

is_active
medication_request_allowed
reimbursement_amount

it should be impossible to change sum in case "isActive": false and "medicationRequestAllowed": false


text:
fix: assert with raise

Description
The way to assert was wrong, fixed them
Type of change
Please delete options that are not relevant.

[x] Bug fix
[ ] New feature
[ ] Document
[ ] Test
[ ] CI/CD
[ ] Refactor

How has this been tested

[x] Unittest
[ ] Others:

Checklist:

[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Let's make the world better✨😋🐍🌎

Codecov Report

Merging #45 (ad4f313) into main (c928cf9) will increase coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
+ Coverage   95.32%   95.48%   +0.16%
==========================================
  Files          21       21
  Lines         620      620
  Branches       66       66
==========================================
+ Hits          591      592       +1
  Misses         19       19
+ Partials       10        9       -1

Impacted Files
Coverage Δ

pypj/environment.py
95.65% <0.00%> (+1.44%)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-commenter edge-minato

repo: edge-minato/pypj


text:
Can't make View example work

Hi, I'm working through the tutorial example of Movie and Person types and trying to incorporate a View example into it.
These are my types with relevant properties and links:
  type Movie {
    required property title -> str;
    multi link cast -> Person;
  }
  type Person {
    property first_name -> str;
    required property last_name -> str;
    property name :=
      .first_name ++ ' ' ++ .last_name
      IF EXISTS .first_name
      ELSE .last_name;
  }
  view PersonView := Person {
    stars_in := Person.<cast[IS Movie]
  }

When I run the following query, I get an Unexpected { error.
SELECT PersonView {
  stars_in {
    title
  }
} FILTER .name = 'Ryan Gosling';

However, when I run the query without destructuring the Movie type, I am able to get the id object of the movies:
SELECT PersonView {
  stars_in
} FILTER .name = 'Ryan Gosling';

Am I missing some obvious way to declare the shape of the Movie in the PersonView? Thanks for your help!
PS: I am able to get what I want by using the following query, but leaving the issue open in case you can help with the above regardless.
SELECT Person {
    name,
    stars_in := (SELECT
        Person.<cast[IS Movie] {
            title
        }
    )
}
FILTER Person.name = 'Ryan Gosling';

You have missed the colon in your first query, it should read:
SELECT PersonView {
  stars_in: {
    title
  }
} FILTER .name = 'Ryan Gosling';

@vpetrovykh Can we have a better error message for this case? Essentially add another production ShapeElement_BRACE which would error out suggesting how to fix this?

authors: 1st1 cosmophile elprans

repo: edgedb/edgedb


text:
Get credentials retry loop ignores SIGINT

The GetCredentials rety loop is not hooked up with any other signaling to cancel when a SIGINT or other is sent to the process. This will delay shutdown as either the timer has to run out or the user has to SIGKILL the process.
🔥 Exception or Error

level=WARN ts=2022-06-16T21:38:54.879604779Z app=device-onvif-camera source=credentials.go:61 msg="Unable to retrieve camera credentials from SecretProvider at path '3fa1fe68-b915-4053-a3e1-1027f5ea88f4': Error, path (3fa1fe68-b915-4053-a3e1-1027f5ea88f4) doesn't exist in secret store. Retrying for 1m32.987007063s"
level=WARN ts=2022-06-16T21:38:55.879965419Z app=device-onvif-camera source=credentials.go:61 msg="Unable to retrieve camera credentials from SecretProvider at path '3fa1fe68-b915-4053-a3e1-1027f5ea88f4': Error, path (3fa1fe68-b915-4053-a3e1-1027f5ea88f4) doesn't exist in secret store. Retrying for 1m31.986646081s"
level=WARN ts=2022-06-16T21:38:56.880378244Z app=device-onvif-camera source=credentials.go:61 msg="Unable to retrieve camera credentials from SecretProvider at path '3fa1fe68-b915-4053-a3e1-1027f5ea88f4': Error, path (3fa1fe68-b915-4053-a3e1-1027f5ea88f4) doesn't exist in secret store. Retrying for 1m30.986235633s"
^C
level=INFO ts=2022-06-16T21:38:57.799049308Z app=device-onvif-camera source=config.go:318 msg="Watching for 'AppCustom' configuration changes has stopped"
level=INFO ts=2022-06-16T21:38:57.799666781Z app=device-onvif-camera source=messaging.go:88 msg="Disconnected from MessageBus"
level=INFO ts=2022-06-16T21:38:57.799047447Z app=device-onvif-camera source=config.go:467 msg="Watching for '/Writable' configuration changes has stopped"
level=INFO ts=2022-06-16T21:38:57.799768165Z app=device-onvif-camera source=httpserver.go:126 msg="Web server shutting down"
level=ERROR ts=2022-06-16T21:38:57.799842391Z app=device-onvif-camera source=httpserver.go:143 msg="Web server failed: http: Server closed"
level=INFO ts=2022-06-16T21:38:57.801041628Z app=device-onvif-camera source=httpserver.go:128 msg="Web server shut down"
level=WARN ts=2022-06-16T21:38:57.881311693Z app=device-onvif-camera source=credentials.go:61 msg="Unable to retrieve camera credentials from SecretProvider at path '3fa1fe68-b915-4053-a3e1-1027f5ea88f4': Error, path (3fa1fe68-b915-4053-a3e1-1027f5ea88f4) doesn't exist in secret store. Retrying for 1m29.985302169s"
level=WARN ts=2022-06-16T21:38:58.882085199Z app=device-onvif-camera source=credentials.go:61 msg="Unable to retrieve camera credentials from SecretProvider at path '3fa1fe68-b915-4053-a3e1-1027f5ea88f4': Error, path (3fa1fe68-b915-4053-a3e1-1027f5ea88f4) doesn't exist in secret store. Retrying for 1m28.984519117s"
level=WARN ts=2022-06-16T21:38:59.882383818Z app=device-onvif-camera source=credentials.go:61 msg="Unable to retrieve camera credentials from SecretProvider at path '3fa1fe68-b915-4053-a3e1-1027f5ea88f4': Error, path (3fa1fe68-b915-4053-a3e1-1027f5ea88f4) doesn't exist in secret store. Retrying for 1m27.984228452s"

Anything else relevant?
Should probably use similar code to the taskLoop

I have also noticed that this retry loop blocks the Driver.Stop from being called, as it is holding something up in the sdk. This is probably also related to it causing HTTP 503 errors, which I will create a separate bug for.

repo: edgexfoundry/device-onvif-camera


text:
add carrom

#10
Submitting this PR means you have:

[ ] searched the readme file and searched the open pull requests (no duplicates please)
[ ] and will follow the desired format
[ ] used image links that resolve correctly, are appropriately sized, and are served over HTTPS

Once your PR is created, it will trigger a build on Travis CI. This includes a format linting process, so if there are any issues with the build, please address them.
Do you have further questions? Check the contribution guidelines or open an issue.
When you're ready, check off the above acknowledgements and continue with your Pull Request... and thanks!

My bad! Fixed the size.

No worries. It looks good now. Thanks for contributing.


text:
Fetcher with {...getFormProps(form)} causes a navigation to the action

Describe the bug and the expected behavior
When you submit a fetcher when using {...getFormProps(form)} it will navigate to the action route. Based on remix docs a Fetcher shouldn't cause a navigation https://remix.run/docs/en/main/hooks/use-fetcher#fetcherform
Conform version
v1.0.1
Steps to Reproduce the Bug or Issue
function SomeComponent() {
  const fetcher = useFetcher();
  const [form] = useForm<Schema>({});

  return (
    <fetcher.Form method="post" action="/some/route" {...getFormProps(form)}>
      <input type="text" />
    </fetcher.Form>
  );
}

When submitting this fetcher, it causes the browser to navigate to /some/route
What browsers are you seeing the problem on?
Chrome
Screenshots or Videos
No response
Additional context
No response

Conform is only calling event.preventDefault() for you when validation failed so it's up to the Form component to decide what happened when the submit event is not default prevented.

When submitting this fetcher, it causes the browser to navigate to /some/route

Keep in mind this is true only if you are running with JS. When you submit a form before JS loaded, it will still be a navigation due to how browser works with the form element. Also, if you redirect in the action, it will still cause a navigation.
I will suggest you to remove the {...getFormProps(form)} to verify the behaviour.

Got it, so is the solution to not add the {...getFormProps(form)} to the fetcher to prevent this behavior? I just assumed we wanted those props on all of our forms.

No. I am just suggesting this is very likely a Remix behaviour and you will observe the same behaviour even without {...getFormProps(form)}

So just to clear things up and to just let you know what I am seeing

When I submit the fetcher with {...getFormProps(form)} it redirects me to /some/route
When I submit the fetcher without {...getFormProps(form)} it does NOT redirect me to  /some/route

It will be great if you can create a repo with the issue you had. You can use the example here: https://stackblitz.com/github/edmundhung/conform/tree/main/examples/remix?file=app%2Froutes%2Flogin-fetcher.tsx
Conform does nothing in addition to event.preventDefault(), so I have no idea how it could impact the remix behaviour at the moment. A repo will help me understand it better. Thanks!

This is the best I was able to repro. In this repro case it only breaks when I do add the onSubmit however on my app it even breaks when I add {...getFormProps(form)}.
https://stackblitz.com/edit/github-kv6hgp?file=app%2Froutes%2Flogin-fetcher.tsx
Click With Fetcher link and then click the SUBMIT WITH ACTION button under the login button.

The issue your repo has is caused by missing form id. It will work correctly if you add the form id like this:
<fetcherWithAction.Form
      method="POST"
      action="/some-action"
      id={formWithAction.id}
      onSubmit={formWithAction.onSubmit}
/>

This is probably not the exact issue you had as the getFormProps() helper will always return an id. But there might be an error thrown in the submit handler that cause Remix falling back to full page reload. Maybe try wrapping the onSubmit handler in a try-catch block and see if you notice something strange there:
<fetcherWithAction.Form
      method="POST"
      action="/some-action"
      id={formWithAction.id}
      onSubmit={event => {
        try {
          formWithAction.onSubmit(event);
        } catch (exception) {
           console.log(exception);
        }
      }}
/>

You can also wrap the onValidate option in a try-catch block and see if it throws an exception. I have heard people having issue because the zod schema is not available in the client bundle so client validation failed 😅

Oh interesting, my issue is caused by this: https://github.com/edmundhung/conform/issues/375
This is the exception being thrown from the onSubmit:
Error: The submit event is dispatched by form#:Rd6l36H7: instead of form#:R39l8pH7:

I also see this error in my console when i reload the page:
Prop `id` did not match. Server: ":Rd6l36H7:" Client: ":R39l8pH7:"

The fixes in https://github.com/edmundhung/conform/issues/375 haven't worked for me. I am on remix v2.6 and conform v1.0.1.
But its interesting that the repro case isn't haven this issue. Must be something wrong with my app, but I haven't been able to narrow down why its happening.

Ok so I have an app that uses MUI and the set up is very similiar to this in the entry.client and entry.server files. I have a mismatch there which is causing issuing with the form IDs when using conform.
Seems like this is a me issue that I'll need to figure out. Going to close.

In case you have trouble fixing the mismatch in a short time, you can consider hard-coding the id of the form, e.g.
const [form, fields] = useForm({
  id: 'example',
});

Just be aware that the id has to be unique if you might render the multiple forms at the same time. And this issues will looks exists on other non fetcher form but just looks working due to how resilient Remix + Conform is 😅

repo: edmundhung/conform


text:
Add Badge notification number functionnality on app icon iOS and Android

Feature Request
Feature description:
Hello,
Can you add Badge Notification functionnality ? Same that : https://github.com/alexrainman/Badge
Problem, Alex Rainman plugin not have compatibility with Huawey phone and I think it's more logic if this functionnality is add on your plugin.
Thanks

I think this feature is very useful, Xamarin.Badge is also support it.

authors: Moltroon soroshsabz

repo: edsnider/localnotificationsplugin


text:
Exception Unhandled System.TypeLoadException

Plugin Version: 3.0.1
Platform : Android v25
When I display a local notification immediately I receive this error:
Unhandled Exception:
System.TypeLoadException: Could not resolve type with token 01000015 from typeref (expected class 'Android.App.NotificationChannel' in assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065')
Is just a method triggered by a button:
private void immediatelyNotification_Clicked(object sender, EventArgs e) {   CrossLocalNotifications.Current.Show("title", "body"); }

Hello raul
Did you call CrossLocalNotifications.Current beforehand?


text:
🛑 Portal-GOV is down

In 067b09a, Portal-GOV (https://www.mendoza.gov.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portal-GOV is back up in 71436fe.

repo: edu-red/DGE-GOV


text:
LEMBRETE: Adicionar tópico "edicao5" tanto neste repositório quanto no de backend

O Guilherme enviou no canal de comunicados que além de um tópico voltado ao Programa de Formação, os repositórios deveriam ter também o tópico que identificasse a edição do projeto. Enviando esse aviso aqui caso eu me esqueça de comentar na nossa daily mais tarde

Já adicionei.


text:
Add option to change default TimerPickerDialog entry mode in DateTimeField and TimeField

The TimePickerDialog have the following property: initialEntryMode
This property accepts two values that come from an enum named TimePickerEntryMode
DateTimeField and TimeField should expose this property so users can select what type of dialog they want
TimePickerDialog(
  initialTime: TimeOfDay.now(),
  initialEntryMode: TimePickerEntryMode.input,
),

Creating new attributes for the classes.
TimeField
TimePickerEntryMode initialEntryMode = TimePickerEntryMode.dial,

DateField
DatePickerEntryMode initialEntryMode = DatePickerEntryMode.calendar;
DatePickerMode initialDatePickerMode = DatePickerMode.day;

DateTimeField
DatePickerEntryMode initialDateEntryMode = DatePickerEntryMode.calendar;
DatePickerMode initialDatePickerMode = DatePickerMode.day;
TimePickerEntryMode initialTimeEntryMode = TimePickerEntryMode.dial;

It'll be available in the next version.

Done #55

authors: Alvarocda edufolly


text:
Container status "Restarting", can't even enter container command line

I have doker-ce and docker-compose installed:
apt-get install docker-ce
apt-get install docker-compose

I have set up 2 and 3:
copy your cert in certs/cert.pem and certs/privkey.pem
configure your app side configs e.g. Set TURN server and credential in configs/app/config.js

I didn't find any settings in configs/server/config.js to setup 4. So did nothing.
Next, after ./run.sh I get:
0ab1ceb0d9b0        misi/mm:latest      "/docker-entrypoint.…"   16 seconds ago      Restarting (1) Less than a second ago                       mm

Made it work with
docker-compose up --detach
instead of run.sh
Don't forget to update your docker compose to support version: "3.3".

It is keep restarting, how to open web app ?

authors: JagdishTech createwebinar

repo: edumeet/edumeet-docker


text:
Show message if Google or Facebook account is not linked and user is trying to login

@aleffert @nasthagiri Please review.

With that change, looks good to me.

@aleffert Please review these changes though I have merged. Kindly let me know if I need to make some more changes.
cc @shahidtamboli @nasthagiri

Looks good.

authors: aleffert rohan-dhamal-clarice

repo: edx/edx-app-android


text:
Preserve "+" characters in course_id parameter

Temporary fix for https://openedx.atlassian.net/browse/MA-1901

@BenjiLee ?

:+1:

Should we add some sort of unit test for this?

Should we add some sort of unit test for this?

Sure why not

@BenjiLee Regression test added (needed some refactoring)
I also cleaned up a couple nearby tests that were pretty terrible.

@nasthagiri Where do course info links appear? (edxapp://course_info). Do they also have plus signs? Might need the workaround for those as well.

The course_info links should not have plus signs (at the moment) - since they are meant to be human-readable course names.  @cpennington may know more about how they may change in the near future.

Yup, I just tested the course info links, they are fine.

@BenjiLee Do you approve?

Otherwise :+1:

authors: BenjiLee bguertin nasthagiri


text:
No Such File or Directory

Hey!
When my app auto-reloads, I get this error:
ENOENT: no such file or directory, stat '/home/nahtnam/Desktop/counter-strike/tmp/broccoli_merge_trees-input_base_path-P3j7pDdG.tmp/1/counter-strike/templates/components/code-snippet.hbs'

I have to manually go and restart ctrl+c + ember server to get it to work again.
Any fix?
Thanks.

is there a full stacktrace?

Here is all the information I can find.
From the browser:
Error: ENOENT: no such file or directory, stat '/home/nahtnam/Desktop/counter-strike/tmp/broccoli_merge_trees-input_base_path-Rqon9ICX.tmp/1/counter-strike/templates/components/code-snippet.hbs'
    at Error (native)
    at Object.fs.statSync (fs.js:849:18)
    at checkIsDirectory (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:149:17)
    at mergeRelativePath (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:81:27)
    at mergeRelativePath (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:128:15)
    at mergeRelativePath (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:128:15)
    at mergeRelativePath (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:128:15)
    at BroccoliMergeTrees.build (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:26:3)
    at /home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/node_modules/broccoli-plugin/read_compat.js:61:34
    at lib$rsvp$$internal$$tryCatch (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:493:16)

From console:
file changed controllers/settings.js
ENOENT: no such file or directory, stat '/home/nahtnam/Desktop/counter-strike/tmp/broccoli_merge_trees-input_base_path-Rqon9ICX.tmp/1/counter-strike/templates/components/code-snippet.hbs'
Error: ENOENT: no such file or directory, stat '/home/nahtnam/Desktop/counter-strike/tmp/broccoli_merge_trees-input_base_path-Rqon9ICX.tmp/1/counter-strike/templates/components/code-snippet.hbs'
    at Error (native)
    at Object.fs.statSync (fs.js:849:18)
    at checkIsDirectory (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:149:17)
    at mergeRelativePath (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:81:27)
    at mergeRelativePath (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:128:15)
    at mergeRelativePath (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:128:15)
    at mergeRelativePath (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:128:15)
    at BroccoliMergeTrees.build (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:26:3)
    at /home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/node_modules/broccoli-plugin/read_compat.js:61:34
    at lib$rsvp$$internal$$tryCatch (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:493:16)
ENOENT: no such file or directory, stat '/home/nahtnam/Desktop/counter-strike/tmp/broccoli_merge_trees-input_base_path-Rqon9ICX.tmp/1/counter-strike/templates/components/code-snippet.hbs'
Error: ENOENT: no such file or directory, stat '/home/nahtnam/Desktop/counter-strike/tmp/broccoli_merge_trees-input_base_path-Rqon9ICX.tmp/1/counter-strike/templates/components/code-snippet.hbs'
    at Error (native)
    at Object.fs.statSync (fs.js:849:18)
    at checkIsDirectory (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:149:17)
    at mergeRelativePath (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:81:27)
    at mergeRelativePath (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:128:15)
    at mergeRelativePath (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:128:15)
    at mergeRelativePath (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:128:15)
    at BroccoliMergeTrees.build (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:26:3)
    at /home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/broccoli-merge-trees/node_modules/broccoli-plugin/read_compat.js:61:34
    at lib$rsvp$$internal$$tryCatch (/home/nahtnam/Desktop/counter-strike/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:493:16)

May be a dup of #10?
Does 1.1.1 (which uses a newer broccoli-merge-trees) still show the bug?

Often explosions like this in merge trees can be the result of something upstream mutating inputPaths. Not always, but I've noticed it afew times recently. Leaking and polluting inputTrees may be worth investigating

Looks like upgrading to 1.1.1 from 1.1.0 fixed it!
Thanks.

authors: ef4 nahtnam stefanpenner


text:
🛑 UTT Nodo Morón is down

In 6e31546, UTT Nodo Morón (https://www.uttnodomoron.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UTT Nodo Morón is back up in 1e52682 after 7 minutes.

repo: efecear/upptime


text:
🛑 UTT Nodo Morón is down

In d76e1e3, UTT Nodo Morón (https://www.uttnodomoron.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UTT Nodo Morón is back up in 0525cc4 after 1 hour, 9 minutes.


text:
🛑 Almacenata is down

In 48ac02c, Almacenata (https://www.almacenata.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Almacenata is back up in c6c5b08 after 3 minutes.


text:
🛑 Nodo UTT Morón is down

In 548450c, Nodo UTT Morón (https://www.nodouttmoron.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nodo UTT Morón is back up in 6cb3890.


text:
🛑 Almacén BioPandora is down

In 8c49eab, Almacén BioPandora (https://www.biopandora.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Almacén BioPandora is back up in 6b5ccca.


text:
Any Love for Users with Darker Themed Chrome?

Could probably go for a more agnostic? look with lighter purple or a sticker look with a white back and thick border.

Yes, I want this too! We'll find a workaround :)

Fixed by #66 – release forthcoming.

authors: briangonzalez iKlsR

repo: eggplanetio/tidytab


text:
製本

mkbook <series dir>で全部まとめたPDFとか

先頭にタイトルと話(xxx話~yyy話)と総ページ
話ごとの先頭に話のページ
ページ番号

reportlabよさそう、フォントはどうするか
https://github.com/fontworks-fonts/Rampart
これをパッケージデータとして持つとか

sharpみたいなのがPythonにもほしい

mkbook

repo: eggplants/getjump


text:
getOccupiedByteSize() is not working when Heap entries is mentioned in ResourcePoolsBuilder

Using ehcache 3.10
StatisticsService statisticsService = new DefaultStatisticsService();

CacheManager cacheManager = CacheManagerBuilder.newCacheManagerBuilder()
				.using(statisticsService)
				.build(true);

CacheConfiguration config = CacheConfigurationBuilder.newCacheConfigurationBuilder(String.class, String.class,
		ResourcePoolsBuilder.newResourcePoolsBuilder().heap(10)).build();  // heap 10 entries
Cache<String, String> cache = cacheManager.createCache("preConfigured",config);
cache.put("key1", "value1");
cache.put("key2", "value2");
cache.put("key3", "value3");

long currentMemory = statisticsService.getCacheStatistics("preConfigured").getTierStatistics().get("OnHeap").getOccupiedByteSize();
System.out.println(currentMemory);  // -1 is printed

when ResourcePoolsBuilder is changed to use memory size it works fine.

Heap tiers that are entry sized do not track their byte sizes by design since the sizing operations that would be needed carry significant overhead.


text:
Upgrade tc-platform to 5.8.0-pre5

This update brings the switch to runnel for the dynamic topology entity.
Note: model is still annotated with jackson annotations, which will create some warnings and fail when compiling with -Werror.
There is a WIP PR in tc-platform (https://github.com/Terracotta-OSS/terracotta-platform/pull/716) that is removing all annotations from the model classes and moves them to jackson mixins. This PR will be ready tomorrow I hope but it might be to late for the XPC, that is why we can use the 5.8.0-pre5 release at the moment.

All tests passed - UI isn't refreshed. Merging. Will not release a new version immediately though.

All tests passed - UI isn't refreshed. A force merge would be required.

@chrisdennis @akomakom : pelase ^^

authors: mathieucarbou saurabhagas


text:
chore(release): v0.8.1 🎉

:robot: I have created a release *beep* *boop*
0.8.1 (2022-11-23)
Bug Fixes

hooks: trigger onset hook from extended invalidate and update methods (e9f4fe5)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/with-simple-caching/releases/tag/v0.8.1 :sunflower:

repo: ehmpathy/with-simple-caching


text:
Training time for QM9?

How long does it take to run the QM9 experiment, with a n_epochs=3000, and batch size =64, It seems like it will take multiple days, are any of these hyperparameters wrong?

that could be reasonable depending on hardware

Thank you for your response, how many days does it take on your device? could you share how many seconds per epoch and what GPU you use?


text:
Fixed: Called the wrong method

Changes

Describe your changes in a short and concise list.

Related issue

Reference related issues, and use one of the closing keywords, e.g. closes or fixes to link the corresponding issue, if any.

Additional information

Provide additional information for this change, if needed.

Pre-Merge checklist

[ ] New code is tested
[ ] Present and new tests pass
[ ] Documentation is updated
[ ] The build is working without errors
[ ] No new Sonar issues introduced
[ ] Changelog is updated
[ ] Code has been reviewed

included in https://github.com/ehrbase/ehrbase/pull/1188

repo: ehrbase/ehrbase


text:
Increment failed checks at least once

Currently, a failure is only recorded if a monitor transitions from operational to not in a given day. If the monitor is non-operational at the start of the day, or remains non-operational for a full day, the failure will not be recorded.

For example, this monitor became non-operational 9 days ago and has been unavailable since:

The fix makes sure each day reports at least 1 failure.

@cmbuckley this looks great, thank you!

authors: cmbuckley eidam

repo: eidam/cf-workers-status-page


text:
A way to properly change the strenght of X-ray radiation

Hello,
I was wondering how could I change the X-ray radiation dose when generating the virtual X-ray images. I see there is a "bone_attenuation_multiplier" variable, but this seem kind of specific to the input data and does not seem to work with the attached chest dataset if I want to increase the dose, such the only the bones would be visible.
I think the proper way to set the X-ray power would be, instead of changing the CT intensity values, to add scaling to the natural exponential in Beer-Lambert law of attenuation. This worked in my case when I was projecting virtual X-ray from volumetric tetrahedral meshes. Take a look at ehlke2013 By doing so, we are also not bound to the intensity values of the CT [-2000 ... 4000+?].
Furthermore, by looking at your code, it seems to me that the DRR is only dependent on the ray length and its weight? From what I understand, there should be a final post-processing step that takes the contribution of each pixel and takes the exp(-a*x) of the contributions, similar as in ehlke2013 .
Let me know what you think and if this would be possible to implement.
Best regards,
Marko Leskovar

Hi @MarkoLeskovar, this is a good idea and something easy to implement.
In DiffDRR, for each ray cast, we model the amount of energy absorbed by the volume, not the attenuated energy of the ray as you're suggesting. That is, the integral we compute is

where

r is the X-ray beam from the source s to the pixel p
I_0 is the initial energy of the ray (I think this is equivalent the dose?), which is implicitly set to 1 in DiffDRR since we don't model it

Does subtracting log I_0 produce the image you expect for your desired dose?

HI @MarkoLeskovar, been digging more into the literature based on your question. It appears the CT Hounsfield units -> LAC density conversion depends on the radiation dose (this paper was particularly illustrative).
Going to try and implement a dose-dependent conversion for DiffDRR v0.4.0.

authors: MarkoLeskovar eigenvivek

repo: eigenvivek/DiffDRR


text:
New Actor interface

Guys how the PR for improvements has been long in the past so I'm bringing parts of it in "smaller" and easier to read PRs. I'm going to ask you to review it as soon as possible because I want to get on with it soon.
Note: This will break the SDKs. Being that the only one that I kept compatibility for now was the Elixir itself.

This will also break internal test factories, we can work in a different PR to solve this

authors: eliasdarruda sleipnir

repo: eigr/spawn


text:
Numerical usage of symbolic module

🐞 Problem

As the symbolic module is well-developed by now, we can set up an infrastructure so that users can define their own metrics symbolically and use them to calculate geodesics and other stuff

🎯 Goal

Figure out, how to implement this!
Discuss!
Ultimately implement this!

💡 Possible solutions

Don't know, this is going to be some project!
lambdify_tensor() in BaseRelativityTensor is definitely gonna help.

📋  Steps to solve the problem

Comment below about what you've started working on.
Add, commit, push your changes
Submit a pull request and add this in comments - Addresses #337
Ask for a review in comments section of pull request
Celebrate your contribution to this project 🎉

Certainly, solving issue #309 would help a lot!

Sorry, this can't be done by 0.3.
It is a project in itself!

I was trying to tackle this problem but not sure if I'm understanding correctly, can't users just create a matrix and then call from einsteinpy.symbolic.metric.MetricTensor on it with a coordinate basis to create their own metric?

Won't sympy make everything slower? For numerical problems, this does not seem like a practical approach.

Won't sympy make everything slower? For numerical problems, this does not seem like a practical approach.

repo: einsteinpy/einsteinpy


text:
通过ssh key 连接node节点错误如下

The field 'private_key_file' has an invalid value, which includes an undefined variable. The error was: 'kuboardspray_cluster_dir' is undefined

请升级到 v1.0.0-alpha.3

authors: maomaoaichirou shaohq

repo: eip-work/kuboard-spray


text:
PostgreSQL使用jsonb查询，会把::jsonb变成参数

sql字段是下面这个样子
t2.task_item_subjoin::jsonb->> 'pointName'
但我在bean里面这样定义，会给转成 t2.task_item_subjoin ?->> 'pointName'

下个版本 在参数解析是 将会忽略 连续的冒号，并添加字符转义功能。
当前版可以通过以下方法临时解决：
1、修改 Bean Searcher 的默认参数前缀，比如将它修改为 $：
@Bean
public SnippetResolver mySnippetResolver() {
    DefaultSnippetResolver resolver = new DefaultSnippetResolver();
    resolver.setParamPrefix("$");
    return resolver;
}

2、重写 DefaultSnippetResolver，忽略连续的冒冒号：
public SnippetResolver mySnippetResolver() {
    return new DefaultSnippetResolver() {
        @Override
        public SqlSnippet resolve(String fragment) {
            SqlSnippet snippet = super.resolve(fragment.replace("::", "__"));
            snippet.setSql(snippet.getSql().replace("__", "::"));
            return snippet;
        }
    };
};
}

已解决，感谢

下个版本 在参数解析时 将会忽略 连续的冒号，并添加字符转义功能。
当前版本有两种临时解决方法：
方法一
重写 ，忽略连续的冒号：DefaultSnippetResolver
@Bean
public SnippetResolver mySnippetResolver() {
    return new DefaultSnippetResolver() {
        @Override
        public SqlSnippet resolve(String fragment) {
            SqlSnippet snippet = super.resolve(fragment.replace("::", "__"));
            snippet.setSql(snippet.getSql().replace("__", "::"));
            return snippet;
        }
    };
}

方法二
重新定义 Bean Searcher 的嵌入参数前缀，比如将它修改为 ：$
@Bean
public SnippetResolver mySnippetResolver() {
    DefaultSnippetResolver resolver = new DefaultSnippetResolver();
    resolver.setParamPrefix("$");
    return resolver;
}

如果项目中已经有用嵌入参数，使用这种方法需要 修改以前的实体类，要把嵌入参数的 修改为:``$

版本 v3.6.0 已添加转义语义：https://github.com/ejlchina/bean-searcher/releases/tag/v3.6.0
文档：https://searcher.ejlchina.com/guide/latest/bean.html#前缀符转义（since-v3-6-0）

repo: ejlchina/bean-searcher


text:
Improvements to language model support

Removes HookedModel and replaces it with a simpler approach based on pytorch forward hooks. The advantage is that we can directly use Huggingface or any other models with very little wrapper code.
Adds an activation cache for ActivationBasedDetector, which makes it very easy to run multiple different detectors without constantly re-running the model. (Gathering the activations is by far the most expensive part of e.g. training a Mahalanobis detector for LLMs.)
Adds another demo notebook for quirky language model experiments. I might replace or update this though.

Tests are probably broken for now because I got rid of HookedModel, I'm guessing this will require a few minor fixes.

All tests work now except those related to abstractions. I started trying to fix the abstraction tests but there are a ton of places where we have to change names, and I think we probably want to rework how abstractions are done anyway (get rid of the "default abstraction" thing). Maybe I'll just rework abstractions in this PR, not sure yet.

Cleaned up some of the code, in particular the quirky LM task and required models/dataset is now defined in the main code based instead of just notebooks.

[ ] Use that new definition in the demo notebook
[ ] Replace the file paths for models with Huggingface names (after uploading them)
[ ] Train new models on the customized datasets and get rid of the special case in quirky_lm (right now, the non-mixture models are trained on the original EleutherAI dataset with less data)

repo: ejnnr/cupbearer


text:
Formula Name Conflict Between Two Projects

Hello maintainers,
I wanted to bring to your attention that there's a naming conflict for the formula between these two projects:

getcord/spr
ejoffe/spr

I use both of these projects and have experienced conflicts when attempting to install them together. I understand that naming can be tricky, but it would be greatly appreciated if one of the projects could consider renaming their formula to avoid this issue. This would greatly enhance the user experience for those of us utilizing both tools.

Thank you for your understanding and consideration. I really appreciate the hard work you've put into developing these tools.
Best regards,
Related: https://github.com/getcord/spr/issues/177

This is indeed very unfortunate.
In fact, it used to be that brew install spr would just work for installing this package, but then getcord overwrote it and hence you now need to use the full path for this package with brew install ejoffe/tap/spr.
As the older repo and tool, I have no plans to change the name of the tool or the tap at this point of time.

@ejoffe while I agree with your perspective; getcord/spr has been introduced into the core homebrew repository as such the onus likely falls to you unfortunately.

no current plans to rename the tool. closing this issue.

FYI: https://github.com/orgs/Homebrew/discussions/4782#discussioncomment-10115587

authors: davinkevin ejoffe kud maverick1872

repo: ejoffe/spr


text:
Low-frequency Variant not called in Tumor-Only

I stumbled across a possible issue with freebayes (v1.1.0-44-gd784cf8) when using it on tumor-only targeted sequencing data. The variant (w/ frequency of ~5%) is detected and not filtered but the site is called as homozygous reference despite using the options --pooled-continuous, --pooled-discrete, --min-alternate-fraction 0.01, and --allele-balance-priors-off.
$ freebayes/bin/freebayes -d -f hg19.fa --pooled-continuous --pooled-discrete --min-alternate-fraction 0.01 --allele-balance-priors-off test.bam
found genotype alleles
filtering genotype alleles which are not supported by at least 2 observations comprising at least 0.01000 of the observations in a single individual
genotype allele: reference:1M:41231515:1:C qsum 371926
reference:1M:41231515:1:C has support of 9903 in individual 4759 (10447 obs) and fraction 0.94793
genotype allele: snp:1X:41231515:1:A qsum 55
genotype allele: snp:1X:41231515:1:G qsum 78
genotype allele: snp:1X:41231515:1:T qsum 20704
snp:1X:41231515:1:T has support of 540 in individual 4759 (10447 obs) and fraction 0.05169
filtered genotype alleles
adding allele to result alleles C
adding allele to result alleles S:41231515:1X:T
built haplotype alleles, now there are 2 genotype alleles
reference:1M:41231515:1:C|snp:1X:41231515:1:T
genotype alleles: reference:1M:41231515:1:C|snp:1X:41231515:1:T
searching genotype space
best combo: combo posterior prob: 0.00000
{"4759":["C/C",0.00000]}
chr17	41231516	.	C	T	2.90841e-12	.	AB=0;ABP=0;AC=0;AF=0;AN=2;AO=540;CIGAR=1X;DP=10447;DPB=10447;DPRA=0;EPP=108.544;EPPR=1830.61;GTI=0;LEN=1;MEANALT=3;MQM=60;MQMR=60;NS=1;NUMALT=1;ODDS=3386.34;PAIRED=1;PAIREDR=0.999192;PAO=0;PQA=0;PQR=0;PRO=0;QA=20704;QR=371926;RO=9903;RPL=540;RPP=1175.61;RPPR=21498.4;RPR=0;RUN=1;SAF=189;SAP=108.544;SAR=351;SRF=3507;SRP=1833.14;SRR=6396;TYPE=snp;technology.illumina=1	GT:DP:AD:RO:QR:AO:QA:GL	0/0:10447:9903,540:9903:371926:540:20704:0,-1281.79,-31587.3

This is the output when enabling the debug (-d) option which hints that the homozygous reference genotype is selected in the best-combo step. I have also tried to add the options --genotype-qualities, --report-genotype-likelihood-max, --no-population-priors, --hwe-priors-off, and --binomial-obs-priors-off, but without success.
I am wondering whether it is not possible to call variants with frequency below 10% since this seems to be the boundary below which I do not see any variants in any somatic dataset. I know that it is generally more sensible to do tumor/normal calling in such a case but I simply do not have normal/germline data.

Hi, I faced a similar problem. In my case (freebayes v1.0.2-16-gd466dde), just enabling --allele-balance-priors-off resolved the problem (also, the variant was not detected before).

authors: christianbioinf pmoulos

repo: ekg/freebayes


text:
Test coverage

See if i can get c8 to do what I need.
https://github.com/bcoe/c8/
Should also start unit-testing UMD-scripts.

What I need is for this to be green:
https://img.shields.io/nycrc/eklem/batr-example

Not going to happen for now.

repo: eklem/batr


text:
All Ava-tests in the browser too?

I'm not sure if it's needed for me now. But since the browser and NodeJS are two different JavaScript environments. I'm sure there are different cases where they don't behave equally and it would be good to figure out if that affects you early on.
So, could be good to make all Tape tests for NodeJS to run in similar fashion in the Browser. Maybe all that is needed is a build-step of the tape-tests.js and then trigger it from package.json?

Create an HTML page with link to the browser-version of the script we're testing. Have an in-page script triggering the script that has been built.


text:
Higher level function: Go through search result, calculate distance to point, sort and cutoff either on distance or number of results.

function input:

array of objects (search results)
POI / your position
dot-notation to longitude for the objects
dot-notation to latitude for the objects
dot-notation for each object to what will be distance to POI
type of cutoff: distance/number of results
max-distance for results/max-number of results

How to feed dot-notation into a function and use it within that function.

Output:

array of objects (search results) with distance to POI, cutoff on distance/number
map view coordinates to fit the search results and POI

repo: eklem/geo-search-helper


text:
Reduce false positives from functions without signatures

Should fix #54. The fix's as suggested in the issue: if there's no = then don't produce anything.

Thanks for the fix! I was going to get worried about styles like f x\n  = xyz, but it looks like this has already been unwrapped by indentation, so it's not that brittle.

authors: elaforge sergv

repo: elaforge/fast-tags