More description for Ansible

@gtfierro Could you detail the instruction for Ansible a bit more? Especially what should a user fill in for "the remote host"? Is it the hostname of the server that we'd like to run the code?

Yes
You can also set it to localhost if you want. I can submit a PR tomorrow with some clarifications

That'd be great. Thanks.


Build fails

   Compiling common v0.1.0 (/home/jayvdb/.cargo/git/checkouts/checkmark-1d55bf54c1738298/55ae29c/src/common)
error[E0308]: mismatched types
   --> src/common/src/lib.rs:645:5
    |
637 | pub fn parse(source: &str) -> Result<markdown::mdast::Node, String> {
    |                               ------------------------------------- expected `std::result::Result<markdown::mdast::Node, std::string::String>` because of return type
...
645 |     markdown::to_mdast(source, &options)
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Node, String>`, found `Result<Node, Message>`
    |
    = note: expected enum `std::result::Result<_, std::string::String>`
               found enum `std::result::Result<_, markdown::message::Message>`

For more information about this error, try `rustc --explain E0308`.
error: could not compile `common` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

Hi. Please re-check with the latest version.

Yup, builds now. thx


QUESTION: Is this package still supported?

I'm wondering if this package is still supported as it doesn't seem to work in Go version 1.20.
Has anyone else tried to use it in this version of Go and did it work?

For me its working on go 1.20


Multiple merchant capabilities

@michaelgobbers thank you for the PR, I merged the changes, they are already available at the pub!

Thats great! But is it possible that a new version of the platform interface still needs to be deployed to pub.dev. I just tried the new version but the interface is still the old one

Oops, thanks, 2.2.9 already available


[BUG]vela env no check kubeconfig context

Describe the bug

When the kubeconfig context is switched, vela env does not check whether the current context is the one in which the env was created.
To Reproduce

vela install
switch kubeconfig context

$ vela env ls
NAME   	CURRENT	NAMESPACE	EMAIL	DOMAIN
default	*      	default
$ vela
vela traits
NAME     	DESCRIPTION                                                 	APPLIES TO
autoscale	`Autoscale` is used to automatically scale workloads by     	webservice
         	resource utilization metrics or cron triggers.              	worker
metrics  	`Metrics` is used to configure monitoring metrics for your  	webservice
         	service.                                                    	task
rollout  	`Rollout` is used to configure Canary deployment strategy   	webservice
         	for your application.
route    	`Route` is used to configure external access to your        	webservice
         	service.
scaler   	`Scaler` is used to configure replicas for your service.    	webservice
         	                                                            	worker
$ k get traitdefinitions.core.oam.dev
error: the server doesn't have a resource type "traitdefinitions"

Expected behavior

An error should be thrown: The cluster is not installed with vela, please execute vela instll
Screenshots

Cluster information

Additional context

we will not fix this issue, instead, vela env should update the Env CRD instead of local data. #999
ping @Cweiping

/assign


Fix missing aziottpm user in tss group and aziotcl package in RDEPENDS for aziotd

This fixes the issue #132

Additionaly I have added a fix for https://github.com/Azure/meta-iotedge/issues/134


Capture Rate for DLM

Change metric to be captured from time to rate for making it easy for QA to do comparison with older runs.

PR for changes for MIGraphX runs: https://github.com/ROCm/DeepLearningModels/pull/1325
Changes for trtexec will follow in a subsequent PR...

PR for changes for MIGraphX runs: ROCm/DeepLearningModels#1325
Changes for trtexec will follow in a subsequent PR...

PR for changes for trtexec: https://github.com/ROCm/DeepLearningModels/pull/1343

PR for changes to capture string so awk does not fail if other mentions of Throughput are found in log files: https://github.com/ROCm/DeepLearningModels/pull/1344

Updated PR to calculate throughput for trtexec runs from GPU Compute Time (mean value): https://github.com/ROCm/DeepLearningModels/pull/1344

PR is approved, just needs to be merged: https://github.com/ROCm/DeepLearningModels/pull/1344

PR has been merged in, closing this issue.


Upgrade dependencies

Codecov Report

Merging #111 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #111   +/-   ##
=======================================
  Coverage   96.77%   96.77%
=======================================
  Files           2        2
  Lines          31       31
  Branches        7        7
=======================================
  Hits           30       30
  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 acc89f7...3245b24. Read the comment docs.


Route generation is adding a / at the end of routes (like $project/$tab/index.tsx)

Describe the bug
Say I have this folder structure:

The route generator is incorrectly adding a slash to the $tab/index route, breaking our app:

Without this slash the router works as expected but the generator continues to add a slash.
Your Example Website or App
It's our own internal app.
Steps to Reproduce the Bug or Issue
Say I have this folder structure:

The route generator is incorrectly adding a slash to the $tab/index route, breaking our app:

Without this slash the router works as expected but the generator continues to add a slash.
Expected behavior
A slash is not added.
Screenshots or Videos
No response
Platform
macOS
Latest version of TanStack Router 1.30
Additional context
No response

We were able to fix this by moving $tab/index.tsx to $tab.tsx. I'm guessing this is intentional?

Just kidding that did not fix the issue. We now have a new issue:

We had to remove TypeScript support for TanStack Router to unblock all of these issues.

$tab/index.tsx creates a trailing slash that breaks our pages
$tab.tsx works but now all of the Links complain
As of the latest version we have to add from="" to links
Having a parameter in from= means that the parameter is expected to be supplied in params or it's undefined. This is either a regression from previous versions or it's intended behavior that is not clearly documented.

// declare module "@tanstack/react-router" {
//  interface Register {
//    router: typeof router
//  }
// }

We're also adding to add from="" to all of our links to stop TypeScript from complaining. And if we specify the from then the params will come up as undefined. Older versions of TanStack Router did not require the from parameter and the router still worked great supplying incomplete params (which IMHO is the best DX one could ask for).

Also your documentation website is down...

I may be overseeing something, but didn't you mean to name your file route.tsx in stead of index.tsx?

what exactly is "breaking" your app?
please always provide a minimal complete example, e.g. by forking and modifying one of the existing examples on stackblitz

@schiller-manuel https://github.com/divmgl/tanstack-router-bug

so does "breaking" mean typescript issues or runtime behavior?

Changing this to index.tsx breaks the links because it adds a trailing slash, just a heads up. So when you click on the links the application goes to a Not Found route.
That's what I meant by "breaks the app".

Both. TypeScript is not working correctly and a trailing slash will send us to a Not Found page on existing links if we use index.tsx.

However the biggest blocker by far is that TypeScript is not working correctly.

Will do. Are you able to see the TS issue though?

we are aware that a recent change that restricts to only link to leaf routes was too rigid and this will be loosened up soon.
however, in your particular case, you might really need both index.tsx and route.tsx.
route.tsx then contains all the layout that should be displayed for all children routes (e.g. /projects/123/456/activities/789), including the index route defined in index.tsx (e.g. /projects/123/456).

Ah, very interesting. So we needed both an index.tsx and route.tsx file here. Kind of confusing, should definitely make a note about this in the documentation.
One additional question, is this intentional?

Where if $workspaceId and $projectId are not specified in the params then TypeScript complains? We found it really useful to be able to supply partial params and rely on @tanstack/react-router's functionality where it reuses the existing params using the current route.

For partial params to work, you need to be navigating away from a route that has those missing params defined (i.e. the from property needs to be set. Otherwise TS does not know in which route the link is created).
However, as you already stated above there currently is a bug (https://github.com/TanStack/router/issues/1474) that prevents the params to be carried over at runtime.

Ah, very interesting. So we needed both an index.tsx and route.tsx file here. Kind of confusing, should definitely make a note about this in the documentation.

Did you have a look at https://tanstack.com/router/v1/docs/framework/react/guide/route-trees ?
If this misses some information, we would really appreciate a PR to update the documentation.

For partial params to work, you need to be navigating away from a route that has those missing params defined (i.e. the from property needs to be set. Otherwise TS does not know in which route the link is created). However, as you already stated above there currently is a bug (#1474) that prevents the params to be carried over at runtime.

So a previous version of TanStack Router did not work like this and we liked the DX quite a bit. The reason is that links are usually static and are only used in a single place. It'd be nice if this was opt-in or opt-out in some way. Maybe a feature request.

Closing this issue as technically our problem here is resolved.
We're running into other issues with TanStack Router. One additional issue is performance in our TS Server is slowing down considerably as we iterate on routes.
I've opened a discussion here as I technically will not have time to create a repro but I'd be happy to coordinate with you all if you'd like to take a look at our codebase and be compensated for helping us. My email is<EMAIL_ADDRESS>


Add command to print loyalty ID

Prints your loyalty ID to create/print QR codes (e.g. to hand them out to your kids)

Thanks for adding! :slightly_smiling_face:


[FormBuilderSearchableDropdown]: Scrolling to initial item when opened

Is there an existing issue for this?

[X] I have searched the existing issues

Package/Plugin version
^10.1.0
Platforms

[X] Android
[X] iOS
[ ] Linux
[ ] MacOS
[ ] Web
[ ] Windows

Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 3.14.0-0.2.pre, on Microsoft Windows [Version 10.0.22621.2428], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.1)
[√] Android Studio (version 2022.3)
[√] VS Code (version 1.84.0)
[√] Connected device (4 available)
Hello,
I want the FormBuilderSearchableDropdown to scroll to initial item when opened.
This widget opens every time from the start.
Minimal code example
        FormBuilderSearchableDropdown<int>(
            key: UniqueKey(),
            name: 'FormBuilderSearchableDropdown_A',
            items: List.generate(100, (index) => index),
            selectedItem: 50,
            initialValue: 50,
            popupProps: const PopupProps.menu(
              showSelectedItems: true,
              showSearchBox: false,
              fit: FlexFit.loose,
            ),
            compareFn: (a, b) => a == b,
          ),

Current Behavior
This widget opens every time from the start.
Expected Behavior
I want the FormBuilderSearchableDropdown to scroll to initial item when opened.
Steps To Reproduce
Just use this widget
Additional information

I don't know if this is a bug or a new feature. This can be do with original widget? https://pub.dev/packages/dropdown_search


[Bug]: RuntimeError: The size of tensor a (140590) must match the size of tensor b (2500) at non-singleton dimension 1

Describe the bug
I see a similar issue was raised before but didn't have enough detail to answer it. https://github.com/speechbrain/speechbrain/issues/827
When running the following code:
from speechbrain.pretrained import EncoderDecoderASR

asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-transformer-transformerlm-librispeech", savedir="pretrained_models/asr-transformer-transformerlm-librispeech")
trans = asr_model.transcribe_file("my/local/path/file.wav")

I get this error:
RuntimeError                              Traceback (most recent call last)
Cell In[10], line 3
      1 with torch.no_grad():
      2     wav_lens = rel_length.to(asr_model.device)
----> 3     encoder_out = asr_model.encode_batch(batch, rel_length)

File [c:\Users\francisw\Documents\repos\speech-to-text\.venv\Lib\site-packages\speechbrain\pretrained\interfaces.py:604](file:///C:/Users/francisw/Documents/repos/speech-to-text/.venv/Lib/site-packages/speechbrain/pretrained/interfaces.py:604), in EncoderDecoderASR.encode_batch(self, wavs, wav_lens)
    602 wavs = wavs.float()
    603 wavs, wav_lens = wavs.to(self.device), wav_lens.to(self.device)
--> 604 encoder_out = self.mods.encoder(wavs, wav_lens)
    605 return encoder_out

File [c:\Users\francisw\Documents\repos\speech-to-text\.venv\Lib\site-packages\torch\nn\modules\module.py:1501](file:///C:/Users/francisw/Documents/repos/speech-to-text/.venv/Lib/site-packages/torch/nn/modules/module.py:1501), in Module._call_impl(self, *args, **kwargs)
   1496 # If we don't have any hooks, we want to skip the rest of the logic in
   1497 # this function, and just call forward.
   1498 if not (self._backward_hooks or self._backward_pre_hooks or self._forward_hooks or self._forward_pre_hooks
   1499         or _global_backward_pre_hooks or _global_backward_hooks
   1500         or _global_forward_hooks or _global_forward_pre_hooks):
-> 1501     return forward_call(*args, **kwargs)
   1502 # Do not call functions when jit is used
   1503 full_backward_hooks, non_full_backward_hooks = [], []

File [c:\Users\francisw\Documents\repos\speech-to-text\.venv\Lib\site-packages\speechbrain\nnet\containers.py:191](file:///C:/Users/francisw/Documents/repos/speech-to-text/.venv/Lib/site-packages/speechbrain/nnet/containers.py:191), in LengthsCapableSequential.forward(self, x, lengths)
    189     x = layer(x, lengths=lengths)
    190 else:
--> 191     x = layer(x)
    192 if isinstance(x, tuple):
    193     x = x[0]

File [c:\Users\francisw\Documents\repos\speech-to-text\.venv\Lib\site-packages\torch\nn\modules\module.py:1501](file:///C:/Users/francisw/Documents/repos/speech-to-text/.venv/Lib/site-packages/torch/nn/modules/module.py:1501), in Module._call_impl(self, *args, **kwargs)
   1496 # If we don't have any hooks, we want to skip the rest of the logic in
   1497 # this function, and just call forward.
   1498 if not (self._backward_hooks or self._backward_pre_hooks or self._forward_hooks or self._forward_pre_hooks
   1499         or _global_backward_pre_hooks or _global_backward_hooks
   1500         or _global_forward_hooks or _global_forward_pre_hooks):
-> 1501     return forward_call(*args, **kwargs)
   1502 # Do not call functions when jit is used
   1503 full_backward_hooks, non_full_backward_hooks = [], []

File [c:\Users\francisw\Documents\repos\speech-to-text\.venv\Lib\site-packages\speechbrain\lobes\models\transformer\TransformerASR.py:348](file:///C:/Users/francisw/Documents/repos/speech-to-text/.venv/Lib/site-packages/speechbrain/lobes/models/transformer/TransformerASR.py:348), in EncoderWrapper.forward(self, x, wav_lens)
    346 def forward(self, x, wav_lens=None):
    347     """ Processes the input tensor x and returns an output tensor."""
--> 348     x = self.transformer.encode(x, wav_lens)
    349     return x

File [c:\Users\francisw\Documents\repos\speech-to-text\.venv\Lib\site-packages\speechbrain\lobes\models\transformer\TransformerASR.py:301](file:///C:/Users/francisw/Documents/repos/speech-to-text/.venv/Lib/site-packages/speechbrain/lobes/models/transformer/TransformerASR.py:301), in TransformerASR.encode(self, src, wav_len)
    298     pos_embs_source = self.positional_encoding(src)
    300 elif self.positional_encoding_type == "fixed_abs_sine":
--> 301     src = src + self.positional_encoding(src)
    302     pos_embs_source = None
    304 encoder_out, _ = self.encoder(
    305     src=src,
    306     src_key_padding_mask=src_key_padding_mask,
    307     pos_embs=pos_embs_source,
    308 )

RuntimeError: The size of tensor a (140590) must match the size of tensor b (2500) at non-singleton dimension 1

I'm not sure this is necessarily a bug or just that I need to do some additional pre-processing of the wav file that I'm using.
When I run the lines leading up to the encoder_out = asr_model.encode_batch(batch, rel_length) line, the dimension of the batch that I'm passing to encode_batch is [1, 89977000].
waveform = asr_model.load_audio("my/local/path/file.wav")
batch = waveform.unsqueeze(0)
rel_length = torch.tensor([1.0])
print(batch.shape)

torch.Size([1, 89977000])

When inspecting the properties of my wave file, I see it has a bit rate of 705kbps. As I understand it, load_file should normalize this to meet the sampling used in the pre-trained model, but I think this part seems to be having issues? At least that's my best guess.
Any help would be greatly appreciated, thanks!
Expected behaviour
The audio file should be transcribed to text.
To Reproduce
No response
Versions
No response
Relevant log output
No response
Additional context
No response

I believe I'm running into an error here because the positional_encodings max_length defaults to 2500 and I don't have a way of changing that parameter from the scope of asr_model.transcribe_file
The error goes away when I reduce the size of input file.
Thoughts on updating this to throw an exception that says the max_length has been exceeded?

Late answer but +1 on having a more explicit error when exceeding the size of the positional encoding. Though, in any case, encoding a file this long with a model would not work anyway due to the computational/memory requirements (and potential training/evaluation discrepancies due to length).


Integration

Enable server (i.e. openmicroscopy/openmicroscopy) integration tests to be run in travis.
See https://github.com/openmicroscopy/openmicroscopy/pull/5656
Overview of changes:

.env/docker-compose.yml: drop hard-coded ports (breaking change)
compose/docker: improve $PROJECT default value. Strategy now in place can be used in any scripts (like persist.sh)
docker: defer start_up in order to set environment variables like COMPOSE_FILE
download.sh/persist.sh: new scripts for backing up data.

[ ] Q1: Do we want the .sh file ending?
[ ] Q2: These scripts as well as docker and compose are user-runnable. The others are not. Should we put these in separate directories?
[ ] Q3: Is the strategy for the backup generally acceptable? Does it need versioning?

srv-compose.yml:  a standalone compose file which is due to a limitation in docker-compose v3+ in that image: and build: sections do not permit overriding. Hopefully can be removed in the future.
volumes.yml: an extension compose file which can be activated via export COMPOSE_FILE=docker-compose.yml:volumes.yml

A realization while working on https://github.com/ome/omero-figure/pull/270:
Each stage in a command like .omero/docker apps scripts currently must also complete standalone. This was something of a surprise. If we want to consider the two stages as a single run that can work together, we'll need to slightly modify the logic.

Q1.

Does not hurt to keep extension, and probably indicate better that they can be executed

Q2.
I don't think it is necessary to introduce a new directory. Add to the README the list of executable files

Q3.
versioning will be nice to have but this might add some extra complexity not required at stage.

I will try this branch against few repo to see possible side effects

Tested this PR against

iviewer (with my fix in iviewer) https://travis-ci.org/jburel/omero-iviewer/builds/341347476 green
figure https://travis-ci.org/jburel/omero-figure/builds/341346264
mapr https://travis-ci.org/jburel/omero-mapr/builds/341348417

mapr is currently failing

mapr failure:
Traceback (most recent call last):
  File ".//setup.py", line 82, in <module>
    test_suite="tests",
  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/site-packages/ptr.py", line 157, in run
    installed_dists = self.install_dists(dist)
  File "/usr/lib/python2.7/site-packages/ptr.py", line 118, in install_dists
    orig.test.install_dists(dist),
AttributeError: class test has no attribute 'install_dists'

Candidates:

https://github.com/pytest-dev/pytest/releases/tag/3.4.0 released 15 days ago
https://github.com/pytest-dev/pytest-runner/releases/tag/4.0 released 4 days ago

Current state of each of the following repositories passed with this branch:
[jamoore@idr1-slot2 omero-test-infra-build]$ export INFRAFORK=joshmoore
[jamoore@idr1-slot2 omero-test-infra-build]$ export INFRABRANCH=integration
[jamoore@idr1-slot2 omero-test-infra-build]$ time git submodule foreach $PWD/test.py
Entering 'omero-cli-duplicate'
Elapsed: 67s
Shutdown took 1s
Entering 'omero-cli-render'
Elapsed: 230s
Shutdown took 1s
Entering 'omero-figure'
Elapsed: 84s
Shutdown took 2s
Entering 'omero-fpbioimage'
Elapsed: 71s
Shutdown took 1s
Entering 'omero-gallery'
Elapsed: 67s
Shutdown took 1s
Entering 'omero-iviewer'
Elapsed: 279s
Shutdown took 2s
Entering 'omero-mapr'
Elapsed: 94s
Shutdown took 1s
Entering 'omero-test-infra'
Skipping core
Entering 'omero-weberror'
Elapsed: 73s
Shutdown took 1s
Entering 'omero-webtest'
Elapsed: 72s
Shutdown took 1s
Entering 'rOMERO-gateway'
Elapsed: 164s
Shutdown took 1s
Entering 'scripts'
Elapsed: 263s
Shutdown took 1s

real    24m52.155s
user    0m20.458s
sys     0m6.370s

see https://github.com/joshmoore/omero-test-infra-build/commit/217228a522c48ac9abe2f42e3ccc38d0bc142667 for the script above.

My vote is to merge and tag

Merging & tagging then then I'll bump the likes of https://github.com/ome/omero-mapr/pull/31 to point to the mainline.


HADOOP-18119. ViewFileSystem#getUri should return a URI with an empty path component

Description of PR
The goal here is that the semantics of FileSystem#getURI() remains the same as before when using ViewFileSystem.
We should assume that the URI returned by FileSystem#getURI() doesn't have a Path component (i.e., path component is null). DistributedFileSystem follows this pattern. However, ViewFileSystem add "/" as the path component in the URI returned.
How was this patch tested?
mvn test -Dtest=TestViewFileSystem*
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 47s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 3 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
110m  0s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
33m 53s

trunk passed

+1 :green_heart:
compile
22m 38s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
19m 37s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
3m 36s

trunk passed

+1 :green_heart:
mvnsite
3m 53s

trunk passed

+1 :green_heart:
javadoc
3m 29s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
3m 35s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
5m 58s

trunk passed

+1 :green_heart:
shadedclient
23m  9s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 28s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 15s

the patch passed

+1 :green_heart:
compile
21m 46s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
21m 46s

the patch passed

+1 :green_heart:
compile
19m 44s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
19m 44s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
3m 30s

the patch passed

+1 :green_heart:
mvnsite
3m 21s

the patch passed

+1 :green_heart:
javadoc
2m 35s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
3m 34s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
6m 14s

the patch passed

+1 :green_heart:
shadedclient
23m 11s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
17m 32s

hadoop-common in the patch passed.

-1 :x:
unit
228m 57s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
1m 11s

The patch does not generate ASF License warnings.

564m 28s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestViewDistributedFileSystemWithMountLinks

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3979/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3979

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux d34c49d6f560 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 0ee196a04d59c815d7cf5e7b88771fa7016f62bc

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3979/1/testReport/

Max. process+thread count
3688 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3979/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 39s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
32m  6s

trunk passed

+1 :green_heart:
compile
22m 18s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
19m 33s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m  7s

trunk passed

+1 :green_heart:
mvnsite
1m 41s

trunk passed

+1 :green_heart:
javadoc
1m 13s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 45s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
2m 30s

trunk passed

+1 :green_heart:
shadedclient
22m  8s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 57s

the patch passed

+1 :green_heart:
compile
21m 40s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
21m 40s

the patch passed

+1 :green_heart:
compile
19m 45s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
19m 45s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  7s

the patch passed

+1 :green_heart:
mvnsite
1m 39s

the patch passed

+1 :green_heart:
javadoc
1m 12s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 43s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
2m 39s

the patch passed

+1 :green_heart:
shadedclient
22m 23s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
17m 41s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 54s

The patch does not generate ASF License warnings.

196m 55s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3979/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3979

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 530bf60df458 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 2dc341cfe51caeb6ddc262c5b35849ec11a5de0c

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3979/3/testReport/

Max. process+thread count
1258 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3979/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


Preview isn't the same on a Codepen example

Describe the bug
The codepen example found at https://codepen.io/mjgartendev/pen/zQOLqW doesn't look and behave as it should in your Editor, and I have tried to make it work on your editor but it just doesn't work and I wonder why ?
To Reproduce
Steps to reproduce the behavior:

Go to '...' https://codepen.io/mjgartendev/pen/zQOLqW
Copy HTML /CSS /JS code to the editor
Copy also the HTML meta and the rest of the code  shown in the pen settings for the HTML part. Paste to the first line in the Editor HTML part
See the preview , it doesn't work

Expected behavior
Preview on Codepen and Editor isn't the same.
Screenshots
Will add tomorrow
Desktop (please complete the following information):

OS: win7

Browser: Chrome (latest) and FF (latest)?

Additional context
A fix for this or to understand why it doesn't work would be appreciated.

Oh I just saw that it is about compiling SCSS to CSS and TypeScript to JS, so it works out of the box on your editor.:)
But perhaps adding support for compiling SCSS to CSS and TypeScript to JS, is that possible?

@zilveer, this editor was never meant to have built-in transpilation. I think it could be possible, but to be honest I don't have the time to get into something like this right now. If/when I do, I'll update this issue.


Use npx to generate files

The current method of installation requires that we setup a package.json and install this package, it would be better to setup npx to do the codegen instead.

I believe we can close this now, reopen if help is still needed


ExpressRoute Compatibility w/ OneFuzz - Proxy & Virtual Network Refactor Work

In order to make OneFuzz compatible with ExpressRoute, a brief refactor will need to be applied to the current VMSS/Proxy/Virtual Network architecture.
Namely, the below changes need to be made:

The VMSS Virtual Network (ex. westus2) needs to be changed from <IP_ADDRESS>/8 to a subnet that does not conflict with ExpressRoute. We could make this value configurable at runtime.
The proxy's networking components need to be partitioned onto it's own virtual network (ex. proxy-network). This will allow us to link ExpressRoute and it's virtual gateway to only the proxy. This network will need to be peered to the VMSS vNet.
Make the proxy-network subnet(s) configurable at deployment time. Any OneFuzz instance onboarded to ExpressRoute will need to have a unique subnet for the proxy with the proxy-network. In addition, the proxy-network must have a configurable 'Gateway Subnet.' The subnet range must also be unique.

[x] #1280

This had one task item, which is now complete. Do we need to split out some more? @nharper285


Add include capability

something like ```include
file.md

Ok. So, here's the deal.
Showdown requires its extensions to return results synchronously. That means there isn't a partiularly good way to include network-based files. We might be able to use XHR synchronously, but that feature is deprecated in most browsers and probably in chromium and therefore electron.
Even if it worked great, there is a purely logistical question of how do we want to handle the delays due to loading these external resources. Synchronous XHR/Ajax would leave the user waiting indefinitely--and ultimately just failing in offline situations or when the file is unretreivable. Yes, we can put wrappers around to show that the include didn't load... but we either have to wait for them all to load or manage the asynchronous calls ourselves, before the converter is run. In which case, we would probably have to put a user-friendly placeholder along with some controls to cancel or retry the inclusion, etc.
Instead, I'd like to propose that we only support local file inclusion and NOT network resources. This would let us use fs.readFileSync and we can guarantee some reasonable behavior at a minimum.
Since network includes ALSO increase the security risk, I'm good with NOT supporting that. So, if you want an "include", it has to be a local file. Period.
Thoughts?

I think this sounds reasonable. How will we inform the user about this/ how do we prevent them pointing to network files?

We just fail on the loading. We open as a file. If it fails, we leave a message in lieu of the content.

minimally working in feature/include.
Needs proper error handling.
Suggestions:
Catch file read errors &
Insert Error message


Write a machine learning library

Here's some good inspiration: https://github.com/eriklindernoren/ML-From-Scratch

But there is no deep learning in that repo. You gotta have deep learning, that's the end of all ML.
(deep learning aka Neural Networks, in particular recurrent NNs)

Multiclass SVMs, HOG and Random Forests would be a great start!
Also a very efficient implementation of inference for smartphone backends, reading in Tensorflow protos could be interesting. But then where in the roadmap are GPUs like Mali?

Maybe there is some collaboration to be done with https://github.com/tensorflow/tensorflow/tree/master/tensorflow/compiler/xla ?

This Haskell library contains some simple things written in easily readable functional code.

This was done.


WorkPro: token does not exist

Please make sure you have read the Wechaty Puppet Service: WorkPro from Wechaty Official Website before you continue writing this issue.
IMPORTANT
DO NOT post your token in the issue. If we need to investigate the behavior of certain token, we will provide a private contact route.
Describe the bug
use windows local environment
set WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_CLIENT=true
set WECHATY_PUPPET_SERVICE_AUTHORITY=token-service-discovery-test.juzibot.com
set WECHATY_SERVICE_DISCOVERY_ENDPOINT=https://token-service-discovery-test.juzibot.com
after npm start
it got token does not exist
Wechaty service discovery / resolution failed for target wechaty://api.chatie.io/puppet_workpro_XXXXXX
why the endpoint still api.chatie.io, how can i change it, I use the trial token, thx
Info

Platform[e.g. Windows/Mac/Linux]:  Windows
Runtime version[e.g. node/JAVA]: Node 16.20
Wechaty version:  1.18.1
Wechaty Puppet version:

Use the code clone from https://github.com/wechaty/getting-started
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Your log

Wechaty service discovery / resolution failed for target wechaty://api.chatie.io/puppet_workpro_XXXXXX

shows that it's still using the community discover endpoint api.chatie.io.
You can add the line console.log(process.env.WECHATY_PUPPET_SERVICE_AUTHORITY)  in your code to see if you set your env correctly.
You can also provide the lase 6 characters of your token and I can changed back to api.chatie.io and extends some trial time for you.

@hcfw007
really, thank you so much, i just need the verify the functionality, the last 6 characters of my token is 993eac
btw, if i use the long term token when company making the decision, the endpoint is still the  api.chatie.io?

@hcfw007 really, thank you so much, i just need the verify the functionality, the last 6 characters of my token is 993eac btw, if i use the long term token when company making the decision, the endpoint is still the api.chatie.io?

done.
Our private discover service is more sound and stable. So if you sue the long term token, I'll suggest you to use the private discover service.

@hcfw007 thank you. But when I get started, and scan the qrcode, it get "新设备登录提醒",so i think the function is not work correctly in 社区版.
I am sorry,  it would be possible to change my token to token-service-discovery-test.juzibot.com, I fixed the environment.

The new device alert will trigger no matter which discover service you use. It's a security mech introduced by wecom.

本地运行不了 在docker上出现 WECHATY_PUPPET_SERVICE_TOKEN not found的问题 望解惑


Add usage gif to README

Fixes #916
Like we briefly discussed in the issue; asciinema is a nice tool, but it's not suitable for embedding in READMEs. I'm using asciinema/asciicast2gif to convert to a gif. Is this in line with what you're looking for? Where do you want it in the README?
If you could do me a favor, toss the "hacktoberfest" label on the issue and PR. ;)

Like we briefly discussed in the issue; asciinema is a nice tool, but it's not suitable for embedding in READMEs. I'm using asciinema/asciicast2gif to convert to a gif. Is this in line with what you're looking for?

This looks good! I think the font should be larger. Also, ideally, it should be like the current still image, with an editor on the left and a shell on the right. If you use tmux, you can create a vertical split. I think it'll be easier for people to absorb without having to remember what's in the justfile while the commands are running.
Also, I would make the font larger, and the image size smaller, similar to the existing screenshot.

Where do you want it in the README?

I think at the top is good, it can replace the still image.

If you could do me a favor, toss the "hacktoberfest" label on the issue and PR. ;)

Done!

I've dropped the usage of asciinema completely in favor of autohotkey'ing the output and recording with GifCam - gives me a lot more control.

Nice! One thing I was thinking about is that it would be nice to be able to easily update the GIF in the future. One way to do this would be to script the terminal interactions, so that the script can be edited, and the GIF recreated without having to do it manually. If this sounds fun/interesting, then give it a shot, but if it's more effort than you want to put into this PR, then I'd rather not hold up this PR and just get something in.

I have a GIF scripting setup for another project that could be adapted.
The justfile kicks things off, and the demo script that generates keystrokes is here.

Oh nice!
I'm not sure that'll allow for jumping into vim and editing the file; I could have it right the content of the justfile onto the console passed to an echo -ne "..." > justfile I imagine. Not as nice given the lack of syntax highlighting, but I don't know another way around it.

I'm not sure that'll allow for jumping into vim and editing the file

You might be able to by starting vim, echoing an i into standard input to start insert mode, then echoing the contents of the file, then <esc>, using nvr or something to send the keystrokes.

Sorry, I've looked around, but can't find what "nvr" is.

Thanks! Prompted me to actually go and get neovim installed, and I played around with the demo program in intermodal. Unfortunately I still have problems with asciicast2gif.
Starting neovim in one terminal and echo'ing things to it with nvr from another works great. Sending nvr commands from demo program also works, though the command that it's actually printing to the console (this is a different console than where neovim is running), shows the nvr commands; I'll have to clean that up. I suppose I could open nvim in the terminal, and have the nvr commands run in a thread? They wouldn't be printed, and from the point of view of the viewer, they'd just see uniform typing into nvim. Then the last nvr command would, like you mentioned, save and close nvim, and then drop back to the "main" terminal window and type the remainder of the commands like they're typed for the intermodal demo.

Alright, made progress. The demo binary loads up neovim, fires nvr commands from a thread, and then resumes the main terminal to show the just commands. This is filling out the justfile (roughly) by line rather than individual characters; let me know if that's a change you want. Additionally, although asciinema records and plays back without error,there's text overlapping between what the "user" is typing into the neovim window and the text that shows on startup.

Nice! Can you add a rendered demo.gif so I can take a look?

Sorry for taking so long to respond!
This actually worked on my machine, I downloaded demo.json and ran asciicast2gif -S4 demo.json demo.gif.
I also have gifsicle and imagemagick installed, which from looking at the output, might be dependencies.

Thank you!

IMO:

It's still a little small
I don't like the "jumpiness" of the file editor

I know I can fix that second point; I'll do that first.

Agreed on both points, and sounds good. I think it might be possible to fix the first point just by making the terminal smaller. (Or the font bigger? I'm not sure how asciinema works.)

Sweet, looking smoother. What error message are you getting, and what asciicast2gif command are you running?

I checked RAM usage, and you're right. I increased the memory allotment for the VM and added a swapfile, and the gif converter takes all 14GB of RAM and 10GB of swapfile before crashing. It's likely that something's just going very wrong, but it could be that you have a beast of a machine. ^_^

Made some progress and got the converter to work. It was 50% crazy RAM usage, 50% PEBKAC.
Anyhow, updating PR. I don't know why the playback is "eating" the commands that are typed into the terminal.

I certainly needed to feed the converter more RAM, but I also was trying to output to "www/demo.gif" when I hadn't created that "www" directory. :|

Apologies; forgot to push that change >.<

Ah dang, forgot about that. My nvim was doing the same but I fiddled with it enough to, well, not do that.


Thrift does not need to set python_source_root

That's because Thrift already generates all the __init__.py files we need for us for imports to work. Quite convenient! See the table at https://www.pantsbuild.org/v2.10/docs/thrift-python#step-4-confirm-python-imports-are-working for what Pants generates (found via export-codegen goal). There is no benefit to relocating.
I will be removing this field from pantsbuild/pants shortly.

I notice that in https://www.pantsbuild.org/v2.10/docs/thrift-python#step-4-confirm-python-imports-are-working there are still some references to protobuf things?

Yeah, it's a WIP


Hide asterisk when form filed is not focused.

Hi,
I want to hide the asterisk when it initially shows the label in the form field. I want to make asterisk visible only on focused like when it shrink like below. I am attaching the current behaviour and the expected behaviour below.
Current:

Expected:

It only shows asterisk on the focus, otherwise it shows just the label name like this

Can someone please help me to fix this issue? Thanks

@niralivasoya Based on the implementation, I don't think this is possible without using/customizing some private components, which may cause problems in your application

I think you can achieve it by using style overrides: https://codesandbox.io/s/required-asterisk-only-on-shrink-kgjzwm?file=/Demo.js
I wouldn't recommend it from a UX perspective though as users won't be able to easily tell which fields are required.

you can achieve it by using style overrides

Pretty neat ~ 😮


Update gnomAD Hail Tables Help page

Updates:

Remove references to joint annotations from exomes/genomes release HTs
Add schema + description for new joint frequency HT
Update v4.0 > v4.1
Clean up messy or legacy text (e.g., found some usage of "population" instead of "genetic ancestry")

they aren't gone, are they? they should be under the Expand to see details for past versions section

It bugs me that I couldn't see them side by side, but I found a way to compare.

very quickly updated joint table schema, back to you!

I also had to rebase this one, and do another force push. Like #1433, only faf.md was minorly impacted (it now pulls in the changes from main in addition to the ones made here).

@ch-kr Could yo review my changes? BTW, the order is a bit different, like it's exomes_globals, genomes_globals, joint_globals, and for the rows, it goes: exomes, genomes, the Help page is not in that order, should we move them around?

thank you! just added minor comments

@ch-kr back to you


Improve inferTreeRec performance issues

We track which DeclIdent sets have already been inferred and return immediately if the set has already been processed.

Codecov Report
Attention: Patch coverage is 70.05988% with 50 lines in your changes are missing coverage. Please review.

Project coverage is 81.97%. Comparing base (545dfd0) to head (6dd3181).

Files
Patch %
Lines

src/Escalier.Interop/Migrate.fs
23.07%
30 Missing :warning:

src/Escalier.TypeChecker/Graph.fs
83.75%
13 Missing :warning:

src/Escalier.TypeChecker/Infer.fs
86.11%
5 Missing :warning:

src/Escalier.Codegen/Codegen.fs
0.00%
1 Missing :warning:

src/Escalier.Data/Library.fs
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #235      +/-   ##
==========================================
- Coverage   82.21%   81.97%   -0.24%
==========================================
  Files          25       25
  Lines       10656    10760     +104
  Branches     1533     1537       +4
==========================================
+ Hits         8761     8821      +60
- Misses       1895     1939      +44

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


block this domains.

Which domain(s) should be blocked?
https://rustdesk.io/
https://rustdesk.pl/
https://rustdesk.co.nz/
https://rustdesk.secure-box.de/
Why should these domain(s) be blocked?
Block this domain
They are providing malwares
https://github.com/rustdesk/rustdesk/discussions/9679

Thank you for this Aritra @olumolu.
These domains are added in commit e778618a6.
Closing.


RFP - 64gram

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts with 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://github.com/TDesktop-x64/tdesktop
Direct download URL for the software / installer : https://github.com/TDesktop-x64/tdesktop/releases/download/v1.0.1/64Gram-setup-x64-1.0.1.exe
Software summary / short description:  Unofficial Telegram Desktop (Windows 64bit/x64)

I pick up this package :slightly_smiling_face:
I actually already have created a Chocolatey package which is currently waiting for the review of Moderators :wink:

This package has been reviewed and approved by @TheCakeIsNaOH :slightly_smiling_face:

@Xav83 thank you!


Can login without being verified (Bug #3)

/cib login without being verified

Branch 20-login-without-being-verified created!


add_indicators

Last Tradingview_ta version
analysis = handler[pair].get_analysis()
analysis.add_indicators(["average_volume_30d_calc","average_volume_60d_calc"])
'Analysis' object has no attribute 'add_indicators'

Hi @anakein,
Use the add_indicators() function on the handler, not the analysis. Here's an example:
from tradingview_ta import TA_Handler, Interval

btcusdt = TA_Handler(
  symbol="BTCUSDT",
  exchange="binance",
  screener="crypto",
  interval=Interval.INTERVAL_1_DAY
)

btcusdt.add_indicators(["average_volume_30d_calc","average_volume_60d_calc"])

analysis = btcusdt.get_analysis()

Is there any way to add an indicator who is not in the https://pastebin.com/1DjWv2Hd??

Is there any way to add an indicator who is not in the https://pastebin.com/1DjWv2Hd??

No, unless you know the exact algorithm used, you can't add those indicators.


Tests fail on latest activesupport

ActiveSupport v4.2.0 deprecated Kernel#capture and uses ActiveSupport::Deprecation to notify the user.  Since spec_helper.rb doesn't require "active_support" to setup autoloading, or "active_support/deprecation" directly, this causes the call to capture to fail.
Adding require "active_support" or require "active_support/deprecation" fixes the problem, but since capture is deprecated, I was wondering how to best update the code in spec_helper so RSpec's deprecation warnings are caught without using the deprecated capture.  Any thoughts on borrowing the implementation of Kernel#capture into spec_helper?  capture was deprecated because it isn't thread-safe.  In the context where it's used in spec_helper.rb, this doesn't seem to be an issue.

I'm good with borrowing the Kernel#capture implementation from ActiveSupport for our spec_helper. Would you like to open a PR?

Gladly!


[App Request] Paperless-ngx

App Information

Name: Paperless-ngx
Short Description: Paperless-ngx is a document management system that transforms your physical documents into a searchable online archive so you can keep, well, less paper
Official Website: (https://docs.paperless-ngx.com/)
GitHub Repository: (https://github.com/paperless-ngx/paperless-ngx)
Docker Image:

Why do you want this app?
This is a document management platform I wanted to install for my family to use. It simplifies and automates document categorization and search through metadata and OCR. Extremely useful.
I don't know how to install this with docker-compose as it needs multiple applications at the same time and they don't work with the given docker-compose code.
Additional information?
It needs multiple applications at the same time and they don't work with the given docker-compose code.
A DB and Redis. I'm not really a coding guy. There are no guides to install this application on CasaOS available.
Would it be possible to use both local IP and an internet address too?
System: Ubuntu under Proxmox

This has been added to BigBearCasaOS: https://community.bigbeartechworld.com/t/added-paperlessngx-to-bigbearcasaos/1954?u=dragonfire1119


Child, mentor and parent accounts to be backfilled and updated in Salesforce

As per  doc https://docs.google.com/document/d/15sWS97XHHg2B-RP_WGqFN6FInCEASSETbmUusR1sl0w/edit#heading=h.jb4hl1z3s4ph
Child accounts are to be put into Salesforce as well as parent and mentor accounts.
Child accounts will be linked to parent accounts using partner account links.

Nope. :)


Latest version does not work with v1

Hey, I've just spent few hours trying to figure out why centrifugo throws out "no sign found in API request". Would be nice to create a branch with 2.1.0 version to avoid confusion for new users.

@orzel89 sorry for inconvenience. i've added compatibility notes to readme. Also created tag for v2.1.0 and v3.0.0
Hope this helps

Great, thank you.


Updated translation.

Coverage remained the same at 39.445% when pulling 6af6e53f0ba27d4217af8582a0d08042bf7e5f9d on Myrmece:patch-7 into c2a785760c595ab3d2a69d0ad7cafe8fa95c53c3 on NyaaPantsu:dev.


Command cmd P no longer finds files

Issue Type: Bug
Command P (cmd p) no longer finds file / or indexes them correctly?  In the picture below chrome-drive.js should appear in the results.

VS Code version: Code - Insiders 1.23.0-insider (b845ce918f2689344795e845ae6ef691916c3079, 2018-04-24T05:10:57.500Z)
OS version: Darwin x64 17.5.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz (4 x 3100)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.02GB free)

Process Argv
/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron ./

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

sort-lines
Tyr
1.6.1

vscode-eslint
dba
1.4.8

prettier-vscode
esb
1.3.1

flow-for-vscode
flo
0.8.0

python
ms-
2018.3.1

java
red
0.23.0

vscode-fileutils
sle
2.8.1

vscode-java-debug
vsc
0.9.0

vscode-java-pack
vsc
0.3.0

vscode-java-test
vsc
0.5.0

vscode-maven
vsc
0.7.0

Did it work before?
Are the missing results covered by a .gitignore or pattern from search.exclude or files.exclude?
Does it happen in every folder, or just one particular folder?

It works intermittently on projects.  On the projects that don't work, it appears to only find files in the root folder.  This might be multiple issues.  Is there a Slack channel I can ask questions to instead of bugging you over issue comments?  In another scenario, it can't find files under a directory called foo.war.

Can you show more of the log? Looking for a line that starts with SearchService#search rg --files ... and also any errors around that.
Also can you check for errors in the developer tools? (Help > toggle developer tools)

[2018-04-30 06:49:12.690] [renderer1] [trace] CommandService#executeCommand workbench.action.quickOpen
[2018-04-30 06:49:12.693] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"","maxResults":0,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:12.718] [renderer1] [debug] SearchService#search rg --files --hidden --case-sensitive -g '!**/.git' -g '!**/.svn' -g '!**/.hg' -g '!**/CVS' -g '!**/.DS_Store' -g '!**/node_modules' -g '!**/bower_components' --no-ignore-parent --follow -- '.'
 - cwd: /Users/junger/dev/devtools-core
 - Sibling clauses: {}
[2018-04-30 06:49:14.240] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"c","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:14.339] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"ch","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:14.457] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chr","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:14.541] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chro","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:14.614] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chrom","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:14.694] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chrome","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:14.849] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chrome-","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:14.966] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chrome-d","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:15.167] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chrome-dr","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:15.343] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chrome-dri","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:15.449] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chrome-driv","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:15.651] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chrome-drive","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:15.794] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chrome-driver","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:15.889] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chrome-driver.","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:16.062] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chrome-driver.j","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}
[2018-04-30 06:49:16.168] [renderer1] [trace] SearchService#search {"type":1,"folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/junger/dev/devtools-core","external":"file:///Users/junger/dev/devtools-core","path":"/Users/junger/dev/devtools-core","scheme":"file"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/node_modules":true,"**/bower_components":true},"fileEncoding":"utf8","disregardIgnoreFiles":false}],"usingSearchPaths":false,"filePattern":"chrome-driver.js","maxResults":512,"sortByScore":true,"cacheKey":"id#50","contentPattern":null,"useRipgrep":true,"disregardIgnoreFiles":false,"ignoreSymlinks":false}

Does text search return results when quickopen isn't working?

No, text search does not return results. :(

I'm confused. Can you try invoking the rg command manually in a terminal? From the log, rg --files --hidden --case-sensitive -g '!**/.git' -g '!**/.svn' -g '!**/.hg' -g '!**/CVS' -g '!**/.DS_Store' -g '!**/node_modules' -g '!**/bower_components' --no-ignore-parent --follow -- '.', except change rg to the real path to the binary which should be something like /Applications/Visual\ Studio\ Code\ -\ Insiders.app/Contents/Resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg

Also, have you tried Stable just to see if there's a difference?

Same issue on stable.

Can you try invoking the rg command manually to see if it errors or produces valid output? See a couple comments up.

🐹 $
~/dev/devtools-core
-files --hidden --case-sensitive -g '!**/.git' -g '!**/.svn' -g '!**/.hg' -g '!**/CVS' -g '!**/.DS_Store' -g '!**/node_modules' -g '!**/bower_components' --no-ignore-parent --follow -- '.'
.eslintrc
.editorconfig
.stylelintignore
README.md
.stylelintrc
yarn.lock
.gitignore
package.json
circle.yml
.eslintignore
.flowconfig
lerna.json
docs/versioning.md
docs/local-development.md
flow-typed/debugger-html.js
.github/PULL_REQUEST_TEMPLATE
~/dev/devtools-core
🐷 $

So it's missing everything under packages? Can you try simplifying the arguments or throwing in a --no-ignore just to make sure it didn't end up in your .gitignore?
Can you get files that it does return in quickopen?

So that's interesting because this is exactly what the --no-ignore-parent flag is supposed to prevent. It should keep rg from looking upwards for gitignore files. Can you try to narrow down the rg command to see if it's simply not working on your machine?
I set up this exact scenario with the same .gitignore file and can't repro it.

I ran out of time to help this week sorry @roblourens

@brocoli open a new issue if we need to investigate. You can disable .gitignore checking with "search.useIgnoreFiles": false.

@roblourens do you personally know vscodebot?  He closed the issue. ;)  Do you want to keep this closed?

If you have any time to experiment with running that rg command to figure out why --no-ignore-parent isn't working in this case, I'd appreciate it and will keep this open. It's a strange bug that nobody else has reported so I can't do much on my end.
And if the bug just seems to be that flag not working, you could run the rg command with --debug and open an issue upstream on https://github.com/BurntSushi/ripgrep.

@roblourens I logged https://github.com/BurntSushi/ripgrep/issues/934

Thanks!

tldr: ripgrep was using the global config of core.excludesfile=~/.gitignore.
Now --no-ignore-global exists to prevent it from checking that config option.

Verification:

Set a global gitignore file like git config --global core.excludesfile ~/.gitignore_global
Add a pattern to that global gitignore file that matches some files in your workspace
Do a text search in vscode and verify that the global gitignore is not applied you can still find matches in those files

Still an issue with QuickOpen, we need to add that argument there too.

Maybe also include --no-config.

Good catch, thanks!


[Bug] Search Result Chapter Title

Describe the bug
Hello, I want to show chapter title of the search results when user perform a search operation on a book. So users can see which chapter the search result belongs to.
I thought that I can get it via LocatorCollection-> links[n] -> title but unfortunately it returns an empty array.
How to reproduce?

Open demo app
Open a book
Open search view
Type a word
Review search result

Readium version
2.7.1
OS version
iOS 17.2
Testing device
iPhone 15 Pro
Environment
macOS: 14.4.1
platform: arm64
Xcode 15.2

Additional context
No response

It is supported but with a limited scope: chapter sections inside a resource are ignored. Could you share a publication that shows the problem?

Hi @mickael-menu , so sorry for late reply. You can download the book called "Law of Wills" from OPDS -> Open Textbooks Catalog. Actually in searching, the search result does not contain chapter info. So I can't see which chapter the search result belongs to.

Thank you for reporting the issue. There was indeed a bug lurking.
https://github.com/readium/swift-toolkit/pull/446

thanks @mickael-menu  for this quick fix. Can you provide a small example that I can use to get chapter title out of search results. Also can I get the fixed version as uploading the readium package in my project?

I will publish today or tomorrow a new 2.7.2 version which will contain the fix.
You can create a new chapter section in your search result list every time you see a different title in locator.title of each search result. This is not implemented in the Test App.

ok, will be waiting for that. Thanks...

hi @mickael-menu , just uploaded Readium 2.7.2 version to check this search result title issue but it seems the problem still exists. title property of Locator of Locator Collection still returns nil. Can you check it in the Readium 2.7.2 please?


Pipe to both stdio doesn't work

Stdout is seemingly unpiped and the mechanism of joining the streams doesn't work

Try running the above to see if only one of the streams is printed on windows.

the above works on windows. needs more investigation into what was going wrong. this was prompted by cl.exe for compiling c programs, and the output was not being displayed properly


KeyError: 'bboxes'  KeyError: Caught KeyError in DataLoader worker process 0.

when I am training model, when it comes to #EVAL   :
File "/home/whut-4/anaconda3/envs/ZC2_pointpillars/lib/python3.6/site-packages/torch/_utils.py", line 395, in reraise
raise self.exc_type(msg)
KeyError: Caught KeyError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/whut-4/anaconda3/envs/ZC2_pointpillars/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/home/whut-4/anaconda3/envs/ZC2_pointpillars/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/whut-4/anaconda3/envs/ZC2_pointpillars/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/whut-4/Desktop/HXB/F_Pointpillar/05-13/Frustum-Pointpillars/second/pytorch/builder/input_reader_builder.py", line 42, in getitem
return self._dataset[idx]
File "/home/whut-4/Desktop/HXB/F_Pointpillar/05-13/Frustum-Pointpillars/second/data/dataset.py", line 68, in getitem
prep_func=self._prep_func)
File "/home/whut-4/Desktop/HXB/F_Pointpillar/05-13/Frustum-Pointpillars/second/data/preprocess.py", line 566, in _read_and_prep_v9
example = prep_func(input_dict=input_dict)
File "/home/whut-4/Desktop/HXB/F_Pointpillar/05-13/Frustum-Pointpillars/second/data/preprocess.py", line 150, in prep_pointcloud
ref_bboxes = input_dict["bboxes"]
KeyError: 'bboxes'

Hello! Did you solve this problem? I encountered the same error and I do not know what to do

Hello! Did you solve this problem? I encountered the same error and I do not know what to do

https://github.com/anshulpaigwar/Frustum-Pointpillars/issues/10 this works


Add deprecation banner to Azure Batch AI page

Azure Batch AI has been deprecated and the Azure CLI reference content for Batch AI will be removed in the next few months. Until then, we would like to add a banner to the Batch AI ref content similar to what we've done for other Batch AI reference (e.g., REST API, .NET). Other CLI content appear to have custom text, such as Cognitive Services, but I can't figure out how that was done. I can find nothing in the Contributor Guide that addresses this for CLI.
The banner we would like to add is the following:
HTML:
Note
Azure Batch AI service has been retired. The capabilities of Azure Batch AI are now available as a managed compute target in Azure Machine Learning service. For more information, see What happened to Batch AI?

Markdown:
>[!Note]
>**Azure Batch AI service has been retired.** The capabilities of Azure Batch AI are now available as a managed compute target in Azure Machine Learning service. For more information, see [What happened to Batch AI?](https://aka.ms/batchai-retirement)

Use can use deprecation mechanisms in the CLI to advertise that the batchai command tree is deprecated.
https://github.com/Azure/azure-cli/blob/dev/doc/authoring_command_modules/authoring_commands.md#deprecating-commands-and-arguments
For doc specific issues, I'd refer you to @dendeli-msft.

@tjprescott @dendeli-msft - Thanks. I looked at the information you linked to, but best I can tell this is something that a developer needs to do in the code. There is no more development on this, so I'm looking for a way to just put a banner on the doc temporarily until the CLI is removed altogether in a few months. It's similar to what we've done for other Batch AI APIs.

We've decided that we're okay with leaving this as-is. #please-close


Implement Frictionless Data specs v1 in core libs

Description
No good having a spec with no implementation! We need to ensure coverage in the core libraries.
Tasks

[ ] Implement all v1 changes in Python libs
[ ] Implement all v1 changes in JavaScript libs
[ ] Open a v1 issue on each partner library, with a clear task list of what needs to be changed for v1 update

closed for https://github.com/frictionlessdata/stack/issues/3


Update matroska schema to v4

Fixes #3 by updating the matroska schema to v4 based on node-matroska.
Additional Changes:

Removes the 'dist' directory from git. It was outdated and is not required to be versioned by git.
Removes tsconfig.json from the files list so it does not get published to npm (not required in the published package).
Updates package-lock.json to v2 and changes the included urls from the current private registry to the official npm registry.

We need to reopen the PR, i did some further testing today and ran into this error oeuillot/node-matroska#10.

We need to reopen the PR, i did some further testing today and ran into this error oeuillot/node-matroska#10.

Did you figure out any solution on that?

I tired this suggested solution but it didn't worked.

after i change ColourSpace to UncompressedFourCC and TimecodeScale to TimestampScale it seems fine, at least for the video i am testing with


CesiumWidget not released from memory when destroyed?

From https://community.cesium.com/t/releasing-cesiumwidget-object/11831
Hello
I’m working on an application where Cesium viewer is destroyed and created again later in some scenarios. When searching for memory issues I have found that CesiumWidget object is still retaining after the viewer is destroyed via viewer.destroy().
It is reproduced in the simple sandcastle example
Click Go, wait for several seconds, click Stop, make a heap snapshot. There are multiple CesiumWidget objects are retaining. (Checked via Chrome Dev Tools):

So this problem can't be solved ？

Hi @wuming2019, we haven't gotten the chance to work on this issue directly. If you are able to look into the issue and provide more details, or even propose a fix, that would be helpful.

Any updates?


Tracker slows down for large template sizes

When the template size is large (i.e. when the detector detects a marker that spans a large percetnage of the image), the tracker becomes very slow, with it being only able to track around 3 times per second. This needs to be improved.

Dr. Tarek mentioned that this is probably because we're using SSD for tracking, which needs to look at every single picture in the image, which can be slow. Using another algorithm, or tweaking the existing algorithm (so that it downsamples for example) might be a way to fix this problem.

I rewrote the code so that it's easy to switch between the different tracking algorithms. I put the following tracking algorithms provided by VISP:

SSD ESM
SSD Forward Additional
SSD Forward Compositional
SSD Inverse Compositional
ZNCC Forward Additional
ZNCC Inverse Compositional

A quick eyeball test seems to show that SSD Inverse Compositional gives the best speed and performance, but a more formal test is needed, so I'll put some timing code and try to generate a report.


Consume Issue: Printing the Result in the Console

Model was trained and evaluated. Issue with consuming using the provided code snippet seen below:

I made my own adjustments in hopes that I can print out the result in the console as well as fix the input types:

Running this code output this result:

I am not quite sure why the result was listed as "Overbooking.overbookingconfig+ModelOutput" and not the value I was actually trying to predict. There was a float type number in Col4 I was trying to find using the other 4 feature columns and it didn't seem to work.

Nevermind, I didn't add a .Score at the end of result, which is apparently needed for predicting numerical values.


Portuguese (Brazil) translation of the data-import, data-transformation, stringr, factors, purrr, lubridate and tidyr cheatsheets

Contributed Cheat Sheet Information
Cheat Sheet Name:
1 sentence description of the contents:
Your Name (as you want to be credited on the website):
A link to your github/website (optional):
A link to relevant package documentation (optional):
Date created/updated (Month YYYY format):

Please be sure you've included the Creative Commons License:

[x] Add CC-BY-SA Your Name to copywrite under the Creative Commons on the cheat sheet

Check that you have done the following:

[x] Used descriptive file names, something like package-name.pdf or task-name.pdf and did not include "cheat sheet" in the title.
[x] Included a PDF file of entire cheat sheet.
[x] Included a PNG file of the first page size 1100 x 850 in the pngs folder (for the website thumbnail).
[x] Included a Keynote or PowerPoint or similar file in the relevant folder (helps translators who want to translate your cheat sheet).

Translated Cheat Sheet Information
Cheat Sheet Name:  Data Transformation with dplyr
Language: Portuguese (Brazil)
Your Name (as you want to be credited on the website): Eric Scopinho
Date created/updated (Month YYYY format): August 2022

Check that you have done the following:

[ X ] Added the language abbreviation to the file name (ex. data-transformation_es.pdf).
[ X ] Included a PDF file of your translated cheat sheet to the translation folders.
[ X ] Included a Keynote or PowerPoint file for your translated cheat sheet to the translation folder.
[ X ] Not duplicated an existing translation. If an existing translation exists, I have edited it.

Thank you!


Missing scrollview when flMaxRows is set (improvement)

When I set the flMaxRows property (EG 2), doesn't display all items on the FlowLayout, you could add an horizontal/vertical scroll as improvement
excellent work!

Thanks for the nice idea. But I don't think I'll add this scrolling feature for now.
FlowLayout is responsible for the layout of its child views in a flowable fashion, not how to scrolling them.
Take other ViewGroup as example, LinearLayout (or FrameLayout, ConstraintLayout, etc)  promises to layout its child views in its featured way, not knowing how to make the scrolling. On the other hand, ScrollView(or HorizontalScrollView) is responsible for the scrolling part, not knowing how to perform any fancy layout since it can only contain one direct child view.
I'll keep this separation of concerns and delegate the scrolling to other outer ViewGroup such as a ScrollView.
If you want to implement this max row with scrolling scenario, you can use the following layout, which puts FlowLayout in a ScrollView:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/activity_main"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <ScrollView
        android:id="@+id/scrollView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <com.nex3z.flowlayout.FlowLayout
            android:id="@+id/flow"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:flChildSpacing="auto"
            app:flRowSpacing="8dp"/>

    </ScrollView>

</LinearLayout>

Together with the following code, which calculates the height of the specific number of rows and sets the height of the ScrollView:
private void fillAutoSpacingLayout() {
    FlowLayout flowLayout = (FlowLayout) findViewById(R.id.flow);
    String[] dummyTexts = getResources().getStringArray(R.array.lorem_ipsum);

    // Build buttons and add buttons to the FlowLayout
    final int buttonHeight = 40;
    for (String text : dummyTexts) {
        TextView textView = buildLabel(text, buttonHeight);
        flowLayout.addView(textView);
    }

    // Calculate and set the height of the ScrollView
    final int maxRows = 2;
    ScrollView scrollView = (ScrollView) findViewById(R.id.scrollView);
    ViewGroup.LayoutParams params = new LinearLayout.LayoutParams(
            ViewGroup.LayoutParams.MATCH_PARENT,
            (int)(maxRows * (dpToPx(buttonHeight) + flowLayout.getRowSpacing())));
    scrollView.setLayoutParams(params);
}

private TextView buildLabel(String text, int buttonHeight) {
    TextView textView = new TextView(this);
    ViewGroup.LayoutParams params = new ViewGroup.LayoutParams(
            ViewGroup.LayoutParams.WRAP_CONTENT, dpToPx(buttonHeight));
    textView.setLayoutParams(params);
    textView.setText(text);
    textView.setGravity(Gravity.CENTER);
    textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 16);
    textView.setPadding(dpToPx(16), 0, dpToPx(16), 0);
    textView.setBackgroundResource(R.drawable.label_bg);

    return textView;
}

private int dpToPx(float dp){
    return (int) TypedValue.applyDimension(
            TypedValue.COMPLEX_UNIT_DIP, dp, getResources().getDisplayMetrics());
}

This will produce:


Open devtools in the browser automatically

closes #49

Feature enabled by default
Fixed a bug in which a devtools server was started even when not needed
Tested Chrome and Android
Updated documentation

@Charly6596 will do a proper review soon, just a bit all over the place atm with a few different things.

@Charly6596 just tried this locally on my Linux machine and the dev tools don't get opened 🤔 . I also noticed that I think the matching will pick up the incorrect dev tools URL. In my logs, I see two messages relating to dev tools printed.
The first one
An Observatory debugger and profiler on sdk gphone x86 is available at: http://<IP_ADDRESS>:38037/jAe4NZsNtUs=/

would be matched but rather than opening the fool fledged dev tools opens not sure what the official name for the tool or page is, but it's not the dev tools.
The Flutter DevTools debugger and profiler on sdk gphone x86 is available at: http://<IP_ADDRESS>:9100?uri=http%3A%2F%2F<IP_ADDRESS>%3A38037%2FjAe4NZsNtUs%3D%2F

This one is not matched I think, but opens the dev tools.
I'm on flutter 2.2.1 if that helps/changes things.
PS: sorry about the merge conflict

@akinsho It works on my machine.
Jokes aside, thank you, I'll take a look most likely next week.
The second link is the one that should match. It opens locally on the port 9100 by default.
No worries about the conflict :smile:

@Charly6596, I'll use the branch during the day tomorrow on my mac and see if I get a result. I tried it on my ubuntu machine with firefox as my default browser and didn't see a new tab open. It also didn't show the notification that the url was copied to my clipboard. Are you also on flutter 2.2.1?

@Charly6596, I'll use the branch during the day tomorrow on my mac and see if I get a result. I tried it on my ubuntu machine with firefox as my default browser and didn't see a new tab open. It also didn't show the notification that the url was copied to my clipboard. Are you also on flutter 2.2.1?

I'm on 2.0.6

I'm just wondering if the output has changed since looking at the matches in this PR they don't seem to match exactly what is in the log output The Flutter DevTools debugger and profiler  line is not really the same as any of the others being matched against

I'm just wondering if the output has changed since looking at the matches in this PR they don't seem to match exactly what is in the log output The Flutter DevTools debugger and profiler  line is not really the same as any of the others being matched against

Yes, you are right, looks like it changed. Probably we could use a more general expression to match both the old and the new version

Alright, I've updated and indeed they changed the message. I've changed the match to just look for the url (removing any other text). This would prevent future changes and we should be fine assuming that if we find an url with that format it's the good one (unless they change the url output)
I will write my findings here just in case we need to check in the future.
Running on chrome:
This app is linked to the debug service: ws://<IP_ADDRESS>:45351/pSvpl3bUyx8=/ws
Debug service listening on ws://<IP_ADDRESS>:45351/pSvpl3bUyx8=/ws

Looks like they added a new line (the first one) but kept the old one (second).
There's a significant difference between this url and the android one, that allows us to identify that we need to run devtools ourselves (it doesn't autostart when running on chrome)
OLD:
data:match("Debug service listening on (ws%:%/%/127%.0%.0%.1%:%d+/.+/ws)$")

NEW:
data:match("(ws%:%/%/127%.0%.0%.1%:%d+/.+/ws)$")

Running on Android:
The important url here is the one inlcluding the devtools url, because it gives us the port it's running on.
An Observatory debugger and profiler on sdk gphone x86 arm is available at: http://<IP_ADDRESS>:33103/k_5ewJJ_cE4=/
The Flutter DevTools debugger and profiler on sdk gphone x86 arm is available at: http://<IP_ADDRESS>:9100?uri=http%3A%2F%2F<IP_ADDRESS>%3A33103%2Fk_5ewJJ_cE4%3D%2F

We can delete the function matching "An observatory..." and just match the full url as mentioned earlier
OLD:
data:match("Flutter DevTools, a Flutter debugger and profiler, on .+ is available at:%s(https?://127%.0%.0%.1:%d+%?uri=.+)$")

NEW:
data:match("(https?://127%.0%.0%.1:%d+%?uri=.+)$")

I've checked the new match expressions and works in both chrome and android. It should also work on the old Flutter version :+1:
@akinsho  could you confirm whether xdg-open works on mac?
We should also write some tests and refactor dev_tools a bit, I thought about having some sort of module in charge of managing the urls. commands and dev_tools would depend on it. I found it a bit confusing to modify after a while not looking at the code tbh (even when I wrote it)

@Charly6596 adding tests sounds great, I've only recently added the workflow for it but would be good to start having tests with new functionality but since it's quite new it's not a hard blocker. Regarding refactoring it, tbh I'd rather avoid a whole new file just for url management which is related to dev-tools. I think all that can be handled in that module and if it becomes a general problem then factored out for other modules usage. Regarding a refactor of the module I don't really do much in that file so haven't really noticed it's current state 😆

Ok given this a try on Mac and Linux and seems to work fine. One thing to note is that when we close the application the debugger shows an error modal since it seems to expect the application to still be there, so I think we need to close the debugger before closing the app.


Exascale networking - updates

Some updates to the stored queries, document schema, and added some tests and data to liven things up.

The Jacobson lab have provided a new file of edge data, with all previous datasets merged into a single file. I have therefore rejigged the parser to use this file as the source.
Also added in a bit more error checking to ensure that dodgy data doesn't make its way into Arango.
Added parser tests and test data.

Schema changes:

merged the phenotype and gene documents so we just refer to nodes and edges
added docs / names / examples for all fields
reworked the current queries to fit requirements -- all queries now return edges and nodes, with a configurable 'distance' variable

Overall looks good and I don't have any adamant requests. I do think moving the djornl importer into a second module and wrapping it in a class are two extraneous layers. I also had some tangential thoughts about running importers, which may or may not affect your testing setup:
importers should be able to run without the user having access to the local data and without checking in the data to the repo, meaning they would be responsible for downloading the raw data over network
We could use either blobstore or file cache server to store the data, and when we download the data, the importer should validate a checksum
The RE API should check whether imports have run, and if not, then kick them off. This could be an explicit poke

A couple of thoughts / responses to your thoughts and responses:

I want the Jacobson people to redo the node (gene/phenotype) metadata that they provide, and ideally give us an idea of any other data types that they're going to be using, so that we can create a more robust way of storing the data, either in a single collection or across a set of collections;
I also want the Jacobson data to be stored somewhere that can be accessed in the same manner as the GO / ENVO / etc. ontologies, so there's no "special treatment" required for the data set. At present, it's in a GDrive folder, which is far from ideal, and I don't really want to have to write some special importer for Google Drive. Setting up something more sustainable (with version control and that is easy to access programmatically) would be much better; if their data isn't top secret, maybe a GitHub repo would work.
I'm not attached to having the parser in a separate file and class; the reasons for moving it were (a) having an informative file name, esp. when more importers get added, and (b) making it easier to test different configurations.


Front-end code is not maintainable

The main.js and main.css are minified which block further work on them, please provide the dev versions and use gulp or grunt (with travis-ci) to minify code. Right now one just can't extend the library to include more data since it has no way to display them.

It's been five years and it still hasn't been resolved?

It's better and faster to make your own website

It's better and faster to make your own front end

oh，This is too rough，bro


fix: Add conditional export to support --wasm build

Added if (dart.library.html) to src/web/channel_legacy.dart export.
With this change, src/web/channel_legacy.dart will only be referenced if dart:html is available, and builds with the --wasm option will succeed.

If we write the following migration code from IndexedDB to WasmDB, we need to do two imports, drift/wasm.dart and drift/web.dart.
import 'package:drift/drift.dart';
import 'package:drift/wasm.dart';
import 'package:drift/web.dart';

const _databaseName = 'nice_db';

LazyDatabase getDatabase() => LazyDatabase(() async {
      final result = await WasmDatabase.open(
        databaseName: _databaseName,
        sqlite3Uri: Uri.parse('sqlite3.wasm'),
        driftWorkerUri: Uri.parse('drift_worker.dart.js'),
        initializeDatabase: () async {
          final storage = await DriftWebStorage.indexedDbIfSupported(
            _databaseName,
          );
          await storage.open();

          final blob = await storage.restore();
          await storage.close();

          return blob;
        },
      );

      return result.resolvedExecutor;
    });

In a build targeting the web, the current code work. (flutter run -d chrome)
However, in builds with the --wasm option, code using dart:html is not available. (flutter run -d chrome --wasm)
$ flutter run -d chrome --wasm
Launching lib/main.dart on Chrome in debug mode...
Target dart2wasm failed: ProcessException: Process exited abnormally with exit code 64:
../../../../.pub-cache/hosted/pub.dev/drift-2.22.0/lib/src/web/channel_legacy.dart:1:8: Error: Dart library 'dart:html' is not available on this platform.
import 'dart:html';
       ^
Context: The unavailable library 'dart:html' is imported through these packages:

    main.dart => package:example => package:encrypt_file_loader => package:drift => dart:html

The code migration support via extentsion on dynamic looks great. I was not aware of that!
Thanks for the review!


Restric version of numberkit

Fixes #209
Changes:

Restrict number kit to minor version of 3.5. Versions above this break build.

Notes:

Previous would allow number kit to bump to 3.7 which had a breaking change per

Checklist:

[x ] I have verified that this change works in the relevant demo app, or N/A
[ ] I have added or updated any tests relevant to this change, or N/A
[ ] I have updated any relevant README files for this change, or N/A

Thanks for catching this! The fix looks simple enough and running tests now to verify :)


.github: use actions-rs/audit-check

Codecov Report

Merging #87 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #87   +/-   ##
========================================
  Coverage    79.28%   79.28%
========================================
  Files           14       14
  Lines          618      618
========================================
  Hits           490      490
  Misses         128      128

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 ed80b35...cf47039. Read the comment docs.


Implement discrete palettes

Utilize https://github.com/girder/large_image/issues/753 and https://github.com/girder/large_image/issues/755 - waiting on large_image's next release
This adds a new "discrete" option for the colormap/palette for categorical colors:
from localtileserver import get_leaflet_tile_layer, TileClient
from ipyleaflet import Map, ScaleControl, FullScreenControl

# First, create a tile server from local raster file
tile_client = TileClient('/Users/bane/Desktop/B04.jp2')

# Create ipyleaflet tile layer from that server
t = get_leaflet_tile_layer(tile_client, band=1, palette=["#000", "#f00"], scheme="discrete")

# Create ipyleaflet, add layers, add draw control, display
m = Map(center=tile_client.center())

m.add_layer(t)
m.add_control(ScaleControl(position='bottomleft'))
m.add_control(FullScreenControl())
m

Codecov Report

Merging #61 (2bcac29) into main (a0e63d1) will decrease coverage by 0.17%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
- Coverage   82.17%   82.00%   -0.18%
==========================================
  Files          19       19
  Lines         993     1000       +7
==========================================
+ Hits          816      820       +4
- Misses        177      180       +3