PointCloudLayer appears to sub-sample

I'm attempting to load in and render pointcloud data to accompany the xviz stream in streetscape.gl. After discovering deck.gl had support for rendering pointclouds using the PointCloudLayer class, I was able to easily import the classes and get a PointCloudLayer rendered.
However, I noticed that the data appears to be sub-sampled with some sort of occupancy grid, as there seems to be uniform spacing between the points. In order to confirm that all of the positions were being loaded into memory with deck.gl, I added a counter in the getPosition() method and made sure the number of positions matched the total number of vertices (based on the LAZ file). I also loaded the .laz file into CloudCompare to ensure the data is not compromised. All of the points seem to be rendered in CloudCompare.
Since I was testing this in a streetscape.gl project, I wanted to see if I could reproduce this in a pure deck.gl example.
I cloned the PointCloudLayer example from the website (https://deck.gl/#/examples/core-layers/point-cloud-layer) and loaded in one of our .laz files and I'm still getting the same results.
Here's what it looks like using the PointCloudLayer example:

Here's what it should look like rendered using CloudCompare:

In case you wanted to know how I'm loading in the .laz files, I am using the LASLoader class from loaders.gl - the loader seems to be working just fine as I'm able to see the object with the proper data and it doesn't appear to be missing any of it. The COORDINATE_SYSTEM is LNGLAT.
I've tried initializing PointCloudLayer in two ways: Passing the LAZ object by itself as well as creating an array of the positions, colors and normals like so:
{ "position" : ..., "color": ..., "normal": ... }
Both have the same results.
Anyone know what could be causing this issue?

After doing some digging, I've discovered that this was caused by floating point precision. parse-las.js is currently using the Float32Array typed array for the positions data. I changed it to use Float64Array and I'm able to render the full pointcloud now in streetscape:

This should be fixed in loaders.gl (or at least make it configurable). @xintongxia

Hi, @nmonahelis. I have met the same problem. I tried too change the Float32Array to Float64Array in @loaders.gl/las/src/lib/parse-las.js like this:
 parseLASChunked(arraybuffer, skip, (decoder, header) => {
    if (!originalHeader) {
      originalHeader = header;
      const total = header.totalToRead;
      positions = new Float64Array(total * 3);
      // positions = new Float32Array(total * 3);


Remember the Milk - updating and completing tasks

Added new feature so that tasks can be updated and completed.
For this feature a task id must be set when creating the task. See documentation for details on usage
Description:
Extended support for Remember the milk, now tasks can be updated and completed
Related issue (if applicable): N/A
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#4186
Example entry for configuration.yaml (if applicable):
no changes here
Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

Thanks!


improve performance result

Hi, I found that you missed the fully connected layer after the fusion of image feature and question feature. Besides, the original code in torch is implemented in multiple choice task. You used his pre-processing code and it means the data you used to train your model is  multiple choice task. But you said your accuracy is achieved in open-ended task.
I wonder whether these are the reasons causing the low accuracy.

Hi, thanks for giving me lots of advice. The original code simply add a liner embedding layer after fusion, could you show the exact part of fully connected layer? Btw pre-processing code give as image feature which is independent to task type. I'm retraining my net now later I will upload the performance.

In his paper, there is a fully connected layer which is shown in the picture below.

The image feature is independent to the task type, but the questions are not. In this code https://github.com/JamesChuanggg/vqa-tf/blob/master/data/vqa_preprocessing.py#L50, the questions used to train your model is multiple choice task not open-ended task.
I also has some questions about your code in model_VQA.py.

https://github.com/JamesChuanggg/vqa-tf/blob/master/model_VQA.py#L322
why you add 1 to the vocabulary size?
https://github.com/JamesChuanggg/vqa-tf/blob/master/model_VQA.py#L43
why the number of LSTM states is 2 * rnn_size * rnn_layer? I think it should be rnn_size * rnn_layer. I also check the BasicLSTMCell class in  rnn_cell and it multiply the states by 2. This is what I don't quite understand.

Thanks!

Hi, my fc_layer is here. Vqa_processing.py is a little bit weird, but I trained the original torch code with this data and the result was reasonable. Maybe we should open a issue here
About the questions,

I removed "plus 1" in my latest version, sorry for confusing.
Since I concatenate output and hidden state just like the original code. The output size and hidden state size of LSTM are both rnn_size,  which will result in 2 * rnn_size * rnn_layer.

Thank you for your reply. It makes a lot sense.
https://github.com/JamesChuanggg/vqa-tf/blob/master/model_VQA.py#L114, I think this is just the linear transformation for softmax layer not the fc_layer. Adding a fc_layer should increase the performance.
Could you  please send these code and the image feature data data_img.h5 to me? The code which I download from github is not in right format. Many indents are not in the right place. My email is<EMAIL_ADDRESS>Thanks!

Hi, I've update the code and it can reach the same accuracy compared with the original torch code.

Thank you for your reply. Did you find out what lead to the lower accuracy in the previous version?

Some steps of image normalization went wrong, everything is good after correcting it!


Adding the Games

Hello, I am Contributor in SWOC2024.
I have some ideas of the games to be added in this website.

We can put up the guessing the number game in which user inputs any number in the given range of game and then starts guessing, The more wrong guesses, points keeps on decreasing, as soon as he inputs the correct random number (guess number), he records a highscore. This game is to be played by one player at a time and others can compete once one user records a score.

We can make a dice roll game, a two player game in which two players make a dice roll turn wise and the number displayed on dice is the number to be added to their score once they want to add in the final score. As If one user rolls a 1 their temporary number which has to be added in their final score becomes zero.
i.e two users roll dice one by one, they record numbers of dice one by one, but it is user permissive that when they wanted to add the number to their final score.

Can I be assigned to this issue?
I have much more ideas of games of be added here, I can add the classic stone paper scissor/snake water gun game also using the JavaScript


IMN 36 - POST Agreement suspend

Closes IMN-36
This PR implements API POST /agreements/:agreementId/suspend
Here's the link to the corresponding function in the Scala codebase
Bonus

It creates a utility to create stamps in the right way, avoiding more issues like the one discussed here: https://github.com/pagopa/interop-be-monorepo/pull/136#discussion_r1439575894
It fixes some logs to make them consistent with what the Scala codebase did

Tests
Tested locally as follows:
1 - Agreement before suspension

2 - Call to suspend

3 - Agreement after suspension

@galales we would wait for your review to merge this, given that the /suspend logic is not trivial


Installation using go get fails

The README.md states that you should install the SDK using the command:
$ go get -u github.com/tolgaakyuz/contentful.go
stat github.com/tolgaakyuz/contentful.go: no such file or directory

However this fails. Please improve your burkish SDK.

PR's are welcomed ;) I think it is related with the repo name. Repo names ending with .go have  problems with go get, which I haven't been able to figure it out yet. I will have a deeper look at this soon. BTW, I don't have this problem with my unix machine. If it is something we can not mitigate, then I might need to change the repo name. Otherwise, if you figure it out, can you please let me know.

@danihodovic I've changed the repo name to contentful-go. After reading some best practices and inspiring from other sdk repositories, I can now say that the using . in repo name was not a good idea in the first place. The new name is now working as expected with go version 1.6 on a linux distro.

:100: x burkish


[c#] AST/Call Type Resolution

With the use of the scope object, known imports, and the type map, a type resolution mechanism can be employed. One may additionally need to track signatures in the type map, where possible, to correctly resolve the method full name due to overloading being available in C#.

This links to #4041, so I've partially assigned this to @tuxology


Corrected API documentation for Entry.copyTo()

Submit a pull request
CLA

[x] I have signed the Adobe CLA (required).

Topic
This is a pull request for:

[x] A tutorial contained within this repo.
[ ] A sample contained within this repo.
[ ] Something new that I have already discussed with Adobe in a GitHub issue. Issue link:

Versions

[x] XD version(s) tested : 49
[ ] Tested XD version(s):

Description of the pull request
A correction in Entry.copyTo() UXP API.

Given that these docs are deprecated, I don't know if it's a good idea to still update them 🤔 . This could give an impression that we still update these docs. WDYT?

Closing this pull request because these are legacy docs.

Closing this pull request because these are legacy docs.


Remove-IntuneWin32AppDependency not working

last version we had a problem with adding, now we have it in removing^^ but remove supersedence is working fine
the first error comes when you have a dependency (don't matter autoinstall or not) and the second if it's empty
have MS changed something again?
Version 1.4.4
PS C:\WINDOWS\system32>Remove-IntuneWin32AppDependency -id $delapp.id #-WarningAction SilentlyContinue
WARNING: An error occurred while removing dependency configuration for Win32 app: xxx. Error message: BadRequest: {
  "_version": 3,
  "Message": "A circular dependency was created while adding app relationships. - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: xxx - Url: https://fef.msub02.manage.microsoft.com/AppLifecycle_2407/StatelessAppMetadataFEService/deviceAppManagement/mobileApps('xxx')/microsoft.management.services.api.updateRelationships?api-version=502
4-05-15",
  "CustomApiErrorPhrase": "",
  "RetryAfter": null,
  "ErrorSourceService": "",
  "HttpHeaders": "{}"
}

PS C:\WINDOWS\system32>Remove-IntuneWin32AppDependency -id $delapp.id #-WarningAction SilentlyContinue
WARNING: An error occurred while removing dependency configuration for Win32 app: xxx. Error message: BadRequest: The request is malformed or incorrect. Expected array for value of property: Collection(microsoft.graph.mobileAppRelationship)

Hello,
It works from Powershell 5.1
Removing "AppB" Dependence of "AppA" :
Remove-IntuneWin32AppDependency -ID $AppA.id -verbose
VERBOSE: Access token refresh is not required, remaining minutes until expiration: 42
VERBOSE: Querying for Win32 app using ID: 045bed12-0da2-4140-9b8b-21660fec47d4
VERBOSE: GET https://graph.microsoft.com/Beta/deviceAppManagement/mobileApps/045bed12-0da2-4140-9b8b-21660fec47d4
VERBOSE: GET https://graph.microsoft.com/Beta/deviceAppManagement/mobileApps/045bed12-0da2-4140-9b8b-21660fec47d4/relationships
VERBOSE: POST https://graph.microsoft.com/Beta/deviceAppManagement/mobileApps/045bed12-0da2-4140-9b8b-21660fec47d4/updateRelationships
However, you mentioned encountering a circular dependency error, which suggests that a loop was created while managing the app relationships.
Could you please confirm if you are using PowerShell 7.X? This issue might be related to the version you are using.
and check the existing dependncies :
Get-IntuneWin32AppDependency -id $delapp.id

all good, had my sorting in the false direction, so my old app array was doing wrong


Reset Data Iter Issue

Hi,
I am running a mlp model on an input data set in csv format. The model got into this problem after it completes the first epoch. The output shows the model tries to reset Data Iterator when no training is happening! Please advise.
Thanks,
Ryan
Screenshot of the output.
2016-07-13 01:04:16,029 Epoch[0] Resetting Data Iterator
2016-07-13 01:04:16,029 Epoch[0] Time cost=11.359
2016-07-13 01:04:20,717 Epoch[0] Validation-accuracy=0.812613
2016-07-13 01:04:20,717 Epoch[0] Validation-auc=0.695248
2016-07-13 01:04:20,717 Epoch[1] Resetting Data Iterator
2016-07-13 01:04:20,717 Epoch[1] Time cost=0.000
2016-07-13 01:04:25,386 Epoch[1] Validation-accuracy=0.812613
2016-07-13 01:04:25,386 Epoch[1] Validation-auc=0.695248
2016-07-13 01:04:25,386 Epoch[2] Resetting Data Iterator
2016-07-13 01:04:25,386 Epoch[2] Time cost=0.000
2016-07-13 01:04:30,108 Epoch[2] Validation-accuracy=0.812613
2016-07-13 01:04:30,108 Epoch[2] Validation-auc=0.695248
2016-07-13 01:04:30,124 Epoch[3] Resetting Data Iterator
2016-07-13 01:04:30,125 Epoch[3] Time cost=0.001
2016-07-13 01:04:34,880 Epoch[3] Validation-accuracy=0.812613
2016-07-13 01:04:37,414 Epoch[3] Validation-auc=0.695248
2016-07-13 01:04:37,429 Epoch[4] Resetting Data Iterator
2016-07-13 01:04:37,429 Epoch[4] Time cost=0.000

Is your training iter the same as testing iter?
If so, this bug should have been fixed with the latest master

Thanks for the prompt response. This solves the problem.

Closing it for now due to inactivity. Please feel free to reopen for any follow-up discussions.


template support

I notice your examples make a component in .js.
But spec allows for html template, in dom/markup - so it is easier for designers.
Is that supported or needs to be added?

pardon.


Can you explain how to use this program? THANKS

Hi, Can you explain how to use this program? THANKS

I'm currently not working actively on this project and honestly, I don't really remember what state I left the code in. However, from a quick glance at the code it seems like you should include plan-music-parser.js and then call parseFile(text) to get an object representation of the music.
I hope this helps, but overall I would not recommend using the code in this repository.


update gitignore

add /public/fonts, /public/resources
remove unused data/
order alphabetically

I just found font slick was actualy never usef for carousel dots (instead the fallback was taken - GTWalsheim)
Which one do we want to use?
slick font:

or GTWalsheim:

in case we don't want to use slick font - I am happy to remove it from repository.
cc @ustengrav @mcudrnak


Basic support for multiple shard locations

User could set multiple data locations like
[data]
  dir = ["/var/opt/influxdb/data1", "/var/opt/influxdb/data2"]

in config file so as to support multiple hard disks.

Our storage engine has changed drastically since this (tsm1) so I'm closing this.
Thanks though @cannium


Add logo URL to KubeDirectorApp CRD

Adding a logo URL for KubedirectorApp is a "nice to have" feature where a UI platform can build a rich KubedirectorApp(s) catalog AppStore.

Issue fix pushed to main branch.


glog-0.6.0 incorrectly creates symlink libglog.so.1 instead of libglog.so.0

Im running into the following error:
Error: package or namespace load failed for 'arrow' in dyn.load(file, DLLpath = DLLpath, ...):  unable to load shared object '/opt/conda/lib/R/library/arrow/libs/arrow.so':   libglog.so.0: cannot open shared object file: No such file or directory
I checked and I'm running with glog-0.6.0-h6f12383_0 from conda-forge.
I inspected the package and it looks like the generated symlink to the shared object is libglog.so.1 which is incorrect considering major version of 0.6.0 is 0. Is there a way to rebuild 0.6.0 to fix this?

We do not maintain conda packages.

sorry! opened the issue in conda-forge/glog-feedstock

No problem. FYI, the .0 in the .so name does not point to the major version of the library but to the .so version. It is likely that you have packages installed that rely a previous version of glog which has been removed by the update.

I don't know what the official spec for shared object naming is, but this google search gave me this:

Shared libraries should be versioned according to the following scheme:
blah.so.X.Y.Z
where
X = backwards incompatible ABI release
Y = backwards compatible ABI release
Z = Internal changes only - no change to the ABI

Please read the information on the site you linked to very carefully. You are confusing two versioning schemes: build version (major.minor.patch) and API version (single version number). The latter is what you initially complained about.

I am not entirely clear as to the difference you are referring to, but I don't think it changes anything.
If I have a package that correctly follows semver, then 0.6.0 must not break consumers of 0.5.0. Regardless of how the X in libglog.so.X is determined, X must remain the same between 0.5.0 and 0.6.0. In this case X has changed (from 0 to 1)
Looking at the index.json of arrow-cpp-0.15.1-py36h982ac2c_6, the depends clause correctly defines
"glog >=0.4.0,<1.0a0".  We would only expect a change from 0 to 1 when a major version bump occurred for glog (allowing breaking backwards compat).

Actually semver doesn't make that guarantee when the major version is 0. Please see this point (quoted below):

Major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.

A separate question is whether glog intends to use semver. This often gets assumed of libraries, but is not always the case.

I am not entirely clear as to the difference you are referring to, but I don't think it changes anything.

Your understanding is clearly lacking. Any further discussion is pointless as you ignoring basic information that was provided to you. Please continue the discussion with conda package maintainers. Thank you.

I see - if 0.6.0 is intended to be incompatible with 0.5.0, then that makes sense. However, I do think conda implicitly requires backwards compat between minor versions even if major version is 0, considering that conda included "glog >=0.4.0,<1.0a0" and not "glog >=0.4.0,<0.5.0a0" in the index.json of the arrow-cpp package.
I picked up this (runtime) break because I re-solve my conda environments often and pulled in this latest version of glog immediately after its release. It's worth noting that any conda package out there built with glog<0.6.0 will break at runtime with glog>=0.6.0
My apologies about my lack of understanding and missing basic information. Not my intention. I appreciate your time and will leave it at this.

glog does not (yet) guarantee ABI compatibility between minor releases. Incompatibilities are indicated by incrementing the .so version which has been done for the 0.6 release. While I'm not familiar with conda, the version range glog >=0.4.0,<1.0a0 looks far too general which is likely the reason for the breakage you observe.

Conda can constrain the version as tight as needed. Currently we pin to minor version, which is similar to the example above of glog >=0.4.0,<0.5.0a0.
In any event, I don't think there is a glog issue here, but instead something not being pinned correctly in another package using glog. So it seems best to keep the discussion in the conda-forge issue for now

Thanks for clearing this up @jakirkham.


Fix some tasks in :docs for the configuration cache

And capture which :docs task work with the configuration cache in the gradleception smoke test.

@bot-gradle test ACC

OK, I've already triggered AllConfigCacheTestsReadyForMerge build for you.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


[NO MERGE] Feature/kmers rebase

This is just a PR to allow talking about this branch on github. Do not merge.
A rebase of @svsegher's branch feature/kmers to allow configuring the backend. This ought to replace that branch once he agrees.
Original pull request by @ninewise on Thu Jul 07 2016 at 12:05.
Merged by @ninewise on Wed Aug 23 2017 at 16:49.

Incorporated in #612
Original comment by @ninewise on Wed Aug 23 2017 at 16:49.


Continuous integration: Change result to state

Once the CI pipeline for a particular task was completed, responsible javascript code was logging result of the pipeline instead of state.

Let's wait @PavloAndriiesh's review before the merge.


Add nvidia-ctk with nvidia-container-toolkit

Description of changes

I think this is a bug fix. The nixos option hardware.nvidia-container-toolkit.mount-nvidia-executables states that nvidia-ctk would be added, but it is not. I believe this adds it.
Sorry this is my second attempt at a pull request because I was unsure how to change the upstream branch and squash commits.  Thanks for your patience.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Hello @rutrum,
Thank you for your contribution. What is the main use case of having the nvidia-ctk mounted within the container? As far as I am aware, it's useful on the host side to configure CDI to properly set up the containerized environment. I weighted adding it inside the container, but I failed to see a reason to do so.
The patch you provided effectively makes the nvidia-ctk available within the container, so that part is fine. What I wonder is what is the use case for doing so.
Thanks!


refactor_arguments

Current dependencies on/for this PR:

main

PR #24   👈

This comment was auto-generated by Graphite.

⏳ This pull request is set to merge as part of a Graphite merge job
Stack job ID: dIbwLbb2Q7k8mq7Wmgzi.
See details on graphite.dev


Move LDLSolver to weakdeps

LDLFactorizations has become a weakdeps of LinearOperator.
https://github.com/JuliaSmoothOptimizers/LinearOperators.jl/pull/326
We need to move LDLFactorizations.jl to weakdeps to make MadNLP.jl compatible with the NLPModels  v0.21

resolved by #343


ARROW-10370: [Python] Clean-up filesystem handling in write_dataset

This fixed the commented-out test mentioned in ARROW-10370
Use the general filesystem-resolve utility code in write_dataset (+add check for pathlib paths not being allowed for filesystems other than local filesystem, this is checked in the legacy filesystems)
Add S3 tests for write_dataset to cover the new functionality by properly resolving the path/URI now

Does this need to be tested on some crossbow builds before merging?

Does this need to be tested on some crossbow builds before merging?

Writing datasets is not yet used by dask/pandas/kartothek, I think, but I also slightly changed _resolve_filesystem_and_path which is used in reading datasets, so yes, good idea, let's run them to be sure.

Writing datasets is not yet used by dask/pandas/kartothek, I think, but I also slightly changed _resolve_filesystem_and_path which is used in reading datasets, so yes, good idea, let's run them to be sure.

@github-actions crossbow submit -g integration

@github-actions crossbow submit -g integration


allow combination of alpha, numeric and symbols

Allows you to combine  alpha, numeric and symbols options.
let token = chance.string({length: 64, alpha: true, numeric: true});

Great! Thanks @SeregPie for the update!


HTML/JS/TS/SCSS/etc. class/id definition peeking

Unfortunately , class/id etc. definition peeking (Alt+F12) is not appearing or if so, it appears extremely slow. And that is IF it decides to show or not. It works at random for me. (small and large projects)

VSCode Version: 1.8.1
OS Version: Windows

Steps to Reproduce:

Select a class/id , use Alt+F12 shortcut on it.
Sit and wait forever/for a long period.

I also tried installing The vscode-css-peek extension just for trial, but the issue remains the same.
I think this might be Git related. It tends to show a peek (really slow or not at all) when there are no files in the Git queue.

This is reproducable each time I start vscode.

Current plugin set:
ActiveFileInStatusBar - Version :1.0.2
auto-rename-tag - Version :0.0.11
beautify - Version :0.7.3
Bookmarks - Version :0.10.2
code-settings-sync - Version :2.4.3
color-highlight - Version :1.3.0
githistory - Version :0.1.5
gitignore - Version :0.5.0
guides - Version :0.6.1
html-css-class-completion - Version :1.0.3
html-snippets - Version :0.0.18
HTMLHint - Version :0.3.3
htmltagwrap - Version :0.0.3
indenticator - Version :0.2.1
jquerysnippets - Version :0.0.1
lorem-ipsum - Version :1.0.0
path-intellisense - Version :1.2.0
php-intellisense - Version :0.0.12
sass-indented - Version :1.3.0
stylelint - Version :0.21.2
terminal - Version :0.0.6
Theme-Easyballs - Version :0.0.2
vscode-autoprefixer - Version :2.0.0
vscode-color - Version :0.2.2
vscode-csscomb - Version :4.0.0
vscode-eslint - Version :1.2.2
vscode-gutter-preview - Version :0.8.2
vscode-npm-script - Version :0.1.8
vscode-scss - Version :0.6.0
vscode-simple-icons - Version :0.8.1
vscode-svgviewer - Version :1.3.0

Not sure if this is caused by an extension?

Just after posting this issue, I removed the vscode-css-peek and vscode-file-peek that are the only peek-related plugins in my editor.
And to be sure, I tested it a moment ago on a colleague's machine. Same thing. Peeking or go to definition is virtually impossible.

Thanks, I am just not sure if we provide this out of the box or not. Because if not, this issue should be moved to the related extension that provides it.

The built-in VSCode html support does not support 'Goto/peek declaration' into css files.
Please file the issue against the extension that adds this.

https://code.visualstudio.com/docs/editor/editingevolved
Ctrl + F , type Peek in the search field.

The richness of language feature support varies across the different languages.
HTML, for example, doesn't provide a goto declaration except for code references in embedded JavaScript code. It does NOT look at CSS files that are also in your folder. Invoking Goto Declaration on a class name has no effect.
Custom extensions can add functionality. If it ever worked (but very slow) then that points to an issue in that extension.


Attempt to post to localhost instead of EKS for kube-system/configmaps

I'm submitting a...

[x] bug report
[ ] feature request
[ ] support request - read the FAQ first!
[ ] kudos, thank you, warm fuzzy

What is the current behavior?
module.eks.aws_eks_node_group.workers["attractive-sculpture-workers"]: Creation complete after 2m27s [id=attractive-sculpture:attractive-sculpture-attractive-sculpture-workers-precise-husky]

Error: Post http://localhost/api/v1/namespaces/kube-system/configmaps: dial tcp [::1]:80: connect: connection refused

  on .terraform/modules/eks/aws_auth.tf line 55, in resource "kubernetes_config_map" "aws_auth":
  55: resource "kubernetes_config_map" "aws_auth" {

If this is a bug, how to reproduce? Please include a code sample if relevant.
export TF_VAR_region=us-west-2
export TF_VAR_eks_cluster_name=attractive-sculpture
export KUBECONFIG=$PROJECT_HOME/kubeconfig-attractive-sculpture
terraform init && terraform apply

main.tf
variable "eks_cluster_name" {}
variable "region" {}
variable "instance_type" {
  default = "t3.medium"
}

data "aws_availability_zones" "available" {}

module "vpc" {
  source  = "terraform-aws-modules/vpc/aws"
  version = "2.21.0"

  name                 = "ekstf-vpc"
  cidr                 = "<IP_ADDRESS>/16"
  azs                  = data.aws_availability_zones.available.names
  private_subnets      = ["<IP_ADDRESS>/19", "<IP_ADDRESS>/19", "<IP_ADDRESS>/19"]
  public_subnets       = ["<IP_ADDRESS>/19", "<IP_ADDRESS>/19", "<IP_ADDRESS>/19"]
  enable_nat_gateway   = true
  single_nat_gateway   = true
  enable_dns_hostnames = true

  tags = {
    "kubernetes.io/cluster/${var.eks_cluster_name}" = "shared",
  }

  public_subnet_tags = {
    "kubernetes.io/cluster/${var.eks_cluster_name}" = "shared"
    "kubernetes.io/role/elb"                        = "1"
  }

  private_subnet_tags = {
    "kubernetes.io/cluster/${var.eks_cluster_name}" = "shared"
    "kubernetes.io/role/internal-elb"               = "1"
  }
}

module "eks" {
  source       = "github.com/terraform-aws-modules/terraform-aws-eks"
  cluster_name = var.eks_cluster_name
  subnets      = module.vpc.private_subnets
  vpc_id       = module.vpc.vpc_id

  node_groups = [
    {
      name          = "${var.eks_cluster_name}-workers"
      instance_type = var.instance_type

      node_group_desired_capacity = length(data.aws_availability_zones.available.names)
      node_group_max_capacity     = 4
      node_group_min_capacity     = 2
    }
  ]
}

proivider.tf
provider "aws" {
  version = ">= 2.43.0"
  region  = var.region
}

provider "random" {
  version = "~> 2.2.1"
}

provider "local" {
  version = "~> 1.4.0"
}

provider "null" {
  version = "~> 2.1.2"
}

provider "template" {
  version = "~> 2.1.2"
}

What's the expected behavior?
A cluster would get created.
Are you able to fix this problem and submit a PR? Link here if you have already.
no
Environment details

Affected module version:github.com/terraform-aws-modules/terraform-aws-eks (commit: ab412fb060a4ce329a36008aa4f6ccdfba3a9868
OS: Mac OS X 10.14.6
Terraform version: v0.12.18

Any other relevant info

Hi. Check out the usage example in the README. You need to configure the kubernetes provider.

I saw that, but I didn't know it was explicitly required. When I used the 7.0.1 from Terraform repository, I didn't run into this problem.  Only from master.   Closing for now, unless anyone thinks this is an actual bug.

This occurs when upgrading, and configuring the provider does not help. The host seems to be empty, causing errors when the provider tries to dial localhost....

This is a bug in the provider. They tried to fix it in 1.11.0 and totally broke everyone's workflow of dynamically configuring the provider from data sources: https://github.com/terraform-providers/terraform-provider-kubernetes/issues/759


Namespace errors

Hi,
When installing the .cs files, i get those two error messages :
Assets\Plugins\FizzySteamyMirror\FizzySteamyMirror.cs(4,7): error CS0138: A 'using namespace' directive can only be applied to namespaces; 'Transport' is a type not a namespace. Consider a 'using static' directive instead
Assets\Plugins\FizzySteamyMirror\FizzySteamyMirror.cs(6,34): error CS0246: The type or namespace name 'TransportLayer' could not be found (are you missing a using directive or an assembly reference?)
Any help would be appreciated ! Thanks in advance

Hi, I have the same issue, did you solved it somehow?

Sorry, late to the party. Indeed, this repository doesn't seem to be maintained anymore, Chykary's fork is functionnal as PixelFireXY pointed out


Fix wrong protocol version usage

When serving a HTTP/2 request the protocol version was set as "HTTP/2.0"
which does not exist.
This needs also to be backported to 8.5

-1 (veto).
This was discussed several years ago, and the decision was to use "HTTP/2.0"
https://bz.apache.org/bugzilla/show_bug.cgi?id=58605

As per discussion, closing this one.


Update package.json to ensure extension can run in different extension host setups

Hi! I'm from the VS Code team, and we'd like to ensure VSCode Project Dashboard can run in the different extension host setups VS Code currently supports. I've found that the current definition of extensionKind for your extension is too restrictive.
The extension has the extensionKind set to ["ui"]: https://github.com/Kruemelkatze/vscode-dashboard/blob/master/package.json#L11. This defines that the extension can only run in the VS Code desktop extension host.
However, this extension can also run on the workspace extension host (which is used for remote scenarios) since it doesn't have any dependencies on the desktop extension host. It'd also be great to enable it for Codespaces web.
Thus, to ensure your extension can run properly across setups, we'd recommend to change the extensionKind to "extensionKind": ["ui", "workspace"]. More information about extensionKind can be found here.
Please let me know if you have questions - I'm happy to help clarify anything. Thank you!

I changed this and just released version 2.3.2 (already live on the Marketplace).

Thanks so much for the quick action and response! 🚀


Get every object while listing objects

Describe the bug
In meta/client/tidbclient/bucket.go, function ListObjects get every objects after get a list, and it causes high latency. Could it return directly after get a full list?

no, plz check the code in  https://github.com/journeymidnight/yig/blob/master/meta/client/tidbclient/bucket.go#L164
It will limit the entries int the select sql.


Refreshing Tray icons

Tray items are often used to give updates on the status of running programs i.e. Nextcloud will inform whether the local folder is up to date with a green tick. However, when waybar initially loads icons generally appear in one state (Nextcloud client has grey syncing symbol) and then the waybar tray icons remain in that state forever, as if the tray is not refreshing or something. Killing waybar after the programs have fully loaded and reopening waybar causes the correct tray icons to appear. Is there any way for the Waybar tray to refresh periodically to capture changing states of icons?

Yeah this is not implemented atm, i have to find time to do this
Dups of #21


ABOUT Fortran page

On the tracks page, when you open the Fortran track it doesn't have any description about the language. It's just an empty space

Closed by #199


fix: 🐛 correctly export MASKS from utils

I'm not very familiar with exporting things for use in a component library, so please let me know if there's a better to do it
✅ Closes: #140

lgtm! 👺

:tada: This PR is included in version 4.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


gfx: Properly set graphics thread delay

This PR properly sets the delay for the graphics rendering thread (task).
The original implementation is incorrect because it doesn't take into account the amount of additional ticks it takes to do operations which don't have anything to do with rendering the current frame.
For example, let t be the time in ms at which the frame starts to get rendered and d be a delay of 50ms (the frame duration). We'd expect that the next frame begin rendering at t'=t+50. However, consider processing delay p. The current implementation begins rendering the next frame at t'=t+p+50, since using vTaskDelay delays the current task relative to when that function is called (at time t+p) (see FreeRTOS API documentation). This causes the timings to drift, sometimes resulting in many seconds worth of time misalignment.
This fix uses xTaskDelayUntil, which is the recommended API call to schedule task delays to end on an absolute time. This allows us to force the task to wake up at t'=t+50.

recheck

I have read the CLA Document and I hereby sign the CLA

recheck

Thanks for the PR, and apologies for the slow response. This looks great!


Update log-effect-fs2 to 0.7.0

Updates io.laserdisc:log-effect-fs2 from 0.6.1 to 0.7.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a nice day!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "io.laserdisc", artifactId = "log-effect-fs2" }]

Codecov Report

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

@@           Coverage Diff           @@
##           master     #106   +/-   ##
=======================================
  Coverage   22.99%   22.99%
=======================================
  Files          33       33
  Lines         948      948
  Branches       17       17
=======================================
  Hits          218      218
  Misses        730      730

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 782d295...bbe231d. Read the comment docs.


[Docs]: Add documentation for previousPageVisited and nextPageVisited meta properties on a Table Widget

Is there an existing issue for this?

[X] I have searched the existing issues

Engineering Ticket Link
10522
Release Date
7/4/2023
Release Number
NA
First Draft
No response
Loom video
No response
Discord/slack/intercom Link if needed
No response
PRD
No response
Test plan/cases
No response
Use cases or user requests
The details of the usage of this feature are in this PR : https://github.com/appsmithorg/appsmith/pull/21712

@harshilp24 - As you are working on this along with Table Rehaul #1143. Could you please add sprint and estimates to this ticket?


Final version of retail churn model architecture

Summary of the Pull Request

PR Checklist

[ ] Closes Issue #xxx
[x] Code of Conduct signed. If not, go to Code of Conduct.

Validation Steps Performed

Reviewing this now.


Unsupported versions cause GH Actions failures

Hi!
I was investigating the reason why the CI is failing and I found a couple of main causes:

The MacOS job is failing because the optional chaining operator used by a dependency  is not supported on Node v12.
The Linux jobs are failing because the runner image for Ubuntu 18.04 has been removed from GHA.

Updating to a new version works (with just a few minor changes to the workflow and binding.gyp) except for one thing: there is no way to install a version of g++ that is compatible with c++17 (needed for compiling the native addon for newer Node versions) on a manylinux_2_24 container since it's based on Debian 9. Upgrading to manylinux_2_28 won't help because it is based on AlmaLinux and cross-compiling to ARM is not as straightforward as it was with the previous image.
From here, there are a couple of different strategies I could think of to solve this:

Keep the fix as "least invasive" as possible by moving from manylinux_2_24_x86_64 to node:14-buster, which is Debian based and has the advantage of already including Node and NPM in the container image itself.

Refactor the current GHA workflow into one workflow for building and one for testing while taking advantage of different tools (prebuildify-cross instead of manylinux) and supporting new platforms (windows).

Please advise me on which option would be preferable (if any) to the project maintainers to submit a PR.
Thanks!

The MacOS job is failing becase ... Node v12
We can remove v12, Node v12 is not even supported by Node itself.

Keep the fix as "least invasive" as possible by moving from manylinux_2_24_x86_64 to node:14-buster

Last I checked, I think node:14-buster didn't have python 3, so it can't do prerequisite binary compilation.

Refactor the current GHA workflow into one workflow for building and one for testing while taking advantage of different tools (prebuildify-cross)

You could try this, but I think I have tried this, and I don't think it works very well. For one, I don't think it has the older glibc compatibility of manylinux.
I think it is probably easiest to just copy the build scripts/config from the much more up-to-date lmdb-js repo https://github.com/kriszyp/lmdb-js/blob/master/.github/workflows/prebuild.yml, which has been pretty extensively tested.

Hi!

Last I checked, I think node:14-buster didn't have python 3, so it can't do prerequisite binary compilation.

I think they probably added it at some point more recently:
$ docker run -it --rm node:14-buster /bin/bash
root@7f94d3bdc61f:/# python3 --version
Python 3.7.3

Refactor the current GHA workflow into one workflow for building and one for testing while taking advantage of different tools (prebuildify-cross)

You could try this, but I think I have tried this, and I don't think it works very well. For one, I don't think it has the older glibc compatibility of manylinux.

My ideas was to use prebuildify-cross to compile the linux-x64 addons on their centos7-devtoolset7 docker image to maintain the same level of compatibility as manylinux2014_x86_64 (which is also based on CentOS 7).

I think it is probably easiest to just copy the build scripts/config from the much more up-to-date lmdb-js repo https://github.com/kriszyp/lmdb-js/blob/master/.github/workflows/prebuild.yml, which has been pretty extensively tested.

Well, the easiest for me would be to go with one of the approaches I mentioned earlier because I already have working branches for them (I wanted to understand how everything worked before suggesting possible solutions here :sweat_smile: ). You can check the branches, the results of running them on GH Actions and the final uploaded binary addons.
But I also see the value of using a solution that has already been well tested and that also provides consistency across projects (which is easier to maintain in the future). So if you prefer this option, I can got this route and make a PR based on that.

Hi!

Last I checked, I think node:14-buster didn't have python 3, so it can't do prerequisite binary compilation.

I think they probably added it at some point more recently:
$ docker run -it --rm node:14-buster /bin/bash
root@7f94d3bdc61f:/# python3 --version
Python 3.7.3

Refactor the current GHA workflow into one workflow for building and one for testing while taking advantage of different tools (prebuildify-cross)

You could try this, but I think I have tried this, and I don't think it works very well. For one, I don't think it has the older glibc compatibility of manylinux.

My ideas was to use prebuildify-cross to compile the linux-x64 addons on their centos7-devtoolset7 docker image to maintain the same level of compatibility as manylinux2014_x86_64 (which is also based on CentOS 7).

I think it is probably easiest to just copy the build scripts/config from the much more up-to-date lmdb-js repo https://github.com/kriszyp/lmdb-js/blob/master/.github/workflows/prebuild.yml, which has been pretty extensively tested.

Well, the easiest for me would be to go with one of the approaches I mentioned earlier because I already have working branches for them (I wanted to understand how everything worked before suggesting possible solutions here :sweat_smile: ). You can check the branches, the results of running them on GH Actions and the final uploaded binary addons.
But I also see the value of using a solution that has already been well tested and that also provides consistency across projects (which is easier to maintain in the future). So if you prefer this option, I can got this route and make a PR based on that.

I think I will try using your prebuildify-cross solution for node-lmdb, and maybe I will try your suggested containers for lmdb-js (where I am using multi-package binaries that I don't think prebuildify-cross supports.

Great! Let me know if you want any help when trying this solution out on lmdb-js, I'd be happy to help.
I'm closing this issues as it's already solved.

Just published (v0.10.0) if you want to check it out.

It worked perfectly. Thank you!


fix(app): Update acknowledge success function

Signed-off-by: Talwinder kaur<EMAIL_ADDRESS>

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

Comparison is base (99c7ddd) 89.07% compared to head (3a82e34) 89.12%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #695      +/-   ##
==========================================
+ Coverage   89.07%   89.12%   +0.04%
==========================================
  Files         105      105
  Lines        4302     4302
==========================================
+ Hits         3832     3834       +2
+ Misses        317      315       -2
  Partials      153      153

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


Search for issues/pulls

Issue #379. This PR is the same as the now-closed #387; I had to reissue the PR for logistical reasons.
Uses a bleve indexer to search issues/pulls by keyword.

I realize this PR is a lot to review, but I don't see any good ways to split it into smaller parts. If anyone has suggestions on how to make it more digestible, let me know.

I've tested it with several large issues(between 1-5mb of text) and the search feature works very fast.
Is it still a WIP?

@Bwko That's good to hear! There are a few minor things that I need to clean up, and then it should be ready

And bleve's default analysis don't support CJK languages, we could support them in step 2.

don't support CJK languages

@lunny is there an upstream issue for that? otherwise I suggest making one 😉

Not a upstream problem. We need a CJK custom plugin for bleve to do that.

@lunny an indexer in 2017 that doesn't handle CJK isn't a very good indexer and should be fixed 😆

@bkcsoft, but I think that will be a big PR. So it could be splitted as two PRs to do that.

LGTM

LGTM.  Very nice work

This should be rebased down to a single commit before getting merged in, right?

Yeah it would be nice if you can squash to a single commit (with git reset HEAD~n by exemple)

let L-G-T-M work.


SAK-31704 Use central cache in news tool.

This allows multiple copies of the tool to startup inside the webapp, but also allows statistics about the cache to be seen in the Memory tool in the administration workspace.

Although I've left it in the destroy() doesn't quite make sense as if multiple servlets are using the same cache when one stops it shouldn't destroy the cache. However for the Sakai case where there is only one servlet it's fine.


Add more endpoints

Coverage remained the same at 100.0% when pulling df94fb8a532fa6a66b5857d9f01159362ef3f681 on add-more-endpoints into 007e6cb341d6f211260471d02d40acc97c526ec2 on master.

Coverage remained the same at 100.0% when pulling 6085e151d9b2fde71e6e05897d76675362a331b2 on add-more-endpoints into 007e6cb341d6f211260471d02d40acc97c526ec2 on master.


[base-ui][Input] Add OTP input demo

Demo: https://deploy-preview-40539--material-ui.netlify.app/base-ui/react-input/#otp-input
looking at downloads of https://www.npmjs.com/package/react-otp-input and considering its applicability in various everyday scenarios, I believe this component warrants inclusion as the demo.
few Inspiration/ benchmarks:

https://github.com/devfolioco/react-otp-input

https://github.com/shubhanus/otp-input-react

[x] I have followed (at least) the PR section of the contributing guide.

@marcpachecog that sounds like a good idea. Could you please open a feature request issue for it? 😊

@DiegoAndai Done! https://github.com/mui/material-ui/issues/40639

Great idea! I have a couple of remarks regarding functionality:

pressing Left Arrow when the cursor is in the filled first input should not deselect its content (unless entering another digit will replace the old value)
how do you get the value from the component?
each input could have a label saying which digit/character it corresponds to, so it's announced by screen readers
nice to have: if we paste a whole value, all the inputs should be updated

ping @michaldudak


feat(wandb): support distributed modes

What does this PR do?

Fixes #11602
Improves support of distributed mode.
For now it also requires calling wandb.require("service") in training script.
Does your PR introduce any breaking changes? If yes, please list them.
The run is created earlier than it used to be as it happens when we instantiate WandbLogger while it used to be created when first logging metric, hyper-parameters or logging any other supported method.

Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃
cc @awaelchli @kptkin @raubitsj who are also working on this PR
cc @morganmcg1 @scottire @manangoel99

Amazing! I tried and it works great so far. Couldn't push to your branch for some reason. I suggest to update the tests:
diff --git a/tests/loggers/test_wandb.py b/tests/loggers/test_wandb.py
index 85b20c562..d347d32d1 100644
--- a/tests/loggers/test_wandb.py
+++ b/tests/loggers/test_wandb.py
@@ -22,6 +22,7 @@ from pytorch_lightning import Trainer
 from pytorch_lightning.loggers import WandbLogger
 from pytorch_lightning.utilities.exceptions import MisconfigurationException
 from tests.helpers import BoringModel
+from tests.helpers.utils import no_warning_call

 @mock.patch("pytorch_lightning.loggers.wandb.wandb")
@@ -57,7 +58,7 @@ def test_wandb_logger_init(wandb):
     # verify default resume value
     assert logger._wandb_init["resume"] == "allow"

-    with pytest.warns(UserWarning, match="There is a wandb run already in progress"):
+    with no_warning_call(UserWarning, match="There is a wandb run already in progress"):
         _ = logger.experiment

     logger.log_metrics({"acc": 1.0}, step=3)
@@ -124,8 +125,10 @@ def test_wandb_pickle(wandb, tmpdir):
 def test_wandb_logger_dirs_creation(wandb, tmpdir):
     """Test that the logger creates the folders and files in the right place."""
     logger = WandbLogger(save_dir=str(tmpdir), offline=True)
-    assert logger.version is None
-    assert logger.name is None
+
+    # the wandb Run gets initialized on instantiation, version and name should be available
+    assert logger.version is not None
+    assert logger.name is not None

     # mock return values of experiment
     wandb.run = None

Confused about the pre-commit error.
I have the hook installed locally and same isort version.

Confused about the pre-commit error. I have the hook installed locally and same isort version.

pre-commit errors seem correct since there is an import that isn't used.

I was not able to understand the problem with isort.
Also  I tried using monkeypatch for setting wandb version or _WANDB_GREATER_EQUAL_XXX but ran into a bunch of errors…

hey @borisdayma
here is the updated code with monkeypatch you can use: https://pastebin.com/hvkyGxqc

Many thanks @rohitgr7
I'll make sure to use a non-protected fork in the future!


Fix bug that prevents using Google PubSub with other embedded contain…

When using Google pubsub with another modules, a missing @Qualifier was missing, so there was ambiguity on which dependency to inject. This PR fix the problem. And other minor improvements as described in the commit message.

Codecov Report

Merging #132 into develop will increase coverage by 1.85%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             develop     #132      +/-   ##
=============================================
+ Coverage      84.37%   86.22%   +1.85%
+ Complexity       375      334      -41
=============================================
  Files            103       90      -13
  Lines           1235     1147      -88
  Branches          12       12
=============================================
- Hits            1042      989      -53
+ Misses           186      150      -36
- Partials           7        8       +1

Impacted Files
Coverage Δ
Complexity Δ

...com/playtika/test/pubsub/TopicAndSubscription.java
66.66% <ø> (ø)
2 <0> (ø)
:arrow_down:

...b/EmbeddedPubsubDependenciesAutoConfiguration.java
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...t/pubsub/EmbeddedPubsubBootstrapConfiguration.java
100% <100%> (ø)
5 <1> (ø)
:arrow_down:

...ava/com/playtika/test/pubsub/PubsubProperties.java
85.71% <100%> (ø)
5 <1> (ø)
:arrow_down:

...playtika/test/pubsub/PubSubResourcesGenerator.java
79.06% <100%> (+3.39%)
9 <4> (+2)
:arrow_up:

...aytika/test/aerospike/AerospikeTestOperations.java
77.77% <0%> (-22.23%)
11% <0%> (+3%)

...est/redis/EmbeddedRedisBootstrapConfiguration.java
90% <0%> (-0.48%)
4% <0%> (-1%)

...t/elasticsearch/ElasticSearchContainerFactory.java
93.75% <0%> (-0.37%)
4% <0%> (-1%)

...fka/configuration/KafkaContainerConfiguration.java
89.28% <0%> (-0.19%)
8% <0%> (-1%)

...tika/test/couchbase/CouchbaseContainerFactory.java
96.42% <0%> (-0.13%)
3% <0%> (-1%)

... and 21 more

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 2e53492...77c475c. Read the comment docs.


Cannot find image

While using the train.py on my own dataset, it prompts 'Cannot find imageName' multiple times.
However those images do exist in my specified folder.
Why is it so and how can I remove it ?
Below I have given the message proceeding with an error caused by the mentioned issue.
`Epoch 1/103
resizing:  416 416
Cannot find Cannot find  /Dataset/images/newfoundland_106.jpg
Cannot find  /Dataset/images/leonberger_184.jpg
Cannot find   /Dataset/images/leonberger_127.jpg/Dataset/images/Egyptian_Mau_127.jpg
Cannot find Cannot find  /Dataset/images/staffordshire_bull_terrier_165.jpg
/Dataset/images/Bombay_116.jpg
Cannot find  /Dataset/images/keeshond_179.jpg
Cannot find  /Dataset/images/english_cocker_spaniel_107.jpg
TypeError                                 Traceback (most recent call last)
 in ()
279
280     # args = argparser.parse_args()
--> 281     main(config)
11 frames
/content/gdrive/My Drive/ML Projects/Object Detection/YOLO/keras-yolo3-master-v2/keras-yolo3/generator.py in _aug_image(self, instance, net_h, net_w)
161
162         if image is None: print('Cannot find ', image_name)
--> 163         image = image[:,:,::-1] # RGB image
164
165         image_h, image_w, _ = image.shape
TypeError: 'NoneType' object is not subscriptable`
Edit: I tried removing the pickle file and starting from scratch, but the same issue prompts out.

I do have the same issue. Did you find a solution yet?

@andreasmarxer , the above error occurs because the code in generator.py cannot find the image file from the path you've added in config.json. I ran into the same issue. It turns out, when I changed the train_image_folder and train_annot_folder as well as their valid counterparts, i need to remove the cache (.pkl) files in order for those changes to be reflected during the training process as well. Hope this helps!

Write a small python script to make sure that you can read the image using cv2.imread().
I had issue reading the image since it was a bmp file, and there are sometimes issues with opencv reading bmp files. divide and concure your problem, start with making sure that opencv works! then check the paths, and remove cache pkl or pyc files, reopen your python terminal and run the code again.

So I had to convert all bmp files to jpg. then readim() file could work!


frum fails on new Macbook Air M2; tried all solutions

I've googled this issue for hours now and give up. I've tried all the solutions I could find online yet I am unable to use frum to install any Ruby versions. A log is below.
My setup:
Macbook Air M2
frum v0.1.2
> arch -arm64 frum install 2.7.5
==> Downloading https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.5.tar.xz
==> Extracting ruby-2.7.5.tar.xz
        ==> Building Ruby 2.7.5
error: Can't build Ruby: make failed: . ./vm_opts.h
In file included from cont.c:16:
./mjit.h:131:17: warning: cast to smaller integer type 'enum rb_mjit_iseq_func' from 'mjit_func_t' (aka 'unsigned long (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)') [-Wpointer-to-enum-cast]
        switch ((enum rb_mjit_iseq_func)func) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
In file included from eval.c:20:
./mjit.h:131:17: warning: cast to smaller integer type 'enum rb_mjit_iseq_func' from 'mjit_func_t' (aka 'unsigned long (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)') [-Wpointer-to-enum-cast]
        switch ((enum rb_mjit_iseq_func)func) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gc.c:41:
./mjit.h:131:17: warning: cast to smaller integer type 'enum rb_mjit_iseq_func' from 'mjit_func_t' (aka 'unsigned long (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)') [-Wpointer-to-enum-cast]
        switch ((enum rb_mjit_iseq_func)func) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
In file included from iseq.c:30:
./mjit.h:131:17: warning: cast to smaller integer type 'enum rb_mjit_iseq_func' from 'mjit_func_t' (aka 'unsigned long (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)') [-Wpointer-to-enum-cast]
        switch ((enum rb_mjit_iseq_func)func) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from mjit_compile.c:19:
./mjit.h:131:17: warning: cast to smaller integer type 'enum rb_mjit_iseq_func' from 'mjit_func_t' (aka 'unsigned long (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)') [-Wpointer-to-enum-cast]
        switch ((enum rb_mjit_iseq_func)func) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
1 warning generated.
1 warning generated.
In file included from ruby.c:55:
./mjit.h:131:17: warning: cast to smaller integer type 'enum rb_mjit_iseq_func' from 'mjit_func_t' (aka 'unsigned long (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)') [-Wpointer-to-enum-cast]
        switch ((enum rb_mjit_iseq_func)func) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
In file included from thread.c:77:
./mjit.h:131:17: warning: cast to smaller integer type 'enum rb_mjit_iseq_func' from 'mjit_func_t' (aka 'unsigned long (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)') [-Wpointer-to-enum-cast]
        switch ((enum rb_mjit_iseq_func)func) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from vm.c:341:
./mjit.h:131:17: warning: cast to smaller integer type 'enum rb_mjit_iseq_func' from 'mjit_func_t' (aka 'unsigned long (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)') [-Wpointer-to-enum-cast]
        switch ((enum rb_mjit_iseq_func)func) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from vm.c:350:
./vm_method.c:291:32: warning: cast to smaller integer type 'enum method_optimized_type' from 'void *' [-Wvoid-pointer-to-enum-cast]
            def->body.optimize_type = (enum method_optimized_type)opts;
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from vm_trace.c:28:
./mjit.h:131:17: warning: cast to smaller integer type 'enum rb_mjit_iseq_func' from 'mjit_func_t' (aka 'unsigned long (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)') [-Wpointer-to-enum-cast]
        switch ((enum rb_mjit_iseq_func)func) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
1 warning generated.
array.c:290:17: warning: expression result unused [-Wunused-value]
                RB_OBJ_WRITE(buff_owner_ary, &ptr[i+beg], argv[i]);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./internal.h:2711:34: note: expanded from macro 'RB_OBJ_WRITE'
#define RB_OBJ_WRITE(a, slot, b) UNALIGNED_MEMBER_ACCESS(rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__))
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./internal.h:2703:5: note: expanded from macro 'UNALIGNED_MEMBER_ACCESS'
    unaligned_member_access_result; \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/ruby/ruby.h:1087:5: note: expanded from macro 'RARRAY_PTR_USE_TRANSIENT'
    expr; \
    ^~~~
In file included from mjit.c:18:
In file included from ./mjit_worker.c:76:
./mjit.h:131:17: warning: cast to smaller integer type 'enum rb_mjit_iseq_func' from 'mjit_func_t' (aka 'unsigned long (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)') [-Wpointer-to-enum-cast]
        switch ((enum rb_mjit_iseq_func)func) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
array.c:1200:2: warning: expression result unused [-Wunused-value]
        RB_OBJ_WRITE(target_ary, &ptr[idx], item);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./internal.h:2711:34: note: expanded from macro 'RB_OBJ_WRITE'
#define RB_OBJ_WRITE(a, slot, b) UNALIGNED_MEMBER_ACCESS(rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__))
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./internal.h:2703:5: note: expanded from macro 'UNALIGNED_MEMBER_ACCESS'
    unaligned_member_access_result; \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/ruby/ruby.h:1087:5: note: expanded from macro 'RARRAY_PTR_USE_TRANSIENT'
    expr; \
    ^~~~
1 warning generated.
In file included from version.c:15:
./mjit.h:131:17: warning: cast to smaller integer type 'enum rb_mjit_iseq_func' from 'mjit_func_t' (aka 'unsigned long (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)') [-Wpointer-to-enum-cast]
        switch ((enum rb_mjit_iseq_func)func) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
2 warnings generated.
2 warnings generated.
ln -sf ../../../.ext/include/arm64-darwin21/rb_mjit_min_header-2.7.5.h include/ruby-2.7.0/arm64-darwin21/rb_mjit_min_header-2.7.5.h
Undefined symbols for architecture arm64:
  "_rb_enc_set_base", referenced from:
      _Init_encdb in encdb.o
  "_rb_enc_set_dummy", referenced from:
      _Init_encdb in encdb.o
  "_rb_encdb_alias", referenced from:
      _Init_encdb in encdb.o
  "_rb_encdb_declare", referenced from:
      _Init_encdb in encdb.o
  "_rb_encdb_dummy", referenced from:
      _Init_encdb in encdb.o
  "_rb_encdb_replicate", referenced from:
      _Init_encdb in encdb.o
  "_rb_encdb_set_unicode", referenced from:
      _Init_encdb in encdb.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [.ext/arm64-darwin21/enc/encdb.bundle] Error 1
make: *** [enc] Error 2
make: *** Waiting for unfinished jobs....
Undefined symbols for architecture arm64:
  "_rb_declare_transcoder", referenced from:
      _Init_transdb in transdb.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [.ext/arm64-darwin21/enc/trans/transdb.bundle] Error 1
make[1]: *** Waiting for unfinished jobs....
Undefined symbols for architecture arm64:
  "_rb_register_transcoder", referenced from:
      _Init_big5 in big5.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [.ext/arm64-darwin21/enc/trans/big5.bundle] Error 1
Undefined symbols for architecture arm64:
  "_rb_register_transcoder", referenced from:
      _Init_cesu_8 in cesu_8.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [.ext/arm64-darwin21/enc/trans/cesu_8.bundle] Error 1
make: *** [trans] Error 2
libffi_version: 3.4.0

I was also having difficulty building Ruby. I'm using:
frum version 0.1.2
macOS Monterey 12.6 (M1 Macbook/Apple Silicon)
My errors output similar to this:
Undefined symbols for architecture arm64:
  "_rb_enc_set_base", referenced from:
      _Init_encdb in encdb.o
  "_rb_enc_set_dummy", referenced from:
      _Init_encdb in encdb.o
  "_rb_encdb_alias", referenced from:
      _Init_encdb in encdb.o
  "_rb_encdb_declare", referenced from:
      _Init_encdb in encdb.o
  "_rb_encdb_dummy", referenced from:
      _Init_encdb in encdb.o
  "_rb_encdb_replicate", referenced from:
      _Init_encdb in encdb.o
  "_rb_encdb_set_unicode", referenced from:
      _Init_encdb in encdb.o
ld: symbol(s) not found for architecture arm64

I solved this for myself by looking at Homebrew's ./configure options for Ruby:
https://github.com/Homebrew/homebrew-core/blob/db82d67243e0a9829335e08ba12274f5dce62dea/Formula/ruby.rb#L67-L81
And I used this command:
frum install 3.1.2 --enable-shared --disable-silent-rules --without-gmp

And it worked! 🎉
I wish I understood why that works -- given there's linker errors, I think --enable-shared might be doing the trick ¯\_(ツ)_/¯

Thanks a lot! I had the same issue, tried your solution and it worked! 🙌

Same here. it worked!
Many thanks @eddieantonio 😀

@eddieantonio and others who might wonder why --enable-shared is required, it's due to an incompatibility between version 14.x of Apple's command line tools and Ruby. Ruby fixed the issue in 3.1.3 and 2.7.7, but they haven't been released yet. Once they are released, the --enable-shared flag would not be needed anymore. I've written about this in detail here:
https://www.rubyonmac.dev/how-to-install-ruby-on-macos-12-6-apple-silicon
As for the other flags from Homebrew, --disable-silent-rules doesn't do anything because it's not recognized by Ruby. And although --without-gmp is a Ruby configuration option, it won't make a difference.

@monfresh Thanks! That's a write-up!


Consider implementing a way of specifying environment variables for cradles

An example use case would be implementing nix support by provisioning relevant environment variables (NIX_*, HIE_HOOGLE_DATABASE and PATH (for finding ghc and other programs)) by running nix-shell --run env.
Although I don't use it, I suppose that anyone using direnv might find this useful too.
Ideally this would be a property on each cradle, with the child cradles in a multi cradle inheriting these variables unless they themselves specify this property.
Analogous to the bios and direct cradles perhaps one should be able to specify the environment variables via program or inline in the cradle.
This would make adding default.nix or shell.nix to the dependencies field in hie.yaml actually useful!

Would a format such as
cradle:
  cabal:
dependencies: []
environment:
  - name: HOOGLE_DATABASE
    value: "~/.hoogle"

be helpful?
Potential CradleAction type:
data CradleAction a = CradleAction {
                      actionName :: ActionName a
                      -- ^ Name of the action.
                      , runCradle :: LoggingFunction -> FilePath -> IO (CradleLoadResult ComponentOptions)
                      -- ^ Options to compile the given file with.
                      , environment :: [(String, String)]
                      }
  deriving (Functor)

This encoding would force the user to correctly set-up the environment for runCradle. However, it allows them to change them as needed programmatically.
cc @mpickering

IIRC nix sets up four NIX_* variables, then there is HIE_HOOGLE_DATABASE, not to mention the variables for correctly compiling C programs. I think having to specify the variable name in the cradle config might be a little onerous. A wya to specify them wholesale (like the arguments program) would be necessary to make this useful with nix

It's not clear to me we should be getting involved in this. Needs more motivation I think before attempting to fix something.

My specific motivation was:
I currently have my editor call nix-shell --run 'hie -blah -blah'. However this does not respond to changes in the dependencies of the current project, i.e. I change package.yaml to add a dependency on the package foo and hie responds and tries to reload things, but because foo was not provisioned by nix-shell when I started my editor, ghc is no longer able to find it.
If however we could have hie get the environment variables 'live' then once package.yaml was updated, hie would reload things and call nix-shell --run env, getting pointed to a new package database and being able to find foo. At the moment I have to restart hie in my editor when I add a new package. This certainly isn't a massive issue, but I think that allowing hie.yaml to specify the environment in which ghc is run as well as flags is a sensible thing to do.
I believe this would be a more generic solution for nix support than what's was proposed in #25, @domenkozar, what are your thoughts?

@fendor mentions here https://github.com/alanz/vscode-hie-server/issues/233 that HLS and ghcide reload the session when package.yaml changes, but unless they also reenter the nix-shell (or update the right env variables) the requisite packages won't be available.

Here's some extra motivation.  I'm trying to get HLS working for a nix-based build system, where some source files look something like this:
{-# OPTIONS_GHC -F -pgmF foo #-}

However, foo is not in the path when running haskell-language-server.  I know the PATH during the program that's run by the bios cradle.  I can even know it statically (by setting up the right symlink during the bios cradle).  But I don't know how to add it to the PATH that runs HLS.

@mpickering @fendor If I wanted to work on this, do you have a sense for whether hie-bios would be interested in a pull request to add the functionality?

Yes, we are definitely interested in a proper solution!


Request for a new Forest Client API endpoint

Describe the task

We want to request a general search api, which will allow us to provide either a name (client name) or a forest client number, and the api will return all the possible result by a wildcard search.
For the return data, we want to get description for the client type code and client status code

For example:
In an input box, we type “CanFor”, we can get all the forest client that has client name includes “CanFor”
And if we type “1234”, we can get all the forest client that has client number includes “1234”
Acceptance Criteria

[x] Send to Team Alliance

@MCatherine1994 - can I close this issue?

yeah we can close this one, but I just don't think team Alliance started this work, it's in their backlog maybe


first working version of action

Hello @ivotron! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file .ci/config.py:

Line 6:80: E501 line too long (91 > 79 characters)


Minimal python code for computing extrinsics in multi-camera setup

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
D435i

Operating System & Version

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC

SDK Version
2.0

Language
python

Segment
other

Issue Description
I have multiple realsense cameras and I would like to know their extrinsics (rotation + translation). However, I could not find some python code to do the same. As of now, I have a script to get the color images from the different cameras and also to create the point clouds from them.  If I can get the extrinsics, I can use it to rotate the point clouds and do something like ICP to get good point cloud stitching. Any help would be highly appreciated.

Hi @chinmay5  There is an example of Python code at https://github.com/IntelRealSense/librealsense/issues/1231#issuecomment-368421888 for getting extrinsics from a camera with the SDK's get_extrinsics_to instruction.

Hi @MartyG-RealSense thank you for your quick response. I checked the code and it seems to be for two frames from the same device. It is trying to align depth and color maps from the same caera. However, I am trying to align two different cameras. I could not make this snippet work for two cameras.

The RealSense SDK Python example program box_dimensioner_multicam can automatically calibrate together the positions of multiple cameras relative to each other when the program is launched, using a checkerboard image placed on the ground.  It is a multi-script project though and so is not a 'minimal' code example.
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python/examples/box_dimensioner_multicam
If you are able to use a commercial software tool instead of creating your own application then the RealSense-supporting RecFusion Pro software, which includes a built-in multiple camera calibration tool, may be of interest.  It has versions for Windows 10 and 64-bit Ubuntu (18.04 and 20.04).
https://www.recfusion.net/products/

Hi @MartyG-RealSense thank you for the code block. I saw that the code returns numpy arrays. When I tried converting the numpy array to point cloud, I do not have the colour information. I am not sure how to include it in the existing code block.
Essentially, I want some modifications to this piece:-
# Calculate the pointcloud using the depth frames from all the devices
point_cloud = calculate_cumulative_pointcloud(frames_devices, calibration_info_devices)

As box_dimensioner_multicam.py is already enabling the color stream, if your goal is a 'textured pointcloud' that maps RGB onto depth then the SDK's Python depth-to-color example program align_depth2color.py may provide useful insights for code to integrate into your application.
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/align-depth2color.py

Hi @MartyG-RealSense thank you for the code block. I was able to get things to work. However, I am trying to reconstruct a small piece of rock something like

However, in the multi-stream setup, what I could reconstruct is mostly a plain surface with very little width.

Do you have suggestions on what can be used here? As of now I have put 2 D435i cameras but I can put one or two more.
Please also confirm one thing if possible. Earlier I was planning to use an ICP for the task. However, as far as I could understand, this multi camera alignment should be able to do a similar task, maybe not very robust but still useful.

The pointcloud of the rock appears not to have color texture applied to it when the above image is viewed zoomed-in.

The rock has a detailed surface texture and so this should make it easier for the camera to analyze it for depth information than if it had a smooth, low-detail surface.
How close are the D435i cameras positioned to the rock, please?  I would recommend placing them at least 15 cm from the rock to help to ensure that there is not missing detail on the depth image due to being too close to the rock.
Is there a greater amount of depth detail on the image if you enable the IR Emitter component in your Python script to project a dot pattern onto the rock's surface?  This can be done by setting the SDK instruction rs.option.emitter_enabled to a value of '1'.
import pyrealsense2 as rs
pipeline = rs.pipeline()
config = rs.config()
pipeline_profile = pipeline.start(config)
device = pipeline_profile.get_device()
depth_sensor = device.query_sensors()[0]
if depth_sensor.supports(rs.option.emitter_enabled):
depth_sensor.set_option(rs.option.emitter_enabled, 1)

You can access multiple RealSense cameras in Python, like in the project at the link below that was created by a RealSense user.
https://github.com/ivomarvan/samples_and_experiments/tree/master/Multiple_realsense_cameras
The more difficult part is stitching together the individual views from the multiple cameras into a single combined image and orienting each view so that they have a common position and rotation, which is an 'affine transform' like the SDK instruction rs2_transform_point_to_point.  More information about this instruction in regard to Python can be ofund at https://github.com/IntelRealSense/librealsense/issues/5583

Hi @MartyG-RealSense , I made a slight change in my method. I do an ICP on the obtained point cloud from the different views. The final result I get is:-

Please ignore the artifacts since the base on which the rock is kept is not rigid (I will buy something more rigid so that such artifacts do not appear). However, I noticed a few things:-
I have two D415i and one D405. I observed that while using the example you suggested, (https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python/examples/box_dimensioner_multicam), the depth values are on a different scale for the D405 (seems they are in cm and are all positive). Is that intentional or did I make some mistake in the setup?

You are correct.  The D405 has a default Depth Unit Scale of 0.01, whilst all other 400 Series cameras have a default depth unit scale of 0.001.

Hi, @MartyG-RealSense thanks for the information. Also, any idea what can be the reason for the change in the sign of distance as well? (In the box_multi_dimensioner_multicam.py code)

The original box_dimensioner_multicam.py program is suited to the cameras being a certain "sweet spot" distance from the observed object, such as 0.5 to 1 meters.  If a camera is closer or more distant than this range then there may be corruptions in the results, such as bounding boxes that do not fit to the contours of an observed box.  This phenomenon is demonstrated at https://github.com/IntelRealSense/librealsense/issues/10100
If a D405 was placed 0.5 meters or more from an observed object then it could result in inaccurate depth values, as the ideal depth sensing range of the D405 is 7 cm to 50 cm.

Thank you for the information. I will try to adjust the alignment. However, the only thing that somewhat concerns me is still whether the sign flip is an artifact or an intended effect. I can imagine inaccuracy in depth but the change in sign is somewhat surprising.

If you have the IR emitter enabled and are projecting a dot pattern from the D435i, the D405 will not benefit from that as it has an IR Cut filter equipped on its left and right sensors, meaning that infrared is excluded from the range of visible frequencies that the D405 is able to see and so it cannot see the dot pattern and use it to aid depth analysis.

Hi, @MartyG-RealSense  one more thing. I do not want to have the checkerboard appear in my final scan. What sort of surface should I use so that only the rock appears in the scan? I would place the checkerboard printout on one side of the surface and simply flip it while performing the final scan.

If the camera is always going to be a fixed distance from the checkerboard then you could try implementing a post-processing threshold filter in your Python code and set a maximum depth distance so that the distance from the camera represented by the floor under the rock is excluded from the depth image.
https://github.com/IntelRealSense/librealsense/issues/8170#issuecomment-761930301 has an example of Python code to define a threshold filter with a maximum depth distance (rs.option.max_distance).
Alternatively, if you use a plain black color on the reverse of the checkerboard then that should prevent depth from being read from it when the checkerboard is flipped over.
In regard to L515, you could try experimenting with different Visual Preset camera configurations to see whether detection improves.  https://github.com/IntelRealSense/librealsense/issues/8619 demonstrates Python code for defining a preset, such as Short Range, using the SDK instruction rs.option.visual_preset

Hi, @MartyG-RealSense thank you so much for the information. Things are working as expected. Perhaps the final thing I wanted to know before you can go ahead and close the issue is, how to get the scan of the base of an object. For instance, for the rocks here, I wanted to get their base as well, (not only the surface from the top but also from the sides and the base). Any ideas would be highly appreciated.

If the program is using the calibrated-together positions of the cameras based on their position around the checkerboard then moving the cameras downwards to the base of the rock from the initial elevated position that they were calibrated in would not be an option.
Positioning additional cameras at the base of the rock would not work as the cameras would not be able to see the checkerboard from that board-level height.
Perhaps you could place additional cameras at an elevated position for the checkerboard calibration and then lower them down to board level when the calibration is complete and you are asked to place an object on the checkerboard (so the cameras would still have the same distance and angles relative to each other but just a different vertical height).

@MartyG-RealSense thank you for the answers. Closing the issue.

You are very welcome, @chinmay5 - thanks very much for the update!


Fixed the b64 powershell payload

The b64 command was getting overwritten.
The else block handles the case if it's not the b64 command, but the code was also placed outside of the if-else, essentially rendering that block useless.

@all-contributors please add @Jake-Ruston for data


about q_logvar_init and p_logvar_init

Hi, in your new code, q_logvar_init and p_logvar_init are parameters in BBBconv2d (in your old code, they have fixed values). What are their initial values? I didn't find them in your code. Thanks!

Hi @ShellingFord221,
Values are defined inside the Bayesian AlexNet architecture.

The path is PyTorch-BayesianCNN/Image Recognition/utils/BayesianModels/BayesianAlexNet.py`

Hi, in your codes, you define the fixed value of mean and variance of the real distribution of weight, i.e. w_p~N(0, 0.05), and the value of mean and variance of the approximate distribution of weight w_q are parameters (they are initialized by stdv and q_logvar_init). But why are parameters of the real distribution fixed? If we know the real distribution, why should we approximate it by q, rather than just use these values?

Hi,
We need to define a boundary (or starting point) to contain the distributions in that domain. Otherwise, the distributions might vary a lot and it is hard to make them converge. So we start with something and then use LRT to calculate the change. And we try to learn these both and approximate it. We take a 0 mean and a predefined variance to start with. Variance can be made learnable but 0 mean Normal distribution is a good start to apply LRT efficiently. However, a different distribution can also be used and we can learn the parameters. But it will be way too much to learn considering the complexity of CNNs already and in our experiments, it becomes hard to converge. Hope it makes sense.

Hi, I wonder that will the initial values of p_logvar and q_logvar affect the performance of BCNN? Why or why not? Thanks.

And why do you set the same initial value for real distribution and approximate distribution? Shouldn't they be different? Thanks!

Hi, in your codes, you define the fixed value of mean and variance of the real distribution of weight, i.e. w_p~N(0, 0.05), and the value of mean and variance of the approximate distribution of weight w_q are parameters (they are initialized by stdv and q_logvar_init). But why are parameters of the real distribution fixed? If we know the real distribution, why should we approximate it by q, rather than just use these values?

I am also perplexed by this question. In the BBBConv.py, prior_mu and prior_sigma are all fixed. This means that KL Loss will lead to the W_mu and W_sigma to the prior value (i.e., prior_mu and prior_sigma). However, how can we know that the prior value is suitable for our tasks? After all, in the CNN, back propagation can help us optimize the weight.


feature/create network flows

@crazyideas21 Could you review the method for calculating inter-arrival times between network packets? I'm using diff() on the timestamp column to compute the difference between each packet's timestamp and the previous packet's timestamp
grouped = df.groupby(['ip.src', 'ip.dst', 'tcp.srcport', 'tcp.dstport', 'udp.srcport', 'udp.dstport', '_ws.col.Protocol'])
df['inter_arrival_time'] = df.groupby(['ip.src', 'ip.dst', 'tcp.srcport', 'tcp.dstport', 'udp.srcport', 'udp.dstport', '_ws.col.Protocol'])['frame.time_epoch'].diff().dt.total_seconds()

Looks good. To be extra safe, make sure that the timestamps are sorted. Here's a toy example:

import pandas as pd

df = [
    ('a', 4),
    ('b', 20),
    ('a', 2),
    ('a', 1),
    ('b', 10),
    ('b', 100)
]

df = pd.DataFrame(df, columns=['Packet', 'Time']).sort_values(by=['Packet', 'Time'])

g = df.groupby('Packet')
df['Inter-Arrival-Time'] = g['Time'].diff()

df


ci: standardize workflows using SciML's reusable workflows

Update the workflows in this repository to use SciML's reusable workflows.
This is part of a larger effort to standardize the SciML's CI workflows for more generic and common requirements, to keep the workflows uniform and easier to maintain.

Pretty sure it is impossible to get Catalyst v13 or v14 to work on Julia 1.6 without deprecation warnings.
Latest Catalyst doesn't support pre-1.10.
I know this package works on julia 1.9 so that seems a good spot to lower bound
but I think CIing older than 1.10 isn't worth doing, given that will be LTS soon.
|

1.10 is fine. All of SciML is on it or switching to it.


Fix Readme

The font was not embedded into the banner svg, and the text was not properly displayed in all browsers.
Also fixed the links in readme to point directly on GitHub - this will make the front page in JuliaHub look normally.

@JuliaRegistrator register

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.


Dockerfile and Docker compose with instructions needed for selfhosting

Is your feature request related to a problem? Please describe.
Please make it docker compatible if it is not so that it is easy to selfhost and manage with docker.
Describe the solution you'd like
:-))
Describe alternatives you've considered
No response
Additional context
No response

It's already self-hosted. It sends files through your local network. In a simple way, it sets up a bridge between the first device and the second device, over the network; then it sends the files over that bridge. No server or docker needed.


Refractiveindex.info reader

This is good to go after merging https://github.com/FAIRmat-Experimental/nexus_definitions/pull/11 and an update of the submodule to the latest fairmat branch (should also solve the merge conflict).


Implement a good way to mock tests with timezone and DST dependencies

Pure tech debt item.  We have a few unit tests (notably LocationService.spec.js and ExposureHistory.spec.js) that must mock the current datetime, but are sensitive to the timezone and daylight savings time.  We need to come up with a good solution for unit testing the edge cases around these tests, as well as ensuring that the tests don't have any lurking system time / timezone sensitivity.

I can have a look at this tomorrow

@lewisPrescott707 any progress here?

@lewisPrescott707 any progress here?

Not yet I'm afraid, as not had time.
Looks like timezone is not supported by dayjs which makes mocking tricky.
Will take another look at the weekend

@kenpugsley @Patrick-Erichsen sorry I don't really have the knowledge of the Intersect.js to be able to create the data for the tests. So I have created a PR to demonstrate how to mock the timezones with dayjs. PR-906


Help in obtaining 68 landmarks

Hi all,
Could someone tell me how to map the 468 landmarks to 68 landmarks? I saw this issue https://github.com/google/mediapipe/issues/421
which addresses the same question, but I was wondering if someone has managed to do it and could provide some help in the mapping. Thank you in advance.

Hi @gd1925 , could you please share some more information to investigate further on this issue and am not able to find this issue in github.

Hi Sir, I have been thinking about it and trying manual mapping. Comparing the locations manually. Could you suggest me some other way if possible?

Hello @gd1925,
We are upgrading the MediaPipe Legacy Solutions to new MediaPipe solutions However, the libraries, documentation, and source code for all the MediapPipe Legacy Solutions will continue to be available in our GitHub repository and through library distribution services, such as Maven and NPM.
You can continue to use those legacy solutions in your applications if you choose. Though, we would request you to check new MediaPipe solutions which can help you more easily build and customize ML solutions for your applications. These new solutions will provide a superset of capabilities available in the legacy solutions. Thank you


CSV file: Compatibility with Excel depends on regional settings

As mentioned in MacAdmin Slack: For most users the old, comma separated CSV file was working fine. It seems that the local settings regarding the decimal separator affects Excel's handling of CSV files.

Closed with release 1.1.0


Update Development instructions

Working on #138 on a fork and struggling to get my development environment set up correctly. Currently on macOS Apple Silicon.
These are the places where readme.md seems to be outdated:

Use Node 20 as v1.9.0 calls
Rebuild using yarn rebuild not yarn electron-rebuild
Run using yarn dev:electron not yarn dev-electron

Additionally, many files I have not touched will not lint. It's unclear to me which files are supposed to lint and which ones are not- this error from VS Code suggests a mismatch between ESLint config and TS config. My ESLint plugin is v3.0.10.
Parsing error: ESLint was configured to run on `<tsconfigRootDir>/satellite/src/client.ts` using `parserOptions.project`: <tsconfigRootDir>/tsconfig.json
However, that TSConfig does not include this file. Either:
- Change ESLint's list of included files to not include this file
- Change that TSConfig to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
See the typescript-eslint docs for more info: https://typescript-eslint.io/troubleshooting/typed-linting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file

Is there any other setup steps necessary? Plugins or local settings to apply? I have totally wiped my VS Code plugin settings so I do not think my local configuration is the issue.

I have updated the readme with those suggestions.
I didn't notice those eslint errors because my vscode hadn't updated itself since installing back in february :facepalm: , and was too old for the plugin to work.
But the real 'error' was that the vscode plugin does not automatically understand mono-repos, and was getting confused when not finding an eslint config at the root of the repository. I've added that config now


Some readme wording updates

Coverage remained the same at 94.975% when pulling 03ae67b80eebd3d234a9de5c92a5248e5b7641c5 on kevincoleman:master into a753c50c467cd775f4c8a791eea0239ff2394d9f on kamilmysliwiec:master.

Im always curious to know what stands for to use ’ instead of ' in the "internet" where straight and curved apostrophe are the same and correct to use. But I do not blame or so, just asking @kevincoleman  :+1:

Yeah, good question, @cojack!
On the Internet the characters are still different—although only barely visibly so. Depending on the font used they might be exactly the same or noticeably different.
I tend to prefer using curly apostrophes for a couple reasons:

Typographically speaking, a curly apostrophe (just a right single quote, &rsquo), is still visually more correct. However, I do understand that language evolves and accepting new conventions is usually a good idea.
It avoids the issue of having to escape the straight quote in cases where you’re wrapping a string in straight quotes (e.g., var phrase = 'Here’s a phrase with an apostrophe'). I tend to use double quotes anyway (var phrase = "Here’s a phrase with an apostrophe"), but when you have to nest quotes in templates to use javascript inline it allows one more level before having to use an escape (
 ...
). I suppose  you could alternate all the quotes in this whole statement to make it work (
 ...
), but that seems messy since it makes for inconsistency in quote selection, and it seems just as easy to solve the problem by using a curly apostrophe to gain the benefit of reason number 1.

I know many people could go either way on my first reason, but the 2nd one still seems like a convenience to me.
At least using a Mac it’s pretty accessible (Shift + Option + ]), so my fingers just get into the habit. It’s a little more cumbersome on phones, where autocorrect doesn’t always recognize it as an apostrophe. 😞
Obviously at the end of the day it’s preference. I’ve got my reasons, but I don’t need to start fires if others disagree. 😄

Hak me, I love to share a knowledge.
About second reason, to be honest, I have never ever thinking about it in that way. But it's a good approach.

It's not that I do disagree or agree to use this kind of character. The curved apostrophe for me adds a kind of magic, and it looks nobly. I have only a problem with text (to be consistent) using this kind of character because on linux I do not even know how to generate it, but it's my problem :)
Thanks you for your contribution, no offence ;)

Yeah, me too!
I am a native English speaker (US), and I’ve studied some German as well as Italian. I’m not very good with either of those, though. :)
Yeah, I can see how it might be less accessible on non-Apple environments, and I totally understand when people don’t use it. I just try to use it in my own habits, and sometimes that bleeds over to my PRs.
If we decide to go with straight quotes in order to more easily be consistent, I’m ok with that!
No offense at all! It’s very nice to see such friendly people online. :)


Add BoxHelper

Closes #187

Add AxesHelper.set_colors
Remove AxesHelper thickness kwarg and switch to thin lines
Add BoxHelper
Add BoxHelper.set_transform_by_object(object)
Add BoxHelper.set_transform_by_aabb(aabb)
Extend validate_helpers2 example

Add object_bounding_box example

The two utility methods on BoxHelper allow you to configure the transform appropriately for world space or local space. See the example for usage.

I think I've managed to address all your feedback appropriately. :)


Take into account shutter opening time in rotation scans

Issue on i24 when running the jungfrau at 2000 Hz. Worth a general discussion on how we do this