Remove modes from article structure + automatically support TOC in docContent

Overview

remove the idea of "modes" and just support both besluit and article structures together
move besluit and article structures to their own plugins (instead of a weird mix), where every plugin adds and shows everything that is needed for itself.
some updated documentation. Biggest improvement is specifying how to even activate article-structures, as they are not blocks, so will not work with the default docContent config.
a small fix that adds table_of_contents to the docContent of the TOC plugin is activated. This is mandatory to make the TOC plugin work, and this makes the configuration easier for consumers.

connected issues and PRs:
https://binnenland.atlassian.net/browse/GN-4514
How to test/reproduce

try to remove table_of_contents from the test.html file docContent configuration
try to use both besluit and article structure nodes together, try to remove one (or both) of them from the pluginsArray (in test.html) and see if stuff works like it should.

Challenges/uncertainties

currently for besluit nodes only an article can be inserted. Having the header "besluit" with just one button is a bit ugly, but at least it is clear :shrug:
the header "General" will show up even if no buttons are there (e.g. no activated plugins). However the same problem happens for the general insert button: it will also show up even if there are no plugins active. Might be something for another PR.

With it not being a block, it felt like it made sense, because it is kinda the only spot to put it (not really possible to put it under a title, except if it is a specific table of contents title).
But I agree it is too much magic when you still let docContent be configurable.
So either remove that, or make it so docContent is constructed via the plugins, with possible override in plugins.
I lean more towards keeping docContent configurable and just make it clear in the docs that you need to adjust it, like is done for article structures.

With it not being a block, it felt like it made sense, because it is kinda the only spot to put it (not really possible to put it under a title, except if it is a specific table of contents title).
But I agree it is too much magic when you still let docContent be configurable. So either remove that, or make it so docContent is constructed via the plugins, with possible override in plugins. I lean more towards keeping docContent configurable and just make it clear in the docs that you need to adjust it, like is done for article structures.

I agree with this approach :+1:


 Ideally we can make a custom collider that corresponds to their entire fooprint.

Toggling a material for the picking mesh is helpful!

The raycasting appears to be fine: terrain selection is getting blocked by structures as expected.


Humbly bringing the Joy to gazebo.

Enable using the humble gazebo bridge with Joy.
Signed-off-by: Benjamin Perseghetti<EMAIL_ADDRESS>Checklist

[x] Signed all commits for DCO
[x] Added tests
[x] Updated documentation (as needed)
[x] Updated migration guide (as needed)
[x] Consider updating Python bindings (if the library has them)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Thanks for iterating with me!


Command containers

Something like this example -- this would allow for hot-reloading of commands.

Closed by #18


Add Hardik details

Updated the AboutUS page

Codecov Report

Merging #27 (179f2ec) into master (c96961f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #27   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 c96961f...179f2ec. Read the comment docs.


Broken Files fragment identifier

Files fragment identifier not navigating to Files section of README file, instead redirects to repository files.
Can we change section name to "File Manipulation" from "Files"?

Feel free to open a PR.


Few fixes for PrivateSend

Fixes:

PS should limit entry size, not mixing amount (legacy issue)
there should be no fee in mixing tx (legacy issue)
make sure pwalletMain is not null in PrepareDenominate (shouldn't really happen but just in case)
slightly adjust PRIVATESEND_COLLATERAL to avoid collision with CTxLockRequest::MIN_FEE (otherwise Transactions tab info could be inaccurate if IS to yourself)
~send confirmation dialog box should display correct smallest denom (missed this one when refactored PrivateSend to use actual denoms instead of magic numbers)~ fixed in #1329
no need for "double" in GetAverageAnonymizedRounds, "float" should be enough

~No protocol bump is needed.~

closing in fav of #1408


How to change the permission for "Auth Role" of identity pool ?

Amplify CLI Version
10.6.1
Question
After running amplify add auth Amplify created a "Auth Role" for identity pool like amplify-PROJECT_NAME-stg-101337-authRole.
Is it possible to change the content of the created policies in this role?
If it's not possible how to add some custom policies to this role?
In my case I want add an additional s3:PutObjectAcl permission to the created policy Protected_policy_52759c6a:
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "s3:PutObject",
                "s3:GetObject",
                "s3:DeleteObject"
            ],
            "Resource": [
                "arn:aws:s3:::XXX-stg/protected/${cognito-identity.amazonaws.com:sub}/*"
            ],
            "Effect": "Allow"
        }
    ]
}

Hey @yaquawa, thank you for reaching out. We can access/modify the auth role by utilizing the project override feature. Please refer to https://docs.amplify.aws/cli/project/override/ providing additional information.

@ykethan Thanks!
But I got an error after running amplify override project.
amplify override project
🛑 Packaging overrides failed.
Command failed with exit code 1: yarn install

Resolution: There may be errors in your overrides file. If so, fix the errors and try again.
Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/

Thanks @ykethan !
How can I check the final cloudformation template before pushing it?

hey @yaquawa, we can check the cloudformation template by first running amplify build then checking the build folder under the amplify/backend/<resource name>/build and amplify/backend/awscloudformation/build

additionally, you will need to comment out or set the flag to false in the setting.json under .vscode to view the cloudformation folder

@ykethan Thanks! Can you give some example code for referring the S3 bucket from the override.ts ?

Hey @yaquawa, to prevent any misunderstanding. Currently, Amplify override does not support importing/referring to existing resources such as aws-exports. But I was able to find a workaround on https://github.com/aws-amplify/amplify-cli/issues/9063#issuecomment-1035874372, https://github.com/aws-amplify/amplify-cli/issues/9063#issuecomment-1037656768 and https://github.com/aws-amplify/amplify-cli/issues/9063#issuecomment-1212640682. I would recommend thoroughly testing this in your dev environment before implementing this in your prod to identify any side effects.

Thanks @ykethan , close the issue and I'm going to watch the #9063.


2 tests fail

======================================================================
FAIL: test_time_limit (test_random_sampler.TestRandomSampler.test_time_limit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/ports/science/py-dwave-samplers/work-py311/dwave-samplers-1.3.0/tests/test_random_sampler.py", line 62, in test_time_limit
    self.assertTrue(.01 < runtime < .04)
AssertionError: False is not true

======================================================================
FAIL: test_concurrency (test_tabu.TestTabuSearch.test_concurrency)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/ports/science/py-dwave-samplers/work-py311/dwave-samplers-1.3.0/tests/test_tabu.py", line 69, in test_concurrency
    self.assertTrue(0.4 < tt.dt < 1.6)
AssertionError: False is not true

----------------------------------------------------------------------
Ran 455 tests in 65.388s

FAILED (failures=2)

Version: 1.3.0
Python-3.11
FreeBSD 14.1

Can you say more about the environment you're running this in? Is it single threaded?

I run pytest, which is single threaded.

For the
Traceback (most recent call last):
  File "/usr/ports/science/py-dwave-samplers/work-py311/dwave-samplers-1.3.0/tests/test_random_sampler.py", line 62, in test_time_limit
    self.assertTrue(.01 < runtime < .04)
AssertionError: False is not true

error, does it happen consistently or just sporadically?

https://github.com/dwavesystems/dwave-samplers/pull/67 made some changes to the tests which should resolve this. Closing for now. If the issue persists please feel free to reopen the issue.


Rux’s speed

A big fan of the concept here. I’ve used the gem in my project and the view using the component started to render in 100-150ms instead of the usual ~30ms I got with when I used a Slim template in development. Is that 3-5x decrease in speed expected? If yes, is there anything that can be done to make Rux faster?

Hey @nicieja, thanks for giving Rux a try :)
I must confess that all my efforts with Rux so far have been focused on simply getting it to work, and no attention has been paid to performance. If memory serves, Slim was explicitly designed with performance in mind, so I'm not surprised you're seeing such a disparity in performance between the two engines.

Is there anything that can be done to make Rux faster?

I'm sure there is, but I would have to do some benchmarking to be sure. Off the top of my head, it's probably worthwhile to look at how many times Rux.create_buffer is called, since each call will allocate a new ActiveSupport::SafeBuffer.
Here's an example from the rux docs:
Rux.tag("span") {
  Rux.create_buffer.tap { |_rux_buf_,|
    _rux_buf_ << @first_name
    _rux_buf_ << " "
    _rux_buf_ << @last_name
  }.to_s
}

It's not entirely obvious from this example, but Rux will create a new buffer every time the code transitions from Rux -> Ruby, i.e. when encountering curly braces. Rails' ActionVIew uses a single global output buffer, which is probably what Rux should do too. Since call is designed to return a string, I don't think Rux can use ActionView's output buffer. However, Rux could create a single buffer within the context of the call method and append to it at every nesting level.
Another thing to think about: Rux uses ActiveSupport::SafeBuffer because I wanted to use the same HTML safety mechanisms Rails already provides. We could probably come up with a more performant implementation. We might also be able to distinguish between safe and unsafe appends like ERB does, which could skip escaping unnecessarily.

@camertron Thank you so much for making something like this.
I am new to Rails, I am loving it.
I am put for by ERB tags. I am not a big fan for composing components, cause rarely I am going to need the use, for most case partials serves the purpose.
I was wondering if there is any way to use is directly in views, like this:

I don't want the ruby code getting messed up with ERB tag, I was looking for a way to eliminate them. Can you please guide me on this?

Hey @nicieja I'm just now circling back to this as there's been some additional interest in rux performance in the past few days. I put together a benchmark (see: https://github.com/camertron/rux-rails/pull/14) that actually shows rux beating Slim. Are your numbers potentially coming from development, and if so, is it possible transpilation time is to blame?

Hi @camertron. Nice! Yes, the numbers were from development.


Use current dependencies

use current HAL and other dependencies
add a .vscode/settings.json
some simplification of the template because we now support expressions as conditions

We probably also should run unit tests in CI (now that we have them) but I'm not good at CI stuff


Stack shows dividers between null children

Steps to reproduce
Stackblitz example
Current behavior
When a child element returns null (conditionally), the Stack still treats this as a child and inserts a divider, even though there is no DOM element to divide:

Expected behavior
I would have expected that null children would not be treated as DOM elements and not produce any dividers.
Context
I have an action/navigation bar with several sections. Under some conditions, some of those sections don't make any sense, and so the components that render them return null in that case. I don't want the dividers to show up around invisible sections.
 Hence, it is not being evaluated to false.

closing the issue based on https://github.com/mui/material-ui/issues/43969#issuecomment-2408584908

@sai6855 should this be closed? I get that this is the current behavior, but isn't that strictly less useful than filtering out the nulls? With the current behavior, I just can't use the Stack divider prop when any child might be null. It's hard for me to see a use case where that's what I want:

Seems like that line might be better written as something like:
const childrenArray = React.Children.toArray(children).filter(
  child => child && isValidElement(child) && child.type() !=== null
);

(Untested; suggestion from this SO issue).
But I may be missing something -- maybe somebody has a good use case for the current behavior.


update postcss dependencies

update postcss dependencies
Really want newest for tailwindcss
I dont know if I break anything atm, will try and install this branch in my project later today/tomorrow
Wait with merging unless you know it wont break anything

@nchanged
I dont think it will break anything
Test are working after I fixed the type errors
I tried postcss in fusebox by manually setting v8 in the package-lock.json in one of my project under fusebox.
It worked when I did this (did not before, tailwindcss complained I needed to update)

Would it be possible to have it under a own tag and try out some different apps?
^4.0.0-postcss.1 to try it a bit more before merging ?

Did try out tailwindcss tody by manually settign up the postcss in package lock.
Looks to be working fine when I enable purge in the postcss tailwind plugin


Cannot stay signed in multiple VSCode windows at the same time - Copilot message: "Sign in to use GitHub Copilot"

Does this issue occur when all extensions are disabled?: Yes

Version: 1.77.3
Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710
Date: 2023-04-12T09:16:52.732Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 6.2.10-1-MANJARO
Sandboxed: No
Steps to Reproduce:

Open two windows of VSCode
When you sign in in one window the other shows Copilot message: Sign in to use GitHub Copilot.
When you sign in the other window shows same message.

Can you follow these steps so that we can get more information on what's going on?

Trigger the sign in
Wait for the issue to happen...
Open the Output pane (ctrl+shift+u)
drop in this issue he contents of the following:

GitHub Authentication Output channel

Tested on a laptop and all was good, so came back to my desctop and all in all it was issue with my manjaro system.
sudo pacman -S gnome-keyring libsecret libgnome-keyring sorted the problem.
Thank you.


Publish on NPM

Hello,
First of all, great work.
I'd like to use this on a project built with NPM/webpack. Is it possible to publish on NPM in addition to bower?
Thanks!

Can you please double-check the latest commit and let me know if package.json looks good? A npm install theia-sticky-sidebar should do the trick now.

Looks good to me. Thanks!


Proposal: support of -u|--user for docker exec

When using docker exec for a container which is using USER something in the Dockerfile, the command is also executed as this user.
Would it be possible to support the -u | --user option for docker exec like it is for docker run?
This would come in handy for executing commands that need root access in running containers.

I think it makes sense to allow this.

Yes, i really see the need for this during trouble shooting containers.

While agreeing with @fgutmann about starting a second container to get to all the data, that doesn't mean that I can modify the processes in the first container started. So @icecrime raises an interesting topic. While the USER specified runs the processes, it cannot modify certain files without elevation to root. So currently you aren't able to modify for example the proxy settings or routing in a running container. This kind of tampering can be a security issue. I'm glad you aren't able to elevate, but that doesn't mean it isn't a usefull option.
So I would suggest to add it, but only allow it if the docker process itself is started in development mode (--development_mode=true) and ignore the elevation if docker is started in production mode.

Can this be closed, given #12025 has merged this feature?

Is there a way to use the -u option with the full login environment of the specified user ?

@praveengh unlikely; not all containers have a shell, so adding such a flag would make assumptions about the container that we cannot make. Also docker exec is really a debugging tool, so we don't want to add more features if not really necessary (and there's already a way to do this, as you showed)

@thaJeztah is there support for user through the remote API? Poking around I don't see anything. Am I missing something?

@cdancy doc is likely out of date.

@cpuguy83 or @thaJeztah is the proper syntax out somewhere? Can't seem to find within the source that admittedly I'm not the most familiar with its structure and layout.

@cdancy It's probably "User": "<user>:<group>"

You're correct; it looks like that PR went in without docs review,
and only the CLI docs were updated, but not the API docs
https://github.com/docker/docker/pull/12025
I'll open a PR to fix


Pass particle data pointer

This is a possibility for passing through the ParticleData which contains the log_vol_gain.
Something like this may be needed if we decide to control the correction more locally.

This isn't the solution just yet:
In g2p2g_generic, we read the value, pass it to particle_g2p2g, and write it back afterward.
But that overrides changes from the DruckerPragerPlasticity.


Remove dead code that sets max_host_weight_ in tests which is of no use

Commit Message: Remove dead code that sets max_host_weight_ in tests which is of no use
the stat "max_host_weight" is  not used in LB decision making anymore.
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/assign @jmarantz

@yanavlasov this is a quick one. Hopefully.


fix(db): Updated 0001 schema to be compatible with sqlite

The migration was failing constantly as it was mysql or postgres, can't guess just form a glance. Anyhow, I changed it to be a sqlite migration as that's what we're using.

The lack of tests made it hard for me to have an overview of what's going on. So I wrote one, realized that it's failing, and got to solving it.
There's a better approach for doing this, where we don't have to look at relative paths in tests. I'll do that once I get some sleep, and I don't want to push too much at once.

I restructured the project to allow for both the client and the cli to live together, so I decided to apply most of the changes from this PR and PR #2 manually to not make a mess. There were some changes that I didn't like though, I will explain why here.

e73c1bc8b78399f79f6eab5c8383d7df3e4368a9: I prefer not to declare DB as a global variable.
c61e8eefaa9f903c008db2bc3d07d1ef8ef19994: From my point of view, each user represents one Hetzner account, thus having different users sharing the same token could be problematic.
84633d02bde0ff175158115821f73c3fef924ed0: I've updated the configuration package adding a struct with the configuration values and validate tag in each field.
cc64967f21ec8513b08cbe1519c675c13b7e12a2: Not entirely sure about this, as these errors will not be user-facing, and not passing them as they are will result in less information getting to the RequestLogger middleware.


How to Update Node Group Attributes

I am using v3.1.3 version，I want to update the attribute value of the node grouping, updateItem()  does n' t work!

Try combo mechanism in new version of G6


Add Animations

investigate 9 dot arrangement
(Tbc)

MAUI have some buit-in animations. Maybe they could be utilized
https://devblogs.microsoft.com/dotnet/announcing-net-maui-preview-5/#animations

Thanks to @AswinPG this has been solved, we are still using the usual easing animations that we have.
For the built in animations, they seem to be for views you would place IN the page, not the page itself. I believe we should make a seperate issue down the road for that ability.


Replace floatToRawIntBits by floatToIntBits and doubleToRawLongBits by doubleToLongBits

I am not sure it is the best approach, maybe it would be better to use raw methods in jvm world and non raw methods in scala.js. However, I don't know enough about the difference to make the call.

Some extra notes https://github.com/non/spire/pull/485#issuecomment-126917183

any update?

@rickynils would it be possible to get a new release with this change?


Migrate Strongbox from OrientDB to JanusGraph

Pull Request Description
This pull request closes #1649
Acceptance Test

[x] Building the code with mvn clean install -Dintegration.tests still works.
[x] Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[x] Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[x] The tests in the strongbox-web-integration-tests still run properly.

Questions

Does this pull request break backward compatibility?

[x] Yes
[ ] No

Does this pull request require other pull requests to be merged first?

[x] Yes, please see strongbox/strongbox-parent#62, strongbox/strongbox-db#19
[ ] No

Does this require an update of the documentation?

[x] Yes
[ ] No

Should we create a follow-up task for these three disabled tests, or will you be fixing them in this pull request?

these tests was related with AQL search, we decided to rework search API within new UI search concept

@cs-devops-bot sb-against-sb


"Error loading track data" in Jupyter notebook when trying to load local BAM file

I am trying to visualise the reads coverage of a genome. I run the following code which is supposed to do that, but I get "Error loading track data" when loading the track:

In the console I can see the following error:

I know that the file is neither missing nor corrupt because I can see and use it from IGV desktop application and it works fine from there. Some intuition tells me that it might be because the bam file is large (~600Mb) but I cannot confirm that  100%. When I run the BamFIles.ipynb notebook that is provided in the examples folder it works perfectly, can you suggest me something to make it work? Thank you!

I will hazard some guesses, but my Jupyter knowledge has long ago decayed to a tiny kernel,  if it were ever more than that.   @tmtabor is the local expert he might have some ideas.
I suspect the path to the file is the problem.  igv.js does not typically read local files, as a web client it can't,  it reads fils by URL from an http server.   Of course Jupyter is running an http server, and there is a way to serve your own files using something (IIRC) called "files" magic.   I think that is what you are doing, but something is amiss.     One way to get better information is to use developer tools and examine the network traffic,  you can then see 2 things (1) what is the URL that is actually used to access your files,  and (2) what is the response from the server (Jupyter in this case) to those requests.
@tmtabor Any other ideas?

I will hazard some guesses, but my Jupyter knowledge has long ago decayed to a tiny kernel,  if it were ever more than that.   @tmtabor is the local expert he might have some ideas.
I suspect the path to the file is the problem.  igv.js does not typically read local files, as a web client it can't,  it reads fils by URL from an http server.   Of course Jupyter is running an http server, and there is a way to serve your own files using something (IIRC) called "files" magic.   I think that is what you are doing, but something is amiss.     One way to get better information is to use developer tools and examine the network traffic,  you can then see 2 things (1) what is the URL that is actually used to access your files,  and (2) what is the response from the server (Jupyter in this case) to those requests.
@tmtabor Any other ideas?

The problem here is most likely the URL to the file.
I would first double check that you can paste the URL to the file into your browser and have it prompt you to begin a download of it. If you can't download it, then neither can igv.js. I suspect that what you'll see when you paste the URL into your browser is Jupyter displaying a page with some sort of error message.

The problem here is most likely the URL to the file.
I would first double check that you can paste the URL to the file into your browser and have it prompt you to begin a download of it. If you can't download it, then neither can igv.js. I suspect that what you'll see when you paste the URL into your browser is Jupyter displaying a page with some sort of error message.

Thank you for the reply. Reading around the net I got more knowledgable about the issue that reading BAM files causes, so I put the BAM files in the apache server and set the configurations of the server as it is described here https://github.com/igvteam/igv.js/wiki/Data-Server-Requirements. My Jupyter file now looks like the following:

When I put the urls specified in there the downloading of the files starts so I suppose the path is correct. However I keep getting the following errors in the console:

I also tried the igv.js library trying to make it work in javascript. I still get an empty track but to my surprise there is no error in the console:

And here is my javascript:

I am really confused on what might be going wrong here as I also said in the beggining the bam files work fine when I use them in the igv desktop application:

Thank you for the reply. Reading around the net I got more knowledgable about the issue that reading BAM files causes, so I put the BAM files in the apache server and set the configurations of the server as it is described here https://github.com/igvteam/igv.js/wiki/Data-Server-Requirements. My Jupyter file now looks like the following:

When I put the urls specified in there the downloading of the files starts so I suppose the path is correct. However I keep getting the following errors in the console:

I also tried the igv.js library trying to make it work in javascript. I still get an empty track but to my surprise there is no error in the console:

And here is my javascript:

I am really confused on what might be going wrong here as I also said in the beggining the bam files work fine when I use them in the igv desktop application:

Not sure, but the fasta files in your javascript config are not going to work unless those are valid URLs , they look like file paths.    Can you load the bam into igv desktop using those URLs?   (Try File > Load from URL and enter http://localhost/BAM/2G.bam).
Rather than setup apache which can be complex,  I think you would have a better chance of success by getting your Jupyter "files" magic paths correct.  Did you look in dev tools to see what the actual URLs were resolving to (using Jupyter) as we suggested?

Not sure, but the fasta files in your javascript config are not going to work unless those are valid URLs , they look like file paths.    Can you load the bam into igv desktop using those URLs?   (Try File > Load from URL and enter http://localhost/BAM/2G.bam).
Rather than setup apache which can be complex,  I think you would have a better chance of success by getting your Jupyter "files" magic paths correct.  Did you look in dev tools to see what the actual URLs were resolving to (using Jupyter) as we suggested?

I just tried loading the bam files into igv desktop via the url in the server (e.g. http://localhost/2B.bam) and it works, I can see the reads as before. The location of the fasta file is not in the apache server but just to make sure that loading from the server works I put it in the server and it still works as before. The only problem seems to be only with the .bam files in Jupyter and in the js code.
I also tried with the "files" magic path, and it seems be correct when I go to developers tools and networks it shows "http://localhost:8888/files/Downloads/igv-jupyter-master/examples/data/2B.bam" which is the real place where I have put the file, however when I put that url to the browser I get:

You can find my bam file here:
https://drive.google.com/file/d/180sDc_vDnzS8sVt3i-nPut6KSeR-nbzS/view?usp=sharing

I just tried loading the bam files into igv desktop via the url in the server (e.g. http://localhost/2B.bam) and it works, I can see the reads as before. The location of the fasta file is not in the apache server but just to make sure that loading from the server works I put it in the server and it still works as before. The only problem seems to be only with the .bam files in Jupyter and in the js code.
I also tried with the "files" magic path, and it seems be correct when I go to developers tools and networks it shows "http://localhost:8888/files/Downloads/igv-jupyter-master/examples/data/2B.bam" which is the real place where I have put the file, however when I put that url to the browser I get:

You can find my bam file here:
https://drive.google.com/file/d/180sDc_vDnzS8sVt3i-nPut6KSeR-nbzS/view?usp=sharing

Sorry I'm out of ideas.   I'm sure your bam file is o.k.

Sorry I'm out of ideas.   I'm sure your bam file is o.k.

I changed the load track section by setting the "indexed" to "True" because previously I had it "False" in Jupyter notebook,  now I see no error at all in the console only some warnings
b.load_track(
{
"name": "2B",
"url": "http://localhost/BAM/2B.bam",
"indexURL": "http://localhost/BAM/2B.bam.bai",
"format": "bam",
"type": "alignment",
"indexed": True,
})

Still the bam track appears empty, I don't know what to do at this point, it seems I have exhausted all my options to make it work :/

I changed the load track section by setting the "indexed" to "True" because previously I had it "False" in Jupyter notebook,  now I see no error at all in the console only some warnings
b.load_track(
{
"name": "2B",
"url": "http://localhost/BAM/2B.bam",
"indexURL": "http://localhost/BAM/2B.bam.bai",
"format": "bam",
"type": "alignment",
"indexed": True,
})

Still the bam track appears empty, I don't know what to do at this point, it seems I have exhausted all my options to make it work :/

You can ignore the warnings, those are harmless.  I assume you are looking at the same location that alignments are known to exist from IGV desktop viewing.   If you can make your bam available, and point me to the correct fasta to use (or make it available as well)  I will look into it.    I tried clicking the google share link above but it tells me the file does not exist.

You can ignore the warnings, those are harmless.  I assume you are looking at the same location that alignments are known to exist from IGV desktop viewing.   If you can make your bam available, and point me to the correct fasta to use (or make it available as well)  I will look into it.    I tried clicking the google share link above but it tells me the file does not exist.

Thank you for finding the time to help me, here are the files I am using:
bam file: https://drive.google.com/file/d/1K9zK7PlFB6zVH6gRK9aFnzID9qFwPun4/view
bam index file: https://drive.google.com/file/d/1YhETRWBHm0WeoBKic2OKaDhp8p5zR-UR/view
genome: https://drive.google.com/file/d/1KupeKmYN5CTwPJgyPIrh9IV2JmkeRFvQ/view?usp=sharing
genome index which I am not sure how much is needed but it is this:  https://drive.google.com/file/d/1MM-i3CxP7BsFCcF367fBIXDWp-EhuWYd/view?usp=sharing
This is a region with coverage: "NC_009697.1:3,545,589-3,546,235" even though there is coverage almost everywhere

Thank you for finding the time to help me, here are the files I am using:
bam file: https://drive.google.com/file/d/1K9zK7PlFB6zVH6gRK9aFnzID9qFwPun4/view
bam index file: https://drive.google.com/file/d/1YhETRWBHm0WeoBKic2OKaDhp8p5zR-UR/view
genome: https://drive.google.com/file/d/1KupeKmYN5CTwPJgyPIrh9IV2JmkeRFvQ/view?usp=sharing
genome index which I am not sure how much is needed but it is this:  https://drive.google.com/file/d/1MM-i3CxP7BsFCcF367fBIXDWp-EhuWYd/view?usp=sharing
This is a region with coverage: "NC_009697.1:3,545,589-3,546,235" even though there is coverage almost everywhere

Hi, I haven't tried to use the files yet but I think I see the problem.   There is a sequence name mismatch between the fasta and the alignment file.  The sequence name in the BAM is NC_009697,  the sequence name in the fasta is NC_009697.1.    IGV desktop does some extra "guessing" when there are mismatches,  igv.js uses strict name matching (as does most bioinformatics tools).   You can fix this by changing the sequence name in your fasta to match the name in the bam  (remove the ".1" at the end).   I think you can just rename it in the fasta index as well, the safer thing to do would be to recreate the index but just renaming should work (its just a plain text file).    If this does not resolve the issue let me know.

Hi, I haven't tried to use the files yet but I think I see the problem.   There is a sequence name mismatch between the fasta and the alignment file.  The sequence name in the BAM is NC_009697,  the sequence name in the fasta is NC_009697.1.    IGV desktop does some extra "guessing" when there are mismatches,  igv.js uses strict name matching (as does most bioinformatics tools).   You can fix this by changing the sequence name in your fasta to match the name in the bam  (remove the ".1" at the end).   I think you can just rename it in the fasta index as well, the safer thing to do would be to recreate the index but just renaming should work (its just a plain text file).    If this does not resolve the issue let me know.

It worked! Thank you very much! Wohoo ... :D

It worked! Thank you very much! Wohoo ... :D

Can I please also ask you how did you manage to get the sequence name in the BAM, when I open the BAM file I just get a sequence of hexadecimal values?

Can I please also ask you how did you manage to get the sequence name in the BAM, when I open the BAM file I just get a sequence of hexadecimal values?

You need to use samtools
samtools view -H filename.bam
On Wed, Jan 13, 2021 at 5:41 PM Elio Nushi<EMAIL_ADDRESS>wrote:

Can I please also ask you how did you manage to get the sequence name in
the BAM, when I open the BAM file I just get a sequence of hexadecimal
values?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/igvteam/igv-jupyter/issues/40#issuecomment-759868411,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHD2HHPF22DPIYFJZA4OILSZZDWLANCNFSM4VY4FQMQ
.

You need to use samtools
samtools view -H filename.bam
On Wed, Jan 13, 2021 at 5:41 PM Elio Nushi<EMAIL_ADDRESS>wrote:

Can I please also ask you how did you manage to get the sequence name in
the BAM, when I open the BAM file I just get a sequence of hexadecimal
values?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/igvteam/igv-jupyter/issues/40#issuecomment-759868411,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHD2HHPF22DPIYFJZA4OILSZZDWLANCNFSM4VY4FQMQ
.


Clarify semantics of shutdown

We should clarify what the semantics of shutdown are.
I think the following definition could make sense:
When a shutdown signal is received by the client

It keeps processing already inflight tasks (following redirect, downloading / uploading, etc ...)
It cancels tasks that are waiting to be processed
It errors new tasks that are being scheduled after the signal was received
Once all tasks have either failed or finished, if it owns the event loop it stops the event loop.

I think at the moment there is no queue of pending tasks, so point two is maybe not relevant yet.

Maybe it would make sense to have a separate (invalidateAndCancel ) method similar to URLSession that also aborts inflight tasks.

Agreed! I think it should cancel them all with a well-known error: something like .requestCancelledBecauseClientShutDown or something.

So actually point 2,3 could be the same "panel error"

@t089 @weissi The currently tagged version (1.1.0) doesn't actually stop existing tasks when it's called, note it might stop them from executing if the client has been created with eventLoopGroupProvider: .createNew as the call will also shutdown the backing EventLoop.
There are changes in the pooling commit: existing tasks are now failed with HTTPClientError.cancelled when calling syncShutdown(), although I'm not sure of wether or not that completely fixes the possibility of futures never calling their callbacks if this stops the event loop too early.
Do we actually want to make syncShutdown() wait on currently running tasks or should this be the user responsibility?
Note there is exists the internal syncShutdown(requiresCleanClose: Bool) which will throw an error if attempting to shutdown while there are still active tasks, would this ever make sense to make it public, maybe with a different name?

@adtrevor if you fail all promises, then everything should run before the EventLoop can shutdown. Of course, if someone triggers something asynchronous from within those callbacks, that might again race against EventLoop shutdown. There's not much that NIO can do here (apart from crashing more often to tell you that you shut the EventLoop too early which we're adding in https://github.com/apple/swift-nio/pull/1395 )


⚠ Bofrost.at has degraded performance

In d6b941e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1138 ms

Resolved: Bofrost.at performance has improved in ed41888.


added @lxsmnsyc/react-scoped-model

Test Result:
  lxsmnsyc-react-scoped-model
    ✓ check1: updated properly (8640ms)
    ✓ check2: no tearing during update (1ms)
    ✓ check3: ability to interrupt render (1ms)
    ✓ check4: proper update after interrupt (2438ms)

(#4)

Wow, you did it so quickly.
As I look the code, it's using react state natively, which is OK sign.
I won't maintain many libs in this repo. (I'm even thinking of removing unstated-next which is very similar to constate.)
So, please allow me to close this PR.
On the other hand, I have got requested for listing React global state libraries the other day.
So, I'm planning to create a new repo so that we can collect many libs with various characteristics including performance metrics and CM compatibility that the tool in this repo reveals.
Are you interested in such a new repo?

Sure thing, I don't mind if you close the PR 😁 All with the curiosity on how CM works with most of SM libraries out there is something one should look up on 😁

So, I'm planning to create a new repo so that we can collect many libs with various characteristics including performance metrics and CM compatibility that the tool in this repo reveals.

FYI: https://github.com/dai-shi/lets-compare-global-state-with-react-hooks


Prose: /raw not working

/raw endpoint isn't working anymore
Example: https://hey.prose.sh/raw/status-update-2022-03-15

Edit: Not urgent as scp prose.sh:/*.md . works

Sorry for the late response, this was fixed in a recent deploy!


ENH: optimize.check_grad: support complex-valued functions

Describe your issue.
I'm using scipy.optimizer.check_grad to test the implementation of a Jacobian for a complex-valued function. Unfortunatelt, the approximated numerical derivatve in _dense_difference (called from approx_derivative) casts the Jacobian to real by initializing J_transposed = np.empty((n, m)). I think this could be easily fixed by including a dtype=f0.dtype keyword argument to the empty call.
Reproducing Code Example
import scipy
scipy.optimize._numdiff.approx_derivative(lambda x: 1.j * x, 1)
# should return 1j, return 0

Error message
\optimize\_numdiff.py:598: ComplexWarning: Casting complex values to real discards the imaginary part
  J_transposed[i] = df / dx

SciPy/NumPy/Python version and system information
scipy version 1.10.1
numpy 1.24.3
python 3.11.3

A few points here. Firstly, approx_derivative is currently a private function, so should not be relied upon to be unchanging by external users. Secondly, the docstring clearly states that approx_derivative works in the real plane:

R^n to R^m

Agreed @andyfaff. I think it's fine to close this. The request for public numerical differentiation is noted elsewhere (e.g. gh-2035 , gh-7457, gh-17059) , so this does not need to remain open as an enhancement request. Note that I will be opening a PR for numerical differentiation of elementwise scalar-in, scalar-out functions shortly (based on https://github.com/mdhaber/scipy/pull/106; see also https://github.com/mdhaber/jacobi/pull/1). I can consider supporting complex functions, and I certainly plan to extend it to the vector-in, vector-out case.

I would like to point out that even if approx_derivative is a private function, its narrow implementation is causing check_grad to fail. I'm a bit disappointed at the decision to close this issue so readily, while the solution is so simple.
Anyway, I will create a pull request implementing the fix. Perhaps that will also illustrate just how trivial the proposed change is.

There are a lot of open issues, so we have to triage, and one of those steps is whether the function is public or not.
check_grad is public, so something that fixes that (or documents that complex-valued functions are not supported) sounds good.

while the solution is so simple

That statement is untrue.

If you're differentiating a complex function you should be creating steps in the imaginary axis as well. That in itself would require a lot of work.
There are many different directions one could approach z_0. Is the derivative independent of the direction one approaches z_0 with the finite step? (What about Cauchy Riemann conditions?)
because the value of the derivative (of a complex function) could depend on which direction the step is taken in one would need partial derivatives. How would that interact with the real machinery which is less complex?
how would the approx_derivative know if you were differentiating a complex function or not?

I'm talking about a complex-valued function with real argument(s). Otherwise it is indeed a completely different story.
I've made the necessary modification to the code and written a test for it, but setting up the scipy environment.yml is proving a lot harder than I thought it would be; I run into conflicting dependencies on my system. Can the tests be triggered by a github action on creating a PR?


Entrust source plugin

This implements the entrust source plugin.
It gets all active Entrusts certificates

Coverage decreased (-0.09%) to 60.905% when pulling a0517d26fa75646caedf44758cce971d11041642 on sirferl:entrust_source into f6472e6f6f05803a13125ed801fad520821d0fa2 on Netflix:master.

Thanks again @sirferl for the PR.
We can improve the plugin in the future and also add testing, time permitting.
merging shortly.
PS: I have also added a minor language change directly on the branch, hope okay with you.

your text is fine with me! Thanks for approving.


sortUndefined not working as expected

Describe the bug
Recently, I made a package upgrade from 8.5.13 to 8.10.7, and now, sorting undefined values doesn't work as usual. My dataset has some values as undefined for some specific requirements, hence I added sortUndefined : 1 as suggested in the docs.
After reviewing again my implementation I decided to try out reverting the lib version, and it worked just fine.
Your minimal, reproducible example
https://codesandbox.io/p/devbox/hungry-rhodes-kf5f6p
Steps to reproduce
I'm not sure if it is only me, but creating a fork and updating the Sorting example in Codesandbox has been painful, it's been too slow these last few days. I had to lower the length of the dataset to 1000.
To reproduce the issue, my setup looks like this:
Create a dataset with rows containing some number values, for example:
const data = [{
  id: 1,
 amount: 10
},{
  id: 2,
  amount: undefined
}];

Then, on the column definitions:
{
 accessorKey: 'amount'
header:...
// Just an example...
cell: (props) => props.getValue() ?? '-'
sortUndefined: 1
}

Sorting by amount in descending will put undefined values on top.
Expected behavior
The expected behavior is: Sorting by amount in descending will put undefined values at the bottom of the table.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
MacOS - Chrome
react-table version
8.10.7
TypeScript version
5.3.2
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Also happens in 8.15.3.


add dataflow section

Merging for now @mattvilim, but would really appreciate if you could add a high-level summary for README.md!


Markdown WYSIWYG Editor Plugin

https://github.com/sebastiantiede/kanboard-plugin-wysiwyg
This plugin overrides core comment textareas and extends it with common shortcuts like bold, italic.
Any suggestions / corrections are welcome.

:+1:

:+1:

:+1:

Do you want me to publish your plugin on kanboard's website?

yes of course

http://kanboard.net/plugin/wysiwyg


Fixed Key Vault Secret Reference usage with looped resource

Fixes #2862
Contributing a Pull Request
If you haven't already, read the full contribution guide. The guide may have changed since the last time you read it, so please double-check.
Contributing a feature

[x] I have opened a new issue for the proposal, or commented on an existing one, and ensured that the Bicep maintainers are good with the design of the feature being implemented
[x] I have included "Fixes #{issue_number}" in the PR description, so GitHub can link to the issue and close it when the PR is merged
[x] I have appropriate test coverage of my new feature

Notice: generated ARM looks fine, although I didn't test it yet with actual deployment..


Add an annotation editor

Would be useful to be able to view and potentially edit custom annotation material.

Duplicate.


Bootstrap Talos via CAPI

First of all thanks for the great job !
As Cluster API relies on the IP address of the machine to be reported back to the vCenter I'm forced to use vmware tools and this is how I came across this project.
The problem with CAPI deployment is that I need to add additional logic to get the token from the talos config and push the secret to the target cluster (via CAPI ClusterResourceSet) to get the vmware pod started. I was just looking for some hints on how this part can be automated or done better when it come to CAPI provisioning.
Thanks!

Hi! Bootstraping talos-vmtoolsd is indeed rather awkward due to the dependency on a Talos API certificate. I agree that this is an issue, but I think I cannot fix it within talos-vmtoolsd alone.
This was discussed previously w/o referring to CAPI specifically in #proj-talos-vmware of the Talos Slack server, and we did come up with a possible design, but no solution thus far.
The general consensus was that tools such as talos-vmtoolsd, i.e. Talos extensions running in Talos under K8s, should be able to use some service which issues them short-lived and properly scoped Talos API tokens on demand or automatically as K8s secret. However, no such Talos to K8s integration exists at the time of writing (and any solution that does not come from Talos itself will too have this bootstrapping issue).
Alternatively I suggested to simply integrate talos-vmtoolsd into Talos' machined, because it includes govmomi for reading the config anyway. However, hypervisor integration was seen as out-of-scope for machined. Indeed an RPC based extension API is preferable.
I hear that the folks at Talos are investigating CAPI with Talos under vSphere and they are likely to run into the same issue when they need a VMware Tools implementation. I do not have a solution for you here, but maybe you can revive the discussion in #proj-talos-vmware; I idle there too and will likely see your message. I'd happily contribute changes to talos-vmtoolsd once an in-cluster token API or different solution that solves the bootstrapping issue becomes available.

Thank you for the comprehensive answer !
I've also raised this question with Talos folks and they have something already ongoing here: https://github.com/talos-systems/talos/issues/4422
Have a great weekend !


Feature request doe: build in or offer rounding

https://github.com/experimental-design/bofire/blob/d0f4d76dd08dab256ffa9fe47dbf1e0623c17c66/bofire/strategies/doe/design.py#L25
Because otherwise i get stuff like this, and i expect grumpy users
                x1    x2            x3
exp0  8.900000e-01  0.11 -9.978892e-09
exp1 -9.972607e-09  0.11 -9.977525e-09
exp2 -9.972607e-09  0.11 -9.977525e-09
exp3 -9.833874e-09  0.11  6.600000e-01

Beware stupid python round behavior that results in such insightful entries as "-0.00"

Maybe something for a student?

suggestion by @jduerholt smart_round(domain,df)-> df_projected_into_feasible_space, set precision before optimization


app.js crash retrieving callsign from IP services data

root@w6bi-house-pc:~/projects/topologrjs# node app.js
2022-04-18T23:29:52.497Z info:  server:: Started application on port 3001
2022-04-18T23:29:57.305Z http:  server::/info <IP_ADDRESS> /
/root/projects/topologrjs/app.js:157
let callsign = nn.substr(0, nn.search("-"));
^
TypeError: Cannot read properties of undefined (reading 'substr')
at processServices (/root/projects/topologrjs/app.js:157:23)
at main (/root/projects/topologrjs/app.js:175:20)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
What did I miss?  This is on Kubuntu 21.10.  Is that too current?
Thanks.

Here's the debug file, Doug
file
debug.zip

New app.js here https://gist.github.com/captainwasabi/32a72953c75186b6651624519425bdab/archive/22d5aac4621163c156f3d991eddbc373bbf52dde.zip
Just replace the file, then run it.  Don't need to do the /debug/debug link unless it doesn't work again.  I wasn't using the routine that I had already written to handle this exact case (an IP address that doesn't map to a hostname, now it should use the ip address for the name..

I'll check this either tonight or tomorrow and let you know.
Orv
On 4/18/2022 7:12 PM, captainwasabi wrote:

New app.js here
https://gist.github.com/captainwasabi/32a72953c75186b6651624519425bdab/archive/22d5aac4621163c156f3d991eddbc373bbf52dde.zip
Just replace the file, then run it. Don't need to do the /debug/debug
link unless it doesn't work again. I wasn't using the routine that I
had already written to handle this exact case (an IP address that
doesn't map to a hostname, now it should use the ip address for the name..
—
Reply to this email directly, view it on GitHub
https://github.com/captainwasabi/topologrjs/issues/22#issuecomment-1101923185,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAISQNN7JIORKUPVEYV3353VFYI7TANCNFSM5TXICBBA.
You are receiving this because you commented.Message ID:
@.***>

Got it loaded and it started fine.  I started expanding stuff but after a couple of minutes the display froze, then the display cleared (went blank).  I confirmed the web server is still running.  Got this out of node:
2022-04-19T02:28:32.635Z info:  server:: Started application on port 3001
2022-04-19T02:28:57.959Z http:  server::/info <IP_ADDRESS> /
2022-04-19T02:33:48.662Z http:  server::/info <IP_ADDRESS> /info/KE6BXT-OCRACES-LomaRidge
2022-04-19T02:33:48.799Z http:  <IP_ADDRESS> /log
2022-04-19T02:33:48.799Z error:         <IP_ADDRESS> 0: "Error: ResizeObserver loop completed with undelivered notifications.\nScript: \nLine: 0\nColumn: 0\nStackTrace: null"
2022-04-19T02:33:48.931Z http:  <IP_ADDRESS> /log
2022-04-19T02:33:48.931Z error:         <IP_ADDRESS> 1: "Error: ResizeObserver loop completed with undelivered notifications.\nScript: \nLine: 0\nColumn: 0\nStackTrace: null"
2022-04-19T02:33:49.044Z http:  <IP_ADDRESS> /log
2022-04-19T02:33:49.045Z error:         <IP_ADDRESS> 2: "Error: ResizeObserver loop completed with undelivered notifications.\nScript: \nLine: 0\nColumn: 0\nStackTrace: null"
2022-04-19T02:33:49.173Z http:  <IP_ADDRESS> /log
2022-04-19T02:33:49.173Z error:         <IP_ADDRESS> 3: "Error: ResizeObserver loop completed with undelivered notifications.\nScript: \nLine: 0\nColumn: 0\nStackTrace: null"
Could it have to do with the fact that it's trying to keep track of ~600 nodes?  :-)

Yeah, that Error: ResizeObserver it supposed to be ignorable, but it really means there are performance issues.  I think this is down in the internals of vis-network, but I'm not sure.  I'll have a new release with an exportNet and importNet buttons that should help me see what is going on.
Thanks again, I would never be able to test against a large network like this.

It continues to freeze periodically with more of those messages:
2022-04-19T02:43:49.558Z error:         <IP_ADDRESS> 17: "Error: ResizeObserver loop completed with undelivered notifications.\nScript: \nLine: 0\nColumn: 0\nStackTrace: null"
2022-04-19T02:43:49.639Z http:  <IP_ADDRESS> /log
2022-04-19T02:43:49.639Z error:         <IP_ADDRESS> 18: "Error: ResizeObserver loop completed with undelivered notifications.\nScript: \nLine: 0\nColumn: 0\nStackTrace: null"
2022-04-19T02:43:49.707Z http:  <IP_ADDRESS> /log
2022-04-19T02:43:49.707Z error:         <IP_ADDRESS> 19: "Error: ResizeObserver loop completed with undelivered notifications.\nScript: \nLine: 0\nColumn: 0\nStackTrace: null"

You're very welcome!  I enjoy testing stuff like this.

Here's different error.  Might be OK, though...
2022-04-19T03:14:05.989Z warn:  server::load: http://KN6KSF-COAST-RM5.local.mesh/cgi-bin/sysinfo.json?services_local=1&link_info=1 fetch failed:
FetchError: request to http://kn6ksf-coast-rm5.local.mesh/cgi-bin/sysinfo.json?services_local=1&link_info=1 failed, reason: connect EHOSTUNREACH <IP_ADDRESS>:80
at ClientRequest. (file:///root/projects/topologrjs/node_modules/node-fetch/src/index.js:108:11)
at ClientRequest.emit (node:events:527:28)
at Socket.socketErrorListener (node:_http_client:454:9)
at Socket.emit (node:events:527:28)
at emitErrorNT (node:internal/streams/destroy:164:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
2022-04-19T03:14:05.989Z warn:  server::getNodeData KN6KSF-COAST-RM5.local.mesh info request failed:
TypeError: Cannot read properties of null (reading 'json')
at getNodeData (/root/projects/topologrjs/app.js:229:7)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /root/projects/topologrjs/app.js:60:11

Yeah, that didn't crash right?  It either means the node has gone offline since the last time the net was refreshed (so even though it shows a link it's really not there right now) or that node is running an old version of the AREDN firmware from before the json API was implemented.

The app didn't crash.  KN6KSF-COAST-RM5.local.mesh is running version <IP_ADDRESS>.  It's not local, but rather 20 hops away, about 85 miles as the crow flies.  Its OLSR appears to be still running.

I have a timeout of 3 seconds for fetching api data.  At 20 hops that may be a tad short.  if you are good with editing line 211 in the app.js file change 3000 to 10000.    If you use a web browser to go to http://kn6ksf-coast-rm5.local.mesh/cgi-bin/sysinfo.json?services_local=1&link_info=1 you should be able to estimate the delay before the json comes up.

Can't retrieve sysinfo.json on that system;  I suspect it doesn't exist.  Nor can I bring up the status page now;  I think it's a bit ill.

I just pushed b5.  If you have positions and colors you want to save then save your settings first.  Then delete your current install, and repeat the installation instructions.  Once it's loaded up, click the Export Net button.  Then attach the exported file(s) to a comment here.
Thanks,

Followed the reinstall instructions, but got this:
root@w6bi-house-pc:~/projects/topologrjs-main# node app.js
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'express'
Require stack:

/root/projects/topologrjs-main/app.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/root/projects/topologrjs-main/app.js:1:17)
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/root/projects/topologrjs-main/app.js' ]
}

Node.js v17.9.0

Did the npm install command complete successfully?

Oh - didnt' realize that step was required.  Yes, it fixed it.  More testing in the morning.

I think what I am going to try for untangling is to have a "Grid" (or maybe "UnTangle") button that sorts all the nodes by nodename then places them into a regular grid.  Should at least get things spread out more to start with.

Grid is in, I don't like it, plus several other functions to help pull apart a tangle.  Having decent auto-generated layouts is important. (but I didn't realize when I started that so many nets are so large.
If there are any embedded issues that I have not addressed please move them to a new issue

Try the latest release and let me know.  Watch the video here


Feature/add partner key support

ShipStation has an enterprise-level tier/option that increases the allowed API calls per minute. This PR adds support for the required partner key and x-partner header.
For reference, this is their email with instructions on how to send the key:

And this is the result of providing a valid partner key:
[
  "maxAllowedRequests" => 100
  "remainingRequests" => 97
  "secondsUntilReset" => 59
  "isRateLimited" => false
]

Hopefully I can stop fighting the constant rate limit errors now! 🙌

I wasn't sure what tests would verify that this works, given that nothing changes besides an increase in max requests

OK I lied, I threw a test in 👍 If the partner API key is defined then it checks to make sure that it is present in the request headers


JuLIP Dependency

I think it may be worth removing the JuLIP dependency. There is some discussion about implementing a few abstract atoms and structure interfaces that will be shared, that that one could depend on, but JuLIP will not be taken up by the community. I'll most likely retire it in the near future. Instead - until then - we can import ExtXYZ.jl from JuLIP and add JuLIP-specific wrappers.

Good idea- that was roughly my plan. I’ll separate the JuLIP stuff and make a PR

In fact I see the file IO code in JuLIP is imported from ACEbase.FIO and then re-exported by JuLIP. Would it be better for me to make a PR against ACEbase rather than JuLIP?

Never mind, I see that nothing in ACEbase is specific to Atoms, so it should go somewhere near JuLIP.FIO.read_dict().

Correct, ACEbase was just created to put some codes that I need in ACE and JuLIP since I've disentangled ACE now completely from being about Atoms.
I also don't mind if you want to create a JuLIP.XYZ submodule. Happy either way.

Closed by JuliaMolSim/JuLIP.jl#142


add app/version label aswell

This is needed in addition to the module_name and module_version labels.

@matthewloring PTAL.

LGTM once syntax is solid


Installing, licencing, usage

Hi,
I've read your article on codemonth.dk
I would be interested in trying the testdata_ninja as a helper library for mock data setup for unit testing using utPLSQL v3
So few questions:

[x] what is the license for testdata_ninja?
[x] what other libraries are required ad what is their licensing?
[x] How do I install it all
[ ] where can I read about how to use it? Is there a user guide?

Thanks
Jacek

        Hi Jacek,License is MIT, and if not updated to that I will do that after work todayTo really be useful you should use it together with random_ninja also written by me, although it is not a requirement. Should also be MIT but I will make sure today after work. Should be an install guide for both libraries in the blog entry on codeMonth. Look for the gist link within the article http://www.codemonth.dk/code_is_good/dev_qa_prod.assert?condition=codemonth::::11370:Updated-random_ninja-and-testdata_ninja-packagesI have not written an actual user guide although the libraries should be pretty much self explanatory if you read through the different blog entries on codemonth website:Random_ninja:http://codemonth.dk/code_is_good/dev_qa_prod.assert?condition=codemonth:::19::Random-data-in-OracleTestdata_ninja:http://codemonth.dk/code_is_good/dev_qa_prod.assert?condition=codemonth:::20:If you need a more detailed explanation or have any additional questions let me know. Thanks,Morten---- On Mon, 19 Jun 2017 03:39:59 +0800  Jacek<EMAIL_ADDRESS>wrote ----Hi, I've read your article on codemonth.dk I would be interested in trying the testdata_ninja as a helper library for mock data setup for unit testing using utPLSQL v3 So few questions: -[ ] what is the license for testdata_ninja? -[ ] what other libraries are required ad what is their licensing? -[ ] How do I install it all -[ ] where can I read about how to use it? Is there a user guide? Thanks Jacek  —You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

I will update the readme later tonight with a simple user guide.

Awesome!
Thank you @morten-egan.
I will try to spend some time trying out your test data for data setups using utPLSQL v3.
Looks like you did a piece of amazing work.
I'm truly surprised I didn't find it any sooner.
It seems that combining utPLSQL v3 with tesdata_ninja can give a huge value to unit testing of ORacle databases.

I'm writing a user guide at the moment. Should be done within this week.

User guide written: https://github.com/morten-egan/testdata_ninja#user-guide


Add readme

Expands upon the instructions on the index page, explaining how to cli.
Also extracts envs into env file.

Awesome, thank you!


Deleting actions does not work correctly when deleting two actions originating from one node

It looks like there is a problem with binding the id of the action to be removed.

Fixed.


Updates API documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
13 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 54.511%

Files with Coverage Reduction
New Missed Lines
%

services/dkg/pedersen/handler.go
13
84.89%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
2991

Relevant Lines:
5487

💛  - Coveralls


[FEATURE]Getting Started Template catalog

Is your feature request related to a problem?
Today the Integrations catalog are becoming more popular due to its simple installation and opinionated schema governed by the Otel protocol.
Each integration has a TryMe button that has a small dataset which functions as a mock data-points for the dashboard to show some minimal visual appearance.
The need for a comprehensive documentation and instruction (including scripts or live docker image) of how to actually add the agent on top of the observed service, how to map the resulting logs into the Otel (simple schema) format and the actual setup of the agent that will be responsible of the data shipping is not covered and very much missing.
What solution would you like?
This is a proposal for the content of such getting-started template and format that will lead to a catalog of getting started component that are accompanied with the following :

Documentation of the agent
Instruction for setting up the agent
Documentation service's log format
Instruction for transforming the log's format into Otel designated format
Documentation of the agent's shipping method and recommendations
Instruction for setting up the agent's logs delivery

Each such component will have the following relationships:

Associated Integrations
Associated index name / index mapping (related to the signal type)
Associated Docker-compose (live sample) that showcase all the instructions and can be run and ingest data using some build in mock that activate the monitored service

Do you have any additional context?
Here is the suggested getting-started format that can be later processed by a UX visualization and allow customer interaction.

Metadata details: name, version, description, license ...
Workflow : list of steps including description and scripts to follow for making the service's log ingested correctly
statics : list of visual logo to show with this component's UX dialog
relatedAssets: list of related components that are associated with this service such as integrations, alerts, queries

{
  "name": "nginx",
  "version": "1.0.0",
  "displayName": "Nginx-Logs",
  "description": "Getting Started With Nginx access logs.",
  "license": "Apache-2.0",
  "type": "logs",
  "labels": ["Observability", "Logs", "Fluent-bit"],
  "author": "OpenSearch",
  "sourceUrl": "https://github.com/opensearch-project/dashboards-observability/tree/main/server/adaptors/integrations/__data__/repository/nginx/info",
  "workflow": [
    {
      "name": "Fluent-Bit Parser",
      "label": "Log Parsing",
      "info": "<info URL>",
      "description": "Setup Fluent-Bit parser config file parsing Nginx access log fields",
      "content": "[PARSER]\n    Name   apache\n    Format regex\n    Regex  ^(?<host>[^ ]*) [^ ]* (?<user>[^ ]*) \\[(?<time>[^\\]]*)\\] \"(?<method>\\S+)(?: +(?<path>[^\\\"]*?)(?: +\\S*)?)?\" (?<code>[^ ]*) (?<size>[^ ]*)(?: \"(?<referer>[^\\\"]*)\" \"(?<agent>[^\\\"]*)\")?$\n    Time_Key time\n    Time_Format %d/%b/%Y:%H:%M:%S %z\n\n[PARSER]\n    Name   nginx\n    Format regex\n    Regex ^(?<remote>[^ ]*) (?<host>[^ ]*) (?<user>[^ ]*) \\[(?<time>[^\\]]*)\\] \"(?<method>\\S+)(?: +(?<path>[^\\\"]*?)(?: +\\S*)?)?\" (?<code>[^ ]*) (?<size>[^ ]*)(?: \"(?<referer>[^\\\"]*)\" \"(?<agent>[^\\\"]*)\")\n    Time_Key time\n    Time_Format %d/%b/%Y:%H:%M:%S %z\n"
    },
    {
      "name": "Fluent-Bit Log Converter",
      "label": "Log Parsing",
      "info": "<info URL>",
      "description": "Setup Fluent-Bit logs converter lua script config file converting Nginx access log into Simple schema format",
      "content": "local hexCharset = \"0123456789abcdef\"\nlocal function randHex(length)\n    if length > 0 then\n        local index = math.random(1, #hexCharset)\n        return randHex(length - 1) .. hexCharset:sub(index, index)\n    else\n        return \"\"\n    end\nend\n\nlocal function format_apache(c)\n    return string.format(\n        \"%s - %s [%s] \\\"%s %s HTTP/1.1\\\" %s %s\",\n        c.host,\n        c.user,\n        os.date(\"%d/%b/%Y:%H:%M:%S %z\"),\n        c.method,\n        c.path,\n        c.code,\n        c.size\n    )\nend\n\nlocal function format_nginx(c)\n    return string.format(\n        \"%s %s %s [%s] \\\"%s %s HTTP/1.1\\\" %s %s \\\"%s\\\" \\\"%s\\\"\",\n        c.remote,\n        c.host,\n        c.user,\n        os.date(\"%d/%b/%Y:%H:%M:%S %z\"),\n        c.method,\n        c.path,\n        c.code,\n        c.size,\n        c.referer,\n        c.agent\n    )\nend\n\nlocal formats = {\n    [\"apache.access\"] = format_apache,\n    [\"nginx.access\"] = format_nginx\n}\n\nfunction convert_to_otel(tag, timestamp, record)\n    local data = {\n        traceId=randHex(32),\n        spanId=randHex(16),\n        [\"@timestamp\"]=os.date(\"!%Y-%m-%dT%H:%M:%S.000Z\"),\n        observedTimestamp=os.date(\"!%Y-%m-%dT%H:%M:%S.000Z\"),\n        body=formats[tag](record),\n        attributes={\n            data_stream={\n                dataset=tag,\n                namespace=\"production\",\n                type=\"logs\"\n            }\n        },\n        event={\n            category=\"web\",\n            name=\"access\",\n            domain=tag,\n            kind=\"event\",\n            result=\"success\",\n            type=\"access\"\n        },\n        http={\n            request={\n                method=record.method\n            },\n            response={\n                bytes=tonumber(record.size),\n                status_code=tonumber(record.code)\n            },\n            flavor=\"1.1\",\n            url=record.path\n        },\n        communication={\n            source={\n                address=\"<IP_ADDRESS>\",\n                ip=record.remote\n            }\n        }\n    }\n    return 1, timestamp, data\nend\n"
    },
    {
      "name": "Fluent-Bit Setup",
      "label": "Agent Set-Up",
      "info": "<info URL>",
      "description": "Setup Fluent-Bit conf file including logs parsing and OpenSearch access",
      "content": "[SERVICE]\n    Parsers_File parsers.conf\n\n[INPUT]\n    Name forward\n    Port 24224\n\n[FILTER]\n    Name parser\n    Match nginx.access\n    Key_Name log\n    Parser nginx\n\n[FILTER]\n    Name parser\n    Match apache.access\n    Key_Name log\n    Parser apache\n\n[Filter]\n    Name    lua\n    Match   *\n    Script  otel-converter.lua\n    call    convert_to_otel\n\n[OUTPUT]\n    Name  opensearch\n    Match nginx.access\n    Host  opensearch-node1\n    Port  9200\n    Index ss4o_logs-nginx-prod\n    Suppress_Type_Name On\n    tls             On\n    tls.verify      Off\n    HTTP_User       admin\n    HTTP_Passwd     my_%New%_passW0rd!@#\n\n[OUTPUT]\n    Name  opensearch\n    Match apache.access\n    Host  opensearch-node1\n    Port  9200\n    Index ss4o_logs-apache-prod\n    Suppress_Type_Name On\n    tls             On\n    tls.verify      Off\n    HTTP_User       admin\n    HTTP_Passwd     my_%New%_passW0rd!@#\n\n[OUTPUT]\n    Name stdout\n    Match nginx.access"
    }
  ],
  "statics": {
    "logo": [{
      "annotation": "Fluent-Bit Logo",
      "path": "logo.svg"
    },
    {
      "annotation": "Nginx Logo",
      "path": "logo.svg"
    }]
  },
  "relatedAssets": [
    {
      "name": "nginx-integration",
      "type": "integration",
      "version": "1.0.0",
      "displayName": "Nginx-Integration",
      "catalog": "Observability",
      "sourceUrl": "https://github.com/opensearch-project/dashboards-observability/tree/main/server/adaptors/integrations/__data__/repository/nginx/info"
    }
  ],
  "liveDemo": {
    "command": "docker-compose up -d",
    "path": "<docker-compose-url>"
  }
}

Can we add the field for getting_started in the existing integrations config type: https://github.com/opensearch-project/dashboards-observability/blob/b328720c11811d45da9d0594c5c28a18dd8fa2d0/server/adaptors/integrations/types.ts#L12-L29
Something like:

interface IntegrationConfig {
  name: string;
  version: string;
  displayName?: string;
  license: string;
  type: string;
  labels?: string[];
  author?: string;
  description?: string;
  sourceUrl?: string;
  workflows?: IntegrationWorkflow[];
  statics?: IntegrationStatics;
  components: IntegrationComponent[];
  assets: IntegrationAsset[];
  sampleData?: {
    path: string;
  };
gettingStarted?: GettingStartedType;
}

interface GettingStartedType {

// contains all the delta we add
// workflow
// statics
// relatedAssets

}

@Swiddis Can you please enlighten us how validator behaves when an asset with gettingStarted field is added to older integrations code base?

It'd reject it, since additionalProperties: false is set

Need create schema section which describes the index template and name/alias to be generated as part of the preparation for ingestion.
The actual schema should come from the integration meta-deta component section. Which refers to the integration schema.


extract noise function for optimizer

extracted noise from sample_step, as it is not executed together anymore.

thanks! i renamed this sample_noise and tweaked slightly.


Fix cache cleaning and add proper cache listing based on regexes.

If specified only lists or purges cache entries that match the given
regular expression. If not specified, lists all and purges all cache.
If i've read correctly you are currently working on getting surrogate keys working properly.
I don't wish to step on your toes, it just seemed more logical to me to be able to list and purge cache contents selectively this way. If you think it's ok, please merge.

Nice work, I'll review that tomorrow. Thank you @kresike ✌

Add yourself in the Credits section in the README.
LGTM, thank you for your contribution 🎉

Thank you for this awesome work @kresike!


ENH: Allow settable missing value in sklearn api.

Don't merge yet. I need to make sure they clone with the new keyword.

Ah, this isn't going to work with scikit-learn as it is now. It does an equality test and np.nan == np.nan is always False.

Ok, this should look better.


product zoom issue for some images

Bug report
Title
When trying to zoom in image vertically then zoom is not working properly
Preconditions
1. framework Version- master

Steps to reproduce
1. step1- try to zoom the image vertically

Expected result
image zoom should work properly for all type of uploaded image
Actual result
currently not working as expected

product zoom functionality is removed https://prnt.sc/vouw26 , please check

@devansh-webkul
zoom event is not working when changing mouse hover from video to image.

video moves to the header when click on it https://prnt.sc/vzh7by , kindly fix this.

@vaishaliwebkul,
I am not able to reproduce that.


Field name

Hi,
when then names of fields are like this: filed[0].from and filed[0].to, in the second calendar, range is not selected; while fields name are like this: filed0from and filed0to, the range works fine!
Here two snapshot of my case.
( filed[0].from and filed[0].to)

(filed0from and filed0to)

I use DatePicker inside a Field:
<Field name={ fields.names[0] } label={ fields.labels && fields.labels[0] } component={ DatePicker } additionalProps={ Object.assign(additionalProps, { 'selectsStart': true }) } clearable />
For me the "array" format of fields is a requirement! There's a way to solve the issue?
Any suggestion?
Thanks

That looks more like a  problem in your code than in react-datepicker. The name prop is passed pretty much straight through to the <input>. You can check with React Devtools to be sure.
We can't debug your code of course (especially if you don't even provide it), but if you can narrow the issue down to a minimal reproduction we could take a look at that.

Maybe...
From React Devtools (Chrome/Mac OS):
renderDatePicker is the component (stateless function) that include DatePicker.

This is more readable input content:
{ 	"input": { 		"name": "timetable[0].from", 		"onBlur": {}, 		"onChange": {}, 		"onDragStart": {}, 		"onDrop": {}, 		"onFocus": {}, 		"value": "2018-02-25T22:00:00.000Z" 	} }
If the name of field is without square brackets and dot (timetable0from) the range selection works fine.
Thank you.

You see that ellipsis (...) in your screenshot? That is where you should be looking to see whether the name is being passed through correctly. (Both on <DatePicker ...> and <input ...>)
I would guess the problem is in that renderDatePicker component. If you narrow down the code and it does turn out to be a problem in DatePicker, please do provide a minimal example showing the problem.

Here more info.
As you see the name of input is passed to DatePicker and input:

And here all props of DatePicker:

With the name timetable[0].from the range selection no works, If i use timetable0from selection range works.
Where could my mistake be?
Thank you

Resolved! I do not pass startDate and endDate in the right way!


Fix: Remove duplicate strings

That only differ on casing.
E.g.
<EMAIL_ADDRESS><EMAIL_ADDRESS>
should both be combined into one alternative for fzf.

works for me, thanks


(CLOUD-407) Virtual network type

Closing as, although the type makes sense it's impossible to implement as-is with the classic API.


add Return Scope Parameters section

I'd rather the LotR references were dropped and just call then f,g and h.

I got bored with the planets :-)
Anyhow, others have complained about the boringness of f(), func(), foo(), etc., and they do get tiresome.

https://github.com/Droogans/unmaintainable-code/blob/master/README.md#bedazzling-names

@thewilsonator: this doesn't apply here as it's the documentation with no real code where fun names make the example more interesting.

While the advice is good, the trouble is, those functions have no purpose and do nothing. But they are all from the same group, and are all in one group in one section. I find one letter function names a little off-putting.

No idea where the names come, but they sound fun.

They are names of the dwarfs in the The Hobbit.


Changed word here to below indicating table below

For the Committer

[ *] I made sure that the site looks great and functions perfectly live
[ *] I ran splell check
[ *] I'm ready for these changes to be made live

For the Reviewer
General Review

[ ] All changes/updates requested were intentionally changed or added (no extraneous file or partial updates)
[ ] The live rendered page behaves and looks like intended.
[ ] All links work as intended. (click every link to make sure that it takes the user to the expected place).
[ ] The markdown was rendered to HTML as intended. (Tables look right, code samples are gated properly).
[ ] Any style or CSS changes are tested on multiple different pages to ensure nothing unexpected broke or changed.
[ ] I proof-read the live site (gitbook serve) and there are no oblivious splelling or grammer misteaks.

Gitbook Specific

[ ] Any new documentation pages have been added to the SUMMARY.md file so they are rendered to HTML.
[ ] Any links to other pages within this documentation use relative links ([read more about ...](guides/voice/voicemail.md)).
[ ] Gitbook can install and build the documentation (gitbook install & gitbook build)

Code Specific

[ ] All code has been tested against the live API.
[ ] All code can be run without throwing errors or new warnings.
[ ] All code is formatted correctly and consistently (spaces, tabs).
[ ] All code is legible and idiomatic to the language.
[ ] All code uses sensical method, function, and variable names.
[ ] All code samples use the appropriate syntax highlighting.
[ ] Any examples re-use same phone numbers, uuids, variable names, etc... throughout (IE don't have something like {from: '+19191231234', to: '+19191231234'} unless it's meant to show the same phone number calling/texting itself ).

TL;DR

[ ] I did these things
[ ] I'm ready for these changes to be made live

 Usabilla Feedback Item - No state values are described "here"

Preview Changes at:
http://bw-apdocs-state-values-below-fix.s3-website-us-east-1.amazonaws.com/


Super expression must either be null or a function

Getting this error while using version "0.0.13" with react version 16.8.5 in SharePoint SPFx framework (version: 1.10.0). It occurs only when the package is bundled and deployed to the site, from workbench (local) is works fine. I fixed this issue by downgrading to "0.0.11". So please fix this issue in "0.0.13".

Can you provide some steps to reproduce this and provide some error log?


Allow factorial specification of tests based on sets of options

The pyutilib.testdriver should allow specifying multiple sets of options for a solver. It would then run a "full-factorial" suite of tests. For example:
  solvers:
    solver_a:
      np:
        - 1
        - 2
        - 4
      strategy:
        - dive
        - pseudocost
    solver_b:
      np: 1
  problems:
    problem_1:
    problem_2:

would specify 14 tests.
This is on the wishlist because this capability has lots of difficult implications, including how it gets implemented, how fractional specifications are managed (in the 'tests' block), and how tests get named. If this was spelled out in more detail, I'd be willing to look into this. However, this might be a nice extension for John or Dave to dig into to help familiarize themselves with this code.
It is an open question how to consistently name the individual tests.

The pyutilib.testdriver YAML input specification could support a section that allows us to specify a subset of the full factorial set of tests. For example:
testsuites:
   suite_a:
      solvers:
         solver_a:
         solver_b:
      problems:
         problem_1:
         problem_2:
      tests:
         - solver_a_problem_1
         - solver_b_problem_2

would only run solver_a on problem_1 and solver_b on problem_2. Additionally,

testsuites:
   suite_a:
      solvers:
         solver_a:
         solver_b:
         solver_c:
      problems:
         problem_1:
         problem_2:
      tests: */4

would run 1/4 of the full-factorial design (distributed in some statistically meaningful manner).


Making line breaks work using <br> tags for the body.

Solves #93

This looks good @rsarky! You should also add the same functionality to the pull-request-handler.js and pull-request-merged-handler.js. At that point, you should chunk out this functionality to a helper file and require it from each of those handlers.

At that point, you should chunk out this functionality to a helper file and require it from each of those handlers.
Done :+1:

@JasonEtco :+1:  :tada:


Support for ENVY x360

Devices:

HP ENVY x360 (All sizes)
HP Spectre x360 (All sizes)

It seems like the method for detecting whether the device is in laptop, tent, kiosk or tablet mode isn't working, however I have tested and confirmed that the keyboard gets disabled on Windows 10 if the hinge goes past 180 degrees, so it is possible.
As of right now, the keyboard only gets disabled once the hinge reaches 360 degrees (tablet mode), but this seems to be a firmware thing as tablet mode is still not triggered on KDE or GNOME on Ubuntu and Fedora using Wayland.
Device orientation using hid-recorder works.

The thing is, changes to the hinge's position is not reflected in libinput debug-events, so it'll have to be fetched from elsewhere.
I have an HP ENVY x360 13 inch and an HP ENVY x360 15 inch (both from 2021) to test.

This project is not responsible for the hardware. It's just meant to add support for handling state transitions to lightweight desktop setups, that you have out of the box in GNOME and KDE. You might want to look at the older version of the project that used accelerometers (it's in the old directory of the project), but I am not sure it will help. Most likely someone would need to add support for those laptops in the kernel's input subsystem, so that correct input events are generated. That will make it work in GNOME and KDE, as well as in this script.


Cannot build Image because Temporary failure resolving

Hi!
 They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
Package locales is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'locales' has no installation candidate
Cannot find any packeges requirement. I try to change de net with --network=host and i copy my file with DNS configuraton but its not work...
Pls help?
Regards,
IB

This looks like a generic docker issue, not specific to Nominatim etup. Have a look at https://stackoverflow.com/questions/24991136/docker-build-could-not-resolve-archive-ubuntu-com-apt-get-fails-to-install-a

but with another containers dont happend, and the docker pull is work. The packages requeriments is correct? in a clean instalation in ubuntu, and i run apt install locales its the same

Please test inside the docker container if the DNS resolution, e.g. to www.example.com works. The stackoverflow page has examples of tools you can use.
Which image or Dockerfile exactly are you trying to build? I see the error message says "cosmic" as Ubunto release and I only see that in the old https://github.com/mediagis/nominatim-docker/blob/master/3.2/Dockerfile Try building the latest version of Nominatim (3.5).

http://archive.ubuntu.com/ubuntu/dists/cosmic/InRelease No longer exists. I think that's because cosmic (Ubuntu 18.10) is no longer supported https://ubuntu.com/about/release-cycle Not sure if that would cause a 'temporary resolving' error, I would expect a page-not-found or such.

In this case is  missin this packages. It is correct this apt install ??
root@slnxdock01 3.5]# docker build -t nominatim .
Sending build context to Docker daemon 17.41 kB
Step 1/21 : FROM ubuntu:focal
---> 74435f89ab78
Step 2/21 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> 2e349a53c9ee
Step 3/21 : ENV LANG C.UTF-8
---> Using cache
---> f7182a9f3347
Step 4/21 : COPY 80proxy /etc/apt/apt.conf.d/
---> Using cache
---> 5766b48ddbe7
Step 5/21 : RUN apt-get -y update -qq &&     locale-gen en_US.UTF-8 &&     update-locale LANG=en_US.UTF-8 &&     apt-get install -o APT::Install-Recommends="false" -o APT::Install-Suggests="false" -y     build-essential cmake g++ libboost-dev libboost-system-dev     libboost-filesystem-dev libexpat1-dev zlib1g-dev     libbz2-dev libpq-dev libproj-dev     postgresql-server-dev-12 postgresql-12-postgis-3     postgresql-contrib postgresql-12-postgis-3-scripts     apache2 php php-pgsql libapache2-mod-php     php-intl python3-setuptools python3-dev python3-pip     python3-psycopg2 python3-tidylib git curl sudo &&     apt-get clean &&     rm -rf /var/lib/apt/lists/* &&     rm -rf /tmp/* /var/tmp/*
---> Running in 34fc9668bb57
/bin/sh: 1: locale-gen: not found
The command '/bin/sh -c apt-get -y update -qq &&     locale-gen en_US.UTF-8 &&     update-locale LANG=en_US.UTF-8 &&     apt-get install -o APT::Install-Recommends="false" -o APT::Install-Suggests="false" -y     build-essential cmake g++ libboost-dev libboost-system-dev     libboost-filesystem-dev libexpat1-dev zlib1g-dev     libbz2-dev libpq-dev libproj-dev     postgresql-server-dev-12 postgresql-12-postgis-3     postgresql-contrib postgresql-12-postgis-3-scripts     apache2 php php-pgsql libapache2-mod-php     php-intl python3-setuptools python3-dev python3-pip     python3-psycopg2 python3-tidylib git curl sudo &&     apt-get clean &&     rm -rf /var/lib/apt/lists/* &&     rm -rf /tmp/* /var/tmp/*' returned a non-zero code: 127

The output looks different from https://github.com/mediagis/nominatim-docker/blob/master/3.5/Dockerfile
In the Dockerfile there is apt-get -y install locales &&  already as part of the installation. In our output I don't see that line.

Closing the issue for now, please try the latest version (3.6 at the moment), there have been a lot of changes / fixes, thanks!


[Core Improvement] Reign in the amount of content sent to the frontend client when things are updated.

Noted in #393, a lot of data gets sent to the client as an environment grows. As seen in #386, this is not a sustainable practice. Moving forward we'll need to be able to send update packets from the server rather than the entire contents of an environment's json every time a window in that json gets updated. The client should only request the complete contents when the environment changes or if an inconsistency is detected (can be done using a hash of the stored data).

@JackUrb I would like to help with this

Hi @xssChauhan - this is a fairly involved change that I've already started work for, but one segment I haven't touched is the last part (the hashing step). This involves sending a request from the web client to a new endpoint with an env id and window id and receiving in return a hash/checksum of the layout and data of that window. You can then also implement the same hash/checksum function on the web side. Does this seem like something you'd want to work on?

@JackUrb This is certainly interesting. Would be glad to work on it. Where do i begin?

Alright so you'll start in the server file by introducing a new endpoint. This should be something like the exists handler: https://github.com/facebookresearch/visdom/blob/ec91e738e100a9cbf946c332c7783ffd12c644b5/py/visdom/server.py#L155
It will take a window and eid in the same way:
https://github.com/facebookresearch/visdom/blob/ec91e738e100a9cbf946c332c7783ffd12c644b5/py/visdom/server.py#L506
Then it should perform a hash operation on the json stored in handler.state[eid]['jsons']. Preferably this will be an MD5 of the json string. It should then return that hash by using handler.write().

@JackUrb Understood. Is there a branch for this already? Or do i make one  from master only?

You can start a new branch for this - it's somewhat independent of the rest of the work

Cool. Getting started now. Thank you for the starting pointers.

@JackUrb Here's my implementation for the hash handler. Will you please take a look at it and tell me your review?

@xssChauhan - feel free to open it as a pull request and I can better comment there!

@JackUrb Shall i also add a function to get the hash of window in visdom/init.py?

We actually need the function in both __init__.py and main.js as well. Also you'll need to get the window rather than the whole json for an environment in your current implementation

The one in init should call the server endpoint, the on in main should perform its own hash

@JackUrb Yup, that's what I had in mind for the function in __init__
For md5 hashing on the JS end, should i use an existing library like md5?

Yup, that would work!

@JackUrb Just so that my understanding is clear, for the JS side, we need implementation for the following:

Requesting the server endpoint to get the hash of a window
A function which returns the hash of the content of a window in state.panes

This would then enable the web client to decide if the there is change in the content of a window by comparing the local and server hash. Then the client can decide to fetch the new changes.
Is my understanding correct?

Yup that's the idea

Window hashing is implemented in #422.
Next step is more complicated: determining the difference in json that is going to be created by an update or post. This would amount to creating an update package for what happens to p in both the UpdateHandler and PostHandler.
In the UpdateHandler: https://github.com/facebookresearch/visdom/blob/52c453a885836a9449056315d6452ad9a66ce115/py/visdom/server.py#L527
this update packet should include changes that happen in the update_window call. (This can be achieved by having update window return a pair of (updated_pane, update dict))
In the PostHandler: https://github.com/facebookresearch/visdom/blob/52c453a885836a9449056315d6452ad9a66ce115/py/visdom/server.py#L489
this update packet should include if an existing window pane was replaced with the new contents.
This is going to have to be created as a python dict that will convert to JSON. The implementation for this update packet is up to you. Below is a sample for a possible update packet implementation for inserting a trace:
{
    'content': {
        'data': {
            'UPDATE_TYPE': 'append',
            'UPDATE_VALUE': new_trace_dict
        }
    }
}

Or for deleting a trace (that with idx 3 in the array):
{
    'content': {
        'data': {
            3: {UPDATE_TYPE: 'delete'}
        }
    }
}

You can test by logging the update_packet before the return calls in both of these functions.

@JackUrb Thank you for providing the details. I shall have a look and then get back.

@JackUrb  Just to make my understanding clear:
For UpdateHandler, we need to update the update_window function so that it returns the (updated_window, updated_data) and to appropriately include it in the packet p.
This can be achieved by comparing the incoming data with the existing data on the handler and then mark the changes in the packet as well.

Hi @xssChauhan - I've done a bit of research since last posting that. I'm going to describe the new set of steps for the overall goal of this core improvement.
The simplest implementation here will be to create a diff between the old json representation of a plot and the new one. This update_packet should be returned alongside p at any return statement in the update call here: https://github.com/facebookresearch/visdom/blob/ecc1c04bb79a6a327862a236f78c095cb6b80184/py/visdom/server.py#L527

We should create update_packet to match an existing dict/json diff implementation, such as this one. As we already have an idea of what's going to be updated, it makes sense to be able do this on the python end.

That would make this line read p, update_packet = UpdateHandler.update(p, args) here: https://github.com/facebookresearch/visdom/blob/ecc1c04bb79a6a327862a236f78c095cb6b80184/py/visdom/server.py#L609

Following that we'll need to send the update_packet along with the final hash via the broadcast method that is called here (rather than sending p): https://github.com/facebookresearch/visdom/blob/ecc1c04bb79a6a327862a236f78c095cb6b80184/py/visdom/server.py#L612
To do that we'll have to wrap it in a packet like {'command': 'window_update', 'win': args['win'], 'env': eid, 'content': update_packet, 'final_hash': <hash for window>}.

Lastly, a case will need to be created for 'window_update' in _handleMessage in the js here: https://github.com/facebookresearch/visdom/blob/0b89c92a4edf61a1bab6306bfd553627ffc21dd9/js/main.js#L255
This case should apply the patch to the correct window on the javascript side using the above library. After that it should calculate the local hash for the window and compare it to the final_hash. If applying the patch fails or the hash comparison fails, the client should request the complete data using postForEnv, otherwise the update should be queued with addPaneBatched.

At this point no individual step of this will be self contained, the whole thing will need to be implemented to merge it, but if you get started on this path you can open a PR and then I can contribute as well whenever I get a chance.

@JackUrb Thank you for describing in detail. I shall get started, and open a PR soon. We can have further discussions there.

Maybe it will help (for other contributors) to elaborate what is the state of this PR and what is still missing.
Also, is there a benchmark showing that the sending/receiving of diffs is worth the computation overhead introduced in this PR (hashing / calculating diff / applying diff etc.)?

@JackUrb maybe you have some example json files that can demonstrate such a situation, or an example (python) script that creates such files? It can help in debugging/testing/benchmarking this change.

Also, I understand that there is a problem finding a json-diff libraries for JS and Python that share the same diff format. Maybe a simple text diff tool can do the job: https://github.com/google/diff-match-patch


[Feature Request] Prisma 5.17 support

Is your feature request related to a problem? Please describe.
Can we add support for Prisma 5.17? Similar to #1536
Otherwise, I get an error when trying to install<EMAIL_ADDRESS>npm error While resolving<EMAIL_ADDRESS>npm error Found<EMAIL_ADDRESS>npm error node_modules/@prisma/client
npm error<EMAIL_ADDRESS>from the root project
npm error
npm error Could not resolve dependency:
npm error peer<EMAIL_ADDRESS>- 5.16.x" from<EMAIL_ADDRESS>npm error node_modules/@zenstackhq/runtime
npm error<EMAIL_ADDRESS>from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

Describe the solution you'd like
Update dependency versions, as was done in #1541
Describe alternatives you've considered

overrides in package.json
npm install with --force or --legacy-peer-deps

Additional context
None

WIP 😄

Fixed in 2.3.3


Update commons-lang3 to 3.12.0

Updates org.apache.commons:commons-lang3 from 3.11 to 3.12.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 me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.commons", artifactId = "commons-lang3" } ]

labels: library-update

Superseded by #666.


Cleanup Streams init

Remove handling of "Streams never finished rebalancing on startup" as it's no longer required (I believe it is some relict to prevent a bug that existed in Kafka v0.x)

It looks like @simPod hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement here.
Once you've signed reply with [clabot:check] to prove it.
Appreciation of efforts,
clabot

[clabot:check]

@confluentinc It looks like @simPod just signed our Contributor License Agreement. :+1:
Always at your service,
clabot

Closing this 4-year old PR. Version 6.0 is EOL already.
We also migrated the content of this repo to https://github.com/confluentinc/tutorials in the mean time.


rpg-cli: Add version 1.0.0

rpg-cli is a minimalist computer RPG written in Rust. Its command-line interface can be used as a cd replacement where you randomly encounter enemies as you change directories.

https://github.com/Calinou/scoop-games