Job gets restarted when it exceeds the datum timeout

This is running
18-02-08[11:22:26]:pachyderm:0$pc version
COMPONENT           VERSION
pachctl             1.6.7
pachd               1.6.7

We see the following:
18-02-08[11:20:39]:pachyderm:0$pc list-job
ID                                   OUTPUT COMMIT                                        STARTED           DURATION      RESTART PROGRESS      DL       UL       STATE
2f3c0913-803e-4309-a964-e2f89a1f5313 user_wed3_score/-                                    4 minutes ago     -             0       0 + 0 / 1     0B       0B       running
bb2bfc50-5b56-4523-a314-4a01bd77c667 user_wed3_score/b0cd813a639e4ea9ac8777a9c9b5be6a     About an hour ago About an hour 0       1 + 0 / 1     0B       0B       failure
4920d111-a79c-4256-a56a-80eb448dea7f user_wed3_score/b41f48b0e343441b812b6c7b966aeb97     2 hours ago       About an hour 0       1 + 0 / 1     0B       0B       failure
6403f68d-c132-4db7-be01-af232fe828bd user_wed3_score/c8999b8dfacd4471bad6d82949d843a1     3 hours ago       About an hour 0       1 + 0 / 1     0B       0B       failure
30410195-0d44-4237-89cd-71bfd0afee14 user_wed3_score/bfbd9867b7ce439faf52c74505623925     4 hours ago       About an hour 0       1 + 0 / 1     0B       0B       failure
15dae2e2-f958-447a-bec1-12e71b877d64 user_wed3_score/68db96ee851c486d8bb5e3df28caea1d     5 hours ago       About an hour 0       1 + 0 / 1     0B       0B       failure
1c067551-04cc-4f40-a436-47e4110299d2 user_wed3_score/a609fd0e15df40ae8a833068ad920eb3     6 hours ago       About an hour 0       1 + 0 / 1     0B       0B       failure
6164e099-c982-499e-95a4-ced2434cb656 user_wed3_score/18d8d80c50d645649bdee4ed0d8d2360     7 hours ago       About an hour 0       1 + 0 / 1     0B       0B       failure
44383a33-33cd-47f1-81c2-7bd67b4eba28 user_wed3_score/5cc47f124edb4bf78e571a937d600ab1     8 hours ago       About an hour 0       1 + 0 / 1     0B       0B       failure
e2829da3-4a68-489c-bf60-fe367787cc54 user_wed3_score/30ad894b3b3441fcb630f430531e4b86     9 hours ago       About an hour 0       1 + 0 / 1     0B       0B       failure
97537a2c-3bdf-4ab2-adfb-9558fc4a1a8f user_wed3_score/3b8e66d5bea542159ab4fe664efb97d7     10 hours ago      About an hour 0       1 + 0 / 1     0B       0B       failure
43d0d39d-8a71-4fb0-bd69-c868c2b79a52 user_wed3_score/35f3263a23164a5a8ce46a883291ad55     11 hours ago      About an hour 0       1 + 0 / 1     0B       0B       failure
5095d2f1-390a-45ea-8447-b5cfed2d5074 user_wed3_score/69ea2df1d9a841228b39c3257d67e59c     12 hours ago      About an hour 0       1 + 0 / 1     0B       0B       failure
7ecb965a-8385-4347-81c2-1db8ada0964e user_wed3_score/ce6b75152c574ebca3e6d6dfe7298a49     13 hours ago      About an hour 0       1 + 0 / 1     0B       0B       failure
85f400e2-e8b9-438b-9ca1-821898635bcc user_wed3_score/7665546b7ecc416fb5a27fab21ba69b5     14 hours ago      About an hour 0       1 + 0 / 1     0B       0B       failure
ffbc7991-926c-414f-bc69-82bbc3754e07 user_wed3_score/c191b79751ef46a29cf413cfcad50b27     15 hours ago      About an hour 0       1 + 0 / 1     0B       0B       failure
ba45affb-811b-4fcb-9658-12293b1c9e31 user_wed3_score/cf0595cdf5594ec58b44a8360cbdb22e     16 hours ago      About an hour 0       1 + 0 / 1     0B       0B       failure
91462c83-7c7d-4a64-a490-eefa735eee43 user_wed3_score/023761526f364e84996522be1c443827     17 hours ago      About an hour 0       1 + 0 / 1     0B       0B       failure
f7bb5aff-3d97-427d-a6e3-0500bdddc423 user_wed3_score/aa778cd4a8ee4655a00ad84cf9afc7cd     18 hours ago      About an hour 0       1 + 0 / 1     0B       0B       failure
82a31383-64c2-4e7b-8d04-74c79d4d07e9 user_wed3_inference/dab288d8c4274b83ba37def564e2b4aa 19 hours ago      About an hour 1       282 + 0 / 282 7.948GiB 170.8MiB success

And all the input commits are identical for all the failed jobs on pipeline B.
In particular the pipeline has a 20m datum timeout set, and in the pod logs we see:
{"pipelineName":"pipelineB","jobId":"f7bb5aff-3d97-427d-a6e3-0500bdddc423","workerId":"pipelineB-v1-hjkhx","datumId":"f3cf375c833d7f3e777e0576ff80c091024a2d7364e7a3ce4097742ca16c0ba7","data":[{"hash":"J1+XWh0R09PzzhL3Trbq/ohUepyhCCdW3ETJFVSrmpQ="},{"hash":"qtiHbl1ky9k6qa9tyPvf7QMCYbeMr3iCKvlYQ70YPBk="}],"ts":"2018-02-08T01:38:57.169985035Z","message":"finished running user code - took (20m0.000485333s) - with error (context deadline exceeded)"}

This may be related to #2659
This may be fixed in the upcoming 1.7 changes. But if not, needs to be fixed.

This was fixed by 1.7 changes, just tested a job with datum timeouts and confirmed that you don't get more jobs when it fails.


Can't deploy

This error comes when I create the endpoint
update_endpoint is a no-op in sagemaker>=2.
How can I solve this problem please ?

Hi @Anis-kabli, this is a warning and doesn't cause the deployment the fail.
See more details here https://sagemaker.readthedocs.io/en/stable/v2.html


Replacing history state in iframe

hi guys, sorry for my bad english. I have the problem with history routing. I have the website. Website has page "A".  page "A" has iframe "i". iframe "i" has pages "i1" and "i2". When page "A" loading first time - iframe shows
"i1" page and browser show this url: "website.com/A/i1". "i1" page has link to "i2" page. When I click that link - iframe make history.pushState(... page: "i2" ...) and iframe sends message to parent page "A", iframe says: "change your url to 'website.com/A/i2' " and browser changes url to "website.com/A/i2".
When I click browser back button, iframe react on this thanks to react-router, changes inner history state to previous and says to page "A": "Make your url like your previous url ". And all good. Browser url changed to previous( "website.com/A/i1") and iframe rendered page "i1" and props.location.pathname shows "/A/i1".
But when I make 1 or more history.replace in iframe page "i2", and click browser back button, I got almost same result besides that the in page "website.com/A/i1", props.location.pathname shows "/A/i2". But it must show "/A/i1". How to fix that?

If you're routing inside an iframe, you probably want to use createMemoryHistory – the contents of the iframe shouldn't change the page-level location.


x/tools/gopls: fail to recover from deletion of go.mod file

I deleted a go.mod file in a directory inside of GOPATH and got the following error message:
[Trace - 01:33:15.594 AM] Received notification 'window/logMessage'. Params: {"type":1,"message":"2020/07/30 01:33:15 The code in the workspace failed to compile (see the error message below).\nIf you believe this is a mistake, please file an issue: https://github.com/golang/go/issues/new.: stat /Users/rstambler/code/src/foo/go.mod: no such file or directory\n\tsnapshot=9\n\tdirectory=file:///Users/rstambler/code/src/foo\n"}

This is also happening for me in a Python directory in which I have no .go files.

@drgrib: It sounds like you're seeing this error as a result of a different issue (unless you deleted a go.mod file in this directory?). Do you mind filing a new issue so we can continue the discussion there?

@stamblerre Actually, I just realized I had a subdirectory with a .go file in it I was unaware of, so I was mistaken.

@drgrib: Ok. If there's still a problem, please file a new issue so we can discuss there.


Modeline configuration?

Issue description
After running into a strange incident with my GPU misreporting the resolution of my monitor over VGA, I've had to manually configure a modeline to get to the correct (1680x1050) maximum resolution, rather than 1024x768. The relevant section in my configuration.nix now looks like this:
  services.xserver = {
    videoDrivers = ["intel"];
    resolutions = [{ x = 1680; y = 1050; } { x = 1024; y = 768; }];
    monitorSection = ''
      Modeline "1680x1050" 146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync
      Option "PreferredMode" "1680x1050"
    '';
  };

Would it perhaps be an idea to have a separate configuration option in the xserver service for custom Modelines, potentially even using cwt to determine the parameters from the resolution? This would make the process of dealing with misdetections quite a bit less error-prone and more obvious.
Technical details

System: NixOS 16.03.1028.0546a4a (Emu)
Nix version: nix-env (Nix) 1.11.2
Nixpkgs version: 16.03.1028.0546a4a

Sorry that there was no reply?
Are you still interested in NixOS and would want to prepare a pull request for this? I can help if you have any questions.


powershell

i got confused, i type Add-AppxPackage -Register .\AppxManifest.xml on powershell and i got
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict
validation.
Windows cannot install package MicrosoftCorporationII.WindowsSubsystemForAndroid_1.7.32815.0_x64__8wekyb3d8bbwe
because this package depends on a framework that could not be found. Provide the framework
"Microsoft.VCLibs.140.00.UWPDesktop" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond,
S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30035.0, along with this
package to install. The frameworks with name "Microsoft.VCLibs.140.00.UWPDesktop"
Windows cannot install package MicrosoftCorporationII.WindowsSubsystemForAndroid_1.7.32815.0_x64__8wekyb3d8bbwe
because this package depends on a framework that could not be found. Provide the framework
"Microsoft.VCLibs.140.00.UWPDesktop" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond,
S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30035.0, along with this
package to install. The frameworks with name "Microsoft.VCLibs.140.00.UWPDesktop" currently installed are:
{Microsoft.VCLibs.140.00.UWPDesktop_14.0.29231.0_x64__8wekyb3d8bbwe}
NOTE: For additional information, look for [ActivityId] 8f2c6898-cfaf-0002-8001-2e8fafcfd701 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 8f2c6898-cfaf-0002-8001-2e8fafcfd701
At line:1 char:1

Add-AppxPackage -Register .\AppxManifest.xml

  + CategoryInfo          : WriteError: (C:\Users\brayen...ppxManifest.xml:String) [Add-AppxPackage], IOException
  + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

i dont know what's going on. pls somebody help me!

Hi,
The result explains that a component is missing, download and install this :
https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx
Nathanaël LACOURLY
Le 2 nov. 2021 à 08:18, brayenagape @.***> a écrit :
Microsoft.VCLibs.140.00.UWPDesktop

Hi, The result explains that a component is missing, download and install this : https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx Nathanaël LACOURLY Le 2 nov. 2021 à 08:18, brayenagape @.***> a écrit : Microsoft.VCLibs.140.00.UWPDesktop

omg, thankyou so much!

Do you.. mind closing this issue?

Again, can you close this issue, as the problem has been fixed?

@brayenagape Can you close this issue please :)?


Allow LeSer/BeSer impls missing either Serialize or Deserialize

This is a little bit of a niche change, but I think it improves quality of life a bit.
Currently, using any of the methods from BeSer or LeSer requires that the type implement both Serialize and DeserializeOwned. In some places, we unnecessarily implement Serialize or Deserialize because of this -- i.e. we're implementing an unused trait in order to get access to methods.
The first commit here moves the type bounds into the methods themselves, which allows types that don't implement one of the traits to still access the other methods.
The second commit cleans up all of the places where there's unused derived Serialize or Deserialize implementations.

Ran into a build issue because impl Deserialize for AppendResponse started being used. Rebased, should be ok now. Waiting for CI to finish before merging


⚠ Bofrost.de has degraded performance

In 0e05dc1, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1518 ms

Resolved: Bofrost.de performance has improved in ad6972d after 6 minutes.


Use the new deserializer for TriggeredV2 events

This PR was successfully deployed to production by CircleCI build 215 at 2017-05-15 13:08 BST.


[WIP] Cypress coverage

Try to collect coverage from cypress tests

@dmtrKovalenko What's the objective of this pull request? What's the status of it?

Can be closed, anyway will be supressed by other PR

@dmtrKovalenko It seems that the objective is to get test coverage. If it's the case, we can defer the resolution of the problem to https://github.com/mui-org/material-ui/issues/19706. Is that correct?

No, I tent to keep cypress tests so it needs to be done anyway

@dmtrKovalenko Would you mind expanding? From https://github.com/mui-org/material-ui-pickers/pull/1730#discussion_r419114709, I thought that the policy was to remove cypress with testing-library, and introduce it back or an alternative tool like playwright as we hit a roadblock. In such a roadmap, coverage with cypress has no very little value.

Haha, I had absolutely different view

@dmtrKovalenko What do you think about it?


microk8s works w/ Krustlet

Krustlet appears to work well with microk8s.
An advantage of microk8s is that it's easily-installed on a single workstation and Krustlet may run alongside it.
microk8s.kubectl get nodes
NAME       STATUS   ROLES    AGE   VERSION
microk8s   Ready    <none>   13m   v1.18.2-41+b5cdb79a4060a3
krustlet   Ready    agent    48s   v1.17.0

NB Using microk8s.kubectl to prove the point; kubectl may be used directly too

And:
KUBECONFIG=/var/snap/microk8s/current/credentials/client.config \
./krustlet-wasi \
--node-ip=<IP_ADDRESS> \
--node-name="krustlet" \
--pfx-password="password" \
--pfx-path=./krustlet.pfx

NB Using /var/snap/microk8s... to prove the point

And, e.g:
microk8s.kubectl apply --filename=.../demos/wasi/hello-world-rust/k8s.yaml
configmap/hello-world-wasi-rust created
pod/hello-world-wasi-rust created

microk8s.kubectl get pods
NAME                    READY   STATUS       RESTARTS   AGE
hello-world-wasi-rust   0/1     ExitCode:0   0          8s

microk8s.kubectl logs pod/hello-world-wasi-rust
hello from stdout!
hello from stderr!
FOO=bar
POD_NAME=hello-world-wasi-rust
CONFIG_MAP_VAL=cool stuff
Args are: []

I forked the repo to document this but the documentation is very repetitive (and thus potentially difficult for everyone to maintain) and would -- IMO -- benefit from refactoring into... assuming you have a cluster... create service account, certificates etc.,
Thoughts?

It's okay if the HOWTO guides are a little repetitive, as they are intended to be self-sufficient. The Quickstart guide shows the high-level "here's how to set up Krustlet", along with a link to each HOWTO depending on what provider is being used.
If you want to create a generic HOWTO guide, we'd welcome that, though the Krustlet with Inlets guide was also intended to demonstrate how to set up Krustlet with a generic cluster.
Let us know how you'd like to proceed.

OK...
On the basis that someone may benefit from a microk8s document, I'll complete it and submit the PR.
Thanks for the interesting project and the quick reply.


Polish configuration-cache/build.gradle.kts

Remove no longer necessary Kotlin compiler args as they are now set by default in Kotlin 1.4.x.

@bot-gradle test this

@bot-gradle test this

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

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


Proposal: Please start using Semantic Versioning

I found that this project already supports Go modules. But sadly, the tags doesn't follow Semantic Versioning, which means that all tags of this project will be ignored by Go modules and replaced by pseudo-versions, go get acts weirdly when tags are not in that form. It would be great to have the tagged release be named in the format vX.X.X format so that go mod can read it.
	github.com/elazarl/goproxy v0.0.0-20200710112657-153946a5f232

Else the mod file shows something like github.com/elazarl/goproxy v0.0.0-20200710112657-153946a5f232 which is not very readable and difficult to upgrade. It’s hard to verify which version is in use. This is not conducive to version control
So, I propose this project to follow Semantic Versioning in future versions. For example, v1.0.1, v2.0.0, v3.1.0-alpha, v3.1.0-beta.2etc.

@kimor79  @n-i-x  Could you help me review this issue? Thx :p

Sounds great to me. This project predates go modules, and tags were supposed to support some primitive versioning by HTTP redirect. There were times...

@elazarl Thank you for your reply and look forward to a new version for module. : D

@KateGo520 can you help me with how to set version to the submodule ext/?

@elazarl If there is any problem with how to set version to the submodule, you can find how "golang/tools" do it: https://github.com/golang/tools/tags
Semantic versioning is so important for go modules, sorry to trouble you but could you please speed this up?

Given how actively supported and widely adopted this project seems to be, I'd love to see some semantic versioning. It does make for a more ergonomic experience, as well as it deliver a sense of "craftmanship" superior to go.mod lines like:
github.com/elazarl/goproxy v0.0.0-20220328115640-894aeddb713e

So, big support for this issue.

Hey @elazarl are you looking for a contribution to do this or am I missing something? :)

@detro a PR would be awesome. I'm unfotunately very limited in the time I can invest, but I'm happy to review and merge PRs.

This one probably cannot be covered via PRs, the tag injection is done directly via git tag -commands as far as I'm aware, so someone with repo write access could do it.

To bump this again, @elazarl this requires a maintainer.
If you aren't quite sure how to do this, I'm happy to volunteer to help... we use this project at my day job, so it's easy for me to justify spending a little time to help maintain the project.
I helped another open source go library switch to modules here: https://github.com/vishvananda/netns/releases
I think once you've seen it done a time or two it'd be easy to understand how it works and handle it going forward if you want.

I'll be happy for a PR and guidance. Thanks
On Fri, Jul 26, 2024, 19:48 Jeff Widman @.***> wrote:

To bump this again, @elazarl https://github.com/elazarl this requires a
maintainer.
If you aren't quite sure how to do this, I'm happy to volunteer to help...
we use this project at my day job, so it's easy for me to justify spending
a little time to help maintain the project.
I helped another open source go library switch to modules here:
https://github.com/vishvananda/netns/releases
I think once you've seen it done a time or two it'd be easy to understand
how it works and handle it going forward if you want.
—
Reply to this email directly, view it on GitHub
https://github.com/elazarl/goproxy/issues/394#issuecomment-2253128826,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB7RIXDNYNH6EMRIR6Y3UDZOJ4XNAVCNFSM6AAAAABLQ3DYH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJTGEZDQOBSGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

https://semver.org/ is a good introduction.
Essentially:

major version is bumped, if any incompatible API-changes are done.
minor version is bumped, if any new features are added (can include also fixes - depends on release rate).
patch version is bumped, if things are fixed.

v1.0.0 is usually considered the 1st stable release.

Gentle nudge on this. Feel free to email me directly--my email is in my GitHub profile.


Broken link on documentation page

Extracted from this page : https://xmldiff.readthedocs.io/en/stable/advanced.html
"The XSLT template above of course only handles a few cases, like inserted formatting and insert and delete tags (used below). A more complete XSLT file is included here."
[broken link](file:///_static/htmlformatter.xslt) : file:///_static/htmlformatter.xslt

Yeah, all attempts of making this work with relative links (which would be the nicest) have failed. I've changed this to a direct link to github instead. That has the risk of the link failing in the future, but it's the best I can do.


add static factory method to generate a random beanS with default con…

…figuration parameters

I´m not very happy about the name "randoms". Hopefully we could find a better one.

Coverage decreased (-2.3%) to 90.292% when pulling 398a7acf1364f81bb5d029f70bcad1a730d95a31 on punkratz312:staticAPI into eb74b5404cd45067e1650f08f893970f3d25972e on benas:master.

Don't hesitate to add yourself to the contributors list : https://github.com/benas/random-beans/blob/master/README.md#awesome-contributors
thank you for this PR!

Coverage increased (+0.01%) to 92.577% when pulling f5d7b81b9f76be0616e0cd7cd2b66af5fe42d168 on punkratz312:staticAPI into 43a2edcc7cc79db7cab741ac3f4594124e33196b on benas:master.

infinite stream - wow. that explains why the test does not return ^^

That's why I've limited it to 10 in the test 😉

I can´t imagine an usecase, but im sure there is one ^^, of an infinite stream.

That was added to be consistent with standard Random API that random beans extends. More details here
In regards to the overloading random method that I've suggested, I'm sorry, it won't work. So we can just keep the last one:
public static <T> Stream<T> random(final Class<T> type, final int streamSize, final String... excludedFields) { ... }

Could you please update the PR? It will be fine to merge

I think its more consistent if we add the s (plurar) to random for both stream methods.
Maybe we can extract the Stream returning methods.

Coverage increased (+0.009%) to 92.573% when pulling 099d5dcb5a21f041ef5ae14dfd0e5ac5734a66bd on punkratz312:staticAPI into 43a2edcc7cc79db7cab741ac3f4594124e33196b on benas:master.

Coverage increased (+0.009%) to 92.573% when pulling 099d5dcb5a21f041ef5ae14dfd0e5ac5734a66bd on punkratz312:staticAPI into 43a2edcc7cc79db7cab741ac3f4594124e33196b on benas:master.

Thank you for this update!
with hindsight, you are right. I don't see a real added value of a method returning an infinite stream of random objects. the user can always specify the stream size. I have added it to be consistent with existing methods in the Random API.
That said, I'll remove it. That's confusing :smile:

I´m not sure about the workflow. Is the SNAPSHOT (including this change) automatically deployed to mvn central?
I could not use the new API, our project depends on 3.0.0-SNAPSHOT.
Thanks.

Is the SNAPSHOT (including this change) automatically deployed to mvn central?

No, I do it manually. I've just re-uploaded the latest snapshot version. It should be fine now.

Ah ok, thanks a lot :). You make me happy as always.


Bad maximum speed and respond of gimbal

Gimbal responds too soft and works at too low the speed when controlling with mouse.

fixed in #44


Update for v1.3.0

Update the recipe for the v1.3.0 release. This release adopts pytest as the test framework.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Consider alternative backends to httpio

The httpio package is very small seems to fit quite well the needs of this project but:

it seems to be a not-active project (last commit 2019)
it is necessary to have a specialisation of the httpio.SyncHTTPIOFile class to be able to use this package in asfsmd

Other alternatives exists that could replace httpio as shall be assessed:

[X] RemoteZip
Very interesting, it can be used out of the box and allows to simplify the codebase quite a lot.
The performance to get the list of files included in the ZIP archive seems to be better (x2) than the ones that one can get with httpio but the test consisting in the download of annotations of 5 S1 products seems to be 12% slower than httpio.

[X] pyremotezip
Not maintained upstream, Python2 only.

[X] smart-open
Interesting project bur slower (x3-x4) than httpio to retrieve the list of files contained in the ZIP archive.

[X] fsspec
Extremely interesting and feature complete. Used also in Dask.
Direct use of the ZipFileSystem is very slow. The use of the HttpFileSystem + zipfile from the Python stdlib seems to work fine, but it is 33% slower than httpio

Starting form asfsmd v1.2.0 three implementation are available: fsspec, httpio and remotezip:

fsspec is the default (hard dependency) because it is relatively fast, well maintained and easy to install (packages available for conda and debian).
httpio seems to be the faster one but the package is less maintained and not available for conda / debian.
remotezip, for some reason to investigate, is quite slow but it is already installed with asf-search, so it is used as a fallback.

The implementation is automatically selected at runtime (depending on the installed packages), or it can be forced via API or environment variable.

There is a new release of smart-open. Probably worth to re-evaluate it.


Segmentation fault when inversing matrices with determinant equal to zero

What is wrong
In the current state of the code, if you happen to try to inverse a matrix which has its determinant value equal to zero, the inverse_matrix function will return NULL, which can cause a segmentation fault when solving the program's equations.

How to reproduce:
t_object    *object = create_sphere();

set_object_transformation(object, shearing_matrix((t_shearing){1, 1, 1, 1, 1, 1}));

Setting this shearing transformation to object will return NULL to its object->inverse_transformation property. When this property is used in an operation, per se, in ray transformation, it will segfault.

How to fix:
We can either

return an identity matrix if we find an zero-determinant matrix while trying to inverse it, or we can
make so that our main data structure is a singleton, so whenever we find a flaw in our transformations, we can call that singleton and clear its memory, exiting the program gracefully.

Addressed and fixed by #22. Closing.


EKS-A wont be created as it wait for cert-manager which time out pulling its images

What happened:
I ran  "eksctl anywhere --verbosity 5 create cluster -f dev-cluster.yaml" and waited. It times out with an error:
2022-10-21T13:08:01.378Z        V4      Logger init completed   {"vlevel": 5}
2022-10-21T13:08:02.237Z        V4      Reading bundles manifest        {"url": "https://anywhere-assets.eks.amazonaws.com/releases/bundles/18/manifest.yaml"}
2022-10-21T13:08:03.559Z        V5      Retrier:        {"timeout": "2562047h47m16.854775807s", "backoffFactor": null}
2022-10-21T13:08:03.559Z        V2      Pulling docker image    {"image": "public.ecr.aws/eks-anywhere/cli-tools:v0.11.4-eks-a-18"}
2022-10-21T13:08:05.182Z        V5      Retry execution successful      {"retries": 1, "duration": "1.623376797s"}
2022-10-21T13:08:05.182Z        V3      Initializing long running container     {"name": "eksa_1666357683559271078", "image": "public.ecr.aws/eks-anywhere/cli-tools:v0.11.4-eks-a-18"}
2022-10-21T13:08:05.410Z        V4      Task start      {"task_name": "setup-validate"}
2022-10-21T13:08:05.410Z        V0      Performing setup and validations
2022-10-21T13:08:05.410Z        V0      Warning: The docker infrastructure provider is meant for local development and testing only
2022-10-21T13:08:05.410Z        V0      ✅ Docker Provider setup is valid
2022-10-21T13:08:05.410Z        V0      ✅ Validate certificate for registry mirror
2022-10-21T13:08:05.410Z        V0      ✅ Validate authentication for git provider
2022-10-21T13:08:05.410Z        V0      ✅ Create preflight validations pass
2022-10-21T13:08:05.410Z        V4      Task finished   {"task_name": "setup-validate", "duration": "64.773µs"}
2022-10-21T13:08:05.410Z        V4      ----------------------------------
2022-10-21T13:08:05.410Z        V4      Task start      {"task_name": "bootstrap-cluster-init"}
2022-10-21T13:08:05.410Z        V0      Creating new bootstrap cluster
2022-10-21T13:08:05.410Z        V4      Creating kind cluster   {"name": "dev-cluster-eks-a-cluster", "kubeconfig": "dev-cluster/generated/dev-cluster.kind.kubeconfig"}
2022-10-21T13:08:37.327Z        V0      Provider specific pre-capi-install-setup on bootstrap cluster
2022-10-21T13:08:37.327Z        V0      Installing cluster-api providers on bootstrap cluster
2022-10-21T13:38:54.076Z        V4      Task finished   {"task_name": "bootstrap-cluster-init", "duration": "30m48.666579501s"}
2022-10-21T13:38:54.077Z        V4      ----------------------------------
2022-10-21T13:38:54.077Z        V4      Task start      {"task_name": "collect-management-cluster-diagnostics"}
2022-10-21T13:38:54.077Z        V0      collecting management cluster diagnostics
2022-10-21T13:38:54.082Z        V3      bundle config written   {"path": "dev-cluster/generated/bootstrap-cluster-2022-10-21T13:38:54Z-bundle.yaml"}
2022-10-21T13:38:54.082Z        V1      creating temporary namespace for diagnostic collector   {"namespace": "eksa-diagnostics"}
2022-10-21T13:38:54.082Z        V5      Retrier:        {"timeout": "2562047h47m16.854775807s", "backoffFactor": null}
2022-10-21T13:38:54.245Z        V5      Retry execution successful      {"retries": 1, "duration": "162.57702ms"}
2022-10-21T13:38:54.245Z        V1      creating temporary ClusterRole and RoleBinding for diagnostic collector
2022-10-21T13:38:54.245Z        V5      Retrier:        {"timeout": "2562047h47m16.854775807s", "backoffFactor": null}
2022-10-21T13:38:55.254Z        V5      Retry execution successful      {"retries": 1, "duration": "1.009076793s"}
2022-10-21T13:38:55.254Z        V0      ⏳ Collecting support bundle from cluster, this can take a while {"cluster": "bootstrap-cluster", "bundle": "dev-cluster/generated/bootstrap-cluster-2022-10-21T13:38:54Z-bundle.yaml", "since": "2022-10-21T10:38:54.082Z", "kubeconfig": "dev-cluster/generated/dev-cluster.kind.kubeconfig"}
2022-10-21T13:39:22.666Z        V0      Support bundle archive created  {"path": "support-bundle-2022-10-21T13_38_55.tar.gz"}
2022-10-21T13:39:22.666Z        V0      Analyzing support bundle        {"bundle": "dev-cluster/generated/bootstrap-cluster-2022-10-21T13:38:54Z-bundle.yaml", "archive": "support-bundle-2022-10-21T13_38_55.tar.gz"}
2022-10-21T13:39:22.869Z        V0      Analysis output generated       {"path": "dev-cluster/generated/bootstrap-cluster-2022-10-21T13:39:22Z-analysis.yaml"}
2022-10-21T13:39:22.869Z        V1      cleaning up temporary roles for diagnostic collectors
2022-10-21T13:39:22.869Z        V5      Retrier:        {"timeout": "2562047h47m16.854775807s", "backoffFactor": null}
2022-10-21T13:39:23.028Z        V5      Retry execution successful      {"retries": 1, "duration": "159.830736ms"}
2022-10-21T13:39:23.028Z        V1      cleaning up temporary namespace  for diagnostic collectors      {"namespace": "eksa-diagnostics"}
2022-10-21T13:39:23.028Z        V5      Retrier:        {"timeout": "2562047h47m16.854775807s", "backoffFactor": null}
2022-10-21T13:39:28.343Z        V5      Retry execution successful      {"retries": 1, "duration": "5.314444365s"}
2022-10-21T13:39:28.343Z        V4      Task finished   {"task_name": "collect-management-cluster-diagnostics", "duration": "34.266374533s"}
2022-10-21T13:39:28.343Z        V4      ----------------------------------
2022-10-21T13:39:28.343Z        V4      Saving checkpoint       {"file": "dev-cluster-checkpoint.yaml"}
2022-10-21T13:39:28.343Z        V4      Tasks completed {"duration": "31m22.933519659s"}
2022-10-21T13:39:28.343Z        V3      Cleaning up long running container      {"name": "eksa_1666357683559271078"}
Error: initializing capi resources in cluster: executing init: Fetching providers
Using Override="core-components.yaml" Provider="cluster-api" Version="v1.2.0+c1d672f"
Using Override="bootstrap-components.yaml" Provider="bootstrap-kubeadm" Version="v1.2.0+e28502e"
Using Override="bootstrap-components.yaml" Provider="bootstrap-etcdadm-bootstrap" Version="v1.0.5+5ddd59f"
Using Override="bootstrap-components.yaml" Provider="bootstrap-etcdadm-controller" Version="v1.0.4+9847d35"
Using Override="control-plane-components.yaml" Provider="control-plane-kubeadm" Version="v1.2.0+2aa0c77"
Using Override="infrastructure-components-development.yaml" Provider="infrastructure-docker" Version="v1.2.0+f422496"
Installing cert-manager Version="v1.8.2+543ab1d"
Using Override="cert-manager.yaml" Provider="cert-manager" Version="v1.8.2+543ab1d"
Waiting for cert-manager to be available...
Error: timed out waiting for the condition
Checking the cert-manager pod I found it had tried to pull its images and failed:
Events:
Type     Reason            Age                  From               Message

Warning  FailedScheduling  41m                  default-scheduler  0/1 nodes are available: 1 node(s) had taint {node.kubernetes.io/not-ready: }, that the pod didn't tolerate.
Normal   Scheduled         41m                  default-scheduler  Successfully assigned cert-manager/cert-manager-5574f6bcd7-68j69 to dev-cluster-eks-a-cluster-control-plane
Warning  Failed            37m (x3 over 40m)    kubelet            Failed to pull image "public.ecr.aws/eks-anywhere/cert-manager/cert-manager-controller:v1.8.2-eks-a-18": rpc error: code = Unknown desc = failed to pull and unpack image "public.ecr.aws/eks-anywhere/cert-manager/cert-manager-controller:v1.8.2-eks-a-18": failed to resolve reference "public.ecr.aws/eks-anywhere/cert-manager/cert-manager-controller:v1.8.2-eks-a-18": failed to do request: Head "https://public.ecr.aws/v2/eks-anywhere/cert-manager/cert-manager-controller/manifests/v1.8.2-eks-a-18": dial tcp <IP_ADDRESS>:443: i/o timeout
Warning  Failed            35m (x4 over 40m)    kubelet            Error: ErrImagePull
Warning  Failed            35m                  kubelet            Failed to pull image "public.ecr.aws/eks-anywhere/cert-manager/cert-manager-controller:v1.8.2-eks-a-18": rpc error: code = Unknown desc = failed to pull and unpack image "public.ecr.aws/eks-anywhere/cert-manager/cert-manager-controller:v1.8.2-eks-a-18": failed to resolve reference "public.ecr.aws/eks-anywhere/cert-manager/cert-manager-controller:v1.8.2-eks-a-18": failed to do request: Head "https://public.ecr.aws/v2/eks-anywhere/cert-manager/cert-manager-controller/manifests/v1.8.2-eks-a-18": dial tcp <IP_ADDRESS>:443: i/o timeout
Warning  Failed            35m (x7 over 40m)    kubelet            Error: ImagePullBackOff
Normal   Pulling           30m (x6 over 41m)    kubelet            Pulling image "public.ecr.aws/eks-anywhere/cert-manager/cert-manager-controller:v1.8.2-eks-a-18"
Normal   BackOff           69s (x138 over 40m)  kubelet            Back-off pulling image "public.ecr.aws/eks-anywhere/cert-manager/cert-manager-controller:v1.8.2-eks-a-18"
If I try to access myself I get an error:
curl https://public.ecr.aws/v2/eks-anywhere/cert-manager/cert-manager-controller/manifests/v1.8.2-eks-a-18
{"errors":[{"code":"DENIED","message":"Not Authorized"}]}
Is this what's causing a timeout? Why does it need authentication for the public.ecs.aws registry??
What you expected to happen:
I expected the bootstrap cluster to get created, as per the documentation.
How to reproduce it (as minimally and precisely as possible):
eksctl anywhere --verbosity 5 create cluster -f dev-cluster.yaml
My config:
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: Cluster
metadata:
name: dev-cluster
spec:
clusterNetwork:
cniConfig:
cilium: {}
pods:
cidrBlocks:
- <IP_ADDRESS>/16
services:
cidrBlocks:
- <IP_ADDRESS>/12
controlPlaneConfiguration:
count: 1
datacenterRef:
kind: DockerDatacenterConfig
name: dev-cluster
externalEtcdConfiguration:
count: 1
kubernetesVersion: "1.23"
managementCluster:
name: dev-cluster
workerNodeGroupConfigurations:

count: 1
name: md-0
proxyConfiguration:
httpProxy: "<IP_ADDRESS>:3128"
httpsProxy: "<IP_ADDRESS>:3128"

apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: DockerDatacenterConfig
metadata:
name: dev-cluster
spec: {}

Anything else we need to know?:
Environment:

EKS Anywhere Release: v0.11.4
EKS Distro Release: 0.115.0

Yes, I have indeed used those proxy settings. For some reason it does not look like they gets forwarded to containerd.

I have now entered proxy settings in the containerd.service file in the bootstrap cluster container and it works just fine.
So, eksctl anywhere does not respect the proxy settings in the cluster config file. They are not forwarded to containerd. Kind is supposed to use the env when kind cluster create is run, so it looks like eksctl does break traditional kind behaviour.

I have the docker.service file on my host modified to use the Environment settings, but that does not seem to be enough.
Setting those in the container does the trick. containerd issue

I have now confirmed that by entering the container where containerd is running, and editing its systemd service defintion and adding my proxy settings in that Environment attribute, things works as expected.
So, the proxy settings valid in the eksctl environment does not reach the containerd in the bootstrap cluster.


icon name is missing on 0.8.9

nothing show when mouse hover

Closing this issue because it has insufficient data concerning what the problem even is.


Polkadot Protocol > Basics > Data Encoding

Migrated from the pages:

https://github.com/paritytech/parity-scale-codec#parity-scale-codec
https://docs.substrate.io/reference/scale-codec/

It’s totally up to you, but I think it could be really valuable to add a small code snippet that shows how to use the SCALE codec. This way, developers can quickly grasp what's happening under the hood in Substrate.
@kapetan3sid  If you’d like me to whip up one or two examples, just let me know! I'd be more than happy to help!

Will wait to review this one til content suggestions have been applied. Please request my review again once it's ready 🙂

Will wait until the above comments are addressed before reviewing

All comments are addressed. Please check if anything else needs to be amended

@eshaben applied feedbacks and gave this a look over. Should just need your final signoff now. Thanks!


Support for Swish activation function?

Does SHAP support arbitrary activation functions implemented in Tensorflow? I have a deep CNN model I'd like to interpret using SHAP values, and it uses the Swish activation function [Tensorflow; paper].

Also curious to know this. When I attempted to implement it the force plot didn't display the same prediction values for inputs as the model did. Switching back to ReLu fixed the issue.


Adding LVS environment for Gdsfactory generic tech, Adding straight_heater_metal extractor

Adding LVS environment for Gdsfactory generic tech, Adding straight_heater_metal extractor

@atorkmabrains Ready to review, but we need to discuss some LVS derivations.


Some suggested additions

Thank you for compiling this awesome list! Here are a few suggested additions:

Under Books, you might add the textbook "A First Course in Network Science" by Menczer, Fortunato & Davis (Cambridge University Press, 2020 https://cambridgeuniversitypress.github.io/FirstCourseNetworkScience/). Although it is more about network science than computational social science, it deals extensively with information diffusion, social networks, and data gathering from social media, which are very relevant to computational social science.

Under Education/University Course Programs, you might list the "Complex Networks and Systems" track of the PhD in Informatics at Indiana University Bloomington (https://informatics.indiana.edu/programs/phd-informatics/complex-networks-and-systems.html). Faculty and graduate students in this program are heavily involved in research in computational social science.

Under Research Groups, you could list the Center for Complex Networks and Systems Research (https://cnets.indiana.edu/) and the Observatory on Social Media (https://osome.iu.edu/) at IUB.

Thanks!

Thank you so much!!! One minor typo: the last author of the textbook is "Davis".

Thank you so much!!! One minor typo: the last author of the textbook is "Davis".


WIP: Use vectordrawables

Replacing a lot of png's by VectorDrawables for the following reasons:

smaller
potentially sharper on some densities
ability to change color ( e.g. when using day/night mode from AppCompat )

Interestingly it clean-builds fine on my dev-pc but not on travis - there it fails with a lint-error - can't yet make sense of this

@johnjohndoe can you check if the lint error happens on your PC? Can't really make sense of it - lint errors should not happen only on one PC and not the other and as I cannot see the reports ( one reason I do not use travis anymore ) - it would be good to know if it works on your PC

hm the build also works with snap-ci ..
https://snap-ci.com/ligi/criticalmaps-android/pull/1/logs/defaultPipeline/1/EditMe?back_to=build_history

... check if the lint error happens on your PC ...

The current branch builds successfully on my machine regardless whether I comment out the warning 'StringFormatInvalid' or not. The only thing I had to do was to change build environment to Java 8.

thanks - really strange that lint does not work the same ..
PS: travis also uses jdk8 via oraclejdk8

I used OpenJDK. Do you want me to try Oracle?

on my build-pc is also openjdk
in travis openjdk because this was used before - wanted to be minimal
invasive ..

travis has no openjdk8 :-(
$ jdk_switcher use openjdk8
Sorry, but JDK 'openjdk8' is not known.
The command "jdk_switcher use openjdk8" failed and exited with 1 during .
Your build has been stopped.
can we please perhaps just replace travis against snapci or something?

one way of building this on travis it could be in a docker container that has openjdk8 installed. if this sounds reasonable, let me know and i can take care of that.
i also wouldnt mind switching to another ci but i would then probably also want to move all the other repos, just to have everything in one place.

the overhead of going down the docker route would be downloading and extracting the base image (586.7 MB). the docker binaries already ship with the travis worker so we dont have to download and install them.

;)

I would be happy with both solutions - docker or snap-ci for only android

i tried the docker way. adds 8 minutes to the total duration of our builds. lets rather try snap-ci, shall we?

way to go travis:
https://github.com/criticalmaps/criticalmaps-android/pull/175/commits/97ab1f1310ba657c64b554c66a9ac0965fd97e2c

just rebased - could be merged now

Looks good, also like the updated icons.

:+1:


Verify the test output

#33
This PR adds tests to ensure the correct behavior of the logger. The tests cover a variety of scenarios, including:

Log Chain
Utility Methods
Level Log
Steam
Environment Variable

The tests were written using Jest and are located in the test/jest directory.

@Link1515  Thanks for your great work. Overall it looks pretty good to me.  Just some comments above, could you take a look?

@Link1515  thanks!


Add support for retrieving ttl of a key in redis

Codecov Report

Merging #323 into master will decrease coverage by 0.54%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #323      +/-   ##
==========================================
- Coverage    99.2%   98.66%   -0.55%
==========================================
  Files          11       11
  Lines         884      899      +15
  Branches       93       93
==========================================
+ Hits          877      887      +10
- Misses          7       12       +5

Impacted Files
Coverage Δ

aiocache/backends/redis.py
100% <100%> (ø)
:arrow_up:

aiocache/base.py
97.96% <58.33%> (-2.04%)
:arrow_down:

Continue to review full report at Codecov.

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


Hades + Pete arena weird tracking.

Hades will get tracked along with the randomized boss in Hades arena.
Pete will get tracked along with the randomized boss in TR Pete arena.

Closed in .04


package import specifier "#internal/nitro" is not defined in package when running npm run generate on windows

Environment

Operating System: Windows_NT
Node Version:     v16.13.1
Nuxt Version:     3.0.0-rc.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
npx nuxi init nuxt-app
cd nuxt-app
npm install
npm run generate

Describe the bug
Trying out Nuxt 3 for the first time, I mainly care for deploying statically generated sites. I tried out npm run generate and got this error: Package import specifier "#internal/nitro" is not defined in package.
Additional context
No response
Logs
ERROR  [nuxt] [request error] Package import specifier "#internal/nitro" is not defined in package D:\1stuff\dev\2022\prisma-rest-express\nuxt-app\package.json imported from D:\1stuff\dev\2022\prisma-rest-express\nuxt-app\.nuxt\dist\server\server.mjs
  at new NodeError (node:internal/errors:371:5)
  at throwImportNotDefined (node:internal/modules/esm/resolve:429:9)
  at packageImportsResolve (node:internal/modules/esm/resolve:778:3)
  at moduleResolve (node:internal/modules/esm/resolve:924:21)
  at defaultResolve (node:internal/modules/esm/resolve:1044:11)
  at ESMLoader.resolve (node:internal/modules/esm/loader:422:30)
  at ESMLoader.getModuleJob (node:internal/modules/esm/loader:222:40)
  at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
  at link (node:internal/modules/esm/module_job:75:36)

Same but on Ubuntu 23.04 KDE
500
Package import specifier "#internal/nitro" is not defined in package /home/user/repos/website/package.json imported from /home/user/repos/website/.nuxt/dist/server/server.mjs
at new NodeError (node:internal/errors:387:5)
at throwImportNotDefined (node:internal/modules/esm/resolve:453:9)
at packageImportsResolve (node:internal/modules/esm/resolve:836:3)
at moduleResolve (node:internal/modules/esm/resolve:994:21)
at defaultResolve (node:internal/modules/esm/resolve:1214:11)
at nextResolve (node:internal/modules/esm/loader:165:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:844:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:431:18)
at ModuleWrap. (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36)

Would you open a new issue with a reproduction? This issue was closed a year ago. 🙏

@Efcolipt You have an instance running somewhere else. It says EADDRINUSE

facing this issue too after update

concurrent run of npm run build  and npm run dev cause this issue.
you can delete your .nuxt folder then run either of the two command.
Kindly avoid the commands at the same time


Use it with Consolidate?

Hello!
Is it possible to use this great package with Consolidate?
I think it will be a good option.
Thanks!

Hi @slavafomin ,
From what I can see, twig.js is not supported by Consolidate yet.
But it's pretty straightforward to add it to Consolidate.
Let's leave this issue open so someone can handle it one day unless you'd like to do it yourself.

This is sort of a big deal, as compatibility with express, and consolidate supporting static generators (metalsmith for example) would rely on this to function seamlessly.

Hi, @madeofpeople @slavafomin
I think this got added to Consolidate? https://github.com/tj/consolidate.js/blob/master/lib/consolidate.js#L472
If someone wants to check it actually works, then great :) Otherwise, closing!


reorder functions should be public

Functions like ".reorderCeldaCG" should be exported so that they can be called after applying recursivesplit functions with reorder=FALSE

The exported function reorderCelda has been added (#327) to automatically reorder the cell cluster and/or feature module labels. recodeClusterZ and recodeClusterY can be used to manually set the cell cluster and feature module labels.


Typo on name of files on dist

Hi,
Please, fix typo on files angular-dragula.js to angularjs-dragula.js inside the folder dist. It is causing error on site exemple.
Thanks,
Danilo

This causes problems with webpack/typescript environments as well, the import currently needs to be `angularjs-dragula/angular-dragula' which is cumbersome.

Fixed in 2.0.0


Html Unescape getting decoded HTML

Hi,
If I have a string like this in Flutter:
final String html = "Bold"
then can I use this library to display bold string instead of Bold

Use String replaceAll.


Functions apply doesn't get the proper gradients when working with batched images

I don't know why this is happening but I don't get the proper gradients. I will work on this first for the new release

Does 1.1.1 fix this issue? or are these different gradient problems?


feat:ability to add user presets

this will give ability to add user presets
filename:/usr/lib/systemd/user-preset/50-osbuild.preset

After some back and forth in chat, @thozza, @ondrejbudai, and I agreed that it would be better for this to be merged into the existing org.osbuild.systemd.preset stage.  We can add a new section to the schema which is the same as the current one, under the name user-presets.

We can add a new section to the schema which is the same as the current one, under the name user-presets.

addressed.

The issue this PR was meant to solve was eventually covered by #1363.  The functionality might still be useful though, so maybe we should clean this up and get it in?

I agree fully with @achilleas-k, I will circle back to it to added the tests after this week.


Unclosed root tag

"Unclosed root tag" error message in the console.  An intermittent problem which is being caused because another package I'm using to format my files on save is modifying the file as atom-maven is trying to read from it.

Happens only when I add comments into the pom file.


temperature

Is the temperature always 20C?

@danpadure can you please describe your question a little bit more?
What do you mean?
The return of a read-out temperature?
The default set temperature?

the reported battery temperature seems to be always 20C?
even in the example in the readme file, the temperature is still 20C  :)

okay, there you have to ask renault. This is the exact same JSON result that we get from the API gateway.
I expect this is not filled by renault.
I will close that issue because I can nothing do around that topic. Feel free to reopen if you still have an open question around that topic.


An error occurs when a subdirectory exists in the image directory

Hi @sonodar,
Thank you for publishing this great plugin that enables us to easily use reg-suit locally!
In our test environment, the directory where captured images are stored is hierarchical. In other words, it contains subdirectories.
When using reg-publish-filesystem-plugin in that environment, I encountered the following error.
$ npx reg-suit run
[reg-suit] info version: 0.14.3
[reg-suit] info Detected the previous snapshot key: 'xxxxxxxxxxxxxxxx'
                                         ■ 0% | ETA: 0s | 0/1[reg-publish-filesystem-plugin] info Download 1 files from .reg-assets.
SystemError [ERR_FS_EISDIR]: Path is a directory: cp returned EISDIR (/Users/dash14/example/.reg-assets/xxxxxxxxxxxxxxxx/actual/sub_dir is a directory (not copien
    at new SystemError (node:internal/errors:250:5)
    at new NodeError (node:internal/errors:361:7)
    at getStatsForCopy (node:internal/fs/cp/cp:200:11) {
  code: 'ERR_FS_EISDIR',
  info: {
    message: '/Users/dash14/example/.reg-assets/xxxxxxxxxxxxxxxx/actual/sub_dir is a directory (not copied)',
    path: '/Users/dash14/example/.reg-assets/xxxxxxxxxxxxxxxx/actual/sub_dir',
    syscall: 'cp',
    errno: 21,
    code: 'EISDIR'
  },
  errno: [Getter/Setter: 21],
  syscall: [Getter/Setter: 'cp'],
  path: [Getter/Setter: '/Users/dash14/example/.reg-assets/xxxxxxxxxxxxxxxx/actual/sub_dir']
}

The reg-suit supports a hierarchical directory structure.
It would be very helpful if this plugin could also handle the existence of subdirectories without problems.
I will create a PR after this. I would be pleased if you could review it.

@dash14
This issue has been resolved in 0.2.0.
https://www.npmjs.com/package/reg-publish-filesystem-plugin/v/0.2.0

@sonodar
Thanks for the quick release!
Once again, I appreciate your creation of such a great plugin!


Modified both dropdowns so that they allow props to bubble down.

This is so that the dropdowns can have their specific characteristics,
while still allowing users to customize them.

🔥  lit ty
looks like you rebased and squashed everything into one big commit? since the "old" dropdown stuff is already on master might have been easier to make a new branch so there's no merge conflict 👍

Lol yeah I squashed and rebased... They say be careful when rebasing, it’s not good all the time. Now I know why lolol


Windows Stdin Broken

Reading passwords from stdin on Windows does not work, key derivation always fails.

Write-Output "" |  .\minisign.exe -Sm .\foo.txt

This should now be fixed with v0.3.0 Otherwise, re-open.


About fkl function

Hello Julieta,
I am a graduate student who is interested in motion prediction.
I have questions about fkl function of forward_kinematics.py.

The dimension of the angles received by the fkl function is 99, the first dim 1,2 and 3 represents the translation of the root joint, the dim 4, 5 and 6 represent the Exp.Coord of the root joint, dim 7~99 represent the Exp.coord of the remaining joints. Is it correct?

I do not know what rotInd and expmapInd represent. Looking at line 48 of forward_kinematics.py, position is updated with thisPosition = np.array ([xangle, yangle, zangle]), where xangle, yangle, and zangle are Exp.coord.  xangle, yangle, and zangle are Exp.coord, why does this represent position?
Line 52 does not make sense to update xyz by adding offset (bone length).

The 54,55 line forward kinematics part is not well understood. I would be very grateful if you could explain it.

Hi @DK-Jang,

The dimension of the angles received by the fkl function is 99, the first dim 1,2 and 3 represents the translation of the root joint, the dim 4, 5 and 6 represent the Exp.Coord of the root joint, dim 7~99 represent the Exp.coord of the remaining joints. Is it correct?

Correct!

I do not know what rotInd and expmapInd represent. Looking at line 48 of forward_kinematics.py, position is updated with thisPosition = np.array ([xangle, yangle, zangle]), where xangle, yangle, and zangle are Exp.coord. xangle, yangle, and zangle are Exp.coord, why does this represent position?
Line 52 does not make sense to update xyz by adding offset (bone length).

PRO TIP: Use permalinks when you refer to code in issues.
https://github.com/una-dinosauria/human-motion-prediction/blob/c9a2774fe59bb78c6ec6d04e15f2cb7243c4348c/src/forward_kinematics.py#L48
My code is a python port of the Matlab function by @gwtaylor at https://github.com/gwtaylor/imCRBM/blob/master/Motion/exp2xyz.m
I believe I made some mistakes when I simplified the logic (eg adding position to angles when I shouldn't have), but these do not seem to be numerically significant -- please see https://github.com/una-dinosauria/human-motion-prediction/issues/23.
If you come to understand the code better, please consider submitting a pull request to fix the code.

3.The 54,55 line forward kinematics part is not well understood. I would be very grateful if you could explain it.

This is the core of forward kinematics: https://en.wikipedia.org/wiki/Forward_kinematics. To obtain the position of the kth joint down the kinematic tree, we have to apply the rotations of the previous (k-1) joints, and add the bone offsets.

Thank you for your kindness! :)
I read #23 you said. It seems to me that my curiosity has been resolved.
But, There is still strange parts for me. You said, "Regarding the 32 joints, I believe only 17 are independent, and the rest are end effectors as you call them." in #23. I think 17 independent joints are 0,1,2,3,6,7,8,12,13,14,15,17,18,19,25,26, and 27 (refer to https://github.com/una-dinosauria/3d-pose-baseline/blob/1ca400232ad6158050d8b292ac812d94dbb49d74/src/data_utils.py#L20-L38).
But this joint order is different with dimensions_to_use from https://github.com/una-dinosauria/human-motion-prediction/blob/c9a2774fe59bb78c6ec6d04e15f2cb7243c4348c/src/translate.py#L684
I think these moving joints orders are equal to dim_to_use from
https://github.com/una-dinosauria/human-motion-prediction/blob/c9a2774fe59bb78c6ec6d04e15f2cb7243c4348c/src/data_utils.py#L322
What do you think about this?


Querying part configQuery returns multiple parts configs on a page

When querying part data on a page.
 {
              image {
                ... on media_Image {
                  displayName
                  imageUrl(scale:"width(740)")
                }
              }
              text(processHtml:{type:absolute}) {
                processedHtml
              }
              alignment
              border
              docked
            }

NB! This query should not work since it has incorrect brackets. Yet this works.
The result is an array of part data:
{
  part: {
    descriptor: 'app:box',
    config: {
      text: [Object],
      image: [Object],
      alignment: 'left',
      border: 'false',
      docked: 'true'
    }
  },
  path: '/main/0/main/0',
  data: undefined,
  common: undefined,
  meta: {
    type: 'app:page',
    path: 'page',
    requestType: 'type',
    renderMode: 'preview',
    canRender: true,
    catchAll: false
  }
}
{
  part: {
    descriptor: 'app:box',
    config: {
      text: [Object],
      image: [Object],
      alignment: 'right',
      border: 'false',
      docked: 'false'
    }
  },
  path: '/main/1/main/0',
  data: undefined,
  common: undefined,
  meta: {
    type: 'app:page',
    path: 'page',
    requestType: 'type',
    renderMode: 'preview',
    canRender: true,
    catchAll: false
  }
}

When querying part data on a page.
 {
              image {
                ... on media_Image {
                  displayName
                  imageUrl(scale:"width(740)")
                }
              }
              text(processHtml:{type:absolute}) {
                processedHtml
              }
              alignment
              border
              docked
            }

NB! This query should not work since it has incorrect brackets. Yet this works.
The result is an array of part data:
{
  part: {
    descriptor: 'com.enonic.web.enonic.com:feature-box',
    config: {
      text: [Object],
      image: [Object],
      alignment: 'left',
      border: 'false',
      docked: 'true'
    }
  },
  path: '/main/0/main/0',
  data: undefined,
  common: undefined,
  meta: {
    type: 'com.enonic.web.enonic.com:landing-page',
    path: 'new-platform-page',
    requestType: 'type',
    renderMode: 'preview',
    canRender: true,
    catchAll: false
  }
}
{
  part: {
    descriptor: 'com.enonic.web.enonic.com:feature-box',
    config: {
      text: [Object],
      image: [Object],
      alignment: 'right',
      border: 'false',
      docked: 'false'
    }
  },
  path: '/main/1/main/0',
  data: undefined,
  common: undefined,
  meta: {
    type: 'com.enonic.web.enonic.com:landing-page',
    path: 'new-platform-page',
    requestType: 'type',
    renderMode: 'preview',
    canRender: true,
    catchAll: false
  }
}

@poi33 I counted brackets and it seems perfectly correct to me ;)
You have 2 part entries in the result, because you have 2 parts on the page, notice different paths with the same descriptor:
{
  part: {
  descriptor: 'app:box',
  config: {...},
  path: '/main/0/main/0' <===
},
{
  part: {
  descriptor: 'app:box',
  config: {...},
  path: '/main/1/main/0' <===
}

And the result of configQuery is actually the config object in each part, so I do not see a problem here.
Thus, I will need more details to replicate it:

do you set this query as configQuery ?
Where do you see the result you posted ?
What result do you expect ?

Should'nt the result have appeared contextually per component, like regular query results? We don't want devs to deal with these paths?

Absolutely ! That is why I asked where did he gotten this result from.
On Mon, Aug 8, 2022, 20:26 Thomas Sigdestad @.***>
wrote:

Should'nt the result have appeared contextually per component, like
regular query results? We don't want devs to deal with these paths?
—
Reply to this email directly, view it on GitHub
https://github.com/enonic/nextjs-enonic-demo/issues/355#issuecomment-1208402303,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFYELMPHV5NVB7D5INCTD3VYE7NPANCNFSM55SX755A
.
You are receiving this because you were assigned.Message ID:
@.***>

Tried to recreate this again.
And it looks like the configQuery works as intended.
I did something wrong in the setup here. MIght have tried this on older _enonicAdaptor code 🤷
Closing as I cant recreate this issue.


Toggle line comments on blank line indents incorrectly

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
The editor:toggle-line-comments command has broken for blank lines in Atom v1.22.0-beta0, it's starting the comment at the beginning of the line instead of at the proper indentation level.
Steps to Reproduce

Have indented code
Go to a new line
Trigger editor:toggle-line-comments

Expected behavior:
Comment starts at the proper indentation.

(Atom v1.21.0)
Actual behavior:
Comment starts at the beginning of the line with no indentation.

(Atom v1.22.0-beta0)
Reproduces how often:
100% of the time.
Versions
Broken:
Atom    : 1.22.0-beta0
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0

Working:
Atom    : 1.21.0
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0

I believe this was fixed by https://github.com/atom/atom/pull/15799
/cc: @maxbrunsfeld Should we hotfix this?

Should we hotfix this?

Yes. Thanks for reminding me!

Sorry for this. This will go out in our next Beta hotfix.

No problem, that's what betas are for 😉.

Great, now it's indent with spaces, ignoring tabs :expressionless:
Should I create the new issue?

I've created #16193 :man_shrugging:


Import scss as lit-element css tagged templates

Changes

This PR is trying to introduce support for constructable stylesheets with lit-element's css tagged templates
In order to code and test my changes I had to fix a little bug that was preventing me to use the sass plugin in debug mode.
I ended up adding another css proxy and, to distinguish between the case in which the style has to be loaded
in the page and when instead it has to be exported as constructable stylesheet, the import resolution uses a query parameter type.
I introduced the concept of proxy type and I made it configurable using regex (see the new template app README.md) so that it applies only to specific parts of the codebase and it is transparent (or almost so) to the developers.

Testing

A new app-template-lit-element-sass has been created and used as workbench.

Docs

The app template README.md provides guidance on the features added in the PR and the comments in the code help understand why the template uses css/sass classes ito show shadow-dom and constructable stylesheets in action.

This is actually intentionally not supported right now, since all bundler plugins expect CSS to return an empty import.
But, I still want us to support this. Maybe via a simple one-off for this use-case (ex: cssLoader: 'text' | 'style'). Do you mind spinning off a Discussion to discuss further? https://github.com/snowpackjs/snowpack/discussions/new

Hi @glromeo, since this PR was closed is there a way to achieve [S]CSS import as string ? thanks

Hi @eskan,
I tried to come up with a plugin: https://github.com/glromeo/snowpack-plugin-css-result  but even with<EMAIL_ADDRESS>I found few limitations so I am not happy with it... but it works. I hope it helps you too.

Thanks @glromeo, i'll take a look to your sample. I'm always surprised that import SCSS in a lit-element way is always difficult. We should be a few to use it :/ !!

Nice plugin @glromeo .. it works fine. I'm just asking a question : instead of create the cssProxyThing when the file is not in the include array, is there a way to delegate the scss result content to another plugin ? this will prevent to hard coded it.

@eskan that's what I would have liked to do but I couldn't.


Handle no lens results

Adding logic to handle and return early the case where there are no lens results when fetching a list of borrower nfts.

We should investigate why the lens call is failing. That shouldn't happen.

While I agree, it is failing, so we should have logic to handle such a case.

Turns out this happens because the multicall context has zero calls. To fix, we should change the enclosing if statement to look like this:
  // Fetch borrowers' in-use status and Uniswap pool, which we'll need for filtering
  if (
    (filterParams?.includeFreshBorrowers || Boolean(filterParams?.validUniswapPool)) &&
    borrowerManagerSets.size > 0
  )

(testing that the set is non-empty is the key)


⚠ Processors has degraded performance

In 41b3d96, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 115 ms

Resolved: Processors performance has improved in 38a32ff.


In Privacy Policy there is no padding or margin at top of heading🐞 Bug

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
In Privacy Policy there is no padding or margin at top of heading,,this is a bad user exxperience

Steps To Reproduce

Go to home page
Go to about section
Go to Privacy Policy section

Expected Behavior
there should be padding or margin at the top
Screenshots
No response
Device Information [optional]
- OS:
- Browser:
- version:

Additional context
No response
Are you working on this issue?
Yes

@nitin10s @tanmoysrt please review my issue

please assign me in this issue

Yeah i would add a margin top in the privacy section , i would raise a pr in just few hours

merging its contents to #4550


RAINCATCH-1061 TaskRegistry

Description
Add a registry for custom Task implementations, that can be listed by UI so the user can select between them to be included in a new ProcessInstance
Progress

[X] TaskRegistry
[X] TaskHandler interface
[ ] Update Result to match current UI usage
[ ] Unit tests
[ ] Documentation

@paolobueno - I got famillar myself with the idea, but cannot really verify this now until we going to integrate this.

Let's put this on hold for the moment. Let's link that PR to ticket and we can reopen it when we are back. Feel free to reopen.


[SIDECAR] sidecar servers should have an "enabled" switch

All the servers inside sidecar:

Admin api server
Sse server
REST API server
RPC server
should, in their respective configuration have a enable_server property which defaults to false (analogously as in the node configurations). If enable_server is false - the server doesn't spin up. If all servers are defined in config but have enable_server= false, sidecar should exit.

As per the triage, @zajko will check and confirm if this is already done.

Confirmed as done.


Add support for Akka classic in dumping persistence schema

Huh okay, before you start further work here (as the effort/benefit ratio might not be the best for this issue)...

"candidates" for types that might be used

By used, you mean that you would detect all the types that extend any of these types and consider them to be persisted types whose schemas needs to be dumped? 🤔 Best if you could provide some small sandbox-like example here of a class and its corresponding dump in the comments


Interactive visualization of the RTT plot

I propose that the RTT plot data can be extracted from the tree that is already being passed from R to JS.  It should even be possible to carry out the linear regression in JS (on the client side)

Further on this, I would like to investigate combining the three trees that are currently being passed to JS as a single object.


adtool: unbreak it

Description of changes
unbreak it
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

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

As adtool' is a client only, in order for someone to exploit any issues in this version of openldap, you would need to control a server that can send malicious content to adtool', so the risk seems extremely limited IMHO.
That being said, there might be CVEs applicable to this version- I admittedly haven’t checked. So we could obviously tag this accordingly if there are any. b, even if there is, I don’t plan on reviewing the entire adtool code base to see if it actually uses the vulnerable parts or not.
I fully understand where you are coming from, I just thing the risk is absolutely managable given this version being restricted to `adtool' only and adtool being a client only.
Thoughts?

but I’m not convinced that we should revive dead software on unstable unless there’s a very good reason.

Software that still works and is used by someone isn’t really dead IMHO despite the upstream development speed being slow (or not moving at all).
And again, there’s a huge difference between exposing software with known vulnerabilities to a wider audience when run as a network reachable service and using a client that uses a possibly vulnerable component.

Anyways, forwarded it to security discussion to get some more opinions.

Do you have a link? It’s absolutely a “bigger” and more principled discussion than fixing this specific tool.

Software that still works and is used by someone isn’t really dead IMHO despite the upstream development speed being slow (or not moving at all).

I hope no Windows XP user follows this thread.

And again, there’s a huge difference between exposing software with known vulnerabilities to a wider audience when run as a network reachable service and using a client that uses a possibly vulnerable component.

For a distribution there's an expectation that we ship a secure package-set. This actively breaks this assumption and this would also set a problematic precedence for similar changes in the future. It's unfortunate enough that we had to keep e.g. python2 after its EOL for so long.
So to me this sounds like something that belongs to an unofficial overlay.

I hope no Windows XP user follows this thread.
I’m not entirely sure what point you are trying to make here. WinXP still has its uses and as long as necessary precautions are taken, that may very well be the best solution. Putting it on an end-user device used to access the wider internet? Not so great. Controlling industrial machinery in an air-gapped environment? Might be your only option.
For a distribution there’s an expectation that we ship a secure package-set.
“Secure” is not a binary choice between “secure” and “not secure”. Security is on a continuum.
This actively breaks this assumption and this would also set a problematic precedence for similar changes in the future.
Shipping adtool means “here is a piece of software that might expose you to having your device compromised if you are using it to talk to a domain controller controlled by a malicious entity”. If someone can plop a new DC on your network, you have waaaaaay bigger problems than an old version of openldap. Realistically, what are the odds that you would be impacted by this? It’s not 0, but it’s pretty damn low. You don’t use it to connect to random domain controllers - it’s mainly used for internal networks.
It’s unfortunate enough that we had to keep e.g. python2 after its EOL for so long.
That is a completely different beast. A language interpreter and an entire ecosystem with thousands of plugins used to write all kinds of software doing all kinds of things exposed to all kinds of hostilities vs a tool used for talking to internal, trusted servers. Apples to oranges.
So to me this sounds like something that belongs to an unofficial overlay.
That might very well be - in any case, it’s a discussion worth having as it is of a principle nature. Did you raise it elsewhere? If not, I’ll go ahead.

Controlling industrial machinery in an air-gapped environment? Might be your only option

Sure, but such a use-case doesn't qualify for inclusion into a distribution. With that reasoning you could keep (almost) any package in nixpkgs, including python2.
If you need to use that tool, that's perfectly fine, I don't mind. My point is that I'm not convinced that this should be part of nixpkgs then.

Did you raise it elsewhere? If not, I’ll go ahead.

I asked in the NixOS security discussion Matrix channel, but didn't get an answer there, so go ahead.
Part of my reservation is that we'd probably set a precedence with this patch that might bite us in the future. So yeah, discussing this in general and not about this package in particular is a good way forward.


All imports unresolved when using PowerShell

I could not figure out why all of my imports were showing as unresolved until I ran eslint in a normal command prompt rather than PowerShell.  In PowerShell, all of my imports show up as unresolved, but when I run it at a normal command prompt, there are no errors.
In PowerShell, it doesn't resolve modules from node_modules directory, nor my local imports:
 error  Unable to resolve path to module 'react'         import/no-unresolved
 error  Unable to resolve path to module 'redux'         import/no-unresolved
 error  Unable to resolve path to module 'react-redux'   import/no-unresolved
 error  Unable to resolve path to module './../login'    import/no-unresolved

Has anyone experienced this, or know why this is happening? I assume it has to do with relative pathing and how PowerShell interprets them.
Edit: Forgot to say, when I hardcode the full path to a module that I am importing (c:\projects\src...), it works fine in PowerShell.  It appears to be the relative paths and node_modules that do not work.

Wild. I have no idea. I would guess something to do with the working directory (see recent Webpack resolver issues for some detail).
I am completely unfamiliar with PowerShell, though. Hopefully someone else has an idea. 😅

I figured out the problem.  It was a case sensitivity issue.  I had cd'd into my project directory in Powershell without using the proper casing.  For example, on disk the path was C:\Projects\src... and I had used cd c:\projects\src....  Powershell does not adjust the path to use the correct case as it appears on the disk, and instead moves you into the directory with the exact casing that you type. I think the code in resolve.js was checking that the entire path, not just the relative portion, had the proper case, and thus was failing to resolve.
The following condition in /src/code/resolve.js was true when running in powershell, causing all imports to show as unresolved.
if (filenames.indexOf(basename(filepath)) === -1) {
  result = false
} else {
  result = fileExistsWithCaseSync(dir, cacheSettings)
}

I dug a little deeper and checked the code for basename in the path module.  It is as follows:
win32.basename = function(path, ext) {
  var f = win32SplitPath(path)[2];
  // TODO: make this comparison case-insensitive on windows?
  if (ext && f.substr(-1 * ext.length) === ext) {
    f = f.substr(0, f.length - ext.length);
  }
  return f;
};

I'm guessing that the TODO in there (as well as a quick glance at the code) means that the current version of that function is case sensitive, and is possibly contributing to this situation.
I'm not sure if this is an issue or not with the code in eslint-plugin-import or more of an issue with the path module.  Feel free to close this if you take a look and decide it's not an issue with this plugin.
If you want to reproduce this issue, you can simply run the tests in this module from the command line in Powershell, all of the resolve tests will fail.
If you need any more information, please let me know, I'm happy to help.  Thanks!

I think I will close this issue for now, seems like something that would be solved by making case-sensitive resolution optional.


When  “Mark as cell(s)” in the plugin, there is an error: ‘Selection’ object is not subscriptable.

New bug with napari v0.4.8
https://forum.image.sc/t/cellfinder-napari-crashes-with-segmentation-fault-on-macos-when-saving-training-data-in-curation/52978/

I am also seeing this error (without any crashing like the original post in the forum).
`TypeError                                 Traceback (most recent call last)
/opt/anaconda3/envs/brainglobe/lib/python3.8/site-packages/cellfinder_napari/curation.py in mark_as_cell(self=<cellfinder_napari.curation.CurationWidget object>)
268
269     def mark_as_cell(self):
--> 270         self.mark_point_as_type("cell")
self.mark_point_as_type = <bound method CurationWidget.mark_point_as_type of <cellfinder_napari.curation.CurationWidget object at 0x7f3f546b7f70>>
271
272     def mark_as_non_cell(self):
/opt/anaconda3/envs/brainglobe/lib/python3.8/site-packages/cellfinder_napari/curation.py in mark_point_as_type(self=<cellfinder_napari.curation.CurationWidget object>, point_type='cell')
286
287         if len(self.viewer.layers.selected) == 1:
--> 288             layer = self.viewer.layers.selected[0]
layer = undefined
self.viewer.layers.selected = Selection({<Points layer 'Cells' at 0x7f3f54080ac0>})
289             if type(layer) == napari.layers.Points:
290
TypeError: 'Selection' object is not subscriptable
`

Can you try downgrading to napari version 0.4.7? This should fix it until I get time to look into this properly.

Tentatively that seemed to work. Thank you!

We've deprecated 'viewer.layers.selected', now 'viewer.layers.selection' should be used. It's now a set, so you might need to do list(viewer.layers.selection)[0] to recover the above behaviour. Sorry for that breaking change

Thanks @sofroniewn, this is fixed in df63b31a69251751d7237decaa360da36c9da26d.
@kailynkfields this will be in version 0.0.12 by the end of the day.


Pollers abruptly exiting

Customer of mine is complaining about pollers abruptly exiting and looking for ways to identify and fix the issues
        We are still seeing issues of pollers abruptly existing.

[root@dc6-netapp-harvest-01 harvest]# harvest status | grep unknow
dc6-engineering-scratch    dc6-cdot01            3370                       unknown: os: process already finished
dc6-engineering-scratch    dc6-cdot03            3382                       unknown: os: process already finished
dc6-engineering-ec         dc6-cdot04            3394                       unknown: os: process already finished
dc6-engineering-chamber    dc6-cdot13            3566                       unknown: os: process already finished
dc6-engineering-scratch    dc6-cdot14            3583                       unknown: os: process already finished
dc6-engineering-flexclone  dc6-cdot16            3616                       unknown: os: process already finished
dc6-corporate              dc6-cdot18            3636                       unknown: os: process already finished
dc6-engineering-ec         dc6-cdot20            3679                       unknown: os: process already finished
dc6-engineering-scratch    dc6-cdot21            3701                       unknown: os: process already finished
dc6-engineering-scratch    dc6-cdot24            3719                       unknown: os: process already finished
[root@dc6-netapp-harvest-01 harvest]# ps -aef | grep 3370
root     15648 15586  0 22:03 pts/0    00:00:00 grep --color=auto 3370
Logg file is not having any clue why pollers are exiting. You can see the log has stopped recording activity after 27th of June
[root@dc6-netapp-harvest-01 harvest]# tail -f /var/log/harvest/poller_dc6-cdot01.log
2021/06/27 22:21:19  (warning) (collector) (ZapiPerf:ExtCacheObj): target unreachable, entering standby mode (retry to connect in 16 s)
2021/06/27 22:21:19  (warning) (collector) (ZapiPerf:NFSv3): target unreachable, entering standby mode (retry to connect in 16 s)
2021/06/27 22:21:22  (error  ) (collector) (ZapiPerf:FcpPort): instance request: connection error => Post https://dc6-cdot01.nvidia.com:443/servlets/netapp.servlets.admin.XMLrequest_filer: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2021/06/27 22:21:22  (info   ) (collector) (ZapiPerf:FcpPort): no [FcpPort] instances on system, entering standby mode
2021/06/27 22:21:24  (warning) (collector) (ZapiPerf:CIFSNode): target unreachable, entering standby mode (retry to connect in 16 s)
2021/06/27 22:21:24  (warning) (collector) (ZapiPerf:HeadroomAggr): target unreachable, entering standby mode (retry to connect in 16 s)
2021/06/27 22:21:29  (warning) (collector) (ZapiPerf:CopyManager): target unreachable, entering standby mode (retry to connect in 16 s)
2021/06/27 22:22:12  (info   ) (poller) (dc6-cdot01): updated status, up collectors: 0 (of 41), up exporters: 1 (of 1)
2021/06/27 22:23:10  (info   ) (collector) (ZapiPerf:Disk): recovered from standby mode, back to normal schedule
2021/06/27 22:23:10  (warning) (collector) (ZapiPerf:Disk): lagging behind schedule 15.17607ms
Can’t even stop and start dead pollers.
[root@dc6-netapp-harvest-01 harvest]# harvest stop dc6-cdot01 dc6-cdot03 dc6-cdot04
Datacenter               Poller                PID        PromPort        Status
++++++++++++++++++++++++ +++++++++++++++++++++ ++++++++++ +++++++++++++++ ++++++++++++++++++++
os: process already finished
dc6-engineering-scratch  dc6-cdot01            3370                       unknown: os: process already finished
os: process already finished
dc6-engineering-ec       dc6-cdot04            3394                       unknown: os: process already finished
os: process already finished
dc6-engineering-scratch  dc6-cdot03            3382                       unknown: os: process already finished
++++++++++++++++++++++++ +++++++++++++++++++++ ++++++++++ +++++++++++++++ ++++++++++++++++++++
[root@dc6-netapp-harvest-01 harvest]# harvest start dc6-cdot01 dc6-cdot03 dc6-cdot04
Datacenter               Poller                PID        PromPort        Status
++++++++++++++++++++++++ +++++++++++++++++++++ ++++++++++ +++++++++++++++ ++++++++++++++++++++
can't verify status of [dc6-cdot01]: kill poller and try again
can't verify status of [dc6-cdot04]: kill poller and try again
can't verify status of [dc6-cdot03]: kill poller and try again
++++++++++++++++++++++++ +++++++++++++++++++++ ++++++++++ +++++++++++++++ ++++++++++++++++++++
How we can identify the issue here and fix it?

What version of Harvest are you using? Judging by the logs this is an older version. There have been improvements made over the past month around pollers panicing. Can you grab the latest version (21.05.3) and try with it?

Harvest 2.0 GA version

customer has upgraded to latest version and share feedback in few days

after upgrading the harvest to the latest version, Prometheus is failing to scrap the metrics.  Below is the screenshot
This is happening across all 5 harvest pollers post upgrade. This makes me believe there is some issue with harvest pollers after the uprade. Customer has opened an issue in GitHub as well as #308. Can you please followup on this ASAP?

Hi @demalik in #308 I asked some questions a few days ago. Let's continue the conversation there


After fine-tuning can we push the mode to Hugging Face?

Not yet, but we will start tracking this as a feature request! Thanks for the suggestion.

@FarziBuilder can you sketch out the experience you're thinking about about in more detail? Is it something like FineTune.publish(my_finetune_id, "huggingface")? Or would you be ok with an API to download a zip file that you yourself upload to HF?

either of these would work. but being able to retrieve the model post finetune is critical to use this.

Ok after some discussion internally, we'll go for the latter (downloading an artifact that you can push to HF yourself).

@yixu34 by when can it be added?

@FarziBuilder ETA is ~2 weeks

Just following up on this, we have things merged, but need to do some additional testing. There are some other items that have come up for us, should hopefully merge this in the next week or so.

After https://github.com/scaleapi/llm-engine/pull/237, a fine-tuned model artifact can be downloaded successfully.
tested out this feature and it works. Please refer to the Model.download() documentation. Then, you can push to HF. Hope this helps!


Add conversion system for phase-space element types

In #39 the evaluation of diffCS on coordinates was added, which is essentially just a wrapper around the evaluation on four-momenta. This includes a conversion of a vector of reals (referred to as coordinates) to a vector of four-momenta by using the function _generate_momenta. As @AntonReinhard suggests, we should extend this idea to a full conversion system, which takes phase-space points with any element type and converts them into four-momenta. For four-momenta itself, the conversion is then just the identity.
The wrapper could then look like
function diffCS(ps::AbstactVector{T}) where {T}
    input_momenta = convert_phase_space_point(ps,SFourMomentum)
    return _diffCS_kernel(input_momenta)
end

where _diffCS_kernel is the internal version of diffCS evaluated only on four-momenta and using the differential cross-section interface (see #38 for detail).
An open question is the treatment of phase space definition in this context; This issue is therefore somewhat related to #43.
Originally posted by @AntonReinhard in https://github.com/QEDjl-project/QEDprocesses.jl/pull/39#pullrequestreview-1962852551

With the full implementation of the PhaseSpacePoint type, this is solved now. See #51, #63, and #68. It serves as a common internal representation of phase space points, and any representations can be converted to it in a specific constructor.


Feature request: Toggle button

Hi,
Awesome stuff!
Is it possible to also have a toggle button for people not familiar with the keyboard shortcuts?

Hi,
I can expose some JavaScript functions, that you can call to toggle or set the visibility of the sidebars. Then a button or link can just call these functions. But since each theme is different, adding buttons for all of them may not be straightforward. The following approaches come to my mind:

User is responsible for adding the buttons: easiest for me, extra work for users. But I could try to document some examples.
Buttons are added to the bottom of a page: simple to implement, but they likely look out of place
Buttons are added to nav (page navigation): not sure how hard it would be to implement
Some existing elements in the themes are repurposed to act as the toggles: Most work to implement, might not be self-explaining

Do you have any other ideas? Which of the approaches would you prefer?

Hi @six-two,
I managed to get this working:

toggle_sidebar.js - click to preview!
document.addEventListener("DOMContentLoaded", function() {
  const toggleBtn = document.createElement('button');
  toggleBtn.id = 'sidebar-toggle';
  toggleBtn.innerHTML = '☰';
  toggleBtn.title = 'Toggle sidebar';
  toggleBtn.onclick = function() {
    document.querySelector('.md-sidebar--primary').classList.toggle('hidden');
  };

  // Find the title element and insert the button after it
  const titleElement = document.querySelector('.md-header__title');
  titleElement.parentNode.insertBefore(toggleBtn, titleElement.nextSibling);
});

toggle_sidebar.css - click to preview!
#sidebar-toggle { */
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: inherit;
  margin-left: 1rem;
  margin-top: -5px;
}
.md-sidebar--primary.hidden {
  display: none;
}

mkdocs.yaml - click to preview!
extra_css:
  - mkdocs/settings/stylesheets/toggle_sidebar.css

extra_javascript:
  - mkdocs/settings/javascript/toggle_sidebar.js

Shows up nicely to the top right like this:

Thank you. If you want to proceed here, we can keep this open otherwise free to close. 👍

@mihaigalos Thanks for the code.
I now export an API (see docs/javascript-functions.md). This has the benefit of working with all supported themes and saving the state (which side bars are shown or hidden).
I also played around with your code and implemented a button (for now in Material theme only) similar to it. You can include it by setting toggle_button to all, navigation or toc:
plugins:
- search
- toggle-sidebar:
    toggle_button: toc

You can try it out by installing the version from the main branch:
pip install -U git+https://github.com/six-two/mkdocs-toggle-sidebar-plugin

I implemented the feature for the remaining themes and released it with version 0.0.4


Support buildOutputPath for Next.js

buildOutputPath is not supported for OpenNext in NextjsSite like it is in the CDK version of SST. I tried pointing path to where the .next output is expected, but that doesn't work b/c it expects to find Next source code it seems, or at least it checks the path before running the build command.

Thanks @khalil-omer
Ion uses OpenNext v3. In v3, you can set buildOutputPath in your open-next.config.ts.


t is not a function

Hi @hzmming,
This is very useful to me, however this gives error, it says t is not a function, I think it's related to translation. However, this errors is displayed in prod not on local

Hello, can you provide more detailed information, such as complete error stack information


Change default button class to btn-primary

Bootstrap 4 doesn't have a btn-default class.

Coverage remained the same at ?% when pulling ae390153578b51fd9f3db10d92c53167ccb0dbb2 on nbensa:nbensa-default-btn-class-to-primary into ead5d4d06547b93aa49d40fac88c9de42fefda34 on zostera:master.

Coverage remained the same at ?% when pulling ae390153578b51fd9f3db10d92c53167ccb0dbb2 on nbensa:nbensa-default-btn-class-to-primary into ead5d4d06547b93aa49d40fac88c9de42fefda34 on zostera:master.

Thanks, I'll fix this manually.


Fix NetworkPolicy rules processing

While processing a NetworkPolicy rule (ingress or egress), we must
append AddressGroups to the list unique to that particular rule
instead of appending them to a global AddressGroup slice which
would incorrectly apply the rule to all AddressGroups calculated
for that NetworkPolicy.
Fixes: #161

added a test case in #143 to catch this. #143 will fail until this is merged.

/test-e2e


permissions problem even as root

Note the sudo usage:
$ sudo marathon install johnsundell/testdrive
🏃  Cloning https://github.com/johnsundell/testdrive.git...
Updating packages...
💥  Failed to update packages
👉  Make sure you have write permissions to the folder '/Users/gene/.marathon/Packages/'

try sudo marathon install johnsundell/testdrive --verbose to detect the error.
In my case, that log requires a minimum Swift tools version of 4.0.3 (currently 4.0.0)

Thanks.
I tried that.
sudo marathon install johnsundell/testdrive --verbose
...
Cloning https://github.com/JohnSundell/Xgen.git...
$ cd "/Users/gene/.marathon/Packages/Temp/" && git clone https://github.com/JohnSundell/Xgen.git Clone -q
Resolving latest major version for https://github.com/JohnSundell/Xgen.git...
Updating packages...
$ cd "/Users/gene/Desktop/Foo/" && /usr/bin/env xcrun --sdk macosx swift --version
Apple Swift version 4.0.3 (swiftlang-9<IP_ADDRESS> clang-9<IP_ADDRESS>)
Target: x86_64-apple-macosx10.9
$ cd "/Users/gene/.marathon/Packages/Generated/" && /usr/bin/env xcrun --sdk macosx swift package --enable-prefetching update
error: package at '/Users/gene/.marathon/Packages/Generated' requires a minimum Swift tools version of 4.0.3 (currently 4.0.0)
💥  Failed to update packages
👉  Make sure you have write permissions to the folder '/Users/gene/.marathon/Packages/'
So it says I need swift 4.0.3.
What do I have?
4.0.3
$ swift -v
Apple Swift version 4.0.3 (swiftlang-9<IP_ADDRESS> clang-9<IP_ADDRESS>)
Target: x86_64-apple-macosx10.9
/Applications/Xcode.app/Contents/Developer/usr/bin/lldb "--repl=-enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -color-diagnostics"
Welcome to Apple Swift version 4.0.3 (swiftlang-9<IP_ADDRESS> clang-9<IP_ADDRESS>). Type :help for assistance.

I had this issue also

👉 Make sure you have write permissions to the folder '/Users/gene/.marathon/Packages/'
To resolve I ran this

 open /Users/gene/.marathon/Packages
 // Replace "gene" with your username

which opens the file in finder.
Right click the file and select Get Info

Open the Sharing & Permissions  section

Click the lock in the bottom right corner.

Enter your admin password.
Click the Settings Icon on the bottom right.
Select Apply to enclosed Items

Then Run your original command again.


Created PR and Issue templates [ISSUE #54]

What's changed
Addressing Issue#54
ISSUE TEMPLATE:
Created an issue page located within hydra/.github/ISSUE_TEMPLATE/. This follows the logic from the guide here as well as example repositories from Airflow and Prefect. The page is the following:

The Issue Report link leads to the following issue template.  Changes can be made to the template by editing the file 1.general_issue_report.yaml located in .github/ISSUE_TEMPLATE/:

The Report a security vulnerability link leads to Hydra's security/advisories/new page, where one can create a draft security advisory.

The doc/discord links lead to Hydra's doc homepage and discord, respectively.

PR TEMPLATE:
I've also created a PR template, of which is located in hydra/.github/PULL_REQUEST_TEMPLATE.md. Guide used was Creating a PR template, with inspiration from Airflow and Prefect. I was unable to test this, however, as creating a new PR shows the default, template-less view. The file probably needs to be added to main prior to it showing up as a template.

Hi @AmirZahre, thanks again for the PR!
@wuputah and I chatted, and here are the changes we'd love to see:
.github/ISSUE_TEMPLATE/1.general_issue_report.yaml:

change from issue to bug
keep lines 5-10, removing any lines after

.github/PULL_REQUEST_TEMPLATE.md:

keep lines 1-22
remove lines 23+

@JerrySievert done. I had to add a non-markdown field in .github/ISSUE_TEMPLATE/1.general_issue_report.yaml (lines 10-12) as required.


BITWISE_AND : &

@samthakur587 Please assign it to me .

hey hii ... i would to work on this task if possible !

Please assign this to me!

I would appreciate the opportunity to take on this task. Please consider assigning it to me, as I am confident in my ability to handle it effectively.

BITWISE_AND : & #178 pls assign me @samthakur587

Hi @NripeshN,
I would like to work on this issue and contribute to adding support for the BITWISE_AND operator in the DirectX backend. Could you please assign it to me?
Thank you!

To assign issues to yourself please read this documentation: https://github.com/CrossGL/crosstl/blob/main/CONTRIBUTING.md#-assigning-or-creating-issues

@CrossGL-issue-bot assign me

@CrossGL-issue-bot assign me

Please assign it to me

@samthakur587  Please assign it to me .


Alt sync

Sync algo could potentially be abused, perhaps we could calculate the largest subset of common peers that are within a certain block distance from eachother.

Sync strategy too risky, merged the other portion (block prop) in through cherry-pick


Bring Your Own Cluster model (BYOC)

Description
Kyma provides set of building blocks on top of Kubernetes. As a part of a managed Kyma comes together with Kubernetes cluster (Gardener) provisioned for a customer. It is a convenient way but on the other hand, it can be limiting for people who already have built more complex infrastructure and would like to use just Kyma components in their environment. Kyma as an open solution should not force people to use included Gardener cluster. It should be possible to use your own cluster with Kyma components.
Reasons
With BYOC model customers can use existing infrastructure or workaround current limitations coming from default cluter configuration (e.g. machine types, VPC peering, etc) and still benefit from having managed kyma components (e.g. eventing, serverless functions or connectivity to SAP systems)

:warning: Funnel process - do not remove!

Name
Value

theme
Openness

business value
2

technical value
8

user value
5

open-source value
0

effort

requested by

Is there a rough timeline for when this will be available?


Does not return the plate number

Hi
I am having a problem with the return of the plate.
I can detect it but it doesn't return the plate number.
I'm using the command: python detect.py --weights ./checkpoints/custom-416 --size 416 --model yolov4 --images ./data/images/car.jpg --plate

Can you help me?

I have the same problem it's not printing license plate

@wilianuhlmann @mrtajniak Facing the same problem. Have you found the solution?

This issue had got automatically resolved after I have done cloning the repo again.


about frames and masks

Would you like to tell me the following questions?

how are the frames and masks images  made? using other tools or using your this product?
remove the object from video ,the frames and masks are all necessary?
can remove a object from single static image (Watermarking Removal from one image)

The images of demo are from DAVIS. The images of movie are extracted from the original movie(Avengers: Age of Ultro). We use our video segmentation tool to get the mask of the movie demo. However, in some frames,  we refined the mask.
Yes, the frames and masks are all necessary.
You can just remove an object from single image. In this case, you can just use the tool of image inpainting.