error when export to a onnx model

Hello CSAILVision team,
Thanks for sharing this work.
I trained a model with 'resnet18dilated' and 'ppm_deepsup'.
Trying to export this model to a onnx model and get errors (I can export a normal ResNet50 to a onnx model normally).
The PSPNet contains your source files: lib folder, models.py and resnet.py
I can train the net successfully.
Please check the code for producing the error:
from PSPNet import ModelBuilder, SegmentationModule
builder = ModelBuilder()
net_encoder = builder.build_encoder(arch='resnet18dilated', fc_dim=512, weights='')
net_decoder = builder.build_decoder(arch='ppm_deepsup',fc_dim=512, num_class=150, weights='', use_softmax=False)
crit = nn.NLLLoss(ignore_index=-1)
model = SegmentationModule(net_encoder, net_decoder, crit)
dummy_input = torch.randn(1, 3, 640, 640, device='cuda')
model = model.cuda()
state_dict = torch.load('./weights/PSP_scratch.pth')
model.load_state_dict(state_dict)
input_names = [ "input" ]
output_names = [ "output" ]
torch.onnx.export(model, dummy_input, "model.onnx", verbose=True, input_names=input_names, output_names=output_names)
Many thanks
the errors:
File "transform_to_onnx.py", line 53, in
torch.onnx.export(model, dummy_input, "model.onnx", verbose=True, input_names=input_names, output_names=output_names)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/init.py", line 27, in export
return utils.export(*args, **kwargs)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/utils.py", line 104, in export
operator_export_type=operator_export_type)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/utils.py", line 281, in _export
example_outputs, propagate)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/utils.py", line 227, in _model_to_graph
graph = _optimize_graph(graph, operator_export_type)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/utils.py", line 155, in _optimize_graph
graph = torch._C._jit_pass_onnx(graph, operator_export_type)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/init.py", line 52, in _run_symbolic_function
return utils._run_symbolic_function(*args, **kwargs)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/utils.py", line 504, in _run_symbolic_function
return fn(g, *inputs, **attrs)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/symbolic.py", line 88, in wrapper
args = [_parse_arg(arg, arg_desc) for arg, arg_desc in zip(args, arg_descriptors)]
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/symbolic.py", line 45, in _parse_arg
raise RuntimeError("ONNX symbolic expected a constant value in the trace")
RuntimeError: ONNX symbolic expected a constant value in the trace
(py27) yanglin@yanglin-pc:/media/yanglin/Lindisk/Robosense/git_projects/mjj2/sti_predict/src/cnn_detection/python/pixel_based/apollo_fcn_box$ python transform_to_onnx.py
Traceback (most recent call last):
File "transform_to_onnx.py", line 53, in
torch.onnx.export(model, dummy_input, "model.onnx", verbose=True, input_names=input_names, output_names=output_names)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/init.py", line 27, in export
return utils.export(*args, **kwargs)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/utils.py", line 104, in export
operator_export_type=operator_export_type)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/utils.py", line 281, in _export
example_outputs, propagate)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/utils.py", line 227, in _model_to_graph
graph = _optimize_graph(graph, operator_export_type)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/utils.py", line 155, in _optimize_graph
graph = torch._C._jit_pass_onnx(graph, operator_export_type)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/init.py", line 52, in _run_symbolic_function
return utils._run_symbolic_function(*args, **kwargs)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/utils.py", line 504, in _run_symbolic_function
return fn(g, *inputs, **attrs)
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/symbolic.py", line 88, in wrapper
args = [_parse_arg(arg, arg_desc) for arg, arg_desc in zip(args, arg_descriptors)]
File "/home/yanglin/anaconda3/envs/py27/lib/python2.7/site-packages/torch/onnx/symbolic.py", line 45, in _parse_arg
raise RuntimeError("ONNX symbolic expected a constant value in the trace")
RuntimeError: ONNX symbolic expected a constant value in the trace

how to export decoder onnx

RuntimeError: Expected 4-dimensional input for 4-dimensional weight [128, 512, 3, 3], but got 3-dimensional input of size [512, 63, 63] instead

Have you solved this problems? And there are two models including encoder and decoder, how can you connect this two model when exporting?

anyone solve it? please help my qq is 531232693

also want to export it to onnx ,but got no idea.
any help?

also want to export it to onnx ,but got no idea.
any help?

how to convert to onnx ? getting issue ONNX export of operator adaptive_avg_pool2d, output size that are not factor of input size.
please help


Must the last layer of mxnet model be output layers like Softmax, LinearRegression, etc?

Must the last layer of mxnet model be output layers like Softmax, LinearRegression, etc? I want to create a model where the output layer is actually a group of the outputs of convolution layers, however I bump into the problem of my data label not matching:
Symbol.InferShapeKeyword argument name heatmap not found.
After my research on the issues that other posted, it seems that the name of the output layer should match the name of my output layer. However, Group layer does not have a name. My group layer consists of [c1, c2,..,c8] where each of the c's are output of a convolution layer, hence they are images.
All the examples on mxnet seems to have output layers defined in mxnet like Softmax and LinearRegression as the last layer.
Is Group as the last layer not supported?
For reference, the following is my code:
def createModel(nStack, nModules):
    inp = mx.symbol.Variable('data')

    cnv1_ = mx.symbol.Convolution(inp, num_filter = 64, kernel = (7, 7), stride = (2, 2), pad = (3, 3))
    cnv1 = mx.symbol.Activation(mx.symbol.BatchNorm(data = cnv1_), act_type = 'relu')
    r1 = residual(cnv1, 128, dim_match = False)
    pool = mx.symbol.Pooling(r1, kernel = (2, 2), stride = (2, 2), pool_type = 'max')
    r4 = residual(pool, 128, dim_match = True)
    r5 = residual(r4, 256, dim_match = False)

    inter = r5
    out = []

    for i in xrange(nStack):
        hg = hourglass(inter, 4, 256, nModules)
        for i in xrange(nModules):
            ll = residual(hg, 256, dim_match = True)
        ll = _conv_bn_relu(ll, num_filter = 256)
        tmpOut = mx.symbol.Convolution(ll, num_filter = 16, kernel = (1, 1), stride = (1, 1))
        out.append(tmpOut)

        if i < nStack:
            ll_ = mx.symbol.Convolution(ll, num_filter = 256, kernel = (1, 1), stride = (1, 1))
            tmpOut_ = mx.symbol.Convolution(tmpOut, num_filter = 256, kernel = (1, 1), stride = (1, 1))
            inter = inter + ll_ + tmpOut_

    group = mx.symbol.Group(out)

    return group

output doesn't have to match anything. However if it's not loss layer you need to provide head gradient for backprop
if your input has a symbol called heatmap your data iterator must output that

Can you reference me to an example where head gradient for backprop is provided? I can't seem to find an example.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


World cutting off and not generating anymore.

Hi I cant find anyone else with this issue that has my circumstances so I figured I'd attempt posting it here.
When I run a new world with Terraforged selected and installed(singleplayer), a big square generates with the terraforge generation but around it, nothing else generates. The world cuts off and no more chunks load in.
I've also for fun tried to upload worlds generated with terraforged from singleplayer into my realm, and that creates the same square, however this time normal vanilla minecraft generation generates around the square.
Java Edition, Minecraft Launcher
1.15.2
Forge 1.15.2
Terraforged 1.15.2
Other Mods I use:
Optiforge 1.15.2
Optifine 1.15.2
Ambient Sounds 1.15.2
Xaero's minimap 1.15.2

SEUS Renewed shaders.

I've Increased render distance, Tried different performance settings, made many different worlds in singleplayer but the same thing happens every time.
I have NOT uninstalled and reinstalled the mod using the same world, and I've tried reloading chunks with F3+A, and lastly I've created a world, and sat down and waited for hours for it to finish rendering but it never does.

I apologise if this has already been reported but I've been looking for a solution for weeks and I have not yet found anyone who has had the same situation.

As realms can't use forge, any chunks which haven't been generated before uploading to your realm will default back to vanilla generation.
As with the chunk loading, I believe it's just an issue with Optifine not being fully complete so the only thing you can really do is wait for a proper release and make sure you are using the latest version of Optifing 1.15.2 (I believe it's pre8).

Yeah I've found that Optifine doesn't work with Forge unless you reduce the render distance to a Vanilla value (ie 1-32) before loading the world.
If you can recreate without Optifine installed then feel free to report here .


Correlation: update api

See https://github.com/VEuPathDB/EdaDataService/pull/343 for changes headed our way!

We will return the thresholds used when filtering out the edges
strokeWidth will become linkWeight.

strokeWidth -> weight. 'link' feels redundant in context.


added asin

hi,
i think asin can be useful for other type of scraping, so i added it.

Pull Request Test Coverage Report for Build 161

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 91.558%

Totals

Change from base Build 43:
0.2%

Covered Lines:
141

Relevant Lines:
154

💛  - Coveralls

Thank you @abioneperhobby


Scroll to Top after going next or back

Hi,
When user click on next or back, i want to scroll page to top of the form, how can I do it?

Instead of using wz-next on your step button make a custom function and add your scroll to top logic before calling wz-next. e.g.
<wz-step wz-title="More steps">

Even more steps!!

        <input type="submit" ng-click="myCustomNext()" />
</wz-step>

$scope.myCustomNext = function() {
  window.scrollTo(0, 0);
  WizardHandler.wizard().next();
};


Approximation for other input range

There is another concern. To translate x in float point to fix point format, we need to left shift or right shift the least 16 bits of the input src1_i to get the real s_X2. If we use the above-mentioned maple program to approximate other functions not in [1,2) domain, we need to left shift s_in_mantiza[15:0] to get the s_X2 if src1_i is less than one and we need to right shift s_in_mantiza[15:0] to get the s_X2 if src1_i is greater than or equal to two.
There are some experimental results to prove this. For src1_i less than one, the error is super huge if don't left shift the least 16 bits. After doing the left shift, the error is roughly 1ulp.
For src1_i in [2,4), as s_X2 is 17bits in total, so it will not overflow after 1bit right shift and the error is low. But for src1_i in [2,4), right shift 2bit will cause 1bit overflow, increasing the error to several thousands of ulp.
I have checked the fused_accum_tree and found that simply changing the highest bit of X2_adj to the highest bit of s_X2 after right shift doesn't work. Could you please provide more advice on how to extend the adder to support the larger input domain of the approximation circuit? Or is it possible to reduce the input range to [1,2) for any functions?
Thanks in advance!

This problem can be solved by modifying the maple program.
PS. The left and right shifts mentioned above are used wrong. They should be reversed!


[Need] Workflow for gssoc21 auto label

Feature request:
I want to add workflow which automatically adds GSSOC21 label to new issues if they have  labels-synonyms: '{"GSSOC21":["GSSOC","GSSOC21","gssoc","Gssoc","GSSoC"]}'  in their issue body

Is your feature request related to a problem? Please describe. (optional):
Yes it solves gssoc label issue which every time the maintainer has to do it manually
Describe the solution you'd like:
Using github actions this problem can be solved

Note:

If you want to work on an issue, you should check if it has already been assigned to anyone.

Yeh, Assigned.

Kindly review my PR @Ayush-projects

I have check this workflow  by making new issue and its not working as expected  because you have already made an issue using the gssoc21 label instead of GSSOC21 so i have made changes in my PR , Kindly review that @Ayush-projects


import tensorflow as tf ,display "Segmentation fault" And exit python env

os: CentOS Linux release 7.0.1406 (Core)
os kernel:.10.0-123.9.3.el7.x86_64
python version:Python 2.7.5
gcc version:GCC 4.8.5 20150623
i download tensorflow-1.0.0-cp27-none-linux_x86_64.whl and install it.when i open python,input "import tensorflow as tf",display "Segmentation fault" and exit python;

i download setup file md5sum hash is :842f6e69897c4dbb583f855fb685c2e7
.download source from github description “Installation”

Could you please clarify what you mean by 'download source from github description “Installation”'?  Are you downloading using the links in the README.md on this page ?
If so, then please note that the link on that page to stable binary releases is currently down, so is it possible that you are using the links under "People who are a little more adventurous can also try our nightly binaries:" ?   These are from a live repo and so not guaranteed to be bug free!
Could you please try following the instructions on this page: https://www.tensorflow.org/install/install_linux

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Update GNU_Fortran.make

Adding compiler flags for x86_64 architecture and Linux.
Tested for building MAPL/2.22.0 using ESMA_cmake/3.12.0 on Ubuntu22.04 Linux machine with  x86_64 architecture.
This PR solves issue Issue#291

@natalie-perlin Could you move the new code until after the Intel section? I'd prefer something like this to be the last possible choice in an if-test.

Hi Matt,
Thank you for the quick response! And yes, absolutely, will move the
code block past Intel.
Cheers,
Natalie.
--
Natalie Perlin, Ph.D.
Sr. Systems Engineer
RedLine Performance Solutions, LLC
@.*** @.**>
(541) 231-2320
On Thu, Nov 17, 2022 at 8:13 AM Matthew Thompson @.***>
wrote:

@natalie-perlin https://github.com/natalie-perlin Could you move the
new code until after the Intel section? I'd prefer something like this to
be the last possible choice in an if-test.
—
Reply to this email directly, view it on GitHub
https://github.com/GEOS-ESM/ESMA_cmake/pull/292#issuecomment-1318616559,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHA63DTH4NGSQ2U7R3JMS3WIYVQZANCNFSM6AAAAAASC5IVQI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Needs an entry in the ChangeLog.md file.

Ahh. Good call. I've changed the label to be 0-diff as the "trivial" label skips the changelog. But this is a pretty substantive change!

@natalie-perlin Can you make an update to the CHANGELOG.md detailing this PR. That way it can pass our tests.

@mathomp4 - Updated the Changelog. Please let me know if any modification are needed for the log.

Doing a final check now to make sure this is good when on native Intel (as it should be).


contourf for 2d plots

Which issue(s) are closed by this pull request?
Closes #289
Changes proposed in this pull request:

add method parameter to 2d plot functions. Options are pcolormesh (default, as before), and contourf.
add tests and baseline plots
replaced cmap parameter default by adding image.cmap to the stylefiles. Note: backward compatibility is not broken, as the cmap parameter is still passed as kwarg.

I do not have a strong preferences, but slightly prefer the grid for contourf. For pcolormesh, the resolution of the data gives some kind of orientation, while it is missing for contourf somehow. What do you prefer?


Prevent logging unsafe header error

Backend that don't support TUS will also not expose TUS headers through
CORS. To prevent the uncatchable "refused to get unsafe header", this
commit adds a workaround with a preliminary check using
"getAllResponseHeaders" to find out if the header is exposed by CORS
before reading it.
Fixes https://github.com/owncloud/owncloud-sdk/issues/462

[ ] fix tests to also mock the getAllResponseHeaders call

I've fixed the tests by lower casing the "all headers" call, since the mocker from sinon did not lower case by default. It might also increase compatibility in case some browsers do not lower case by default either.


Ping/auto ping not working?

I'm using basic code to connect to a websocket and send/receive
async with websockets.connect(websocket_url) as websocket:
        async for message in websocket:
            print (message)
            await websocket.ping()

However, the connection dies because it is not being pinged. Even if I try with a ping_interval set, same results.

If the connection never receives a message, the body of the async for loop never executes.


Did we mean to remove gist:Artifact as superclass of gist:Network?

@sa-bpelakh  @uscholdm @marksem We removed this in the course of redefining gist:Network. Was this intentional? If not, it should be restored.

Never mind - I was looking at some sample code.


Documentation Request: Source Listing Page

Description
Would you consider allowing the creation of markdown page/wiki page/anything else that would have a listing of sources along with a short description to improve source discoverability (nvim-cmp topic is already kinda polluted and only relevant to gh hosted sources). Source authors could then make PRs to add their source.

That is a great idea, I think a Wiki page would be good because everyone can simply edit it without hrsh7th having to deal with too many PRs. It would also be useful to sort the sources by some categories or at least alphabetically (although I am not too sure which categories might make sense except obvious ones like "Snippet engines").

I have created a Wiki page with most of the sources that use the nvim-cmp GitHub tag. You can find it here. Edits / improvements are welcome! Although the list is not 100% complete, I think this issue can be closed for now :)


Modified minsupportedversion to OS-2.0 for metadata based on OS-3.0 changes

Signed-off-by: Sai Kumar<EMAIL_ADDRESS>Description
Modified minsupportedversion to OS-2.0 for metadata based on OS-3.0 changes
Issues Resolved
N/A
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Security tests are failing as artifacts are uploaded for 3.0 version
ould not determine the dependencies of task ':integTest'.
> Could not resolve all dependencies for configuration ':opensearchPlugin'.
   > Could not resolve org.opensearch.plugin:opensearch-security:<IP_ADDRESS>.
     Required by:
         project :
      > Could not resolve org.opensearch.plugin:opensearch-security:<IP_ADDRESS>.
         > Could not get resource 'https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/org/opensearch/plugin/opensearch-security/<IP_ADDRESS>/opensearch-security-<IP_ADDRESS>.pom'.
            > Could not GET 'https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/org/opensearch/plugin/opensearch-security/<IP_ADDRESS>/opensearch-security-<IP_ADDRESS>.pom'. Received status code [40](https://github.com/opensearch-project/cross-cluster-replication/actions/runs/3427078587/jobs/5709639027#step:4:41)3 from server: Forbidden

For BWC, we have issue open on https://github.com/opensearch-project/cross-cluster-replication/issues/620


[FLINK-33262][table-api] Extend source provider interfaces with the new parallelism provider interface

What is the purpose of the change
Extend source provider interfaces with the new parallelism provider interface. It includes all the public APi changes.
Brief change log

Extend SourceProvider with ParallelismProvider
Extend InputFormatProvider with ParallelismProvider
Introduce SOURCE_PARALLELISM option

Extension for the SourceFunctionProvider is omitted due to its deprecation.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@libenchao Could you help review it when you have time? Many thanks in advance.

@libenchao Thanks for the review. For SourceFunctionProvider, since it has already been deprecated now, I think there's no need to extend its interface, WDYT? For the other two providers involving interoperation with DataStream API,  sorry that I missed them, I'll extend them as well

@libenchao For SourceFunctionProvider, since it has already been deprecated now, I think there's no need to extend its interface, WDYT?

@X-czh I agree we can leave deprecated interfaces out. However, I think it would still be nice to do it for SourceFunctionProvider for the following reasons:

SourceFunction is still used in some third party connectors
it's trivial to support it
SinkFunctionProvider has supported it

@libenchao Got it. Thanks for the detailed clarification! I'll extend the interface for SourceFunctionProvider as well.

I've pushed two new commits:

one addresses Benchao's comments on extending SourceFunctionProvider, DataStreamScanProvider, and TransformationScanProvider as well as optimizing the current impl by removing redundant code.
the other updates the comments of ParallelismProvider to reflect the new changes brought by the FLIP.


Try to download bazel as the last resort

In some sense this pull request reverts changes suggested in #2217. That changes force to download bazel. Now resolution order of paths to bazel binary is as follows.

Use --bazel_path command line option.
Search bazel binary in PATH environment variable.
Download required bazel release.

It is worth to note that there are excessive version checks. The first is done by bazel with .bazelversion (from version 2.0.0). The second is done manually in build script. Which one is really mandatory?

@googlebot I signed it!


Implement /ignoretp

See https://discord.com/channels/895546064260718622/895547863571005451/1125395947610968125

MANNNNNNNN YOU STOLE MY SUGGESTION AND NOW YOU STOLE MY TASK OF CODING IT
😡

I changed the command label to tpi/tpignore so its more uniform with the other labels.

I would like to implement the following changes before merge:

[ ] Verify the string with the sanitizeUsername(String name) function
[ ] Only keep references to players uuid instead of the Player object
[ ] Persisting ignores to disk (file with maximum number of entries per player)

How about
Syncing ignores from /ignore with tpa ignores

How about Syncing ignores from /ignore with tpa ignores

I am not sure how the server implements the /ignore command, it is not part of this plugin.
This plugin is used on other servers too, so I want to keep it general to be useable by anyone.

How about Syncing ignores from /ignore with tpa ignores

I am not sure how the server implements the /ignore command, it is not part of this plugin. This plugin is used on other servers too, so I want to keep it general to be useable by anyone.
However I can make the path used to store the ignore files configurable so it is easy to integrate with other logic.

Alright i opened an issue on the /ignore plugin that 0b0t uses

I gonna merge this, add @SooStrator1136 as editor to this repo, convert master to a development branch and create a new main branch.


x1148 As TS (Katy) I would to increase the Probe hybridisation lot number character length to 25 and change the default time to the current time when you scan in labware, to streamline things in the lab more

Katy to describe the issues - may be possible bug
Katy's response 13/3/24 - default time to be when you scan in the labware for that operation please - currently time varies by hours earlier possible when you logged into STAN?!

@khelwood @sabrine33 Jasmine has tested this and got an "error still appears saying ‘Lot number should have a maximum length of 20 characters’
Also, I sometimes am getting this error when putting in an earlier time for the ‘start time’ e.g. at 11:51 and I tried to put in a time of 11:48."

@KatyTudor , I will double check the lot length for you, the time error is generated by the core, cc @khelwood

@KatyTudor The "date is too early" error happens when you try and use a timestamp that is before the source labware was created.

@khelwood thanks that makes sense

@khelwood @sabrine33 I just got this error but not sure what it means?

@KatyTudor I think that's because I neglected to expand the lot number column in the database. Should be fixed now.

@khelwood its working great now thanks


[request] show link to content

pleas show link to content, if video is not working or user want to view video at youtube, is this not possible.

ok the next upgrade I'll consider that and show under the video and the link


Implement list

See the notes here: https://github.com/ontodev/valve/blob/valve-sql-investigation/valve-function-investigation.org#list
We'll need a WITH clause.

I have pushed two alternative implementations on two different branches.

The first is on the main branch: https://github.com/ontodev/valve-sql.clj/commit/351ce35366c179871154131e21ddef79ac13a1e8 and interprets not(list(sep, expr)) as equivalent to list(sep, not(expr))
The second is on the alternate-not-list branch: https://github.com/ontodev/valve-sql.clj/commit/4bfc75beb620ce275316b837246c13015a795fb9 and interprets not(list(...)) as 'verify that not all the tokens we get from splitting the target column by sep are instances of expr'. Note that this second version has a bug insofar as it isn't yet handling a case where we have both an inner and an outer not; e.g., not(list(sep, not(in(...))), but it probably requires only a small change to fix.

Closed either by https://github.com/ontodev/valve-sql.clj/commit/351ce35366c179871154131e21ddef79ac13a1e8 or https://github.com/ontodev/valve-sql.clj/commit/4bfc75beb620ce275316b837246c13015a795fb9

We'll go with the second option, which seems more correct to both of us.


str.join is broken

import crayons

s1 = "this"
s2 = crayons.red("breaks")
s1.join([s2])

>>> TypeError: sequence item 0: expected str instance, ColoredString found

You need to view a ColoredString object as str by calling str
s1.join([str(x) for x in [s2]])

Closing due to inactivity :+1:


[RFC]: add @stdlib/assert/is-negative-finite

Description
This RFC proposes adding the package @stdlib/assert/is-negative-finite.
The package should be similar in structure to @stdlib/assert/is-negative-number and should have a similar implementation except negative infinity should evaluate to false.
function isNegativeFinite( value ) { ... }

Package: @stdlib/assert/is-negative-finite
Alias: isNegativeFinite
Related Issues
None.
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

looks very similar to #1346 , would love to take this up as well - please assign

@adityacodes30 Sounds good, thanks for working on this!

@adityacodes30 Please only work on one issue at a time. It is important that you first get each PR merged, before moving onto other issues.

Can you please assign this to me ?

Thank you for volunteering to work on this @gunjjoshi. Please feel free to submit a PR implementing this feature.

alright , no problem at all @kgryte  took this one up as well because it seemed quite similar to #1346 which i am implementing
@gunjjoshi let me know if you need any help


Suggestion : ask for confirmation when running the command without option?

Just installed the tool and runned git trim to trigger the display of the usage but it executed the command.
That was pretty dumb from my part.
Still, I'm wondering if it would be better to display a confirmation when using no option :

Are you sure you want to remove merged, pruned, untracked, and stale branches?

And the question could be skipped for use in script by using a --no-interactive flag or by giving the options -mpsu explicitely.

The dangerous options do prompt for confirmation. The default option for git trim is to remove "pruned" branches, which, relatively speaking, should not be that dangerous.


Synchronize annotator and server Clinvar databases

Is your feature request related to a problem? Please describe.
Currently there are discrepancies between Clinvar database content of the VarFish server and annotator.
Describe the solution you'd like
They should be synchronized and we need to create processes of how to keep them in sync.
Describe alternatives you've considered
N/A
Additional context
N/A

joining in


Add PopcornTime.app Latest

Latest version of PopcornTime, a p2p video player licensed under GPLv3.
I hope there is nothing wrong with the Cask, I think zap stanza is correct, according to the language reference, but let me know if it is not.

As per the discussion in #3954, popcorn-time is not accepted in the main homebrew-cask repo. There is an unofficial tap, though.
See #5379 #4649 and #3582 for further information.


Adding two extra Dynamixel to the TurtleBot3 Burger

ISSUE TEMPLATE ver. 0.4.0

Which TurtleBot3 platform do you use?

[x] Burger
[ ] Waffle
[ ] Waffle Pi

Which ROS is working with TurtleBot3?

[ ] ROS 1 Kinetic Kame
[ ] ROS 1 Melodic Morenia
[x] ROS 1 Noetic Ninjemys
[ ] ROS 2 Dashing Diademata
[ ] ROS 2 Eloquent Elusor
[ ] ROS 2 Foxy Fitzroy
[ ] etc (Please specify your ROS Version here)

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Intel Joule 570x
[x] Raspberry Pi 3B+
[ ] Raspberry Pi 4
[ ] etc (Please specify your SBC here)

Which OS you installed on SBC?

[ ] Raspbian distributed by ROBOTIS
[x] Ubuntu MATE (16.04/18.04/20.04)
[ ] Ubuntu preinstalled server (18.04/20.04)
[ ] etc (Please specify your OS here)

Which OS you installed on Remote PC?

Specify the software and firmware version(Can be found from Bringup messages)

Specify the commands or instructions to reproduce the issue.

Copy and Paste the error messages on terminal.

Please describe the issue in detail.

I am using a TurtleBot3 Burger with the newest ROS1 Noetic image installed. Now I want to add two Dynamixel, XL-320 and AX-12A.
The problem is that I don't know how to implement these two Dynamixels in the TurtleBot3 enviroment so they can be controlled  with rospy.
Any advice or guidance would be appreciated. Thanks.

Hi @TobiasKauffer. Thank you for your questions.
Variable settings according to the addition of Dynamixel can be modified from the link below.
turtlebot3 motor driver.h
turtlebot3 motor driver.cpp
Thank you.

@TobiasKauffer
First of all, please be aware of the input voltage as XL430 / AX-12A(11.1V) and XL-320(7.4V) have different operating voltage.
Plugging in the XL-320 to OpenCR where XL430 or AX-12A is connected at may cause hardware damage.
In regards with appending and controlling additional DYNAMIXEL module will require modification of OpenCR firmware as @ashekim mentioned above.
Thanks.

Hi @TobiasKauffer.
Please refer to the Dynamixel Quick Start video below.
Also, enter the ls /dev/tty* command to check the device name again. (Please check the 1:51 sec section of the DYNAMIXEL Quick Start Guide for ROS 1.)
DYNAMIXEL Quick Start Guide for OpenCR 1.0
DYNAMIXEL Quick Start Guide for ROS 1
Thank you.

@TobiasKauffer
The default firmware of TurtleBot3 won't work as a communication interface between Raspberry Pi and DYNAMIXEL.
In order to run the dynamixel_workbench package to find connected DYNAMIXEL to OpenCR, you should upload the usb_to_dxl firmware as described in the below link.
https://emanual.robotis.com/docs/en/software/dynamixel/dynamixel_workbench/#connect-power12v-and-ttl-or-rs485


How can we convert .ckpt model to tflite model for use on mobile device?

I have successfully trained one age and gender detection model and i got .ckpt model file and its working and predicting correctly with satisfied accuracy now i want to convert this .ckpt model into .tflite tensorflow lite model for run this model on mobile device.
Please help me how can i convert .ckpt model to tflite model for use on mobile device?

any luck with this?

you can find good tutorial here
since you have the ckpt file, it should be easy to do, however it comes with some limitations, for example i didn't find a way to create model with dynamic input dimension. if you got managed to solve this please let me know


Specific string causes segment function to return empty array

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
input_str = """This is part 3 of MAMI-san's hair timelineThe previous hair timelines can be found hereOkay then, we'll be continuing from last time and starting off with MAMI-san's orange era, which was at this time2014/8 - Continuing the orange bob2014/09 - Used to seeing the orangeOrange fades easily, so we did a lot of maintenence2014/10 - Her hair grew long with seal extensionsA new song was released while being orange2014/11 - Completely orange☝A new album was also released while being orange2014/12 - The ends and bangs were cut straight acrossHeading into 2015JanuaryMAMI-san is super stylish, isn't sheFebruary2015/03 - The extensions got a little shorterMAMI had been orange for exactly one yearIn April, before their world tour, we took out the orange and put in a turquoise blue gradient2015/05 - While on break from tour, we took out the ash color and did maintenence2015/062015/072015/08 - Returning from tour and cutting it into a bobReleasing a new song while having two-toned hair2015/09 - We put in ash with a transparent feeling to it2015/11 - Her first image change in eight months2015/12 - An easy-going color so that the pudding color isn't conspicuousHer black hair has been missed by the fans, hasn't itWhen will the dyed-black MAMI-san be woken up by another desire to bleach her hairAlso, it's not that her lovely hair and color were worn out; at RISEL we have a 『hybrid bleach』 of an original super bleach dream, so please don't worryI will make her hair colors beautiful enough so that everyone will be surprised by any color, and I will support her on behalf of everyone so that MAMI-san can give her best performanceLooking back, even though we changed intense colors so many times, everything definitely looks good on MAMI-san, doesn't itWell then, please look forward to MAMI-san's hair timeline again next yearRISEL.xoxo.KAZU"""
segmenter = pysbd.Segmenter(language="en", clean=False)
segments = segmenter.segment(input_str )
Expected behavior
Array of 1 or more sentences
Additional context
The text originates from openwebtext dataset.
I also found cases where it removes or adds spaces to sentences that were not in the original strings.

Empty array

On further digging in i found that this "☝" char simply breaks something - no errors in the console however...
As far as additional strings go:
demo_text = """For years Stephen Harper and his Cons have been slowly killing our Parliament.They have have debased it, they have rendered it impotent.They have reduced it to a scripted horror show, where every question is answered with an attack on the opposition.But yesterday with their ghastly leader out of the country they practically finished it off.For this is what happened when Tom Mulcair rose to ask this question about Canada’s mysterious mission in Iraq:Instead of any kind of answer, he got Paul Calandra, Stephen Harper’s Parliamentary Secretary.You know the Con clown . . .And this:Which as Aaron Wherry points out, was absurd enough. But what happened next, when Mulcair continued his questioning, and appealed to the Speaker Andrew Scheer to ask Calandra to follow the rules of democratic decency, turned our Parliament into a cheap FARCE . . .Yes, believe it or not, rather than ask the clown Calandra to answer the questions, or to stop turning Question Period into some kind of Con cabaret, Scheer punished Mulcair.Removing his two remaining questions, and moving on to Justin Trudeau.Even though Mulcair had every right to keep trying to get a serious answer about a very serious issue. He was merely asking Scheer to stop allowing Calandra to turn the House he looks down upon from his throne, into a bad joke or a fascist circus.Or the death of our democracy. Wherry:This is not quite rocket science. These are merely the hopey changey principles on which we aim to govern ourselves.And who can blame Mulcair for questioning Sheer’s neutrality? When he has made so many dubious decisions. And has from the moment he sat on his throne acted and sounded like a Con robot…Or his master’s voice.And all I can say is, before we have to hold a mirror up to the cold blue lips of our democracy, to see if it’s still alive.When we fire his maniac master . . ."""
this one adds space at the end
demo_text = """> > Field experience shows it successfully delivers new features to end users > without a global software upgrade. > The global upgrade is required for all full nodes in both types. If a full node doesn't upgrade then it no longer does what it was designed to do; if the user is OK with that, they should just run an SPV wallet or use blockchain.info or some other mechanism that consumes way fewer resources. But if you want the software you installed to achieve its stated goal, you *must* upgrade. There is no way around that. Jorge has said soft forks always lead to network convergence. No, they don't. You get constant mini divergences until everyone has upgraded, as opposed to a single divergence with a hard fork (until everyone has upgraded). The quantity of invalid blocks mined, on the other hand, is identical in both types. Adam has said "there is actually consensus", although I just said there isn't. Feel free to say what you really mean here Adam - there's consensus if you ignore people who don't agree, i.e. the concept of "developer consensus" doesn't actually mean anything. This would contradict your prior statements about how Bitcoin Core makes decisions, but alright .... Finally John, I fully agree with what you wrote. Debates that never end are bad news all round. Bitcoin Core has told the world it uses "developer consensus" to make decisions. I don't agree that's a good way to do things, but if Core wants to stick with it then there is no choice - as I am a developer, and I do not agree with the change, there is no consensus and the debate is over. Hey, I have an idea. Maybe we should organise a conference about soft vs hard forks. Let's have it down the road from where I live, a couple of weeks from now. Please submit your talk titles to me so I can vet them to ensure nobody does an offtopic talk ;) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20150930/5e0bab14/attachment.html>"""
and this one removes space after "...."


Cannot send request with no Accept header

From colly.go:

I need to send a request with no headers, but colly automatically inserts "Accept: */*" AFTER the OnRequest call. So I don't know how to affect it.
 I need the response that I get when the Accept isn't passed.
The good response: ["Ok",{"results":[{"url":"https://apps.apple.com/us/app/youtube-watch-listen-stream/id544007664","title":"YouTube: Watch, Liste....
The bad response: ["Ok",{"results":[{"url":"https://www.commonsensemedia.org/website-reviews/youtube","title":"YouTube Website Review | Co...

I am currently using a fork (from the PR above^) to circumvent this issue


[Feature] make koordinator as an addon

Is your feature request related to a problem? Please describe.
There's a repo for making an addon : https://github.com/koordinator-sh/koordinator
Describe the solution you'd like
make some kinds of traits, such as  Colocation Profile,
Load Aware Scheduling, Fine-grained CPU Orchestration, Resource Reservation, PodMigrationJob, Device Scheduling, GangScheduling, Multi Hierarchy Elastic Quota Management

Issue has been resolved by the PR https://github.com/kubevela/catalog/pull/643.


Param info util: dict and string summary

This is a proposal for two parameter summary utils, one that returns the information as a dict and one as a string.

This is awesome!
I have a small request. Would it be possible to refactor out logic which return the number/count of parameters (something similar to @Marvin182 's implemented method 'count_parameters' in https://gist.github.com/Marvin182/4c87f14b01aa1bf481d312e36e32332e).
This would be helpful in testing model definition in examples. I currently have TODOs in #287 and #289

This is awesome!
I have a small request. Would it be possible to refactor out logic which return the number/count of parameters (something similar to @Marvin182 's implemented method 'count_parameters' in https://gist.github.com/Marvin182/4c87f14b01aa1bf481d312e36e32332e).
This would be helpful in testing model definition in examples. I currently have TODOs in #287 and #289

Thanks! Avital wanted that as a HOWTO, which I have here #277. I'll consult with him :)

Codecov Report

Merging #288 into master will decrease coverage by 0.70%.
The diff coverage is 12.50%.

@@            Coverage Diff             @@
##           master     #288      +/-   ##
==========================================
- Coverage   79.39%   78.69%   -0.71%
==========================================
  Files          34       34
  Lines        2252     2276      +24
==========================================
+ Hits         1788     1791       +3
- Misses        464      485      +21

Impacted Files
Coverage Δ

flax/nn/utils.py
70.27% <12.50%> (-27.73%)
:arrow_down:

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 3bc5289...9e6abb1. Read the comment docs.

@levskaya I believe we can get "the best of both worlds" with easy
introspection while allowing people to look through ordered lists when
those are semantically meaningful.
On Wed, Jun 10, 2020 at 7:25 AM Anselm Levskaya<EMAIL_ADDRESS>wrote:

@levskaya commented on this pull request.
In flax/nn/utils.py
https://github.com/google/flax/pull/288#discussion_r437867433:

+def flatten_dict(input_dict: Dict[str, Any], prefix: str = "") -> Dict[str, Any]:

"""Flattens the keys of a nested dictionary."""
output_dict = {}
for key, value in input_dict.items():
nested_key = "{}/{}".format(prefix, key) if prefix else key
if isinstance(value, dict):

 output_dict.update(flatten_dict(value, prefix=nested_key))

else:

 output_dict[nested_key] = value

return output_dict

+def _name_idx(name: str):

"""Returns the layer index of the parameter name."""
index = name[name.find('_') + 1 : name.find('/')]

@rolandgvc https://github.com/rolandgvc - I wouldn't try to sort
parameters by the "layer order", in general the "order" of layers is a
partial order given that arbitrary dataflow can happen in complex modules.
Also this ordering information is lost for manually named layers.
@avital https://github.com/avital - the alternative to names is an
opaque tree-structure-based serialization (which we used in trax) and it is
a complete nightmare to work with when debugging. Pragmatically, I am happy
to suffer Hyrum's law if it enables vastly more pleasant debugging. I want
a human-navigable "at rest" representation of models.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/flax/pull/288#discussion_r437867433, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAJFUSIZKXMTGIYSMB5A4LRV4KLFANCNFSM4NMGXH4Q
.

See CLU (Common Loop Utils) for another implementation: https://github.com/google/CommonLoopUtils/blob/master/clu/parameter_overview.py

Hey! If adding a dependency is not too much of a burden, maybe we could leverage the rich.tables, they provide a lot of format options, colors, and other stuff like properly handing multi-line rows.
Here is an example of rich in action:

@cgarciae that looks really good. But I wonder if we can/should separate the needs: Part 1 is a function that give a Flax module (and variables and inputs?) generates some simple dict output that describes the module heirarchy. Then part 2 is a small piece of code that reads this dict and calls into rich.tables. Then we could replace part 2 with any other renderer. WDYT? We could even put the "renderer" part in a separate pip package to remove the dependency of flax on it.
It's also worth comparing and contrasting with https://dm-haiku.readthedocs.io/en/latest/notebooks/visualization.html

I think splitting the functionality makes a lot of sense, the current proposed implementation in the PR more or less does this via the separation between param_info and show_param_info. I think we could expand the current idea with the following:

[optional] Rename param_info to module_info, this would take in a Module, variables, sample inputs, and would use capture_intermediates to add input/output information about the layers to the dict structure.
Create a render_info function that could render the structure, internally it would use rich.tables.
show_{module,param}_info could have a render_fn that defaults to render_info, it would simply call {module,param}_info and subsequently call render_fn. Users could provide their own render_fn.

Later on render_info could be extracted if deemed generally useful.

Closing in favor of #1844


docs: Svelte integration with tsserver

Adds note to svelte-language-server docs about TS/tsserver integration

Force pushed to make commit message lowercase so that lint passes


Maven Package Creation - v2.0.0

Maven Package Creation - v2.0.0.

Codecov Report

Merging #18 (5468b15) into main (aaa06ae) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #18   +/-   ##
=========================================
  Coverage     98.46%   98.46%
  Complexity       20       20
=========================================
  Files             1        1
  Lines            65       65
  Branches          6        6
=========================================
  Hits             64       64
  Misses            1        1

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 aaa06ae...5468b15. Read the comment docs.


Better documentation

Currently there is only a list of features for what is offered by the addon. Each one needs to be explained better.

Resolved via commit 1c9f1a31f2b1f8758e9064d8d4c88894fdbeaab8.


default.conf missing

The dead link leads to nowhere, and the reference thus is a dead link.
Could you either update the link or add the file?

The file is not needed anymore. The link needs to be removed

This has been done :)


[MTDSA-3541] Removed release 2 specific feature switches

Intentionally did not touch Crystallisation Obligations, ReleaseTwoService or SelfAssessmentService.

Acceptance/smoke tests already modified to remove R1 references in a previous story.


Registry SVG thumbnail provider overwritten on install and update

Microsoft PowerToys version
0.37.2
Running as admin

[ ] Yes

Area(s) with issue?
SVG Thumbnail
Steps to reproduce
Install https://github.com/tibold/svg-explorer-extension
See that SVG thumbnails are not rendered with a white background.
Install PowerToy
See that SVG thumbnails are now rendered with a white background.
Is there a way not to have SVG Thumbnail being changed in the registry with every update?
See: https://github.com/tibold/svg-explorer-extension/issues/108
✔ Expected Behavior
Previously installed SVG thumbnail provider should still remain in use.
❌ Actual Behavior
Weaker PowerToy installed SVG thumbnail provider is being used.
Other Software
No response

Currently not. But you have a good point!


Module parse failed: Unexpected token on ? and ?? (Nullish operators) with AWS-SDK

Under Node.js v16.17.0, when<EMAIL_ADDRESS>is applied to<EMAIL_ADDRESS>webpack fails on @aws-sdk/client-sns/dist-cjs/protocols/Aws_query.js, @aws-sdk/client-sns/dist-cjs/runtimeConfig.js, and @aws-sdk/client-sns/dist-cjs/endpoint/EndpointParameters.js.
It appears to hang on operators '?' and '??'
as an example, with Aws_query.js webpack calls out the '? as the offending token in the line:
'if (input.AWSAccountId?.length === 0) {':
if (input.AWSAccountId != null) {

|         const memberEntries = serializeAws_queryDelegatesList(input.AWSAccountId, context);

    if (input.AWSAccountId?.length === 0) {

|             entries.AWSAccountId = [];
|         }
Here is what is generated by webpack in index.js:
//<EMAIL_ADDRESS>/!!
<EMAIL_ADDRESS>!
*/
/! no static exports found /
/*/ (function(module, exports) {
throw new Error("Module parse failed: Unexpected token (2801:31)\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders\n|     if (input.AWSAccountId != null) {\n|         const memberEntries = serializeAws_queryDelegatesList(input.AWSAccountId, context);\n>         if (input.AWSAccountId?.length === 0) {\n|             entries.AWSAccountId = [];\n|         }");
/***/ }),
//<EMAIL_ADDRESS>/!!
<EMAIL_ADDRESS>!
*/
/! no static exports found /
/*/ (function(module, exports) {
throw new Error("Module parse failed: Unexpected token (31:34)\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders\n|         runtime: "node",\n|         defaultsMode,\n>         bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n|         credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),\n|         defaultUserAgentProvider: config?.defaultUserAgentProvider ??");
/***/ }),

Please migrate on webpck v5, webpack v4 is not supported nullish operator


Can I use this on Google Colaboratory?

Hi. Thank you for making wonderful library!
I tried to install this to Google Colaboratory.

!pip install ipyvolume
worked well. But Colaboratory is not jupyter itself, so I couldn't do
jupyter nbextension enable --py --sys-prefix ipyvolume
jupyter nbextension enable --py --sys-prefix widgetsnbextension

I tried this and it also worked well,

!pip install ipywidgets~=7.0.0

But I couldn't see any result images for 2-3 examples. (Quick Intro, Volume, Scatter plot, etc.)
I use safari ver11.1.1 from MacBook Pro, macOS High Sierra ver10.13.5
In my local jupyter environment, I can see the result images on safari,
but not on Chrome ver67.0.3396.87, so I tried to access Colaboratory with safari.
Is there any way to try?
Thank you.

Hi Norio,
thanks for the kinds words!
I have no idea how colab works, I should look into it! I'll keep this open as a reminder.
Can you try ipyvolume 0.4.6 (I just had a fix for chrome released).
cheers,
Maarten

Thank you!
I uninstalled 0.4.5 and installed 0.4.6, and did

jupyter nbextension enable --py --user ipyvolume
jupyter nbextension enable --py --user widgetsnbextension

I saw the sliders but no result image...

By the way, I can't see neither the images on top page of ipycolume by Chrome.

Both of them works well on Safari ver11.1.1(13605.2.8)

Are there errors in the Javascript console in either case? Those errors tend to provide a good starting point for debugging missing elements.

Given https://stackoverflow.com/questions/47269168/ipywidgets-with-google-colaboratory and https://github.com/googlecolab/colabtools/issues/60 it seems colab is currently not supported.

Some more:

https://github.com/Autodesk/molecular-design-toolkit
https://github.com/arose/nglview

Does it work on Google Colaboratory?

@qo4on I tried to use ipyvolume in Google Golab with no success. Executing the pasted code, a message telling "Runtime disconnected" was shown and the code cell keep running in a loop. No figure was shown.
import ipyvolume as ipv
import numpy as np
x, y, z = np.random.random((3, 10000))
ipv.quickscatter(x, y, z, size=1, marker="sphere")

Is there any news or advances in this issue?

More than a year have passed. Obviously they are not going to fix this bug.

Anybody knows a library for scatter 3D visualization in Google Colabs?

Is there any news or advances in this issue?

We've spoken to some of the colab people, and they are working on supporting widgets. However, as I understood it, they need to manually support specific widget libraries, for instance core ipywidgets seems supported. I cannot add support for colab, colab needs to add ipyvolume javascript code at their side.
I tried running the code, and I saw in the JS console of the browser:
Uncaught (in promise) Error: Widgets module jupyter-threejs is not supported

So step 0 would be to ask colab to support that first.

More than a year have passed. Obviously they are not going to fix this bug.

I'm not sure that's obvious.

Hello @maartenbreddels. Thank you for your response and your work. VAEX is really astonishing. I have just sent a tweet to Google Colab. I hope that it helps to alleviate the lack of support given by them. Best regards!

Three.js seems to be supported now. But not jupyter-threejs
https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/notebooks/threejs_visualization.py


[Device Support Request] TS0601 Zigbee Motor blinds by HILADUO

Problem description
Managed to pair with HILADUO motorized blinds, however they show up without any controls.
Normally they should be pairable with the Tuya app.
Unfortunately I do not have more information than that. I can however, probably look it up with instructions.
Solution description
The device should give normal controls for bringing the blinds up, down and battery level.
If possible it should also have options for setting the height and tilt.
Screenshots/Video
Screenshots/Video

Device signature
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0051",
      "input_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0xef00"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZE200_9p5xmj5r",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}

Diagnostic information
Diagnostic information
{
  "home_assistant": {
    "installation_type": "Home Assistant Container",
    "version": "2023.8.1",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.11.4",
    "docker": true,
    "arch": "x86_64",
    "timezone": "***",
    "os_name": "Linux",
    "os_version": "5.15.107+truenas",
    "run_as_root": true
  },
  "custom_components": {
    ***
  },
  "integration_manifest": {
    "domain": "zha",
    "name": "Zigbee Home Automation",
    "after_dependencies": [
      "onboarding",
      "usb"
    ],
    "codeowners": [
      "@dmulcahey",
      "@adminiuga",
      "@puddly"
    ],
    "config_flow": true,
    "dependencies": [
      "file_upload"
    ],
    "documentation": "https://www.home-assistant.io/integrations/zha",
    "iot_class": "local_polling",
    "loggers": [
      "aiosqlite",
      "bellows",
      "crccheck",
      "pure_pcapy3",
      "zhaquirks",
      "zigpy",
      "zigpy_deconz",
      "zigpy_xbee",
      "zigpy_zigate",
      "zigpy_znp"
    ],
    "requirements": [
      "bellows==0.35.8",
      "pyserial==3.5",
      "pyserial-asyncio==0.6",
      "zha-quirks==0.0.102",
      "zigpy-deconz==0.21.0",
      "zigpy==0.56.4",
      "zigpy-xbee==0.18.1",
      "zigpy-zigate==0.11.0",
      "zigpy-znp==0.11.4"
    ],
    "usb": [
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*2652*",
        "known_devices": [
          "slae.sh cc2652rb stick"
        ]
      },
      {
        "vid": "1A86",
        "pid": "55D4",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus v2"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*zigstar*",
        "known_devices": [
          "ZigStar Coordinators"
        ]
      },
      {
        "vid": "1CF1",
        "pid": "0030",
        "description": "*conbee*",
        "known_devices": [
          "Conbee II"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8A2A",
        "description": "*zigbee*",
        "known_devices": [
          "Nortek HUSBZB-1"
        ]
      },
      {
        "vid": "0403",
        "pid": "6015",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate+"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8B34",
        "description": "*bv 2010/10*",
        "known_devices": [
          "Bitron Video AV2010/10"
        ]
      }
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      },
      {
        "type": "_zigate-zigbee-gateway._tcp.local.",
        "name": "*zigate*"
      },
      {
        "type": "_zigstar_gw._tcp.local.",
        "name": "*zigstar*"
      },
      {
        "type": "_slzb-06._tcp.local.",
        "name": "slzb-06*"
      }
    ],
    "is_built_in": true
  },
  "data": {
    "ieee": "**REDACTED**",
    "nwk": 25998,
    "manufacturer": "_TZE200_9p5xmj5r",
    "model": "TS0601",
    "name": "_TZE200_9p5xmj5r TS0601",
    "quirk_applied": false,
    "quirk_class": "zigpy.device.Device",
    "manufacturer_code": 4098,
    "power_source": "Battery or Unknown",
    "lqi": 189,
    "rssi": null,
    "last_seen": "2023-09-21T15:45:00",
    "available": true,
    "device_type": "EndDevice",
    "signature": {
      "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
      "endpoints": {
        "1": {
          "profile_id": "0x0104",
          "device_type": "0x0051",
          "input_clusters": [
            "0x0000",
            "0x0004",
            "0x0005",
            "0xef00"
          ],
          "output_clusters": [
            "0x000a",
            "0x0019"
          ]
        }
      },
      "manufacturer": "_TZE200_9p5xmj5r",
      "model": "TS0601"
    },
    "active_coordinator": false,
    "entities": [],
    "neighbors": [],
    "routes": [],
    "endpoint_names": [
      {
        "name": "SMART_PLUG"
      }
    ],
    "user_given_name": "***",
    "device_reg_id": "ac383010f8bc681d724f752041c83714",
    "area_id": "***",
    "cluster_details": {
      "1": {
        "device_type": {
          "name": "SMART_PLUG",
          "id": 81
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0001": {
                "attribute_name": "app_version",
                "value": 72
              },
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "_TZE200_9p5xmj5r"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "TS0601"
              }
            },
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xef00": {
            "endpoint_attribute": null,
            "attributes": {},
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {
          "0x0019": {
            "endpoint_attribute": "ota",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x000a": {
            "endpoint_attribute": "time",
            "attributes": {},
            "unsupported_attributes": {}
          }
        }
      }
    }
  }
}

Additional information
I'm decent with python and electronics but not too much with ZHA. With some tips, I can go a long way towards contributing a fix.

I also just received a set of these and for some reason had thought I had seen people saying they worked ootb with Home Assistant. Alas, same issue here: they pair but the controls don't appear.
If there is any further debugging information I can provide, please let me know.

Should be supported with:

https://github.com/zigpy/zha-device-handlers/pull/2593

in Home Assistant 2023.10.0
You can probably use that file as a custom quirk for now.

That works great, thank you!

I updated to 2023.10.0 and it indeed now has the blind controls.
It doesn't report battery, do we know if the device does this?


I can't reinstall powertoys

Microsoft PowerToys version
0.69.1
Installation method
Microsoft Store
Running as admin
None
Area(s) with issue?
General
Steps to reproduce

Upgrade from v0.66 to v.0.67.0 to v0.67.1 to v0.68 to v0.68.1 v0.69 to v0.69.1
Repair powertoys from the "apps and features" page of "system settings". Remember to click the repair button, not the uninstall button.
See that powertoys is uninstalled.
Search for powertoys in Microsoft Store
See that you cannot install powertoys, as Microsoft Store says it's already installed, even though it's not on your start menu or your app uninstalling list.

See the images below for details.

.
✔ Expected Behavior
It should have uninstalled or reinstalled the first time when I clicked repair.
❌ Actual Behavior
It won't let me reinstall it.
Other Software
No response

seems like a store bug.  i'll follow up but you can always grab it via https://github.com/microsoft/PowerToys/releases/latest
same exe


remove lodash.isequal

refs #1395
509kb ⇒ 499kb

Coverage decreased (-0.006%) to 71.735% when pulling c277425a8e828d04196efaa0337fc8cc2c365050 on remove-lodash-isequal into 4e2dce830a7be604367128024ba3111e2e6d6007 on master.


fix pyunit problem in windows

Make sure these boxes are checked before submitting your pull request:

[ x] Add fixtures and spec when implementing or updating a test runner
[x ] Update the README accordingly
[x] Update the Vim documentation in doc/test.txt

I would like to merge this pull request. There are some problem running this plugin in windows. After checking i found that the '' have not been replaced to '.' in windows environment.

@xiguichen Looks good to me, thanks!


Heap sort Benchmark

Describe the feature
Implement heap sort algorithm and benchmark this for the programming languages.

git fetch origin
git checkout 3-heap-sort-benchmark


Unbundling

This is part of #5778, but it's a shift in strategy that's separate from #5748 so I figured I'd make this PR as a quick detour to explain it.
Currently, the @sveltejs/kit is bundled. Imports like @sveltejs/kit/vite and @sveltejs/kit/node are bundled in dist, while the modules behind the $app alias are bundled in assets, and copied over to .svelte-kit/runtime. Bundling was necessary in the very earliest days, when we were using .ts files, and in theory it has a benefit today in the form of slightly quicker installations, but in practice it adds considerable complexity.
It means that in order to test the src code locally without rebuilding on every change, we need to have different code paths (switching on process.env.BUNDLED) that are rather cryptic. It reduces the quality of stack traces. It adds a build step that isn't really necessary.
In #5778, it makes things very complicated indeed. In order for the new error and redirect helpers to work, we need to be able to detect, from a catch clause, that they were used. The best (and most TypeScript-friendly) way to do this is an instanceof check that uses the internal HttpError and Redirect classes used by those helpers. In the interests of not over-committing API surface area, these live in a private module. But this means that error and redirect imported from the public @sveltejs/kit module are referring to different copies of those classes than the code that does the instanceof checks, and there's really no way to fix that without introducing a bunch more complexity.
Unless, that is, we just get rid of the bundling altogether. Since SvelteKit has few dependencies, most of which have no or few dependencies of their own, I think the slight hit to installation time is more than justified by the substantial reduction in complexity.

(An aside: the ability to do this without losing type safety is one of the main reasons I'm a vocal proponent of using TypeScript via JSDoc, rather than via .ts files.)


Replace firewall rule with private endpoint in Airlock

Resolves #2098
What is being addressed
Replaced the firewall rule that allowed airlock processor to access the export in progress storage account with a private endpoint for the export approved storage account in the services subnet of the workspace.
How is this addressed

Removed the firewall rule from the export in progress storage account
Added a private endpoint in services subnet (in the workspace's VNet) for the export approved storage account

was closed as we don't want to enable access to the export approved storage account from the workspace.


this should fix issue #391

in this issue, you can't break the dragon egg, even in creative

Looks good, thanks!


Split "save" and "run"

Modyfing queries that return a lot of data is quite difficult. I usually end up on cancelling script in firefox, because it takes too long.
Can you please make two distinct buttons - save (and validate query) and run which shows (or refreshes) the results table.
Thanks for a great app, btw.

I totally agree with this. There should be some way of doing just a 'save' (though I do think running the query should also save it -- so we'd have 2 buttons: "Save & Run" and "Save Only"). I will try to get to this next week. Thanks for the suggestion!


fix intermittent a11y cypress tests in PR checks

Fixes: https://issues.redhat.com/browse/RHOAIENG-2083
Description

Intermittent failures occur when running cypress tests. It was reported that a button exists with no name. Upon investigation it was found that the expand button of the model serving table will display a PF Skeleton inside a button without any text while data is loading. This is an accessibility violation because all buttons must have a name.
The fix is to not render the expand button while data is being loaded (we still render the Skeleton). Once data is loaded, the Skeleton is no longer rendered and a number is rendered in place. The expand button then becomes active to expand the row.
How Has This Been Tested?

Ran cypress tests locally several times.
To observe the change:

Create a project.
On the project details page, create a model server.
Navigate away to another page in the dashboard.
Use dev tools network throttling to reduce the network speed.
Press the back button.
Wait for the page to load until the skeleton is observed in the model serving table for the Deployed models column. Attempting to click this button will no longer expand the row until the Skeleton disappears and is replaced with a number to indicate that the data has loaded.

Test Impact

Addresses existing cypress test intermittent failure.
Request review criteria:

Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit tests & storybook for related changes)

If you have UI changes:

[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change (find relevant UX in the SMEs section).

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

/lgtm


invalid_grant error

When calling  GetAuthorizationToken, I'm getting an error with the following message: "invalid_grant"
I'm not sure I'm providing the correct clientId to the AppleAuthProvider constructor.
Documentation comments say that it's a 10-character key identifier also known as Service ID, but I cannot find such string in the developer console. I tried several 10-character and reversed domain values, but I'm still getting that error.
Does it ring a bell to someone? Thanks!

/// A10-character key identifier obtained from your developer account. (aka "Service ID" that is configured for “Sign In with Apple”)
/// A 10-character key identifier obtained from your developer account.
/// A 10-character key identifier obtained from your developer account. Configured for "Sign In with Apple"
/// URL to which the user will be redirected after successful verification.
/// You need to configure a verified domain and map the redirect URL to it. Can’t be an IP address or localhost
/// Can be used for any internal identifiers (e.g. Session IDs, User IDs, Query Strings, etc.)
public AppleAuthProvider(string clientId, string teamId, string keyId, string redirectUrl, string state)
{

Hello,
This can be configured from your Apple Developer account.  You have to go to the "Certificates, Identifiers & Profiles" section and click on the blue plus icon.

Then you should select Services IDs from the list of identifiers.

Hello,
This can be configured from your Apple Developer account.  You have to go to the "Certificates, Identifiers & Profiles" section and click on the blue plus icon.

Then you should select Services IDs from the list of identifiers.


Update setup.py

Hi this is still an active issue and is forcing users to fork the repo in order to get the code to work. Could this get merged please?


Tabs: add more demos

The ones I can think of are:

selecting by id
preventing tab selection on change event

We will probably identify more based on users feedback / requests.

I will take this one :)


Use fewer binds when evaluating Hooks

This PR updates the evalHook function to remove the old getState and modifyState functions in favor of writing to the state ref directly. This cuts down the number of binds used in interpreting hooks to just one (the call to pure). It also makes the intent clearer that when interpreting Hooks we should only be writing to the ref in state, and not modifying the actual state itself (which could cause a re-render).
Unfortunately, using the snapshots from #63, this seems to basically be a wash performance-wise.
State Test:

scriptTime: 2% (regression)
peakHeap: -1% (improvement)
averageHeap: 5% (regression)
averageFPS: 0%

Todo Test:
scriptTime: 3% (regression)
peakHeap: -2% (improvement)
averageHeap: 0%
averageFPS: 0%

These can be reproduced by pulling down this branch and running:
# get snapshots for your machine, which will be used when running performance tests
npm run snapshot

# generate the change files which show percentage differences from the snapshots
#   test-results/state-test-change.json
#   test-results/todo-test-change.json
npm run test:performance

At the moment, since it's unclear this change is actually helping anything, I won't merge it. But I'm finding it a little hard to believe that cutting down on the number of binds could possibly not help, especially given the results in #61.

I've done several more runs of this test (and also done the same for #61) and it looks like:

This PR introduces at best a small improvement, and at worst a small regression in performance.
#61 introduces at best a large improvement, and at worst a small improvement.

With that in mind I think that updating the Free implementation is definitely worth doing, and that merging this PR might need to wait until I (or someone else) can understand why reducing the number of binds is not producing a meaningful improvement.


php.extensions.xsl: update extension in prevision of next PHP version

see comments from @nielsdos at https://github.com/php/php-src/pull/13031
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build php81 php82 php83 php81.extensions.xsl php82.extensions.xsl php83.extensions.xsl


FAQ example showing how to manually handle click event does not work

I don't expect i'll get a helpful reply from the dev, as based on other issues, he's been all but helpful to people but here goes...
As per your FAQ example showing how to manually handling menu trigger via a left click, the example only partially works. I can get the manual click handler to work just fine, howerver there doesn't seem to be a way to actually manually disable right click from triggering as well. I've read the api/faq docs and looked at the examples, but there's nothing mentioning how to do this short of adding disable={true} to the context menu trigger component. However doing so also attaches that prop to the manually triggered event, and you can not modify the props, even using a re-assignment.

Form what you are saying I understand that you want to disable right-click completely, right?

yes

I don't understand why this was coded to use the right click at all.

This is a context-menu and by definition it is meant to be used on right-clicks only.
If you want to use menus on left click, there are other components that are more suitable than this component.

That is the EXACT attitude I was talking about in my original post. If you're unwilling to help users with issues, why post a public github? Can you please address the original issue track, as it is in fact fully valid. As per another issue submitted, you have inconsistent documentation.
Also, telling someone to "use something else" when they've spent hours trying to work with your plugin is just plain rude and dismissive.

If you're unwilling to help users with issues, why post a public github?
I cannot control how the users of this plugin are using it. If someone is using it in a way which is the not intended by the author, then it's not my responsibility.

Also, telling someone to "use something else" when they've spent hours trying to work with your plugin is just plain rude and dismissive

I did not ask you to use this plugin. It's you, who chose to use it.

Why submit a public code base if you have no intention of supporting/maintaining it? That goes against the very nature of git hub. If you don't want to support it, you should probably make this repository private so others don't waste their time trying to get it to work.  Especially when you can't be bothered to provide proper documentation.

Why submit a public code base if you have no intention of supporting/maintaining it?

I've open sourced this more than 2 years ago and I cannot maintain it anymore because I do not have time and resources.

That goes against the very nature of github.
You have wrong understanding of GitHub then. It's meant for sharing code and not support-center for it.

If you don't want to support it, you should probably make this repository private so others don't waste their time trying to get it to work.

I've mentioned in the README that I'm looking for maintainers. That should have been a hint for you.

I agree that I do not want others to waste my time, but a part of being a developer is evaluating libraries for the use case. If one does not fit your use case, move on the next and not to crib about it.
If nothing works, write your own. (This is how I work at-least.)

you can't be bothered to provide proper documentation.

You are the only one out of thousands of users of this library who does not understand the documentation. If you have problem with it, help in improving it instead of behaving like a jerk.


BUG: Fix bug with BIDS split saving

In https://github.com/mne-tools/mne-bids-pipeline/issues/852 there is a bug where BIDSPath-based files were being written as:
sub-155_task-tiwm_proc-ica_split-01_split-01_epo.fif

This is because a mne-bids-pipeline naively did something like:
fname = BIDSPath(..., split="01")
epochs = read_epochs(fname)
...
epochs_out.save(fname.copy().update(proc="something))

but it needed to have split=None in the update call to avoid the double _split-01_split-01.
This is because currently MNE-Python takes fname, converts it to a pathlib.Path (automatically via dunder BIDSPath.__fspath__, which is an alias for str(BIDSPath.fpath)), then checks to see if splits need to be done, and if so appends _split-01 while writing. So you end up with a filename ..._split-01_split-01_epo.fif.
So far this PR just exposes the issue (true TDD!). My proposed solution is to:

Try to detect mne_bids.BIDSPath instances before converting to a path.

If bids_path.split is not None, do one of:

Emit a warning, but keep existing bids_path.split, thereby still writing _split-01_split-01_epo.fif (backward compatible change; filename is invalid BIDS I think)
Emit a warning, but replace bids_path.split = None, thereby writing _split-01_epo.fif or _epo.fif instead depending on the data size (backward incompatible change)
Emit a warning only if a split file will be written and bids_path.split not in (None, "01"), and replace bids_path.split = None` (backward incompatible change; seems fragile because the warning behavior depends on stuff like the size of the data being saved to disk)
Raise an error, thereby writing nothing (backward incompatible change; most explicit)

@sappelhoff @hoechenberger any opinion on which is best here? I'm inclined toward option (iv) / raising an error because it forces the user in their code to do a .update(split=None) when writing a file, which makes things more explicit for them (i.e., makes it clear a _epo.fif or a _split-01_epo.fif could be written depending on the file size).

+1 for proposal 4, raise an exception

+1 for iv as well, with raising a clearly written exception


Typo fix in README.md

Hi, @dempfi.
Only a small typo fix in README.md.
🤓

awesome, thx @marcker for contribution!


soc: esp32c6: add Wi-Fi support

Enables Wi-Fi support.

LGTM

LGTM

looks like now would be a good time to update the "Supported Features" table for the ESP32-C6 DevkitC (don't think there are other C6 boards... yet) to not forget..?


Django template Collect Static Files improperly configured

The Collect Static Files command is failing due to configuration.
django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.

Note that this prevents publish to azure web apps from succeeding:
    Target "CreateWebDebugConfig" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Python Tools\Microsoft.PythonTools.Web.targets" from project "c:\Users\huvalo\Documents\Visual Studio 2015\Projects\DjangoWebProject1\DjangoWebProject1\DjangoWebProject1.pyproj" (target "CoreCompile" depends on it):
        Done building target "CreateWebDebugConfig" in project "DjangoWebProject1.pyproj".
    Target "GenerateCompiledExpressionsTempFile" skipped, due to false condition; ('$(GenerateCompiledExpressionsTempFilePathForEditing)' != '') was evaluated as ('' != '').
    Target "DesignTimeXamlMarkupCompilation" in file "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Xaml.targets" from project "c:\Users\huvalo\Documents\Visual Studio 2015\Projects\DjangoWebProject1\DjangoWebProject1\DjangoWebProject1.pyproj" (target "CoreCompile" depends on it):
        Task "MakeDir" skipped, due to false condition; ('@(XamlAppDef)' != '') was evaluated as ('' != '').
        Task "CallTarget" skipped, due to false condition; ('$(BuildingProject)' != 'true' and '@(XamlAppDef)' != '') was evaluated as ('true' != 'true' and '' != '').
        Done building target "DesignTimeXamlMarkupCompilation" in project "DjangoWebProject1.pyproj".
    Target "CleanInProcessXamlGeneratedFiles" skipped, due to false condition; ('@(XamlAppDef)' != '') was evaluated as ('' != '').
    Target "DesignTimeMarkupCompilation" in file "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFx.targets" from project "c:\Users\huvalo\Documents\Visual Studio 2015\Projects\DjangoWebProject1\DjangoWebProject1\DjangoWebProject1.pyproj" (target "CoreCompile" depends on it):
        Task "CallTarget" skipped, due to false condition; ('$(BuildingProject)' != 'true') was evaluated as ('true' != 'true').
        Done building target "DesignTimeMarkupCompilation" in project "DjangoWebProject1.pyproj".
    Target "CoreCompile" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Python Tools\Microsoft.PythonTools.Web.targets" from project "c:\Users\huvalo\Documents\Visual Studio 2015\Projects\DjangoWebProject1\DjangoWebProject1\DjangoWebProject1.pyproj" (target "PipelineCollectFilesPhase" depends on it):
        Done building target "CoreCompile" in project "DjangoWebProject1.pyproj".
    Target "_ValidatePythonVersion" skipped, due to false condition; (!$(SuppressGenerateWebPiReference)) was evaluated as (!true).
    Target "ResolvePythonInterpreterPath" skipped. Previously built successfully.
    Target "DetectStaticRootPath" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Python Tools\Microsoft.PythonTools.Django.targets" from project "c:\Users\huvalo\Documents\Visual Studio 2015\Projects\DjangoWebProject1\DjangoWebProject1\DjangoWebProject1.pyproj" (target "DjangoCollectStaticFiles" depends on it):
        Task "RunPythonCommand"
        Task Parameter:Target=import DjangoWebProject1.settings as settings; print(settings.STATIC_ROOT or '')
        Task Parameter:TargetType=code
        Task Parameter:ExecuteIn=none
        Task Parameter:WorkingDirectory=.
        Task Parameter:Environment=DJANGO_SETTINGS_MODULE=DjangoWebProject1.settings
        Task Parameter:ConsoleToMSBuild=True
        Output Property: DjangoStaticRootSetting=
        Done executing task "RunPythonCommand" -- FAILED.
        Done building target "DetectStaticRootPath" in project "DjangoWebProject1.pyproj" -- FAILED.
Done building project "DjangoWebProject1.pyproj" -- FAILED.

========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========

We need to add STATIC_ROOT = os.path.join(BASE_DIR, 'static').replace('\\', '/') to the default settings.py files


[Textarea] getValue() return null

Current behaviour
getValue() returns null when used by the following manner :
this.fieldFor('fieldWithATextareaDomain');

Expected behaviour
Please correct the getValue method.
Versions
Focus-core: 0.12.3
Focus-components: 0.8.5

@durandx Can youn add your domain in the issue, thanks.

@durandx  Do you use this component in your domain, can you check the getValue inside a breakpoint
https://github.com/KleeGroup/focus-components/blob/develop/src/components/input/textarea/index.js#L52

We were using the component under common.input.Textarea instead of component.input.textarea

Thanks for the feedback


console client: Exit when no key provided

If no extraction key is provided, list the available keys and some text explaining that you should use one/some/all of these and then quit.
macintosh:stopword-trainer eklem$ ./index-cli.js -f justTen.str
Will process file: justTen.str
{ max: 100, extractionKeys: [] }
keys found in object: title,body,date,topics[0],places[0],places[1],places[2],id
Processing document #1
Processing document #2
Processing document #3
Processing document #4
Processing document #5
Processing document #6
Processing document #7
Processing document #8
Processing document #9
Processing document #10
Finished processing

Actually, not exiting, just explaining better for the command line that with no key, you'll process values for all keys.


failed to import on python 3.6, no attribute Pattern

Hi, I get the following error when trying to import mongita in python 3.6.
Traceback (most recent call last):
  File "test.py", line 3, in <module>
    from mongita import MongitaClientDisk
  File "/home/chris/GitWS/tinydb_sqlite/venv/lib/python3.6/site-packages/mongita/__init__.py", line 1, in <module>
    from . import collection
  File "/home/chris/GitWS/tinydb_sqlite/venv/lib/python3.6/site-packages/mongita/collection.py", line 39, in <module>
    re.Pattern: b'\n',
AttributeError: module 're' has no attribute 'Pattern'

Looks like 3.6 does not support  Pattern. Looks like other projects have the same issue https://github.com/getsentry/responses/pull/196/files, https://github.com/beetbox/beets/issues/2978
To continue to support 3.6 you may have to add something like:

in an appropriate place

Hey @chrisbeardy thanks for the issue report. You're correct, this was an oversight on my part. Sorry about that.
I attempted to add changes to make Mongita 3.6 compatible but unfortunately, I found another incompatibility that would have taken significant work to address - if it could be addressed cleanly at all. Even then, I suspect there would have been more problems after that.
So, instead, I decided to bump the required Python version to 3.7+.
Sorry about that. Hope that it will be possible to work around this on your end.


Use Cowboy 1.1.2

This PR updates Cowboy dependency to 1.1.2.
Upgrading Cowbow added lots of dependencies, which made both reltool and our escript unhappy. To make at least escript happy, I've changes applications' starting method to application:ensure_all_started/1.
Closes #58

Thanks @arkgil !


remove deprecated stuff - FOUND_ROWS() and SQL_CALC_FOUND_ROWS

Can you include the test plan for this PR?

Can you include the test plan for this PR?

We have unit test. Many unit test cases go through the code.
I once got test error when the code has issue. ^^
Results :

Failed tests:   testDeploymentQueries(com.pinterest.deployservice.db.DBDAOTest): expected:<1> but was:<5>

Tests run: 82, Failures: 1, Errors: 0, Skipped: 3


Unit Test for Music Feature

In this PR I:

Implemented unit tests for methods in the Genre and musicAlbum classes.

This PR closes #17

thank you


unable to install to windows 7

Dear all,
I'm not able to install markupSafe in windows7.  I ran the script: pip install markupsafe and i had the following output:

It looks like it can not find the path or some the files.
Could you please support me?
Best,
Paolo

Im no expert, but you could try making sure wheel is up to date:
pip install -U pip setuptools wheel

It looks like it is trying to build the C code from source, which is never much fun on Windows.
See https://github.com/pallets/markupsafe/issues/45#issuecomment-335038182 -- prebuilt wheels will be available in the next release for Windows (from PR https://github.com/pallets/markupsafe/pull/65).
(You may be able to find prerelease wheels on AppVeyor, but I don't know what the URL is, https://ci.appveyor.com/project/pallets/markupsafe is 404.)

Closing, appears to be a duplicate of #67, which was solved by updating pip and setuptools. Also should be solved by #45.

PyPI has wheels for MarkupSafe 1.1.0.


The device OTAA not activated.

Hello!
I tried to connect a device on my loraserver (after creating a network server, service profile, device profile, gateway, etc...) and I can't get the created device to activate.
The only component I couldn't build was geolocation. The certificates are placed, and it doesn't seem that in the log there is any error related to this.
LoraServer log:
time="2018-10-16T07:22:18Z" level=info msg="starting LoRa Server" band=EU_863_870 docs="https://docs.loraserver.io/" net_id=123456 version=2.3.0
time="2018-10-16T07:22:18Z" level=info msg="setup redis connection pool" url="redis://redis:6379"
time="2018-10-16T07:22:18Z" level=info msg="connecting to postgresql"
time="2018-10-16T07:22:19Z" level=error msg="ping database error, will retry in 2s: pq: the database system is starting up"
time="2018-10-16T07:22:21Z" level=info msg="gateway/mqtt: connecting to mqtt broker" server="tcp://mosquitto:1883"
time="2018-10-16T07:22:21Z" level=error msg="gateway/mqtt: connecting to mqtt broker failed, will retry in 2s: Network Error : dial tcp <IP_ADDRESS>:1883: connect: connection refused"
time="2018-10-16T07:22:23Z" level=info msg="no geolocation-server configured"
time="2018-10-16T07:22:23Z" level=info msg="backend/gateway: connected to mqtt server"
time="2018-10-16T07:22:23Z" level=info msg="gateway/mqtt: subscribing to rx topic" qos=0 topic=gateway/+/rx
time="2018-10-16T07:22:23Z" level=info msg="configuring join-server client" ca_cert= server="http://appserver:8003" tls_cert= tls_key=
time="2018-10-16T07:22:23Z" level=info msg="no network-controller configured"
time="2018-10-16T07:22:23Z" level=info msg="applying database migrations"
time="2018-10-16T07:22:23Z" level=info msg="gateway/mqtt: subscribing to stats topic" qos=0 topic=gateway/+/stats
time="2018-10-16T07:22:23Z" level=info msg="backend/gateway: subscribing to ack topic" qos=0 topic=gateway/+/ack
time="2018-10-16T07:22:23Z" level=info msg="migrations applied" count=0
time="2018-10-16T07:22:23Z" level=info msg="starting api server" bind="<IP_ADDRESS>:8000" ca-cert=/certs/ca/ca.pem tls-cert=/certs/loraserver/api/server/loraserver-api-server.pem tls-key=/certs/loraserver/api/server/loraserver-api-server-key.pem
time="2018-10-16T07:22:23Z" level=info msg="starting downlink device-queue scheduler"
time="2018-10-16T07:22:23Z" level=info msg="starting multicast scheduler"
time="2018-10-16T07:22:48Z" level=info msg="gateway/mqtt: gateway stats packet received" gateway_id=88c255fffe6c8bf3
time="2018-10-16T07:22:48Z" level=info msg="gateway updated" gateway_id=88c255fffe6c8bf3
time="2018-10-16T07:23:18Z" level=info msg="gateway/mqtt: gateway stats packet received" gateway_id=88c255fffe6c8bf3
time="2018-10-16T07:23:18Z" level=info msg="gateway updated" gateway_id=88c255fffe6c8bf3
time="2018-10-16T07:23:48Z" level=info msg="gateway/mqtt: gateway stats packet received" gateway_id=88c255fffe6c8bf3
time="2018-10-16T07:23:48Z" level=info msg="gateway updated" gateway_id=88c255fffe6c8bf3
time="2018-10-16T07:23:59Z" level=info msg="gateway/mqtt: uplink frame received"
time="2018-10-16T07:23:59Z" level=error msg="processing uplink frame error" data_base64="QPQqASaAEQABNPZdGTumEx9aV8g=" error="get device-session error: device-session does not exist or invalid fcnt or mic"
time="2018-10-16T07:24:18Z" level=info msg="gateway/mqtt: gateway stats packet received" gateway_id=88c255fffe6c8bf3
time="2018-10-16T07:24:18Z" level=info msg="gateway updated" gateway_id=88c255fffe6c8bf3
time="2018-10-16T07:24:48Z" level=info msg="gateway/mqtt: gateway stats packet received" gateway_id=88c255fffe6c8bf3
time="2018-10-16T07:24:48Z" level=info msg="gateway updated" gateway_id=88c255fffe6c8bf3
LoraAppServer log:
time="2018-10-16T07:22:20Z" level=info msg="starting LoRa App Server" docs="https://www.loraserver.io/" version=2.3.0
time="2018-10-16T07:22:20Z" level=info msg="connecting to postgresql"
time="2018-10-16T07:22:20Z" level=info msg="setup redis connection pool"
time="2018-10-16T07:22:20Z" level=info msg="handler/mqtt: TLS config is empty"
time="2018-10-16T07:22:20Z" level=info msg="handler/mqtt: connecting to mqtt broker" server="tcp://mosquitto:1883"
time="2018-10-16T07:22:21Z" level=info msg="applying database migrations"
time="2018-10-16T07:22:21Z" level=info msg="handler/mqtt: connected to mqtt broker"
time="2018-10-16T07:22:21Z" level=info msg="handler/mqtt: subscribing to tx topic" qos=0 topic=application/+/device/+/tx
time="2018-10-16T07:22:21Z" level=info msg="migrations applied" count=0
time="2018-10-16T07:22:21Z" level=info msg="starting application-server api" bind="<IP_ADDRESS>:8001" ca-cert=/certs/ca/ca.pem tls-cert=/certs/lora-app-server/api/server/lora-app-server-api-server.pem tls-key=/certs/lora-app-server/api/server/lora-app-server-api-server-key.pem
time="2018-10-16T07:22:21Z" level=info msg="starting join-server api" bind="<IP_ADDRESS>:8003" ca_cert= tls_cert= tls_key=
time="2018-10-16T07:22:21Z" level=info msg="starting client api server" bind="<IP_ADDRESS>:8080" tls-cert=/etc/lora-app-server/certs/http.pem tls-key=/etc/lora-app-server/certs/http-key.pem
time="2018-10-16T07:22:21Z" level=info msg="registering rest api handler and documentation endpoint" path=/api

LoraGatewayBridge log:
time="2018-10-16T07:22:20Z" level=info msg="starting LoRa Gateway Bridge" docs="https://www.loraserver.io/lora-gateway-bridge/" version=2.6.0
time="2018-10-16T07:22:20Z" level=info msg="backend: set max reconnect interval: 10m0s"
time="2018-10-16T07:22:20Z" level=info msg="backend: TLS config is empty"
time="2018-10-16T07:22:20Z" level=info msg="backend: connecting to mqtt broker" server="tcp://mosquitto:1883"
time="2018-10-16T07:22:21Z" level=info msg="gateway: starting gateway udp listener" addr="<IP_ADDRESS>:1700"
time="2018-10-16T07:22:21Z" level=info msg="backend: connected to mqtt broker"
time="2018-10-16T07:22:21Z" level=info msg="backend: subscribing to topic" qos=0 topic=gateway/88c255fffe6c8bf3/tx
time="2018-10-16T07:22:21Z" level=info msg="backend: subscribing to topic" qos=0 topic=gateway/88c255fffe6c8bf3/config
time="2018-10-16T07:22:48Z" level=info msg="gateway: stat packet received" addr="<IP_ADDRESS>:48442" mac=88c255fffe6c8bf3
time="2018-10-16T07:22:48Z" level=info msg="backend: publishing packet" qos=0 topic=gateway/88c255fffe6c8bf3/stats

I'm continue with the same problem.

Please use the forum for support related questions: https://forum.loraserver.io/ :)