Added Animated Footer And Social Media Icons

📋 Description
Added animated waves to the footer part with animated social media icons.
🔨 Changes Made
Fixes #89

Added animated footer with waves
Added animated social media icons
Added "Made with ❤ by Mitul Sonagara © 2024"

✅ Checklist
Before submitting the PR, please make sure you have completed the following:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] My changes generate no new warnings.
[x] I have tested it locally and it works fine.

🏷 Types of Changes
What type of changes does your code introduce? (Check all that apply)

[x] New feature (non-breaking change which adds functionality) ✨

📸 Screenshots
https://github.com/user-attachments/assets/0de245d4-8682-4dcc-9760-35879920610a

Thank you for contributing to Truth-Tunnel! We look forward to reviewing your PR and getting it merged!

By mistakenly i added two commit can you please Delete the ''AddedAnimatedFooterDesign'' commit

I am deleting this because by mistakenly i have not added the code folder inside the public folder as you mentioned so i want to delete the files that i have not added inside the public folder and pushed it.
But the AddedFooter branch is inside the public folder as you mentioned. Please review the AddedFooter branch changes

@GyanaPrakashSahoo7853
I can not seeing any changes in this branch... if any other branches is there then you need to close this PR and raise new PR.
I will suggest you that if any confusion is there then create a new branch .... make all changes on that and raise new PR

@GyanaPrakashSahoo7853
I can not seeing any changes in this branch... if any other branches is there then you need to close this PR and raise new PR.
I will suggest you that if any confusion is there then create a new branch .... make all changes on that and raise new PR

Should i close this pull request completely and raise another one


Performance regression after introduction of NonNative Memory

@leerho you mentioned that you have seen performance regression of Memory after the introduction of NonNative impls. Let's track this issue here. Could you please specify the exact commits between which you have seen it?

@leventov
This issue has now been solved.
When we released Memory 0.10.0 it was the new architecture where the 4 resources were defined to be independent of the 2 user APIs (Memory and Buffer) and where WritableMemory extends Memory, etc.  To make the transition to the new architecture simpler I packed all the instance variables into their own class, ResourceState.  From a speed performance perspective this was a mistake.  Although there was an additional decrease in speed performance with 0.10.4, when we introduced the parallel non-native implementations, the speed performance graphs as of 0.11.0 are as follows:

The X-axis is the size (in longs) of a long array.  There are 16 measurement points per octave along the X-axis.  Starting at the left, and at each measurement point the test performs 16M trials of reading and writing longs into every index in the arrays, gradually decreasing the number of trails as the array sizes get better. The average read and write speed over all the trials is then computed and plotted.  (One could object to this test for all kinds of reasons, but this test serves as a simple reference point)
The green and gold curves are reading and writing using Unsafe.getLong(), Unsafe.putLong() from a very simple program that bypasses the Memory package altogether.  The blue and red curves are the R/W speeds using the Memory package.   It was disturbing to me that using the Memory package was so much slower than using Unsafe directly, but I didn't have time to look into it until recently when I addressed the Slim Memory issue #42.  In solving the #42 issue, I eliminated the ResourceState so now all instance variables are in the same abstract hierarchy.  So not only did it solve the variable space overhead issue, it dramatically sped up the R/W performance.  So as of 0.12.0, the speed graphs look as follows:

Note that the Y-axis has changed scale.  Now the blue and red curves hug the green and gold curves very closely.  From this simple test, the Memory package adds no penalty over using Unsafe calls directly, so there is no reason for a user to try to do their own unsafe calls.
I added two more curves to this graph.  The two dotted curves are the R/W speed of accessing an on-heap array directly using the array index.  For reads, the unsafe calls are very nearly as fast as a direct array access, the write unsafe calls are about 0.2nS slower for this simple test.   Again, these comparisons can not be generalized, since more meaningful comparisons would require more sophisticated testing methods.  Nonetheless, I am satisfied that the Memory package is not adding undue overhead.


Asking to update app upon opening? On version 0.29.3

Not sure what I'm doing wrong? Any help would be greatly appreciated.

Sends me to TestFlight?

Niantic forced everyone to update. I already tried spoofing my version, and it didnt work. Maybe the APK can be modified.

How do i install the patch on Jailbroken iPhone?

Just open the provided .deb - for android there is a patched apk linked as well. otherwise just use xposed on a rooted phone -> pokemon-go-xposed


Add with-static-export example

Add example of how to use static export. I used an async exportPathMap to show that you can fetch data from an API and dynamically generate the exported pages.

👍 to there being a static export example!
I built https://github.com/infiniteluke/next-static this weekend and was wondering how I could contribute it. I figured an example could be good so that create-next-app could be used to spin it up. Is there room for multiple static examples? The other option is, because the goal of next-static is to be a first class SSG, I could fork create-next-app and adapt it to next-static.
Ideas?

I really like that tool but It's not always the way you would use next export, so I don't think that should be the basic example 🤔, but it can be another example 😄, next-static it's awesome and if I can de yarn create next-app static-blog or something like that that could be incredibly.

hi there ~
the example  it's only export one page of the content:
const response = await fetch('https://jsonplaceholder.typicode.com/posts?_page=1')
const postList = await response.json()

in realword-case, the page could be  thousands,  so i think this export example it's not in general ?


Support eslint v4

Doesn't seem like anything needs to be done on our end, except upgrade peerDependencies. notice anything in the migration guide/changelog that would affect this plugin?

@evcohen we should make sure that our peer dep is ^3 || ^4 tho, so it can be compatible with both.
Generally the changes are "invalid configs throw now", and some rules got stricter - so I don't think it would impact us.

@ljharb we can use >=3 as in https://github.com/prettier/eslint-plugin-prettier/pull/30

That's dangerous, because then a v5 breaking change might break us. Just like you should never do *, you shouldn't ever do >.


Sync vcenter tags

Add feature of also syncing tags from vcenter.

Related to #339

@bb-Ricardo for which object types is the goal of syncing tags from vmware?

Hi,
First I believe you need to use the https://github.com/vmware/vsphere-automation-sdk-go as tags are not part of the vpshere SOAP API and rather the REST API.
this initiates the session: https://github.com/bb-Ricardo/netbox-sync/blob/main/module/sources/vmware/connection.py#L203
This retrieves all tags for a vCenter object: https://github.com/bb-Ricardo/netbox-sync/blob/main/module/sources/vmware/connection.py#L649
This reads tags for a certain object: https://github.com/bb-Ricardo/netbox-sync/blob/main/module/sources/vmware/connection.py#L701
and compiles a list based on the tag settings for this object:
https://github.com/bb-Ricardo/netbox-sync/blob/3c07a4c001443f50d95ae4668c931599e41efeae/settings-example.ini#L288-L301
hope this is sufficient. Let me know if you are missing anything.


⚠ MineVN Website has degraded performance

In 57b3a1d, MineVN Website (http://minevn.net) experienced degraded performance:

HTTP code: 200
Response time: 5227 ms

Resolved: MineVN Website performance has improved in 7c8a59c.


open design resources to incorporate

Great to see all these methods in an open kit!
Over the last years I collected some libre resources, all shareable, most under a CC0, CC-BY and CC-BY-SA license.
I also wrote a libre (CC-BY) book on finding user needs which has examples, images etc. that could be used for interviewing, observation and affinity-diagramming

Hi @jdittrich this is awesome. I think that we should figure out how to incorporate these into the Kit. Perhaps the best way to do this is to identify which methods you have resources for and then, make a new ticket for each one and we can link them up.

@jdittrich just following up on your original comment. Would you be willing to include some of your findings in the open design kit?

Sorry for the long break. I noted that the methods in the kit are for remote collaboration. Most of my descriptions use examples from the analog-world, mainly because it circumvents explaining a particular application to do it in (Most can be easily adapted, though)
If the analog examples are no  deal breaker, I can review where my materials would be useful.


Regression when root composite project refers to included builds

I have a composite build that has two separate clones of the same repo as included builds.  One is a baseline, the other is an experimental project to test ABI changes using japicmp.  When bumping the gradle-wrapper.properties from 5.6.4 to 6.x, the build fails.
Expected Behavior
The build should succeed.
Current Behavior
The build fails with the following message:
Caused by: org.gradle.api.GradleException: Included build /Users/jrod/Development/dcto19-cash-app-baseline has build path :dcto19-cash-app-baseline which is the same as included build /Users/jrod/Development/dcto19-cash-app-baseline

Context

Stops working as of 6.0-rc-3.
Works with 5.6.4

My builds no longer work
Steps to Reproduce

Clone this repository twice: https://github.com/Egorand/dcto19-cash-app
one named dcto19-cash-app-baseline
the other named dcto19-cash-app-latest
then clone this repository: https://github.com/jrodbx/DroidconToronto2019Prep
at the same level as the other two directories
cd into root dir from #2
run ./gradlew kcompare:japicmp --console=plain --rerun-tasks --stacktrace --no-build-cache.  Build should pass.
Change japicmp/gradle/wrapper/gradle-wrapper.properties from gradle-5.6.4-bin.zip to gradle-6.0-rc-3-bin.zip
Run #4 again.  Build should fail.

Your Environment
Passing Build scan URL: https://scans.gradle.com/s/nc5emsh4tleac
Failing Build scan URL: https://scans.gradle.com/s/4tqc7bef6tzyq

I believe you're being caught up by this in some way:
https://docs.gradle.org/current/userguide/upgrading_version_5.html#changes_to_build_and_task_names_in_composite_builds
It looks like previous versions of Gradle allowed the GradleBuild task to sneak in duplicate builds in the composite. That's why this error says dcto19-cash-app-latest is being included twice.
I'm a little confused by your example and what you're trying to do with the combination of included builds and GradleBuilds.  The build in DroidconToronto2019Prep/japicmp includes both dcto19-cash-app-latest and dcto19-cash-app-baseline as included builds, but it doesn't seem like it actually uses either of them as included builds.  Instead, it uses the GradleBuild task to run particular tasks from those builds.
I think you could replace the GradleBuild tasks with:
def compileBaseline = tasks.register("compileBaseline") {
    dependsOn gradle.includedBuild("dcto19-cash-app-baseline").task(":app:writeAppDebugProjectJarFiles")
}
def compileLatest = tasks.register("compileLatest") {
    dependsOn gradle.includedBuild("dcto19-cash-app-latest").task(":app:writeAppDebugProjectJarFiles")
}

Or you could do something through dependency management, but I think this is going to be difficult because we won't be able to choose between the two included builds (they both produce the same publications).
Would that work for you?

We ran into a similar issue in our attempt to upgrade Apache Kafka to Gradle 6.0.1:

Included build /Users/mkumar/workspace/kafka has build path :kafka which is the same as included build /Users/mkumar/workspace/kafka

https://github.com/apache/kafka/pull/7677#issuecomment-557761348
We create new GradleBuild tasks to support multiple Scala versions. For example, a developer can run jarAll to run jar for each supported Scala version with a single command.
@big-guy Any suggestions on how to fix this?

The same here with 6.0.1 with custom GradleBuild task
tasks.register('customTask', GradleBuild) {
  doFirst {
    ...
  }
  dir = project.projectDir
  startParameter.projectProperties = ...
  ...
}

Included build in /home/user/project/subproject has name 'subproject' which is the same as a project of the main build.
Worked fine in 5.x.

@big-guy

I'm a little confused by your...

Ah, I see what you mean.  I think I was just writing some bad Gradle -- I had thought the includeBuild directive in settings.gradle was needed in order for the GradleBuild task to work. Consequently, I also wasn't aware of gradle.includedBuild.  Thanks for clarifying!

I think you could replace...

Indeed, this worked.

@big-guy I see that this has been bumped to Gradle 6.2. Would you be able to comment on whether we are using Gradle incorrectly in Kafka (https://github.com/gradle/gradle/issues/11301#issuecomment-557943783) or if there is an actual bug in Gradle that will be fixed at some point?
Since Gradle 6.0 is required for Java 13 support, it's not ideal that Kafka is stuck with Gradle 5.x at this point.

Looks like this has been bumped to 6.3. I guess we should assume that the new behavior is here to stay.

@big-guy Why it's removed from milestone but the issue is not closed? Should we finally assume that the new behavior is here to stay?

Curious if this is the same issue.
There is the same error message when running the task with GradleBuild type,If there is a module directory name that is the same as another directory in the root project.
"example-multi/foo/bar has name 'bar' which is the same as a project of the main build."
Example project is
https://github.com/kojilin/example-multi/blob/master/foo/bar/build.gradle#L18
Gradle 5.x doesn't have this problem.

Curious if this will be fixed or become correct behavior. Looks like multimodule project has same restriction like composite build.

The restriction makes little sense in my context.  I have two separate subprojects in a multi-project build that each create a GradleBuild of the same name, and it won't allow this.  Why do they share a namespace?
Included build /workspace/abc/solutions/x/deployment/build/tmp/createXxx has build path :createParametersXxx which is the same as included build /workspace/abc/solutions/y/deployment/build/tmp/createParametersXxx

I have a situation that's possibly similar to what's been mentioned by @kojilin and @michelau . I have included modules with duplicate names. As mentioned by @big-guy , this link mentions specifying an included build's name: https://docs.gradle.org/current/userguide/upgrading_version_5.html#changes_to_build_and_task_names_in_composite_builds
So with a monorepo with similarly "shaped" multi-projects where each project is developed separately but references other project's sub-modules:
/project-a
    /service
    /model
    /client
/project-b
    /service
    /model
    /client
/project-c
    /service
    /model
    /client

project-a:service can reference it's own model/client modules and the model/client module from project-b using includeBuild and specifying the name to be something else (project-a settings.gradle):
include 'service', 'model', 'client'
includeBuild('../project-b/model') {
    name = 'model-b'
    dependencySubstitution {
        substitute module('org.example.projectb:model-b') with project(':')
    }
}

This works. However, if you try to include both project-b AND project-c model modules, gradle will sync ok but the compile java task will result in an error like this:
Included build /my/path/mono-test/project-c/model has build path :model which is the same as included build

I don't know if this is actually related to the posted issue, but it seems related. If this is completely the wrong way to handle my situation, I'd be super grateful if someone pointed me to the right way to do this.

This is also causing my build to fail. Like other people in this thread, I run a separate build multiple times using different properties on each run (this is usually done because Gradle can't handle properties changing during a single build - specially when that affects tool versions being used).
Here's approximately what I am trying to do, from a project A:

run task b in a separate project B (has its own settings.gradle) using properties P.
run task b in B again, this time with properties Q.

This actually works until I add this:

run task c in the parent of B, which happens to be in the parent folder of A (but is not included by B's settings.gradle, and as I mentioned, A has its own settings.gradle file). Why should this fail with this error?

So far I've been able to workaround this by assigning the name explicitly as mentioned in some earlier comments:
includeBuild ("blue/client") { name = "blue-client" }
includeBuild ("red/client") ( name = "red-client" }

But when adding nested composite builds to the mix (abc includes xyz , and xyz includes blue/client and red/client), unfortunately this unique name doesn't seem to propagate to the IntellIiJ idea plugin, and you get an exception like:
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:61)
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'org.gradle.idea'.
        at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:173)
        at org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:137)
        at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.lambda$applyPlugins$0(DefaultPluginRequestApplicator.java:129)
        at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugin(DefaultPluginRequestApplicator.java:185)
        ... 147 more
Caused by: java.lang.IllegalArgumentException: Duplicate root element abc-client
        at org.gradle.plugins.ide.internal.configurer.HierarchicalElementDeduplicator$StatefulDeduplicator.deduplicate(HierarchicalElementDeduplicator.java:135)
        at org.gradle.plugins.ide.internal.configurer.HierarchicalElementDeduplicator$StatefulDeduplicator.calculateNewNames(HierarchicalElementDeduplicator.java:104)
        at org.gradle.plugins.ide.internal.configurer.HierarchicalElementDeduplicator$StatefulDeduplicator.getNewNames(HierarchicalElementDeduplicator.java:91)
        at org.gradle.plugins.ide.internal.configurer.HierarchicalElementDeduplicator$StatefulDeduplicator.access$100(HierarchicalElementDeduplicator.java:73)

I guess at this point there's no option other than trying to name every leaf project with a globally unique name.


can node-ffi support c++ library?

Hi guys,
I scan lots of issues, all use node-ffi with c library. Can node-ffi support c++ library?
How about performance of node-ffi? Are you satisfied with the performance of node-ffi? Do you have benchmark?

Ya I mean not officially, but I believe that the C++ ABI is similar enough that it usually just works, but I believe you have to do the C++ symbol name mangling manually, which is outside the scope of this module. Could be a cool separate module though!


No libs shown when using different application id

I have a problem when use AboutLibraries together with a different application id defined in gradle build file.
For my dev and staging environments all works fine. But for the production app it doesn't. My package as it is configured within manifest is: ch.company.android.myapp.
The application ids in gradle are defined as:
dev : ch.company.android.myapp.dev
stage: ch.company.android.myapp.stage
(works!)
prod: ch.company.mobile
(doesn't work!)
When I change it to e.g. "ch.company.android.myapp" it works. So I assume it has something to do with the app identifier.
Version 5.8.+

@guntherhoppe if the library is not able to automatically (via reflection) get the R fields of your application it won't be able to show the libs.
You will have to pass the libs then in like this:
https://github.com/mikepenz/AboutLibraries/blob/develop/library/src/main/java/com/mikepenz/aboutlibraries/LibsBuilder.java#L81

Thx - works perfect!
I tried this before, but used R.class.getFields instead of R.string.class.getFields ... My mistake. :)

Awesome :)


Creating a modal controller causes connect to fire infinitely

Hello,
I am using Foundation Zurb's reveal modal; it works similar to https://github.com/stimulusjs/stimulus/issues/73 in that when a modal is initialized it gets added to the bottom of the body tag.
What I am noticing is that when I setup the modal in the init function the connect function is getting called infinitely until the page crashes.
Has anyone had success making a modal controller?
It seems like most modals used the portal pattern where the markup you used to set up the modal gets moved to the body.
controllers/members-modal.js
/* global Foundation */
import { Controller } from 'stimulus';

export default class extends Controller {
  initialize() {
    this.modal = new Foundation.Reveal($(this.element), {});
  }

  connect() {
     console.log('connect');
  }
}

Modal

the connect function is getting called infinitely until the page crashes

Based on that I'm guessing new Foundation.Reveal clones the element you pass in. You could try using a child target element instead.

Has anyone had success making a modal controller?

Our community forum is the best place to ask questions like this. https://discourse.stimulusjs.org/


Blog monthly analytics

@AlexandracmONRR and @eelzi-ONRR Blog analytics are ready for your review.
https://github.com/DOI-ONRR/blog-nrrd/wiki/Analytics
The excel you can use to check is here (you should also get an email saying this doc is now shared with you):
https://doimspp-my.sharepoint.com/:x:/r/personal/thomasc_mms_gov/Documents/CLT Analytics/Blog/Blog_Analytics_Mar23.xlsx?d=w100403cfd8a649cab03827a4df6c9d39&csf=1&web=1&e=rh5cHF

These look good.

@cthomasONRR - it also looks good to me!


docs(go-coding-style): Fix comments in the naked returns example

Description
Addressing a comment from #7562 that arrived after merging.
Checklist
Did none of the above due to the type of changes.

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

Testing Performed
Here I tell how I validated my change

I read it again after a short break to minimize the bias

Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

This PR has empty diff now, so I am closing it.


Update README.md

Add PokeGodar under Mapping.

Hi @TheDarkCode , can you reduce the length of the description to match the others, and remove any references to botting, then we can accept this.


When I use mixed precision, I encounter the issue of disappearing gradients in the self-conditioning setup.

System Info
2xA100 80GB GPU with CUDA 11.7

accelerate==0.19.0
torch==2.0.1

Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[X] My own task or dataset (give details below)

Reproduction
Script I am using:
import torch
from torch import nn
from torch.utils.data import TensorDataset, DataLoader
from torch.nn import functional as F
from tqdm.auto import tqdm

import accelerate

class Diffusion(nn.Module):
    def __init__(self):
        super().__init__()
        self.layers = nn.Sequential(
            nn.Linear(128, 64),
            nn.ReLU(),
            nn.Linear(64, 64)
        )

    def forward(self, x, s_x=None):
        if s_x is None:
            s_x = torch.zeros_like(x)
        x_cat = torch.cat((x,s_x), dim=-1)
        res = self.layers(x_cat)
        return res

class DiffusionWrapper(nn.Module):
    def __init__(self, model):
        super().__init__()
        self.model = model

    def forward(self, x, y, self_conditioning):
        s_x = None
        if self_conditioning:
            with torch.no_grad():
                s_x = self.model(x)
                s_x = s_x.detach()
        res = self.model(x, s_x)
        loss = F.cross_entropy(res, y)
        return loss

def main():
    accelerator = accelerate.Accelerator(device_placement=True, split_batches=True)
    model = Diffusion()
    model = DiffusionWrapper(model)
    optimizer = torch.optim.Adam(model.parameters())
    model, optimizer = accelerator.prepare(model, optimizer)
    x = torch.randn(1600, 64)
    y = torch.ones(x.size(0), dtype=torch.long)
    dataset = TensorDataset(x, y)
    dataloader = DataLoader(dataset, batch_size=16)
    dataloader = accelerator.prepare(dataloader)
    pbar = tqdm(dataloader, total=100)
    for x, y in pbar:
        loss = model(x, y, True)
        accelerator.backward(loss)
        optimizer.step()
        optimizer.zero_grad()
        pbar.set_description(f"{loss.item()}")

if __name__ == "__main__":
    main()

The script above is a simplified reimplementation of self-conditioning for diffusion models. I launch this script with:
accelerate launch --multi_gpu debug.py

and everything works fine. But when I tried to use mixed precision
accelerate launch --mixed_precision "bf16" --multi_gpu debug.py

I encountered an error:
Traceback (most recent call last):
  File "/app/debug.py", line 64, in <module>
    main()
  File "/app/debug.py", line 57, in main
    accelerator.backward(loss)
  File "/opt/conda/lib/python3.10/site-packages/accelerate/accelerator.py", line 1745, in backward
    loss.backward(**kwargs)
  File "/opt/conda/lib/python3.10/site-packages/torch/_tensor.py", line 487, in backward
    torch.autograd.backward(
  File "/opt/conda/lib/python3.10/site-packages/torch/autograd/__init__.py", line 200, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn

ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 210) of binary: /opt/conda/bin/python
...

on both gpu.
Interestingly, when I do not use self-conditioning by passing self_conditioning=False in the training loop, I have no errors.
Expected behavior
Example should work both with or without mixed precision.

UPD: The bug also persists when using only one GPU.

Found explanation here: https://discuss.pytorch.org/t/autocast-and-torch-no-grad-unexpected-behaviour/93475
Still tricky one


SAK-30727 avoid NPE and ensure redirect to /describe

spaces v tabs.

I believe this was resolved by #2291 and just should be closed.


Update drag_drop.md

Hello @gi-x-2,Thank you for the PR! We will be reviewing this PR soon, in the mean                                              time, if you have not, please be sure to                                                                                sign our CLA so that we can merge your changes. Thanks again!                                             Team DX

Hey @gi-x-2 , thanks so much for your contribution! Unfortunately, since you haven't signed our CLI, we're not going to be able to merge this pull request at this time.  Since this has been sitting here a while, I am going to go ahead and close this pull request, but feel free to open it again in the future if you sign the CLI!


interp1() errors due to undefined start variable

Error is throwing when using interp1():
In [12]: a = SE3(1, 2, 0) * SE3.Rz(45, unit='deg')

In [13]: b = a.interp1(0.5)
---------------------------------------------------------------------------
UnboundLocalError                         Traceback (most recent call last)
<ipython-input-13-efa36fbc2384> in <module>
----> 1 b = a.interp1(0.5)

~/.python-venv/lib/python3.8/site-packages/spatialmath/baseposematrix.py in interp1(self, s)
    477         s = np.clip(s, 0, 1)
    478
--> 479         if start is not None:
    480             assert len(start) == 1, 'len(start) must == 1'
    481             start = start.A

UnboundLocalError: local variable 'start' referenced before assignment

Error occurs for both SE2 and SE3 classes.
A workaround is to call interp() explicity with the identity pose, e.g.:
SE3().interp(a, 0.5)

This is a poor cut and paste from interp() plus I went back/forth a lot with trinterp. Fix pushed to GH just now.


API Lab tutorial writing

5d94f805a11c2106f3640a8c15d5014b2b52126a Created the API lab tutorial for using Postman.  Needs some finishing touches, but I will work on that tomorrow before our meeting.

159124ae12318ab37f2239ca8a2c52bfaf0ec7f4 Added pictures and fixed some grammar for the Postman tutorial.


Prevent division by zero in betas_liquid methods

Three methods in EquilibriumState would raise a ZeroDivisionError when
called with no liquid phases present.

Hi Rory,
Good catch! Thank you. I also added unit tests for this behavior to prevent this from happening again: https://github.com/CalebBell/thermo/commit/61034be6b9200e592bdae7712386e311285c0b5d
Sincerely,
Caleb


⚠ Bofrost.fr has degraded performance

In 0838e66, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1751 ms

Resolved: Bofrost.fr performance has improved in 12743c5 after 6 minutes.


Amazing app - nervous around web apps, consider making a downloaded app . .

Hi, this program is amazing, maybe bec. I'm new to this web program stuff, wanted to ask, if there might be a downloadable program, where one could sort-of have more stable work, if internet goes down, WI-FI, not sure what happens, so on . . .
10 / 10 <3

You may want to try the Excalidraw plugin in Obsidian.md. That provides you with a full offline alternative to Excalidraw.com.


[BUG] Exception on launch

Describe the bug 🐛
Failure on launch. Throws multiple exceptions, then exits
To Reproduce 🐣
Steps to reproduce the behavior:

Launch dooit through the terminal

Expected behavior  🤔
Run the app
Screenshots 🧐

Desktop (please complete the following information):  🤖

OS: Fedora
Version 36
Python Version: 3.10.5

Additional context 📝
Worked fine upon installation, came back the next day to this issue. I can´t trace if this is due to system updates, but it seems something regarding textual blew into smitherines

@orsenthil Sorry for the inconvenience. That is my fault for not checking  for $XDG_CONFIG_HOME while making the config. I'll push an update soon :)

As for @CharlieC57, I suppose your screenshot does not contain the whole error message. Maybe share that using pastebin?
Though it might be the same reason as @orsenthil's but just in case :)

I'll push an update soon. Hopefully it solves that

Hey there @orsenthil and @CharlieC57 can you please update and check if it's working properly now?

No luck, although looking up the error it may be related to the .pkl file being empty. Is it supposed to be empty at installation?

Not empty...just the default implementation of data types... I suggest that you delete the whole dooit folder in config and then re run and see if that works.
Apologies for so much hassle :(

No worries, did what you suggested and is looking fine :)
You may close this issue at least from my end, hopefully it works for @orsenthil as well.

hopefully it works for @orsenthil as well.

I think that it should, The issue was that Path was not expanding ~ which caused an error :)


New package: AxisKeysExtra v0.1.9

Registering package: AxisKeysExtra
Repository: https://github.com/JuliaAPlavin/AxisKeysExtra.jl
Created by: @aplavin
Version: v0.1.9
Commit:<PHONE_NUMBER>d69673f7f40c0f93f01ba0fbbbda34
Reviewed by: @aplavin
Reference: https://github.com/JuliaAPlavin/AxisKeysExtra.jl/commit/0000000065d69673f7f40c0f93f01ba0fbbbda34#commitcomment-141731774

This is less than ideal. It would be a much better outcome if @mcabbott could transfer AxisKeys.jl to an organization (cf. https://github.com/mcabbott/AxisKeys.jl/pull/110#issuecomment-2075949791) and if @aplavin could act as a co-maintainer and add new features directly. At least unless @mcabbott has a particular reason to want to keep AxisKeys extremely "stable".
I'm just blocking this temporarily for some community discussion. If there's no path forward for contributing to AxisKeys directly, I have no objections to this registration.

[noblock] Sure! I unblocked my comment

[noblock] (note that you have to unblock your own comment as well)


RFR: Use ref to handle rules as opposed to id

Dependent on https://github.com/StackStorm/st2/pull/1367
I hope I caught all the id to ref changes for the rules.

I have no idea how we the UI works with rules without this PR :).
cc: @enykeev

@lakshmi-kannan IIRC, You can also use ID (or ref) when working with rules endpoint so it should probably also work with the ID, right?

@Kami You are right but @enykeev suggested I switch to ref. I don't remember why. I am just surprised this hasn't been merged :P.

It's fine, I think ref is better as well :)

Why is ref better than id? AFAICT there is an index on id and none for ref so it should be better to use id if available.

@manasdk It's more user-friendly and consistent with other views (e.g. actions).
And with user-friendly I mean when it's used inside the URL when retrieving details for a single rule. Besides the URL, I don't care and I'm also fine with using ID internally in other places.

Also, re index - there will be index once my rbac branch is done and we merged it (I've updated all the resource models to explicitly store "ref" in the DB and added index on it).

I've rebased it locally and it seems like the code is still perfectly valid. Merging.


Scaffolding alerts

This was attempt #1 to re-do all of Harry's PR 64 commits without bringing along the inadvertently merged PR 61 content. Something went wonky and it missed 2 commits, so we are scrapping this and trying again on a new branch.


bug: When the SkyWalking plug-in is enabled, apISIx reports an error, indicating a missing file. Where can I find the missing file resource?

Issue description
When the SkyWalking plug-in is enabled, apISIx reports an error, indicating a missing file. Where can I find the missing file resource?
Environment

apisix version (cmd: apisix version):
OS: V1.3

Minimal test code / Steps to reproduce the issue
1.Introduce the Skywalking.Lua plug-in file
2.Introduce the skywalking folder and its files client.lua and tracer. Lua
3.apisix restart ==>log error
What's the actual result? (including assertion message & call stack if applicable)
[error] 5498#5498: *2 [lua] plugin.lua:66: load_plugin(): failed to load plugin [skywalking] err: /usr/local/apisix/apisix/plugins/skywalking/client.lua:23: module 'skywalking.register' not found:
no field package.preload['skywalking.register']

What's the expected result?

you need install dependencies first https://github.com/apache/incubator-apisix/blob/master/rockspec/apisix-master-0.rockspec#L54
you can run make deps to fix it

we can close this issue


Stormblessed: Blacklist Sure Botanicals

Stormblessed requests the blacklist of the keyword Sure Botanicals. See the MS search here and the Stack Exchange search here.

Sure Botanicals has been seen in 4 true positives, 0 false positives, and 0 NAAs.

There is a related watch here of (?:buy[\W_]*)?sure[\W_]*botanicals(?:[\W_]*(?:cbd|review)s?)+. It's currently both a bit too restrictive and should be expanded a bit. Rather than watch/blacklist "Sure Botanicals", I'm going to update that watch.
However, even a more inclusive version does not have enough TP on MS to be a blacklist, yet.


undefined method `remotes' for #Bundler::Source::Git:0x0000563fc0246db8

While waiting for a new release that includes a fix for this issue already discussed here https://github.com/bundler/bundler/issues/6563 I was wondering why I only get this error when trying to bundle my project with a Dockerfile like:
FROM ruby:2.5.1-alpine3.7

RUN apk update && \
    apk upgrade && \
    apk add git build-base libffi-dev \
    rm -rf /var/cache/apk/*

RUN bundle config --global frozen 1

WORKDIR /usr/src/app

COPY . .
RUN bundle install

But when using Dockerfile:
FROM ruby:2.5.1

RUN bundle config --global frozen 1

WORKDIR /usr/src/app

COPY . .
RUN bundle install

it bundles just fine. Also ruby:2.5.1-slim works after installing git build-essential libffi-dev packages.
They both use the same version of bundler. But something is different in the way it works. Just cannot think of what it could be.
My Gemfile:
source "https://rubygems.org"

gem 'aws-sdk-lambda'
gem 'rollbar'
gem "rdkafka", :git => 'https://github.com/mmustala/rdkafka-ruby.git', :branch => 'master'
gem "rake"

Should I install some additional package to make it work also with the alpine version?

The bug that is happening in #6563  is in the error report that gets sent to the user, this means that there is a problem compiling the extension in one of your gems. This could is most liking a missing library or object that it requires.
I suggest installing Bundler 1.16.0 before you run bundle install and to see what the error is.


Logs tab is always empty

Describe the bug
The Logs tab is empty for each containers but when I press "m" key, logs appears as well.
To Reproduce
Steps to reproduce the behavior:

Launch lazydocker
Navigate in different containers -> Logs tab is still empty
Press "m" key -> GUI disappears, logs are shown
Press Ctrl+c -> GUI re-appears, Logs tab is still empty

Expected behaviour
Logs tab should display content !
Desktop (please complete the following information):

OS: Debian Stretch
Lazydocker Version: docker image lazyteam/lazydocker:version-0.9.1

docker-compose.yml
version: '3'
services:
  lazydocker:
    container_name: lazydocker
    image: lazyteam/lazydocker:version-0.9.1
    build:
      context: https://github.com/jesseduffield/lazydocker.git
      args:
        BASE_IMAGE_BUILDER: golang
        GOARCH: amd64
        GOARM:
    stdin_open: true
    tty: true
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /var/local/lazydocker/:/.config/jesseduffield/lazydocker
    restart: always

docker-compose.yml
version: '3'
services:
  lazydocker:
    container_name: si-lazydocker
    image: lazyteam/lazydocker:version-0.8
    build:
      context: https://github.com/jesseduffield/lazydocker.git
      args:
        BASE_IMAGE_BUILDER: golang
        GOARCH: amd64
        GOARM:
    stdin_open: true
    tty: true
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /var/local/lazydocker/:/.config/jesseduffield/lazydocker
    restart: always

Same problem here. Did you find any solution?

No solution found... an upgrade on version-0.9.1 had no effect :(

same problem here。

I am using macOS and just installed via brew and the same here, services doesn't seem to activate the logs, its empty, clicking on the container does show though

Actual maybe mine is more serious :-(
Stats, Config and Top are all blank also.
I am using docker-machine, I assume that should not matter?
I can see the logs by clicking the container but not services.

Same here - none of the tabs show output.

Same issue, no outputs in any of the tabs, this since the last upgrade of Docker for Mac.

I'd be happy to help debug this, but I can't find a way to spit out errors from lazydocker, assuming it can do that.
Is there a way for me to make lazydocker spit out any errors it encounters? I'm assuming something changed with the latest Docker release that caused whatever pipe is in use to fail in some unexpected way.

Ok, so the NewTickerTask in renderContainerLogs never sends the notifyStopped <- struct{}{} message, because the cmd.Wait() never returns, because the child process com.docker.cli logs --timestamps --follow --since=60m 65b3bf998bdeb0ad48ab59e6f7fc9954cf324e5192657163795b8ac5d83dd57 never exits.
				gui.Log.Warn(err)
			}

That block finishes, does not spit out an error, but the log process continues to run. I have about 30 of them running right now, since I've been restarting lazydocker over and over.

Found the fix. Simply add gui.OSCommand.PrepareForChildren(cmd) on line 188 of containers_panel.go

Thanks @tylerstillwater
I hope that the fix will be merged and released soon.

Same problem when using container.
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock lazyteam/lazydocker

Does anyone still have this issue when using the docker container on synology?

@metronidazole : Having exactly this old behavior on a synology 718+

having this behavior on dockerized version on rocky 8.6

Did everybody here check https://github.com/jesseduffield/lazydocker#why-cant-i-see-my-containers-logs ?
As for me, I adjusted the command but the logs are still not shown for some containers :/

I'm reopening cos it sounds like we're still having issues. On my machine sometimes container logs won't show until I hit enter to focus the logs panel. So that's clearly an issue on our side.
Let me know if you see the same behaviour @metronidazole @jwesemann @KostaGorod @xeruf (but also see if https://github.com/jesseduffield/lazydocker#why-cant-i-see-my-containers-logs helps you)

I just updated on my raspi (ARM64) to the latest version native & running a docker build.
I see all expected log entries directly without further key presses for native binary and docker-based lazydocker. "Expected" means containers which produced logs recently because documentation mentions that lazydocker shows only logs from the last 24 hour if I remember right.
The only thing I observe is that the docker variant does not show a version info in the bottom righ area.
I tested remotely using ssh in a standard terminal and a tmux session. Afterwards in a VNC GUI session with & without tmux.
I found no issues at all.

Experienced this bug on Debian 12 (x64), both in binary installation and running inside a docker container.

I think it is relative to logs that were not been updated since some time.
For example, I have logs from container that been updated just now:
Details

While this container (the second one) has the last log record on yesterday and does not display anything (even if I press M):
Details

I checked logs of the second container manually and see they are exist:
Details

All the containers are 2 days old.
My OS is always Ubuntu on any server:
Details


concat calls do not inform type of auto arrays

function f() {
    let l = []
    l.push(1)
    l.push(false)
    return l.concat(['nope'])
}

Expected behavior:
f: () => (number | string | boolean)[] and no errors
Actual behavior:
f: () => (number | boolean)[] and "Type string is not assignable to number | boolean" on the concat call.

concat generates a new array. there is no reason why you would only concat values of the same type as your original array.. so using it as an inference site is questionable.


docs: correct image link on ECS example readme

I'll squash and merge to change the commit message


update to 2.0.1

Checklist

[X] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[X] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@jdhughes-usgs you musta squashed the previous PR.
I'll start from that instead of this.

Hi! This is the friendly automated conda-forge-linting service.
I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please try to merge or rebase with the base branch to resolve this conflict.
Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.


Please tell me, how to use reject.conf?

My Google refuses to look for examples of reject.conf.
People, please show some examples, i wanna move few domains (what should be rejected) from pac.js into reject.conf. I only found small post about this file about yaml syntax.

sorry, i found the answer here https://github.com/kimanlo/WingyConfig/blob/master/default.conf


Lag every time whilst starting up Blender

Each individual image takes some time to load and it slows down Blender quite heavily. It might be better if you load only one image with all the supporters on there at once. Perhaps creating an automatic script to generate that image when pushing a commit.
Here's a video that shows the issue:
https://streamable.com/b97b7
I think it's important because Blender aims to start up really quickly so you can just get on with your work. I swear I heard Ton say that in an interview and it's really annoying that this keeps happening.

Thanks for the suggestion! That is indeed quite annoying.
I didn't know that you can load a single image file with all the icons on it. I will look into that.
Unfortunately I have exams soon so I won't have much time for the next month. Also this sounds pretty difficult to implement so it will take some time and I might not get it to work at all. But I will try!

I'll see if I can help figure something out as I've got some time. I'll report back if I do.

Thanks, the help is very appreciated!
I just made a quick Google search but couldn't find any info on this.

Are the images really necessary?

But Ton wanted Blender to be quick to start up and I think that's what make's it so awesome. Blender still has more features than cats, even tho I heavily appreciate the plugin. I've just been disabling the plugin when I don't need it.
I think I'm gonna make a clone of this repo on GItLab that updates automatically when this one does, and using continuous integration: automatically remove the icons and let it be auto update, download that instead.

@makixx Sure, do that.
I assume you didn't find a solution either, so I will close this. Maybe 2.8 will have better ways to load images.

You could also just add a button which remembers you want to disable the supporters list...
Regardless, I made this for anyone who wants an easy fix for the time being: https://gitlab.com/makitsune/cats-blender-plugin-no-supporters#readme


Adding patch embeddings

Related to #19
I added a patch embedding functionality for WSIs. Specifically, patches are retrieved with a specific patch_width from a specific magnification level. Then they are pushed as batches of batch_size into one of three embedding models. The resulting embeddings are stored as an additional image within the spatialdata object with index the class of the embedding model.
in order to test it you can run the following:
import spatialdata_plot
from sopa.io import wsi
from sopa.segmentation.tissue import hsv_otsu
from sopa.embedding.patches import embed_wsi_patches

slide = wsi('https://openslide.cs.cmu.edu/download/openslide-testdata/Aperio/CMU-1.svs')
hsv_otsu(slide, "CMU-1")
embed_wsi_patches(slide, "CMU-1", "Resnet50Features", 10, 224, 64, num_workers=8)

slide.pl.render_images("Resnet50Features", channel=[1, 2, 3]).pl.show()

the output of the plotting function using only the first 3 channels of ResNet features looks like this:

Hello @stergioc, thanks for the PR!
I tried using a little bit more the Patches2D class, which has some convenient functionnalities. I also added an assert to check that the model we ask for is existing
I have a few comments, see below:

Just some minor changes needed but it already looks very good!

One minor question: what is the meaning of obj? "Objective"?

It's looking better, but we still have a slight shift in the plot. I'll investigate on this later

Okay it's better now @stergioc. We still have a small shift (see below), but this is only a plotting issue. Indeed, by default matplotlib show a pixel centered (from -0.5 to 0.5), so there is a shift of 0.5 pixels. Usually, this is not visible, but here I have a transformation of Scale(1000, 1000), so it makes a shift of 500 pixels during the plot. I opened an issue in spatialdata-plot here: https://github.com/scverse/spatialdata-plot/issues/216

Of course the shift is less visible with a smaller patch_width. I just did some final clean up (docstrings, typing, ...). Ready for merging when I have your approval @stergioc

Amazing @quentinblampey!  I will let you know when it is done :)

Note: at the moment the current implementation of the  OpenSlideStore works only for zarr==2.14.2. Not sure atm what would require in order to bump it to the current latest version of zarr==2.17.0.

I reverted the merge with wsi-openslide in order to first fix some of the issues that I identified before merging it with the wsi branch. We can stick with the tiffslide at the moment here.

Looking good to me @stergioc! Indeed we can do a PR later for openslide. I can merge now if it's all good on your side!

Go ahead yes it's all good from my side.


Add compilation presubmit for mac os

Problem
We see chip compilation in mac is broken, since we don't have the presumit for chip compilation.
Proposed Solution
https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners
Add chip compilation in macos-11.0  in presubmit

Dup of: #506


y291ga cannot connect to Synology Surveillance Station (incorrect credentials) on 0.3.1

Hello.
I just installed 0.3.1 on my 0.2.8 y291ga camera, and as I update the onvif settings in Synology Surveillance Station and re-login, the correct credentials are rejected by the camera and I can't connect to the onvif rtsp stream.
I need help. Thanks.

Did it work with 0.2.8?

Hi,
I do have the same issue after upgrading my Yi DomeU from 0.3.0 to 0.3.1 (h52ga).
The Synology Surveillance Station does not accept the credentials and it keeps saying that they are wrong (it works well in another platforms. Any ideas?
Regards
Giacomo

It's not a credentials problem.
The error reported by Synology is not correct.
Please try this version:
y291ga_0.3.1.tar.gz

It's not a credentials problem. The error reported by Synology is not correct. Please try this version: y291ga_0.3.1.tar.gz
There is a new configuration page with some compatibility options.

Do you have also an improved version for h52ga to test?

Here it is:
h52ga_0.3.1.tar.gz

Here it is: h52ga_0.3.1.tar.gz

I installed it but I have the same issue. Also the discovery does not work.

I have the same problem as discussed here, my camera is a h60ga, could you send me the new version with the new ONVIF configuration options? Thanks


Add ci with no thundra integration

Debugging issues with gradle cache and see how it performs in order
to compare.

gradle cache is used when sending a PR but not in master branch. thundra-io/thundra-gradle-test-action is only used in master branch
See this PR execution which only updates some issues templates and as expected gradle cache is used and Thundra Gradle Test Instrumentation step is skipped because of the following config. However, in master branch Thundra Gradle Test Instrumentation step is used and gradle cache is not used.


Add allow root setting for Ubuntu and Web Mode users

This PR fixes #15927
The allow root setting allows the jupyter notebook server to run the notebook as root. This is needed for web mode as there were issues with starting the notebook server due to permission issues.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 5 (80.0%)  changed or added relevant lines in 2 files are covered.
10 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.002%) to 42.738%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/notebook/src/jupyter/serverInstance.ts
3
4
75.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/jupyter/serverInstance.ts
10
74.75%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
26170

Relevant Lines:
55610

💛  - Coveralls


Uploading an observation to the website is coming from "testclient"

After uploading an observation, on the website version the panel that shows from which app the observation was uploaded shows "testclient" as the source of the observation.
I am not sure if this is to change here or on the website code, or on the client apps database. Anyway, it concerns this app so I have added it here.

Yeah, we're using the credentials from https://www.inaturalist.org/oauth/applications/1 while we're developing, which seems fine to me. Do you think that's a problem for some reason? FWIW, eventually we will want to shift to different app credentials, though it's debatable what those should be. We could use the ones for the existing apps and just use different build settings for iOS and Android, or we could treat the RN app as a totally separate app and track its usage independently from the native apps. Thoughts?


Merged in DWX permissions

This PR added DWX required permissions to the AWS policy JSON file.

@akanto @prasanthj Can you please review this PR?
Thx.

Let's give this some more time for testing. Found some permissions are lacking few days back.

@prasanthj Just slack me your findings and missing permissions and I will add them to the merged file before we pull it in....


Status code: 403

MinigetError: Status code: 403
    at ClientRequest.<anonymous> (/home/container/mywa/node_modules/miniget/src/index.ts:255:19)
    at Object.onceWrapper (node:events:628:26)
    at ClientRequest.emit (node:events:513:28)
    at HTTPParser.parserOnIncomingClient (node:_http_client:693:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
    at TLSSocket.socketOnData (node:_http_client:535:22)
    at TLSSocket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at TLSSocket.Readable.push (node:internal/streams/readable:234:10) {
  statusCode: 403
}

Example request
let ytdl = require('@distubejs/ytdl-core')
let fs = require("fs")

async function ytdlcore(url) {
	try {
		const agent = ytdl.createAgent(JSON.parse(fs.readFileSync("cookies.json")));
		const stream = ytdl(url, {
			filter: 'videoandaudio',
			agent
		});
		const chunks = [];
		stream.on("data", (chunk) => {
			chunks.push(chunk);
		});
		await new Promise((resolve, reject) => {
			stream.on("end", resolve);
			stream.on("error", reject);
		});
		const buffer = Buffer.concat(chunks);
		return {
			buffer: buffer,
			size: buffer.length
		};
	} catch (error) {
		throw error;
	}
}

return await ytdlcore('https://youtube.com/watch?v=0J2QdDbelmY')

@distube/ytdl-core version: 4.15.1
Node.js version: 20
Operating system: Ubuntu 22

having the same issue, tried with new cookie but no luck

Same here

Has there been any progress on solving this issue? I tried to find a way, but didn’t succeed

ref
https://github.com/LuanRT/YouTube.js/pull/832
change sig/n regex
and replace n return undefined (https://github.com/LuanRT/YouTube.js/pull/832#issuecomment-2530032202)

@a26364177 Which regex need to be fixed?

try this https://gist.github.com/luthfipun/3385a14816088d320ee00555667a1256

Seems working for me. Thanks a lot.

try this https://gist.github.com/luthfipun/3385a14816088d320ee00555667a1256

thanks working for me.

It's not working for me... I've modified the sig.js and npx patch-package @distube/ytdl-core and got a 403


Markdown processing added to group level

Summary
Added remarkGfm to the TestGroupCard so that tables can be used in descriptions for groups.
Example table added to group 1 in Demonstration Suite

With GFM, you should check that it doesn't interpret any canonical url (e.g. http://hl7.org/fhir/ValueSet/my-valueset|0.8) as a table. My understanding is that the leading and trailing pipes on each line are optional.

With GFM, you should check that it doesn't interpret any canonical url (e.g. http://hl7.org/fhir/ValueSet/my-valueset|0.8) as a table. My understanding is that the leading and trailing pipes on each line are optional.

Thanks for the heads up.  Added one, seems to be working fine:


Feature Request: Coda.io api worker

Guys @transitive-bullshit @tobiaslins Could this worker also work with Coda.io tables?

Possibly, but the purpose of this project and react-notion is to focus specifically on using Notion as a CMS.
My suggestion would be to find or write a similar type of API proxy for Coda.io as a separate project.

Possibly, but the purpose of this project and react-notion is to focus specifically on using Notion as a CMS.
My suggestion would be to find or write a similar type of API proxy for Coda.io as a separate project.

@sirpooya check out notion-client in https://github.com/NotionX/react-notion-x.
There's no reason why the core API abstraction needs to be in a CF worker. notion-client provides a normal JS / TS API wrapper that you can call from anywhere (node.js / CF worker / lambda / coda.io api worker / etc).


Extend the API to support partial downloads

Extend the API to support partial downloads.  This has been implemented on the backend but needs the API endpoints put in place.

If you offered some direction this might be an issue a community member would be able to handle.

I could take on this one; Is it about /renter/download/ and /renter/downloadasync/ routes supporting standard HTTP range requests? Interestingly, the HTTP API already supports offset and length form params but not the standard Range header.

I recommend using the Byte range HTTP header instead of custom URL parameters as described in the HTTP 1.1 spec: https://tools.ietf.org/html/rfc7233#section-3
Basically what this means is the server should reply with Accept-Ranges: bytes when the client makes a HEAD request. Then when the client makes a GET request it sends a Range: bytes=1000-2000 header and the server sends a byte stream of bytes 1000 to 2000. This also immediately enables audio/video streaming as browsers use this header for buffering.

It looks like this is no longer slated for v1.3.2 since a RC has already been released. May want to update to v1.3.3

I'm going to close this issue as I don't think it serves any real purpose.  I opened it hoping a community member could take on the task, but the core devs are actively working on the feature request.  Any further discussion should take place on Discord or via the PRs as they are submitted.


Webhook's signature validation

Is it possible to authenticate any made webhook at the http endpoint? Maybe by verifying signature header?

Well the solution is successfully found - EncryptoSigno


Prevent subtree of components from re-rendering during animation

I apologize if this is a duplicate question...but I could not find an answer for it.
I'm using the <Motion /> component to animate a container of sub-components, like this:
<Motion style={{...}}>
    {styles =>
        <Component1 styleProps={styles} >
            <Component2 />
            <Component 3 />
        <Component1 />
    }
</Motion>

But each step of the animation causes all of those sub-components to re-render.  Is there anything in the library to prevent the children from rendering while its in the process of animating? Or do I have to use shouldComponentUpdate on <Component1> to prevent the rendering? Any ideas/examples of what that might look like?
Thanks in advance for your help!

Extract component2/3 into a separate one and use sCU on component1 for
sure. In current way c2/3 are rendered not by c1 but in the parent (that
has Motion)
Usual advice - make sure you rerender only component for styling, and all
other ui components are very well cached.
On Thu., 13 Oct. 2016 at 07:10, Jon Carenza<EMAIL_ADDRESS>wrote:

I apologize if this is a duplicate question...but I could not find an
answer for it.
I'm using the  component to animate a container of
sub-components, like this:

    {styles =>

    }

But each step of the animation causes all of those sub-components to
re-render. Is there anything in the library to prevent the children from
rendering while its in the process of animating? Or do I have to use
shouldComponentUpdate on  to prevent the rendering? Any
ideas/examples of what that might look like?
Thanks in advance for your help!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chenglou/react-motion/issues/380, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKsoGAIx_Wck5d4MA5US7m712nkPXigks5qzT6dgaJpZM4KVKuB
.

@jcarenza You can also use ShouldNotUpdate to declaratively do so.


Pellet-Manager calculate pallets wrong

On the Pellet-Manager it displays a user over a tonne of Pellets.
I have a feed Rate of 0.9g/s maybe it calculate it wrong. Then  Prime ist on 20grams and it calculate 361kg...
Prime in  Data 22s and 20 gramm

PiFire Version:

Version 1.8.1

That sure looks like a bug!  I think it's actually the time that is calculated incorrectly in the metrics log.  I'll look into this and hopefully get this one squashed.  Thanks for the issue submission!

Did you by any chance adjust the time/date during the run?
Start time was:

End time was:

I'm going to close this.  Feel free to open again if you want to continue to debug.


Text block renders outside of its parent

For some reason TextBlock might be rendered outside of its parent as shown on the image below. Without UniformGridLayout it cannot be reproduced, with it it doesn't matter which orientation is used. Replacing TextBlock by TextBox makes rendering correct, but the height for items is limited by the first one.

Minimal code to repro
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;

namespace TextBlockBug
{
    public class MainWindow : Window
    {
        public MainWindow()
        {
            AvaloniaXamlLoader.Load(this);

            this.FindControl<ItemsRepeater>("Repeater")
                .Items = new[]
                {
                    new SomeViewModel("50mm"),
                    new SomeViewModel("CameraRoundtrip"),
                    new SomeViewModel("EffectSettings"),
                    new SomeViewModel("Material_Preview"),
                    new SomeViewModel("PBRTestSequence"),
                    new SomeViewModel("PostProcessingSettings"),
                    new SomeViewModel("Scenes"),
                };

            this.AttachDevTools();
        }
    }

    public record SomeViewModel(string Name);
}

<Window
    x:Class="TextBlockBug.MainWindow"
    xmlns="https://github.com/avaloniaui"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Title="TextBlockBug"
    d:DesignHeight="450"
    d:DesignWidth="800"
    mc:Ignorable="d">
    <ScrollViewer HorizontalScrollBarVisibility="Disabled">
        <ItemsRepeater Name="Repeater">
            <ItemsRepeater.Layout>
                <UniformGridLayout
                    MinColumnSpacing="2"
                    MinRowSpacing="2"
                    Orientation="Horizontal" />
            </ItemsRepeater.Layout>
            <ItemsRepeater.ItemTemplate>
                <DataTemplate>
                    <Border
                        Margin="2"
                        Background="Green"
                        BorderBrush="Black"
                        BorderThickness="1">
                        <Grid RowDefinitions="Auto,Auto">
                            <Panel
                                Grid.Row="0"
                                Width="64"
                                Height="64"
                                Background="Green" />
                            <TextBlock
                                Grid.Row="1"
                                MaxWidth="64"
                                Padding="2"
                                HorizontalAlignment="Center"
                                Text="{Binding Name}"
                                TextAlignment="Center"
                                TextWrapping="Wrap" />
                        </Grid>
                    </Border>
                </DataTemplate>
            </ItemsRepeater.ItemTemplate>
        </ItemsRepeater>
    </ScrollViewer>
</Window>

I assigned @Gillibald and the unassigned him because i noticed "Without UniformGridLayout it cannot be reproduced", so probably not a text issue as such...
So looks like this might be a problem with ItemsRepeater.

I think it might be the problem with ItemsRepeater and Grid's "Auto" Row definition? (not sure but might be)

i've met this scenario which the Download button is rendered out of the card
However, set the second row to a constant like 100 won't cause this problem
Also, use StackPanelLayout in ItemsRepeater doesn't cause this problem
Using ListBox with UniformGrid isn't causing this problem as well
So i guess might be some conflicts with ItemsRepeater and "Auto" Row definition property in Grid

UniformGridLayout estimates height depending on the first item, IIRC. In combination with this Grid layout, it does seem expected for the repeater.
If you want to avoid rendering outside, add ClipToBounds=true on the parent. Or add a scroll viewer, or a popup with detailed content.
ListBox with UniformGrid won't have this problem, as it measures all children before arranging them, as it's not virtualized.

UniformGridLayout estimates height depending on the first item, IIRC. In combination with this Grid layout, it does seem expected for the repeater. If you want to avoid rendering outside, add ClipToBounds=true on the parent. Or add a scroll viewer, or a popup with detailed content.
ListBox with UniformGrid won't have this problem, as it measures all children before arranging them, as it's not virtualized.

ClipToBounds=True doesn't seem to solve my problem (but maybe cz I'm pretty new to avalonia and have never used this so I use it in the wrong way)
Anyway thanks for the clear explanation 👍
In this case I think yeah it's the expected result if it only evaluated the first item height

This is my code after adding ClipToBounds=True, the download button still not showing in the card

The thing is, that the Grid can be bigger than the Card actually is. So it will clip (means cut) the bottom. I'd use GridSize * in the second row, so the title always has the same height. Then use TextTrimming to show "..." is text is too long.

The thing is, that the Grid can be bigger than the Card actually is. So it will clip (means cut) the bottom. I'd use GridSize * in the second row, so the title always has the same height. Then use TextTrimming to show "..." is text is too long.

i've done TextTrimming with third row, which shows the author of the map, but the second row is the name of the map so it might be better to show the full name instead
I'm considering redesign it with stackpanel but idk whether it will solve the issue or not (but if it only estimate size for the first item i don't think it would work 😂)

in ItemsRepeater all items have same size. So you have some options:

Use abbrevations
Increase Card size
Add a ScrollViewer to your Card
Use another Layout (ItemsControl)

I still see that as by design, so will convert this issue into a discussion now. I hope you understand this.


Updated Fonts and color schemes of project.

Description
Update the page with some latest fonts like italic , bold etc . The nav bar is now looking cool with colors beacause of white color it was not attractive before .
Projects section and every section is now looking good and bright and attractive as well after changing colors and fonts .
In every heading i used different google fonts.
Fixes #6
Type of change

[x] New feature (non-breaking change which adds functionality)

Explain the Testing instructions
Test Configuration:

Operating system: Windows
Text-editors used: VS code

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS

@himanshu007-creator sir , i have changed the fonts and color scheme ....Please  have a look and merge this .
Thanks.

@himanshu007-creator sir , i have changed the fonts and color scheme ....Please have a look and merge this .
Thanks.

hi @mansijain980 , thanks for the PR, but i dont find these chanegs upto the mark . So closing this now. look into


Please support setting keyboard shortcut for refreshing all repositories in a workspace.

For some reason, I have to disable git auto-refresh and rely on manually triggered git refresh.
I found that it is supported to set a keyboard shortcut for refreshing a single repository (git.refresh), but not for refreshing all the repositories. Would be great if that could be supported as well.
System: Ubuntu 16.04
VSCode version: 1.50.1

FYI, this feature exists in GitLens today.


DCR not validating issuer in request JWT

DCR conformance test suite is failing with the following error:
=== Scenario: DCR-004 - Dynamically create a new software client will fail on invalid registration request
        Test case: Register software client fails on invalid issuer
                PASS Generate signed software client claims
                PASS Software client register
                FAIL Assert status code 400: Expecting status code 400 but got 201

https://g.codefresh.io/build/635bec41c1d009ed53e9149a?step=create_dcr&tab=output&logs=terminal
Implement issuer validation as per the spec: https://openbankinguk.github.io/dcr-docs-pub/v3.2/dynamic-client-registration.html

In Postman we are currently not setting the iss (issuer) claim.
The DCR tool sends the following in a valid request:
"iss": "EfuiKIJ0FhNXpydbk5QSkw"
This matches the software_id in the SSA.
OBIE DCR spec:

Identifier for the TPP. This value must be unique for each TPP registered by the issuer of the SSA. The value must be a Base62 encoded GUID. For SSAs issued by the OB Directory, this must be the software_id


Cannot convert input parameter 'client' to type 'Azure.Storage.Blobs.BlobClient' from type 'System.ReadOnlyMemory`1[[System.Byte, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]

Same issue as https://github.com/Azure/azure-functions-dotnet-worker/issues/398, but with BlobClient instead of Stream, which I reckon is a separate issue, since there is a comment of "Streams not supported" but without the client as well, there is no way to deal with big blobs at all.

@martin-displayr this would require use of the SDK type binding feature that is currently in preview.
Adding @surgupta-msft and @liliankasem here for guidance on how to get that setup.

Guidance for using sdk type bindings is available in the official documentation & via this sample

@martin-displayr have you had the ability to validate the functionality with the guidance shared by @liliankasem ? Looking forward to feedback on this.
Thanks!

Hi @fabiocav - no have moved on to other things, will look at this if I get back to working on that function again.

With the new SDK binding feature, this should unblock this scenario as it will allow binding to a BlobClient or a Stream. This is currently in preview but we're targeting GA by September 2023.
If you do get the chance to try this out we would greatly appreciate the feedback! If you still face issues with this new feature in place, please open a new issue so we can investigate further.


Created a coloured ludo game for hacktoberefest22

Why:

Closes #ISSUE_NUMBER
What's being changed:

Closes #2528

@pranav-git-hub
Please wait for us to approve the issue for add-program.
Thank you!


Show my repositories

A tab that has all of the currently logged in user’s repositories would be nice.

Bug Report Dump (Auto-generated)

Version 1.22.0<PHONE_NUMBER>)
Device: iPhone X (iOS 12.0)
TestFlight: false

Gonna close this in favor of #2106 and #317 which are to build the user profile tab (which will have the user's repositories in)


[Task]: Update runtime type creation to support semtypes

Description
Background
JBallerina runtime type resolution

For potentially recursive types we create separate “constant” classes (see JvmConstantsGen)
Each of these classes will have static field for each type and other types that refer to that type will use static field

This means we should set a effectively final value to this field before creating the other type

Later we use the fact some of the BTypes are effectively mutable to fill in the actual type.
For example consider Type F int|F[]. This would be created as follows

Create a static field (say F’) to for the union type F and assign a BUnionType for that
Create each individual members of the union type

When it comes to creating the BArrayType for F[] use the the field (F’) since it is already initialized

Use the setMemberTypes method of the BUnionType to set the corresponding members in F’

NBallerina type resolution
We will be using the compile time type resolution instead of the runtime one since NBallerina’s runtime does not support creating new types at runtime and assume all possible type operations are known at the compile time

Type resolution happens by recursively visiting the each member of the type and combining them (see resolveTypeDesc)

When encountering a potentially recursive type such as a list type for the first time create a “definition” (ListDefinition in this case) and recursively visit its elements
If the type is indeed recursive we’ll visit the same type again but this time with a definition, which will then return a pointer to the Environments recursive type array which will get filled in when the first iteration is completed. This solves the infinite recursion problem while keeping the type it self immutable (tuple example)

Problem

We can’t directly adopt the current approach in JBallerina since semtypes are immutable (ie. we can’t create the semtype and later set its members).

There is also the potential problem of ordering the type field creations with semtypes

We need some sort of a wrapper for potentially recursive types that’ll hold the “Definition” needed for type resolution.

Proposed solution (SemTypeSupplier)

Each SemTypeSupplier would be a Supplier<BSemType>

For potentially recurisive cases this would be class containing a the definition as a field
For other this would just be a lambda function

We’ll support creating SemTypeSuppliers using other SemTypeSuppliers. For example we’ll create the union type using SemTypeSuppliers for each of it’s members similar to how JBallerina create unions.
Calling get on one supplier will cause it to resolve the type similar to NBallerina by calling it’s member suppliers. Result of this is a immutable semtype.

Potential optimizations

We only need suppliers for user defined types (and language types that can recurse like json)
We only need to hold on to the supplier of user defined types and not it’s members so after calculation get rid of them (which is easier to do since we don’t need to create fields for them)
Internally cache the results such that if any supplier ends up in some hot section (somewhat unlikely since after initialization in most places we will be directly using the SemType not the supplier) we won’t recalculate the result.

Alternative solutions
Introduce a wrapper object to SemType
This wrapper will provide a method to get the semtype and lazily evaluate the result using the definition. This means this class is mechanically similar to the SemTypeSupplier. However this means TypeChecker will always have to get the semtype from this wrapper for every type check (this could either be a method call or null check + field access). While this in itself is not hugely expensive, I couldn't think of anything this solution can do (perhaps one can argue this is easier to codegen) that proposed solution can’t do that justify this runtime overhead, in a critical section of the code.
Needed for the runtime part of  #42425
Describe your task(s)
No response
Related area
-> Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Due to design in #40512 we shouldn't need this


Update to libtap d2109aa9d3898359bb8c5f8dabe0221169ed4bd2

This aligns the license declared in the source files with the license
stated in COPYING.

Coverage remained the same at 100.0% when pulling e0120bf60d6c1a6b2213159967105df483a54c83 on jamessan:master into 80bd55ea677e70b041f65a4b99438c1f059cce4b on tarruda:master.


Sidekick offline for a day now

Sidekick has been offline for a day now, is there any way i can trouble shoot this myself in the future? Or is it something that needs to be reset?

Logging in to confirm my use of the bot is also 'offline'. 14 Feb 2021.

Sidekick's likely down for good. Don't bother. https://www.patreon.com/posts/rip-47477208


Transfer BOSH Bootloader to App Runtime deployments

This project was initially given to FI, probably because it has BOSH in its name, and the deployment working group did not exist yet, however, this project actually requires intimate knowledge of cf-deployment to be able to properly maintain it.
This PR proposes to move BOSH Bootloader and the related concourse bbl state resource to the App Runtime Deployments working group.
cc @jochenehret

The App Runtime Deployments working group is currently engaged in transferring testing of its assets (CF-Deployment, Smoke tests and CATs) to our new CI. Can we please defer this decision until that work is complete?

Discusses this PR in the ARD WG meeting on July 14th: We should try to find a better home for this project, possibly the Foundational Infrastructure WG. ARD WG knows the project, but will likely have no capacity for maintenance. TOC will discuss this.

We had an offline meeting about this, there is currently no appetite to move this project over. This is because the App Runtime Deployments team does not feel comfortable with the BOSH context. The path forward will require us to split BBL into separate terraform modules maintained by the working groups with the most context (BOSH-related stuff by FI and CF load balancers by ARD).
This work however requires a not insignificant amount of work and is currently going through prioritization internally at VMware. At this point in time it is uncertain when this work will be picked up.


VERY Insecure

This needs to be secured, at a minimum, with https SSL encryption before exposing directly to the Internet
It might be better to route this through a secure, Internet hardened reverse proxy such as an nginx server

https://www.bhbreptiles.com/collections/milk-snakes/products/pueblan-milksnake-2021?variant=170347092

That should be listed earlier, in the primary instructions. Many users looking for a solution will not drill down that deep.
I just corrected somebody on a forum looking to expose 50 televisions to the Internet using this .

An alternative would be to document using it with Google Assistant (via Home Assistant) which does not require exposing the IRBlasters to the internet.

Mine is secured by Raspberry Pi proxy.  But this is a project add-on.  Mine
also works with Google assistant.
On Tue, Jan 18, 2022, 07:19 bwosborne2 @.***> wrote:

This needs to be secured, at a minimum, with https SSL encryption before
exposing directly to the Internet
It might be better to route this through a secure, Internet hardened
reversy proxy such as an nginx server
—
Reply to this email directly, view it on GitHub
https://github.com/mdhiggins/ESP8266-HTTP-IR-Blaster/issues/328, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANE5Z7HGQVBNRQ55E3BW77TUWWAJFANCNFSM5MHOM6UQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Google Assistant (via Home Assistant)

You have HA parsing the http string? The user I corrected was on the HA forum.
Apparently the developer wants to support Alexa though.

You have HA parsing the http string? The user I corrected was on the HA forum.

My use case, arguably, is a simple one.  I have a few IRBlasters attached to lights (just on/off), so the sequences are pretty simple.
The TL;DR is to configure a Home Assistant to have a switch with an automation attached to toggle it back and forth, then call that from a fullfillment URL in the Google Assistant Add-On.  There will need to be something like this for the automation to call:
rest_command:   master_led_off:     url: "http://<IP_ADDRESS>:8080/msg?code=F7C03F:NEC:32&address=0xef00"     method: put   master_led_on:     url: "http://<IP_ADDRESS>:8080/msg?code=F740BF:NEC:32&address=0xef00"     method: put

Security limitations are discussed at length in the readme and there are security options in place within the limits of the hardware. The MQTT beach also offers an additional solution without opening the port for those that wish to provide their own MQTT server. Reverse proxies or using an intermediate such as HA are also options.


irmin-pack: fix a bad performance regression for read-only instances

Pack files do not have generation numbers in V1, so force_generation was
always returning a corrupted value, which was forcing a cleanup of all
the existing caches on every sync and reloading the dict file from scratch.
This is #1360 applied to master.

@icristescu do you think we have a way to test this?

@icristescu do you think we have a way to test that sync doesn't do anything crazy?

I'll run the bootstrap on the archive store for a few hours with this branch to check. We can also do a snapshot import and run it for a few hours too.

Rebased. We should probably merge it as #1360 is already released :-)

Running this branch for 3 hours on the archive store (the comparison with master is only approximative) no errors or obvious regressions detected.

Thanks @icristescu ! merging 🚀


i18n: package info with utf8 chars prevents upload

/var/lib/gems/1.9.1/gems/deb-s3-0.6.1/lib/deb/s3/package.rb:237:in `[]': invalid byte sequence in US-ASCII (ArgumentError)

I'm trying to upload the latest nodejs deb in my s3 repo.
In the Maintainer field there are some utf8 chars.
Less output:
nodejs_0.10.28-1chl1~quantal1_i386.deb:
 new debian package, version 2.0.
 size 5619768 bytes: control archive=34984 bytes.
      25 bytes,     1 lines      conffiles
     861 bytes,    22 lines      control
  122444 bytes,  1283 lines      md5sums
     282 bytes,    17 lines   *  postinst             #!/bin/sh
     240 bytes,    13 lines   *  prerm                #!/bin/sh
 Package: nodejs
 Version: 0.10.28-1chl1~quantal1
 Architecture: i386
 Maintainer: J<C3><A9>r<C3><A9>my Lal<EMAIL_ADDRESS> Installed-Size: 16654
 Depends: libc6 (>= 2.15), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), rlwrap
 Conflicts: nodejs-dev, npm
 Replaces: nodejs-dev, npm
 Provides: nodejs-dev, npm
 Section: web
 Priority: extra
 Homepage: http://nodejs.org/

Hello,
Are you sure this has been fixed ? I just had the same issue with a package I try to upload :+1:
/var/lib/gems/2.1.0/gems/deb-s3-0.7.1/lib/deb/s3/package.rb:283:in `block (2 levels) in parse_control': invalid byte sequence in US-ASCII (ArgumentError)
There are special characters in the author's name


oracle/neofs: Upgrade NeoFS dependencies

Replace neofs-api-go module with neofs-sdk-go. Adapt to NeoFS
response statuses in the implementation of NeoFS oracle.
I guess we need to wait for neofs-sdk-go release.

Conflict, please rebase.


implements Chatwork OAuth2 features.

Added feature to sign in as Chatwork user in OAuth2 authentication.
remove logging settings in application.conf and added logback.xml.
added custom OAuth2Client retrieval feature in RuntimeEnvironment.scala
added ChatworkProvider.
this OAuth2Client retrieval methods also efficient for Bitbucket defects.

I commited bb366d2431f552edefcae1090caa024a6614457a of kimrin/securesocial chatwork-provider. I am new to this type of github PR scheme, so please teach me how to handle this commit. Only leave it will sufficient for?

I agree not to use chatwork_id as user id.
Although account_id in JSON is integer, but type of this value is Option[Int].
So I got it by asOpt[Int].getOrElse(UnknownUserId).toString() where UnknownUserId = -9999
(should not be occurred).

but type of this value is Option[Int].

account_id is of integer and a required field, so it should be of Int. What made you think its type is Option[Int]?
https://github.com/chatwork/api/blob/master/RAML/api-ja.raml#L666
If you use asOpt[Int], its return type is of course Option[Int], and if you use as[Int], it's Int.

please see recent commits. They are suitable for your expectations.


Add function to scale a linear to exponential range

Fixes #98
I implemented this as an extension to Double because Double and Float have different exponentiation operators (pow, powf), and only the Double case has an expected usage.
Also the long name... in SuperCollider this is just linexp. Maybe a compromise of scaleLinToExp? I want to distinguish it from the inverse function scaleExponentialToLinear, and from the potential scaleExponentialToExponential.

@jsbean incorporated the changes you suggested in slack

It's a beaut! Would a toLogarithmic: variation benefit your desires?

Good question--i don't have a current use for it, so let's hold off on implementing that one.

@brianlheim I'll merge this now. The travis fail is auth related, correct?

The fail is the swift 3.1/3.0.2 binary incompatibility.. i'll do a PR for that next :)

Err nvm it's already done in master, this should build OK once merged (the PR build passes)

Ah, perfect. Merging. Thanks!


Listens, but doesn't answer

So I just installed ovos-docker using the official docs. Got everything except for the GUI. When I use the wakeword ("Hey Mycroft"), it is playing a "listening" sound, but never answers queries. Just stays completely silent.
Looking at the CLI (docker exec --interactive --tty ovos_cli ovos-cli-client) the queries seem to properly arrive, as in it understands what I'm saying, but it never generates an answer.

I can confirm that speech output works properly by running docker exec --interactive --tty ovos_cli ovos-speak "hello world"
It also seems like all containers that should be running are in fact running:

Although the ovos-core container seems to restart exactly every 60 seconds (no idea if that's intended)
In case it somehow matters, i'm running Arch Linux

Hi @Xenorio
Thanks for the detailed issue! Could you please run this command to provides the logs from the ovos_core  containers?
docker logs --tail 500-f ovos_core

Ah, seems to be a good ol' permission issue ^^
Logs are simply repeating this over and over again:
/usr/local/bin/entrypoint.sh: line 14: cd: /home/ovos/.local/share/mycroft/skills: No such file or directory
mkdir: cannot create directory '/home/ovos/.local/share/mycroft/skills': Permission denied

No idea why that would happen though. I am using the compose files from this repo, and did not mess with any permissions (or anything else for that matter) whatsoever.
I'd guess that entrypoint script is somehow running as the wrong user. Or the ovos user does not have write permissions for its own home dir, which would be even weirder.
Tried to have a look at the permission situation in that directory, but the restart loop is preventing this

According to the first screenshot, you ran docker compose as root which is why you got the "permissions denied".
First you need to restore the permissions on ~/.config/pulse and /run/user/1000/pulse.

Second you will have to follow this: https://openvoiceos.github.io/ovos-docker/getting-started/docker/prerequisites/engine/#dont-be-root-be-a-user

Oh, my bad, skipped right to the installation instructions in the docs...
I am now running the containers as myself, added myself to the audio group, and confirmed that I own the pulse config files:

However, now it's not listening anymore. I'm not getting the "listening" sound, and pavucontrol does not list any recording stream.
It seems that now, the ovos_listener container is restart-looping and spitting this error at me:
2023-09-22 15:43:37.801 - voice - ovos_dinkum_listener.service:__init__:121 - INFO - Starting Voice Service
2023-09-22 15:43:37.816 - voice - ovos_dinkum_listener.service:on_alive:56 - INFO - DinkumVoiceService is alive.
2023-09-22 15:43:37.817 - voice - ovos_dinkum_listener.service:_before_start:292 - INFO - Starting service...
2023-09-22 15:43:37.828 - voice - ovos_bus_client.session:reset_default_session:536 - INFO - New Default Session Start: 58545c91-8053-45c2-97e0-8698fdada21a
2023-09-22 15:43:38.151 - voice - ovos_dinkum_listener.service:_connect_to_bus:391 - INFO - Connected to Mycroft Core message bus
2023-09-22 15:43:38.499 - voice - ovos_plugin_manager.vad:create:129 - ERROR - VAD plugin ovos-vad-plugin-silero could not be loaded!
Traceback (most recent call last):
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_manager/vad.py", line 127, in create
    return clazz(plugin_config)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_vad_plugin_silero/__init__.py", line 62, in __init__
    self.vad = SileroVoiceActivityDetector(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_vad_plugin_silero/__init__.py", line 14, in __init__
    self.session = onnxruntime.InferenceSession(onnx_path)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 432, in __init__
    raise e
  File "/home/ovos/.venv/lib/python3.11/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 419, in __init__
    self._create_inference_session(providers, provider_options, disabled_optimizers)
  File "/home/ovos/.venv/lib/python3.11/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 451, in _create_inference_session
    raise ValueError(
ValueError: This ORT build has ['AzureExecutionProvider', 'CPUExecutionProvider'] enabled. Since ORT 1.9, you are required to explicitly set the providers parameter when instantiating InferenceSession. For example, onnxruntime.InferenceSession(..., providers=['AzureExecutionProvider', 'CPUExecutionProvider'], ...)
Traceback (most recent call last):
  File "/home/ovos/.venv/bin/ovos-dinkum-listener", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_dinkum_listener/__main__.py", line 24, in main
    service = OVOSDinkumVoiceService(on_ready=ready_hook, on_error=error_hook,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_dinkum_listener/service.py", line 148, in __init__
    self.vad = OVOSVADFactory.create()
               ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_manager/vad.py", line 127, in create
    return clazz(plugin_config)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_vad_plugin_silero/__init__.py", line 62, in __init__
    self.vad = SileroVoiceActivityDetector(model)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_vad_plugin_silero/__init__.py", line 14, in __init__
    self.session = onnxruntime.InferenceSession(onnx_path)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 432, in __init__
    raise e
  File "/home/ovos/.venv/lib/python3.11/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 419, in __init__
    self._create_inference_session(providers, provider_options, disabled_optimizers)
  File "/home/ovos/.venv/lib/python3.11/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 451, in _create_inference_session
    raise ValueError(
ValueError: This ORT build has ['AzureExecutionProvider', 'CPUExecutionProvider'] enabled. Since ORT 1.9, you are required to explicitly set the providers parameter when instantiating InferenceSession. For example, onnxruntime.InferenceSession(..., providers=['AzureExecutionProvider', 'CPUExecutionProvider'], ...)

No idea what "ORT", "InferenceSession", or anything else here is supposed to mean

Oh, also, I can confirm that it is generating answers now by manually typing queries in the CLI. It's just not listening anymore.

I'm rebuilding the ovos_audio and ovos_listener images with onnxruntime version 1.15, you will not have to change your configuration.

Both images are not rebuild, just re-run the same docker compose command you used initially.

It did pull down new images, but it seems like something went majorly wrong here
ovos_listener log spams this now: /usr/local/bin/entrypoint.sh: line 32: ovos-dinkum-listener: command not found

It did pull down new images, but it seems like something went majorly wrong here
ovos_listener log spams this now: /usr/local/bin/entrypoint.sh: line 32: ovos-dinkum-listener: command not found

Stupid me... https://github.com/OpenVoiceOS/ovos-docker/commit/f54d5f9ba7a23d56e9e72793aa432a4df3af4e30#diff-89244cc4e9ad80ff4874e6c162d530547cf9412ee031ebde53e9155ee6a3fa77L2
I'm rebuilding listener...

Oh, well, happens to the best of us I guess 😅

Yes! Amazing! I can finally talk to my new buddy now! Thank you so much ❤
However, one last teeny tiny issue... It's not playing the "listening" sound after issuing the wakeword anymore... Poked around a bit, and found this error in ovos_audio which is probably the culprit:
2023-09-22 18:16:35.788 - audio - ovos_utils.file_utils:resolve_resource_file:153 - WARNING - Deprecation version=0.1.0. Caller=ovos_audio.service:395. Expected a dict config and got None.
exception calling callback for <Future at 0x7f422c6b9090 state=finished raised FileNotFoundError>
Traceback (most recent call last):
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 340, in _invoke_callbacks
    callback(self)
  File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_executor.py", line 57, in _callback
    self.emit("error", exc)
  File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_base.py", line 118, in emit
    self._emit_handle_potential_error(event, args[0] if args else None)
  File "/home/ovos/.venv/lib/python3.11/site-packages/pyee/_base.py", line 88, in _emit_handle_potential_error
    raise error
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_audio/service.py", line 427, in handle_instant_play
    audio_file = self._resolve_sound_uri(audio_file)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_audio/service.py", line 397, in _resolve_sound_uri
    raise FileNotFoundError(f"{audio_file} does not exist")
FileNotFoundError: None does not exist

Yes! Amazing! I can finally talk to my new buddy now! Thank you so much ❤

Awesome!
@JarbasAl sounds related to the changes of sound been played in ovos_audio container instead of ovos_listener.
@Xenorio do you have this in your mycroft.conf?
  "sounds": {
    "start_listening": "/home/ovos/.venv/lib/python3.11/site-packages/ovos_dinkum_listener/res/snd/start_listening.wav",
    "end_listening": "/home/ovos/.venv/lib/python3.11/site-packages/ovos_dinkum_listener/res/snd/end_listening.wav",
    "acknowledge": "/home/ovos/.venv/lib/python3.11/site-packages/ovos_dinkum_listener/res/snd/acknowledge.mp3"
  },

  "sounds": {
    "start_listening": "/home/ovos/.venv/lib/python3.11/site-packages/ovos_audio/res/snd/start_listening.wav",
    "end_listening": "/home/ovos/.venv/lib/python3.11/site-packages/ovos_audio/res/snd/end_listening.wav",
    "acknowledge": "/home/ovos/.venv/lib/python3.11/site-packages/ovos_audio/res/snd/acknowledge.mp3"
  },

this should no longer be needed, ovos-audio now resolves snd/XXX (the default config) automatically for built in sounds
unfortunately the logs don't show the passed string so not sure what went wrong there exactly, the file path didn't seem to exist in ovos-audio container

Looks like the docs need an update ^^
Originally used the config from https://openvoiceos.github.io/ovos-docker/getting-started/docker/installation/configuration/
{
  "play_wav_cmdline": "aplay %1",
  "lang": "en-us",
  "listener": {
    "VAD": {
      "module": "ovos-vad-plugin-silero"
    }
  },
  "sounds": {
    "start_listening": "/home/ovos/.venv/lib/python3.11/site-packages/ovos_dinkum_listener/res/snd/start_listening.wav"
  }
}

After modifying the start_listening field to the new path (site-packages/ovos_audio instead of site-packages/ovos_dinkum_listener) and adding the additional paths, the sound is back again

Fixed https://github.com/OpenVoiceOS/ovos-docker/commit/962b21be0d3e3f2b87c9130069e9c9b48f0b8896
@Xenorio Enjoy!

Thanks for your time and patience ❤
Since everything seems to work as intended now, guess I can close this 😅


scripts/generate-docs.sh not working

Publishing the toc.json did not work with generate-docs.sh. Publishing the website required running the script and also copying over the toc.json generated from npm start from the website/ directory.

This is now much better with https://github.com/angular/protractor/pull/4040
There's still some errors which are probably due to old versions, but the script actually runs now.

Closing since it does actually work, even if there are some very ugly warnings on mac (they're due to old dependencies anyway).