Swagger Parser error when reading local yaml files

Hi.
I have used a similar example in terms of hierarchy and $ref definitions as
https://github.com/mohsen1/multi-file-swagger-example
I am new to this, so I am sure I am doing something wrong...Please advise....
When trying to read the yaml file, I am getting this error. Seems like it does not like the $ref definition on the paths/index.yaml file.
Here is the error:
Can not instantiate value of type [simple type, class com.wordnik.swagger.models.Path] from String value ('C:/IDEA///***/yaml//paths/index.yaml'); no single-String constructor/factory method
at [Source: N/A; line: -1, column: -1] (through reference chain: com.wordnik.swagger.models.Swagger["paths"])
Thank you

Looks like you're using an old version of the parser.

Hi. Thank you. I have updated the version to use the 1.0.11-SNAPSHOT....but still getting the error
Can not instantiate value of type [simple type, class io.swagger.models.Path] from String value ('./paths/index.yaml'); no single-String constructor/factory method
at [Source: N/A; line: -1, column: -1] (through reference chain: io.swagger.models.Swagger["paths"]->java.util.LinkedHashMap["$ref"])

Can you share your definition(s)?

this is the index.yaml
.....
paths:
$ref: ./paths/index.yaml
this is in paths/index.yaml
/cars/{carId}/{modelId}:
$ref: ./cars.yaml
Also, I have tested this using the exact code from resolve.js within node.js and it works fine...
https://github.com/mohsen1/multi-file-swagger-example

Have you tested the parser with @mohsen1's example directly?

Just tried now.
This is my java code
Swagger swagger = new SwaggerParser().read("C:/Users/***/Downloads/MultiFilesBkup/index.yaml");
Error I am getting with above
reading from C:/Users//Downloads/MultiFilesBkup/index.yaml
Can not instantiate value of type [simple type, class io.swagger.models.Path] from String value ('./paths/index.yaml'); no single-String constructor/factory method
at [Source: N/A; line: -1, column: -1] (through reference chain: io.swagger.models.Swagger["paths"]->java.util.LinkedHashMap["$ref"])
reading from C:/Users//Downloads/MultiFilesBkup/index.yaml
Can not instantiate value of type [simple type, class io.swagger.models.Path] from String value ('./paths/index.yaml'); no single-String constructor/factory method
at [Source: N/A; line: -1, column: -1] (through reference chain: io.swagger.models.Swagger["paths"]->java.util.LinkedHashMap["$ref"])

Hi. Any solutions to this please?

I happened to come across this issue, please pardon me butting in.
Here is the root yaml file:
swagger: '2.0'
info:
  $ref: ./info/index.yaml
paths:
  $ref: ./paths/index.yaml
definitions:
  $ref: ./definitions/index.yaml

I don't think this is valid swagger 2.0 yaml. My reading of the swagger spec says that you can reference individual paths via a $ref but it does not say you can put multiple paths into a single yaml file and reference that file via a single ref.
For example you could do the following
swagger: '2.0'
paths:
  /foo:
   $ref: ./paths/foo.yaml
 /bar:
   $ref: ./paths/bar.yaml
definitions:
 Foo:
   $ref: ./models/foo.yaml
 Bar:
  $ref: ./models/bar.yaml

@webron Am I reading the spec correctly?

Hi
Apologies, for the late reply.
I get what you are saying, but the above was based on a swagger example. If you look at https://github.com/mohsen1/multi-file-swagger-example/blob/master/index.yaml
This is the root yaml file
swagger: '2.0'
info:
$ref: ./info/index.yaml
paths:
$ref: ./paths/index.yaml
definitions:
$ref: ./definitions/index.yaml

Hi, unfortunately that post isn't accurate for what is allowed inside swagger.  The JSON pointers are not legal arbitrarily, even if they technically could be.  So the source of truth should be the swagger-spec, not the general internet.

Hi. Thank you very much for your reply. Ok, So like user Helmsdown says, I should basically take all the paths that I have in /paths/index.yaml and put them in the root yaml?

Yes--best if you use the validator to ensure the spec is valid.  You can do so like such:
curl -X POST -H "application/json" -d @petstore.json http://online.swagger.io/validator/debug

Then you can validate your JSON.  For example this:
{
  "swagger": "2.0",
  "info": {
    "$ref": "foo/bar"
  }

Will cause a parse error


Update packaging documentation

This pr is mainly to track and discuss updates on the documentation until it is ready for release. Feel free to commit any changes you want onto this branch.

@LinusCDE @matteodelabre Any chance we could push a little further on this

I'll try to find some time next week.

Reviving this PR with some improvements:

Write the building.md guide.
Consolidate information about the .ipk format into opkg.md.
Write the “bug report”, “package add/request” sections of contributing.md.
Update Linus’ packaging tutorial.
Make title casing consistent and other style fixes.

Reviving this PR with some improvements:

Write the building.md guide.
Consolidate information about the .ipk format into opkg.md.
Write the “bug report”, “package add/request” sections of contributing.md.
Update Linus’ packaging tutorial.
Make title casing consistent and other style fixes.


[Component] Button - Add missing shapes

https://www.figma.com/file/0QchRdipAVuvVoDfTjLrgQ/Spark-Specs-and-Handoff?type=design&node-id=2340-22741&mode=design&t=ewtI1kuBXsWtfygy-4

### Tasks
- [x] Button component
- [x] Icon button component
- [x] Icon toggle button component

All clear ✅
There is a white background button / icon button / toggleable button that shouldn't be here, but this will be handled in https://github.com/adevinta/spark-android/pull/767 ( @kazaky )


Store plugin activated/deactivated in .vscode/plugins.json

I would like to activate and deactivate some plugins for different projects. I know this is already possible within the extensions tab, but I would like to control this by a file.
This feature would be very useful for coding with others in my team. So their VS Code would not load any PHP extension in a js project but still for other projects.
The file would be stored in .vscode/plugins.json
There could be an option to enabled/disable this behaviour, like: vscode.enableExtensionHandlingByFile and inside is an array of allowed extension authors or just a true/false.
Another option would be that VS Code is asking the user to install the extensions the project want to activate. Something like vscode.enableExtensionInstallByFile

This is just a performance feature

@muuvmuuv  VS Code already activates extensions lazily by file type. So unless a user opens a .php file the PHP extension will not be activated.  You can verify this using the command Developer: Show Running Extensions.
It can happen that an extension defines that it wants to be activated on start, but this is an issue of the extension and the extension should improve its behavior.


--unsafe-package doesn't normalize hyphens/underscores

Pip resolves package-name and package_name to the same dependency. However, the unsafe package specifier doesn't take this into account on the latest released version.
Example: pip-compile --unsafe-package opencv_python --no-allow-unsafe still installs opencv-python in the final output.

Sounds like a normalization issue. Is it still reproducible on main? I think there were some PRs related to normalizing the dist names in the summer.

A good starting point would be submitting a PR with regression tests.

Here's my reproduction:
# in a new environment
pip install "pip-tools@git+https://github.com/jazzband/pip-tools@main"
pip-compile --version
# pip-compile, version 7.4.2.dev87

# tmp.in contains just `opencv-python`
pip-compile tmp.in --no-allow-unsafe --unsafe-package opencv_python

Outputs:
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
#    pip-compile --unsafe-package=opencv_python backend/requirements-ia/tmp.in
#
numpy==2.2.1
    # via opencv-python
opencv-python==<IP_ADDRESS>
    # via -r backend/requirements-ia/tmp.in

If you change --unsafe-package to opencv-python, it works as expected


animateToRegion not working, throwing unhelpful error

Bug
I am attempting to use animateToRegion as follows (this is demo data provided in the readme):
map.animateToRegion({
      region: {
        latitude: 37.78825,
        longitude: -122.4324,
        latitudeDelta: 0.0922,
        longitudeDelta: 0.0421,
      },
      duration: 300,
})

As defined in the docs:
region: Region, duration: Number

An error is thrown:

Environment info

react-native info output:
System:
    OS: macOS 10.15.3
    CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
    Memory: 1.60 GB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.8.1 - /usr/local/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 23, 25, 26, 28
      Build Tools: 22.0.1, 23.0.1, 23.0.3, 25.0.2, 26.0.1, 26.0.3, 28.0.1, 28.0.3
      System Images: android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom
  IDEs:
    Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.5 => 0.61.5
  npmGlobalPackages:
    create-react-native-app: 1.0.0
    react-native-app-id: 0.0.5
    react-native-git-upgrade: 0.2.7

Library version: ^0.26.1
Steps To Reproduce

use the map component as you would any other component
attempt to animate the region to a location using animateToRegion
...

Describe what you expected to happen:

No error thrown and map is animated to region OR
a helpful error is thrown

Turns out this was my error...
the function should be:
animateToRegion(
      {
        latitude: 37.78825,
        longitude: -122.4324,
        latitudeDelta: 0.0922,
        longitudeDelta: 0.0421,
      },
      300
    )

Sorry. A helpful error message would still be nice :)

how to call map.animateToRegion I put it in useEfffect but not working =(((

Same for me, it doesn't work at the first launch


docs: fix format of README

This question is not recognized by markdown as bold because of needless
space. This | is a full-width character by accident, and users can't
excecute it as a pipe.

LGTM


Editor association for custom editor set into workspace level, instead of user level

If you turned on the custom editor experiment (that setting is at the user level) it added in the editor association for that custom editor at the workspace level, and then wasn't automatically removing it.

Hmm, I was seeing this once at the bug bash. But I was having some other settings weirdness at the time. I can repro this now, so closing.


Handle Color3 type

I just started to use remodel for a project and I find it pretty useful!
I'm currently using it to build a model from a set of place files: the goal is to have a separate place for each world, and then read each of them with remodel and extract the necessary data.
I ended up reading the current Lighting properties of each place and creating a series of Value objects to include into the final model. So in order to serialize the Ambient property, for example, I needed that Color3 value.
I know there was not any issues related to that so I don't know if you had something else in mind, just let me know.

Another thing crossed my mind, we should try to handle cases where the property type is Color3uint8 as well! It's mostly a serialization distinction, but some color properties can have components that exceed 1.0 while others cannot.

I'd like to add some tests around the changes that I made, but I am not exactly sure how I should do them. First, I tried adding a script that would assert on the Value property of a Color3Value, but the problem I had was that there is no "Value" property when you create the instance:
local color3Value = Instance.new("Color3Value")

print(remodel.getRawProperty(color3Value, "Value")) -- this prints nil

remodel.setRawProperty(color3Value, "Value", "Color3", someColor3ReadFromSomewhere)

print(remodel.getRawProperty(color3Value, "Value")) -- this prints the color value now

I guess that is because the properties are like "lazy" loaded since it's weakly typed right? So another option could be a script like this, but I feel like if we could avoid to read a file it would be better:
local game = remodel.readPlaceFile("test-models/place-with-models.rbxlx")
local ambient = remodel.getRawProperty(game.Lighting, "Ambient")

assert(tostring(ambient) == "0, 0, 0")

Do you have any other ideas?

I guess we have a couple of options for testing this!

Implement support for Roblox-style property access with default values. This would make our tests the most natural, but might be kind of a difficult undertaking!
Create files in Roblox Studio that we can deserialize and measure from. I like this option, especially since the XML format is easy to audit the representation of. I would probably create more focused model files instead of poking at services in places, if we can.
Test reading + writing in the same go. For this test, we'd construct a Color3Value, set Value, then read Value back. This might make us fall victim to a symmetrical error, which I don't like, but the tests are self-contained at least.

My vote would be for option 2, I think. It's straightforward (don't need to do any more work) and lets us exercise a lot of corner cases. It has a downside that the exact behavior will depend on the serialization libraries pretty heavily.

Let's merge this and iterate on more types!


error at the time of deployment : error validating data: ValidationError(Secret.data): invalid type for io.k8s.api.core.v1.Secret.data:

Hello @simoncolincap @janrenz @mvakert @wolfm89
Everything goes well apart from the below error at the time of deployment..
For your information, I have also replaced the placeholders for the base64 credentials in
/overlays/production/ops/bbb-basic-auth-secret.yaml
/base/jitsi/jitsi-secret.yaml
apiVersion: v1 kind: Secret metadata:   namespace: jitsi   name: jitsi-config type: Opaque data:   JICOFO_COMPONENT_SECRET:6290f3e910afc1b0ded51a9ff5825e08   JICOFO_AUTH_PASSWORD:b8cb3a744c3a83b9107f6e4115c0bad8   JVB_AUTH_PASSWORD:119d7ffe32bb2964337068852d6ad078   JVB_STUN_SERVERS:meet-jit-si-turnrelay.jitsi.net:443   TURNCREDENTIALS_SECRET:119d7ffe32bb2964337068852d6ad675   TURN_HOST:<IP_ADDRESS>   STUN_PORT:4000   TURN_PORT:4001   TURNS_PORT:4002
error: error validating "STDIN": error validating data: ValidationError(Secret.data): invalid type for io.k8s.api.core.v1.Secret.data: got "string", expected "map"; if you choose to ignore these errors, turn validation off with --validate=false
Swift response will be life saver..
Thanks in advance!

Perhaps you've found the solution already but here is it again (so the next guy looking for the answer doesn't have to spend hours to find the answer like I've done ;-).
Only the "invalid type for ..." part though.  I'm still working on the STDIN error :-(
You cannot use the value directly, you'll have to base64 encode your value before using it.  I use this website https://www.base64encode.org/
Good luck! And please let me know if you find the fix for the STDIN part, thanks. :-)

Perhaps you've found the solution already but here is it again (so the next guy looking for the answer doesn't have to spend hours to find the answer like I've done ;-).
Only the "invalid type for ..." part though.  I'm still working on the STDIN error :-(
You cannot use the value directly, you'll have to base64 encode your value before using it.  I use this website https://www.base64encode.org/
Good luck! And please let me know if you find the fix for the STDIN part, thanks. :-)

Hi, does it make sense to add this to the readme or add seomthing like  FAQs?

Hi, does it make sense to add this to the readme or add seomthing like  FAQs?

Hi, I’ve seen the secret.sh script at the root of the project, so here what I’ve done:
first, generate pwds:
(install pwgen first if you need, or figure out pwd yourself ;) )
pwgen 25 50 -s
Take some passwords from the output and add them into "base/jitsi/jitsi-secret.yaml"
chmod +x secrets.sh
./secret.sh base/jitsi/jitsi-secret.yaml development
(from the root of the project)
=> you  need to do it obviously for other "instance" <development|production...>
And the secrets are ok


No indexing when in "docs only mode"

When trying to run a site using the "docs only mode" found here the search indexing doesn't seem to work. I am always shown "no results".
Reproduction Steps

Create a new site: npx create-docusaurus@latest my-website classic --typescript
Delete blog/ folder, all files in docs/, and all files in pages/
Create index.md in docs/ with the content:

---
slug: /
---

# Introduction

Test data

Update docusaurus.config.js

// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");

/** @type {import('@docusaurus/types').Config} */
const config = {
  title: "My Site",
  tagline: "Dinosaurs are cool",
  url: "https://your-docusaurus-test-site.com",
  baseUrl: "/",
  onBrokenLinks: "throw",
  onBrokenMarkdownLinks: "warn",
  favicon: "img/favicon.ico",
  organizationName: "facebook", // Usually your GitHub org/user name.
  projectName: "docusaurus", // Usually your repo name.

  presets: [
    [
      "classic",
      /** @type {import('@docusaurus/preset-classic').Options} */
      ({
        docs: {
          routeBasePath: "/",
          sidebarPath: require.resolve("./sidebars.js"),
        },
        theme: {
          customCss: require.resolve("./src/css/custom.css"),
        },
      }),
    ],
  ],

  themeConfig:
    /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
    ({
      navbar: {
        title: "My Site",
        logo: {
          alt: "My Site Logo",
          src: "img/logo.svg",
        },
        items: [],
      },
      footer: {
        copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
      },
      prism: {
        theme: lightCodeTheme,
        darkTheme: darkCodeTheme,
      },
    }),
  plugins: ["@easyops-cn/docusaurus-search-local"],
};

module.exports = config;

npm run build and npm run serve
Try searching, no results available

I've gotten around this by removing the docs only mode and creating an index.tsx to force a redirect like so:
import React from "react";
import BrowserOnly from "@docusaurus/BrowserOnly";

export default function Home(): JSX.Element {
  return (
    <BrowserOnly>
      {() => {
        window.location.href = `${window.location.origin}/docs`;
        return null;
      }}
    </BrowserOnly>
  );
}

See discussions and possible workaround in #42

I'm dumb. Solution was to edit the plugin options and add this: docsRouteBasePath: "/",

I'm dumb. Solution was to edit the plugin options and add this: docsRouteBasePath: "/",

Thank you


kontrol: remove adding 'nbf' to token generated from kontrol to avoid dealing with clock drift problems

kite_test.go:137: timeout: No response to "ping" method in 4s - if we've make the GetKites timeout configurable and use e.g. 8s for tests most of the failed runs would go away.

Going to rework this in separate PR.


clpz: unexpected instantiation error

?- A=2,B in 0..1,A#=B.
   A = 2, B = A, unexpected
;   error(instantiation_error,callable), unexpected.
   false. % expected

(Does it really make sense to include one library after the other before fixing unification?)

The only general unification problem is with rational trees. This is
unrelated. But you're right that CLPZ in Trealla is flawed (as I pointed
out yesterday, my time).
On Sat, Sep 9, 2023 at 1:39 AM UWN @.***> wrote:

?- A=2,B in 0..1,A#=B.
A = 2, B = A
;   error(instantiation_error,callable), unexpected.
(Does it really make sense to include one library after the other before
fixing unification?)
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/333, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSEWEUAZH5EBMJT3NH53XZM33LANCNFSM6AAAAAA4QSBFIU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

$ tpl ~/scryer-prolog/src/lib/clpz.pl
Trealla Prolog (c) Infradig 2020-2023, v2.27.5
?- A=2,B in 0..1,A#=B.
   false.
?- A=1,B in 0..1,A#=B.
   A = 1, B = A.
?-

The only general unification problem is with rational trees.

The only compact and easy to reproduce problem is with rational trees.
At least this tells me my experience with other clpfd/clpz systems, like SICStus (since 1996).

This is unrelated.

Not sure how you can conclude that.

tpl ~/scryer-prolog/src/lib/clpz.pl

(after you removed library(clpz)), so this the way clpz should be used? (Yes, there are more errors, and they are always related to the term representation, so I really suggest you fix unification first)


Comaprision on Licenses

[x] Use fnmatch
[x] Count the number of files and lines where each license is used.


Add example for enabling rewrite target allocator feature

Enabling the rewrite target allocator feature is a common need when deploying this chart. A specific example in the documentation should make it easier for newcomers (like myself) to deploy the operator and scrape serviceMonitor endpoints.

With the next release of the Operator this feature gate is being enabled by default: https://github.com/open-telemetry/opentelemetry-operator/pull/2231.  We can still add this feature gate section, but we shouldn't use the rewrite feature gate anymore.


Feature Request: Translate Content

Are you planning that you can also translate content?
I think that is a very important feature.

We released the Pagekit Beta today. I close this issue because the code base completely changed. Please open a new issue if it still exists.


Fluent API

Changed client methods over to a fluent approach to adding headers and other request components.

See: https://jira.duraspace.org/browse/FCREPO-2037

I get that Java is what it is and the generics are going to be a bit wangly, but it seems to me that you could get rid of a lot of the self() implementations by starting out your type system with an interface w/ default method, something like:
public interface Builder<SelfType extends Builder<SelfType>> {

    @SuppressWarnings("unchecked")
    default SelfType self() {
        return (SelfType) this;
    }
}

That seems to work for everything except for abstract parent classes, so I've switched over to having self() defined in RequestBuilder.  Thanks Adam

I don't understand where this API begins. Do you have to begin with a constructor of some kind?

To me, that's of the essence. I want to see RequestBuilder.create() and versions thereof as the starting point for the API, or I dare not call it "fluent". If we can do that without generics, fine.

Okay, would could flip things around a bit
try (FcrepoResponse response = client.perform(
        PostBuilder.create(uri).body(stream)
    )) {
   ...
}

or do a static import factory method:  post(uri).body(stream).  I kind of wish it didn't need to end up in a try section like that, but we do need to make sure the request gets closed.

Here is an approach from start through getting the response:
FcrepoResponse response = FcrepoClient
    .withAuthentication(user, pass, host)
    .throwExceptionOnFailure()
    .create() // Returns FcrepoClient
    .post(uri) // Returns PostBuilder
    .withBody(body, type)
    .perform();

There are some new javadoc Warnings that should be addressed:
[WARNING] Javadoc Warnings
[WARNING] fcrepo-java-client/src/main/java/org/fcrepo/client/FcrepoClient.java:68: warning: no description for @return
[WARNING] * @return
[WARNING] ^
[WARNING] fcrepo-java-client/src/main/java/org/fcrepo/client/FcrepoClient.java:312: warning: no description for @param
[WARNING] * @param password
[WARNING] ^
[WARNING] fcrepo-java-client/src/main/java/org/fcrepo/client/FcrepoClient.java:313: warning: no description for @return
[WARNING] * @return

@ajs6f: where does this ticket stand from your perspective? Is it ready to ship?

Personally, I'd like to cut a release before this goes in

@acoburn: are there Fedora API changes that you would like to see reflected in this client? or is there some other reason for waiting on this commit?

I mean a release of fcrepo-java-client. There are some small (but significant) changes that will be nice to have before updating code to use the new java-client api.

Released: https://github.com/fcrepo4-exts/fcrepo-java-client/releases/tag/fcrepo-java-client-0.1.3
@ajs6f: where does this ticket stand from your perspective? Is it ready to ship?

Sure, why not?

The "why not" is the question... and I wanted to double check with you on if you are happy with the state of this... which it sounds like you are.

I'd like to get to the place where we stop using HTTP verbs as method names, and use user-intelligible actions ("create an object", "change properties", etc.) but this is a good place on the road there. I'd also like to use some LDP client as base instead of a plain HTTP client, but I'm not holding my breath.

I would be interested to know how many more major changes are likely to be made to this api and whether it makes sense to begin writing code against it at this point?

Some things will shift a bit once the API Specifications are formalized. But if you are tracking that effort, keeping aligned with the updates should be manageable.
https://wiki.duraspace.org/display/FEDORAAPI/

@bbpennel I would like to start writing code against this API (if you feel that the state of the API is suitable for a release in the near future). In order to move that forward, would you be willing to write some (minimal) documentation on the README page, providing some examples of how the API works?

Sure, I can do that.  I would also like to start writing code against it in
the next couple of weeks, but there may be other changes to the api being
suggested by others
On Jul 15, 2016 10:37 PM, "Aaron Coburn"<EMAIL_ADDRESS>wrote:
@bbpennel https://github.com/bbpennel I would like to start writing code
against this API (if you feel that the state of the API is suitable for a
release in the near future). In order to move that forward, would you be
willing to write some (minimal) documentation on the README page, providing
some examples of how the API works?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fcrepo4-exts/fcrepo-java-client/pull/12#issuecomment-233103932,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7MUpMtic8XaTJN-OUlpShBfnI5APhaks5qWEPtgaJpZM4IvOvn
.

@bbpennel if there is no objection, I would be happy to push out a 0.2.0 release sooner rather than later. That would be the best way to get people working with the API (and making suggestions for changes).

No objections here!

@bbpennel cool, if you can make a PR with some minimal documentation to the README, then I think we can pull the lever on a new release (i.e. sometime next week)

@acoburn https://github.com/fcrepo4-exts/fcrepo-java-client/pull/14 added a selection of examples based on the http api documentation


Allow transfer.sh to deploy in a specific subroute

Use case:
We want to integrate transfer.sh into a specific web apps and serve it in a subroute/suburl, and then let haproxy redirect request to that backend.

Worked on this branch: https://github.com/kartoza/transfer.sh/tree/add_baseurl


Allow .env files to be ignored by netlify dev command

Is your feature request related to a problem? Please describe.
There is no way to opt-out of the reading of environment variables from .env files in the root of my project directory when running netlify dev.
Describe the solution you'd like
I'd like the ability to use netlify dev without .env files in my project directory being read / considered.
Describe alternatives you've considered
Alternatives at the moment are to avoid using .env files as I have them setup across my project, perhaps renaming them and reconfiguring dotenv-flow to consider the new file names. However, I think this is more complex than netlify dev offering a --ignore-local-env flag or similar.
Additional context
I am using the dotenv-flow methodology of managing .env files, so my .env file doesn't contain local overrides; it instead contains sensible defaults and local overrides exist in .env.local.
Can you submit a pull request?
Yes

Thanks @aaronransley, this is somehow related to https://github.com/netlify/cli/issues/1303.
However, I think you should be able to use .env.development for local overrides per https://github.com/netlify/cli/blob/4fa5d077789b77984457d6b7adb51a6bc3da099b/src/utils/dot-env.js#L21 until we decide on the flow we want to support.

@erezrokah Related? https://github.com/netlify/cli/pull/4321

Closing as stale. Please re-open if needed


visual reports on top of individual report

I would suggest to put the visual report above the numerical summary of the individual reports, as the most important information of the metrics are in the group report.

We could also do it as a foldable HTML element.


Illustrate how to use other geocoders

This package can be used with any locator that is hosted.
For example this search turns up many locators:
https://www.arcgis.com/home/search.html?restrict=false&sortField=relevance&sortOrder=desc&focus=tools-locators#content

Hi @JosiahParry . We don't have an ArcGIS Enterprise license. We only have a license of ArcGIS Pro, which we have been using to do batch geocoding analysis using a locator stored locally.
Is there a way to use {arcgisgeocode} using a locator stored locally? Something similar to this?
address_nc <- "C:/StreetMap/LA_Q124_Locators",
  token = NULL
)

res <- find_address_candidates(
  address = "rowan coffee",
  city = "asheville",
  geocoder = address_nc
)

Hm. Let me reach out to my team and see about this. I believe it needs to be hosted on ArcGIS Online or Enterprise. Are you able to publish it as a private locator on ArcGIS Online?

Unfortunately, we would need an Enterprise license to upload a private locator on ArcGIS Online. :(

Hm. I wasn't able to find out much internally. The way that arcgisgeocode works is that it calls REST API endpoints. In order to use a file locator it needs to be deployed to a server which I think has to be an ArcGIS Server (part of Enterprise?) https://pro.arcgis.com/en/pro-app/latest/help/data/geocoding/share-a-locator.htm
Though I'm not certain if that is the only option.


Add containerStyle option to BottomTabBar

This is needed to fix a regression caused by https://github.com/react-navigation/tabs/commit/2a1d7538d65e79b90c572cf078d0534e1cacc13d
That PR added a new view, but no way to control that view, which caused
a number of problems, most acutely the inability to use absolute position on Android

Motivation
Fix this issue: https://github.com/react-navigation/react-navigation/issues/5994
Test plan
Add containerStyle: { position: 'absolute', zIndex: 1 } to tabBarOptions and see if it's clickable on Android

After this gets merged, need to update TS types in react-navigation https://github.com/react-navigation/react-navigation/blob/master/typescript/react-navigation.d.ts

@satya164 @brentvatne Uh oh. Is this library no longer maintained? :cry: I haven't gotten a comment on my PR in 21 days. This PR is needed to address a problem that people are having with rn-tabs on Android.

@mcmar - we have been busy. @satya164 was your change intentional?


Delegate returning null throws exception RegisteredDelegateResultIsNotOfServiceType

Returning null from factory doesn't work:
container.RegisterDelegate(typeof(A), x => null);
var a = container.Resolve<A>(); //Exception RegisteredDelegateResultIsNotOfServiceType!!!
Assert.IsNull(a);

@publee Thanks, looking.

Wow, that was quick!
Is there any workaround how to force resolve to null for specific type when we are using WithAutoConcreteTypeResolution?
Perhaps some RegisterInstance(type, null, ...), UseInstance(type, null, ...) overload?
Thank you.

Let me test it, but you may try Use or
RegisterInstance.
UseInstance is obsolete, don't use it.

@publee
Regarding the original issue if you look into the RegisterDelegate implementation https://github.com/dadhi/DryIoc/blob/130b91120a9d237d3de3d1e28c24e1a2be8ae430/src/DryIoc/Container.cs#L7382
you will see whete the check causing the exception added.
As a workaround until it fixed, you may just brew your own variant:

void RegisterDefault(IRegistrator r, Type serviceType) => r.Register(new DelegateFactory(r => null), serviceType, isStaticallyChecked: true);

Proposed workaround works!!!
Thank you.


Add a TryFrom impl for ErrorCode

This also adds a link to the TRD 104 error code page to make the restrictions a bit more clear.

bors r+


Fix ordinary number of rated_point_sum_rank in user page.

In my user page, the rated point sum rank is wrongly shown as 199st. It should be 199th.
https://beta.kenkoooo.com/atcoder/#/user/aajisaka
This issue occurs because rated_point_sum + 1, which always becomes X*100+1, is used for calculating the ordinary number. rated_point_sum_rank should be used instead.
I like AtCoderProblems beta :+1:

It looks good to me. Thanks!


How to set SLA for a flow using ajax api

I tried this and it didn't work.. What am I doing wrong? There is no documentation for this api so this is based on code inspection of schedule servlet class.
 curl -k https://HOST:PORT/schedule -d "ajax=setSla&scheduleId=2&slaEmails=foo@bar.com&settings=,06:00,SUCCESS,true,true" -b azkaban.browser.session.id=SESSION_ID

Figured this out by looking at the code..need to do this
 curl -k https://HOST:PORT/schedule -d "ajax=setSla&scheduleId=2&slaEmails=foo@bar.com&settings[0]=,06:00,SUCCESS,true,true" -b azkaban.browser.session.id=SESSION_ID

It's not working


Add support for array input for all constraints in HangingProtocolService validator

Context
This PR updates the validator.js file in the Hanging Protocol Service library to allow  constraints to accept an array of values. Previously, only the contains constraint could accept an array.

Changes & Results
-Updated functions to accept an array of values.
-Made changes to ensure all constraints accept an array of values for consistency.

Constraint Rules

Rule
Single Value
Array Value
Example

equals
===
All members are === in same order
value = ['abc', 'def', 'GHI']testValue = 'abc' (Fail)          = ['abc'] (Fail)          = ['abc', 'def', 'GHI'] (Valid)          = ['abc', 'GHI', 'def'] (Fail)          = ['abc', 'def'] (Fail)value = 'Attenuation Corrected'testValue = 'Attenuation Corrected' (Valid)          = 'Attenuation' (Fail)value = ['Attenuation Corrected']testValue = ['Attenuation Corrected'] (Valid) = 'Attenuation Corrected' (Valid)  = 'Attenuation' (Fail)

doesNotEqual
!==
Any member is !== for the array, either in value, order, or length
value = ['abc', 'def', 'GHI']testValue = 'abc' (Valid)          = ['abc'] (Valid)          = ['abc', 'def', 'GHI'] (Fail)          = ['abc', 'GHI', 'def'] (Valid)          = ['abc', 'def'] (Valid)value = 'Attenuation Corrected'testValue = 'Attenuation Corrected' (Fail)Valid          = 'Attenuation' (Valid)value = ['Attenuation Corrected']testValue = ['Attenuation Corrected'] (Fail) = 'Attenuation Corrected' (Fail)   = 'Attenuation' (Fail)

includes
Not allowed
Value is equal to one of the values of the array
value = ['abc', 'def', 'GHI']testValue = ['abc'] (Valid)  = ‘abc’ (Fail)= [‘abc’] (Fail)        = ‘dog’ (Fail)  =         = [‘att’, ‘abc’] (Valid)          = ['abc', 'def', 'dog'] (Valid)          = ['cat', 'dog'] (Fail)value = 'Attenuation Corrected'  testValue = ['Attenuation Corrected', 'Corrected'] (Valid)= ['Attenuation', 'Corrected'] (Fail)value = ['Attenuation Corrected']testValue = 'Attenuation Corrected' (Fail) = ['Attenuation Corrected', 'Corrected'] (Valid) = ['Attenuation', 'Corrected'] (Fail)

doesNotInclude
Not allowed
Value is not in one of the values of the array
value = ['abc', 'def', 'GHI']testValue = ‘Corr’ (Valid)          = ‘abc’ (Fail)          = [‘att’, ‘cor’] (Valid)          = ['abc', 'def', 'dog'] (Fail)value = 'Attenuation Corrected'  testValue = ['Attenuation Corrected', 'Corrected'] (Fail)  = ['Attenuation', 'Corrected'] (Valid) value = ['Attenuation Corrected']  testValue = 'Attenuation' (Fail) = ['Attenuation Corrected', 'Corrected'] (Fail)= ['Attenuation', 'Corrected'] (Valid)

containsI
String containment (case insensitive)
String containment (case insensitive) is OK for one of the rule values
value = 'Attenuation Corrected'testValue = ‘Corr’ (Valid)          = ‘corr’ (Valid)          = [‘att’, ‘cor’] (Valid)          = [‘Att’, ‘Wall’] (Valid)          = [‘cat’, ‘dog’] (Fail)value = ['abc', 'def', 'GHI']testValue = 'def' (Valid)          = 'dog' (Fail)          = ['gh', 'de'] (Valid)          = ['cat', 'dog'] (Fail)

contains
String containment (case sensitive)
String containment (case sensitive) is OK for one of the rule values
value = 'Attenuation Corrected'testValue = ‘Corr’ (Valid)          = ‘corr’ (Fail)          = [‘att’, ‘cor’] (Fail)          = [‘Att’, ‘Wall’] (Valid)          = [‘cat’, ‘dog’] (Fail)value = ['abc', 'def', 'GHI']testValue = 'def' (Valid)          = 'dog' (Fail)          = ['cat', 'de'] (Valid)          = ['cat', 'dog'] (Fail)

doesNotContain
String containment is false
String containment is false for all values of the array
value = 'Attenuation Corrected'testValue = ‘Corr’ (Fail)          = ‘corr’ (Valid)          = [‘att’, ‘cor’] (Valid)          = [‘Att’, ‘Wall’] (Fail)          = [‘cat’, ‘dog’] (Valid)value = ['abc', 'def', 'GHI']testValue = 'def' (Fail)          = 'dog' (Valid)          = ['cat', 'de'] (Fail)          = ['cat', 'dog'] (Valid)

doesNotContainI
String containment is false (case insensitive)
String containment (case insensitive) is false for all values of the array
value = 'Attenuation Corrected'testValue = ‘Corr’ (Fail)          = ‘corr’ (Fail)          = [‘att’, ‘cor’] (Fail)          = [‘Att’, ‘Wall’] (Fail)          = [‘cat’, ‘dog’] (Valid)value = ['abc', 'def', 'GHI']testValue = 'DEF' (Fail)          = 'dog' (Valid)          = ['cat', 'gh'] (Fail)          = ['cat', 'dog'] (Valid)

startsWith
Value begins with characters
Starts with one of the values of the array
value = 'Attenuation Corrected'testValue = ‘Corr’ (Fail)          = ‘Att’ (Fail)          = ['cat', 'dog', 'Att'] (Valid)          = [‘cat’, ‘dog’] (Fail)

endsWith
Value ends with characters
ends with one of the value of the array
value = 'Attenuation Corrected'testValue = ‘TED’ (Fail)          = ‘ted’ (Valid)          = ['cat', 'dog', 'ted'] (Valid)          = [‘cat’, ‘dog’] (Fail)

greaterThan
value is => to rule
Not applicable
value = 30testValue = 20 (Valid)          = 40 (Fail)

lessThan
value is <= to rule
Not applicable
value = 30testValue = 40 (Valid)          = 20 (Fail)

range
Not applicable
2 value requested (min and max)
value = 50testValue = [10,60] (Valid)          = [60, 10] (Valid)          = [0, 10] (Fail)          = [70, 80] (Fail)          = 45  (Fail)          = [45] (Fail)

notNull
Not Applicable
Not Applicable
No value

Testing

Checklist
PR

[x] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[x] My code has been well-documented (function documentation, inline comments,
etc.)

Public Documentation Updates

[x] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[x] "OS:
[x] "Node version:
[x] "Browser:

Dear @wayfarer3130 should be good ?


Added option to emphasize some featured dates

I needed a way to emphasize some days in the calender so I extended the plugin to "feature" some dates using a css class.
If you think this is useful, I'd be happy if you accept this pull request. I wrote unit tests and extended the documentation for this feature.

I was looking into user defined classes, too: people book accommodation for an event and in the calendar I want to mark the period the event takes place. But instead of adding more and more classes to the code base I pass the date to the method createItem and inside that method I call an optional callback onCreateItem which returns an array with the classes to set.


RFC: change localstorage in constructor to synchronous request

Feature request
Is your feature request related to a problem? Please describe.
https://github.com/supabase/gotrue-js/blob/cccc4f49f6de8067b68c6892fa471a5dd544d4cb/src/GoTrueClient.ts#L57
Since the call to _recoverSession is async, it means that currentSession and currentUser isn't populated by the constructor, and that clients need to wait for the stateChangeEmmitter to fire.
This is causing a lot of problems [1] [2]
Describe the solution you'd like
LocalStorage is synchronous, so we can remove the await. However we will need a way to handle it for ReactNative.
Is there a way we can handle it for both situations?
Additional context
Side note - I have seen some people complaining that globalThis is undefined. This is also related to storage. Should this also be updated to something that works everywhere?
https://github.com/supabase/gotrue-js/blob/cccc4f49f6de8067b68c6892fa471a5dd544d4cb/src/GoTrueClient.ts#L10

@ykdojo @thorwebdev Any thoughts on this one? I guess we might be able to detect if the storage is async somehow? Or we can provide some sort of sync storage for ReactNative users?

@ykdojo @thorwebdev Any thoughts on this one? I guess we might be able to detect if the storage is async somehow? Or we can provide some sort of sync storage for ReactNative users?

I wonder if we can make two versions of  _recoverSession() (async and sync), and decide which one to use by detecting whether or not the user's using React Native here:
https://github.com/supabase/gotrue-js/blob/cccc4f49f6de8067b68c6892fa471a5dd544d4cb/src/GoTrueClient.ts#L57

I wonder if we can make two versions of  _recoverSession() (async and sync), and decide which one to use by detecting whether or not the user's using React Native here:
https://github.com/supabase/gotrue-js/blob/cccc4f49f6de8067b68c6892fa471a5dd544d4cb/src/GoTrueClient.ts#L57

I like that idea @ykdojo
Not sure how we can detect if local storage is async, but i guess can run the sync function from the constructor and then let it fail silently.

I like that idea @ykdojo
Not sure how we can detect if local storage is async, but i guess can run the sync function from the constructor and then let it fail silently.

To be clear, on web this._recoverSession()  is currently synchronous because localStorage reads on web are synchronous, so here the await shouldn't have any effect. Only if we're running on a non-web platform like React Native and using async storage this should have an effect.
So not entirely sure if there's a different issue at play here.

To be clear, on web this._recoverSession()  is currently synchronous because localStorage reads on web are synchronous, so here the await shouldn't have any effect. Only if we're running on a non-web platform like React Native and using async storage this should have an effect.
So not entirely sure if there's a different issue at play here.

Also, you will need the onAuthStateChange event handler anyway, because we might be recovering the session from the refresh token in which case and async server request is involved: https://github.com/supabase/gotrue-js/blob/master/src/GoTrueClient.ts#L366, so there really isn't a way around having that handler. So I wonder if this is more about better documentation on the onAuthStateChange handler?

Also, you will need the onAuthStateChange event handler anyway, because we might be recovering the session from the refresh token in which case and async server request is involved: https://github.com/supabase/gotrue-js/blob/master/src/GoTrueClient.ts#L366, so there really isn't a way around having that handler. So I wonder if this is more about better documentation on the onAuthStateChange handler?

this.__recoverSession() is currently is async because it is defined as aysnc. When you call this._recoverSession() from the GoTrueClient::constructor(), it will be called, executed and finished some time in the future. Maybe 0ms from now, maybe 100ms.
I'm not an experienced JS developer. Maybe you could be right in this case. It depends on the implementation. But this is how concurrency in computer systems in general works.

this.__recoverSession() is currently is async because it is defined as aysnc. When you call this._recoverSession() from the GoTrueClient::constructor(), it will be called, executed and finished some time in the future. Maybe 0ms from now, maybe 100ms.
I'm not an experienced JS developer. Maybe you could be right in this case. It depends on the implementation. But this is how concurrency in computer systems in general works.

Hi, any news ?

I coded up a solution here, with this caveat:
https://github.com/supabase/gotrue-js/pull/68/files#r598291376
I don't know if I would call it a bug - in many cases we need to verify that the token is still valid, and if it's not valid we need to make a request to the server to refresh the token. This requires an API call, so there is no way we can synchronously return a new session from the constructor.
This change will solve any problems that people are having with refreshing the page however. If there is a valid session (set up within the last 60 mins) it will be immediately returned from the constructor


Add tests to verify test task not realized early

Adds tests to verify functionality of: https://github.com/gradle/gradle/issues/20846
This bug was was fixed by https://github.com/gradle/gradle/pull/21292, though we add some extra tests to avoid a regression.

@bot-gradle test qfl

OK, I've already triggered the following builds for you:

QuickFeedbackLinux build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

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


Don't shutdown the computer without notice

Hi, I just installed this very nice addon but had a nasty surprise. When I clicked on the off button, my whole computer shut down (which is not a dedicated media server, is a multifunction home server, so shutting down is bad). What I expected was just for Kodi to exit.
I think there should be at least a one time warning about this, and ideally a submenu to pick what to do (like in Kodi itself and in Kore, the official Android remote control). If that's too complicated, maybe there could be a setting to choose what to do when the off button is clicked, or at least an option to hide that button (for me is really to risky to use this addon, I can't afford to press the off button accidentally).
Thanks!

sorry for the nasty surprise :)
I added shutdown menu...

look for version 2.3.1

Sweet! Thanks for the quick  answer and fix! Is it possible to add the 2 other options present in Kodi and Kore: Quit and Suspend?

what does "Quit" do?

Just quit Kodi, same as if you go to the shutdown menu in Kodi itself and select Quit. Well, I just checked and Kodi calls it "Exit". There is also a "Power off system", "Custom shutdown time", "Reboot" and "Inhibit idle shutdown". Kore's menu as: Quit, Suspend, Reboot and Shutdown (and  actually a Wake up too). So they are not as consistent as I thought. I only use Quit/Exit to be honest :)

ok added..

:boom: Thanks!


Account removal on ollama.com

Please add a "remove account" button on the website. Thank you!

Hey @mak448a thank you for submitting this. This is definitely something that we will need to build! That being said we are racing to have more functionality built into Ollama.com
Would it be possible to e-mail us, and we will remove your account<EMAIL_ADDRESS>Sorry about the hassle, and hope we'll make ollama better for you in the future.


Wednesday 25-09-2024

Roll Call!


[Settings] Polish UI and adhere to design guidelines

Let me start off to say that I love the work being done with the Settings UI :)!
There are however some issues with the way pages are laid out: margins and font-sizes are sometimes off, and are not inline with design guidelines: e.g. https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/forms. This results in a UI that looks a lot like the native Windows Settings app, but just slightly... off :).
We had the same issue with PowerToys, but put in some effort to clean up the styles and adhere to the same paddings, font sizes and other UI elements.
The ask basically is: can we put in (minimal) effort to tweak the XAML it looks truly like a native Windows Settings page :)?
I'd be happy to pick this up!

@carlos-zamora & @cinnamon-msft thoughts?

@carlos-zamora & @cinnamon-msft thoughts?

I think it may be worth looking towards the Win 10X Settings app, rather than the older design of the Win 10 Settings app.
Mostly changes in font sizes, and control shapes/styles.

I think it may be worth looking towards the Win 10X Settings app, rather than the older design of the Win 10 Settings app.
Mostly changes in font sizes, and control shapes/styles.


add composite action for connecting to private gke clusters through an iap bastion

it was moved into mono, so no longer relevant!


Create test for same key without parameters

Coverage remained the same at 93.889% when pulling d5d4836a74cbbec2c1234a695ff79819d9a74813 on devrck:test-fix-collision into caaa8e740c71ee8f5b41ccf058718edebff35ba5 on eMAGTechLabs:master.

Coverage remained the same at 93.889% when pulling d5d4836a74cbbec2c1234a695ff79819d9a74813 on devrck:test-fix-collision into caaa8e740c71ee8f5b41ccf058718edebff35ba5 on eMAGTechLabs:master.

This PR showed me that emag cache bundle does not works the way I've thought, thanks!


Add Config Manager Support

Description
Currently the README.md descriptions says the configuration manager doesn't work and we don't know why so just edit it manually.  I think I found a good reference for how to get it to work.
Is the feature related to a problem?
Yes. Can't edit mod in config manager.
Solutions
https://github.com/Wacky-Mole/WackysDatabase/blob/master/ConfigurationManagerAttributes.cs

I tested this and it does in fact work with the config manager.

Wasn't completed. Not planned.

Wasn't completed.  Not planned.


Source generator ambiguous invocation

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Hot Chocolate
Describe the bug
The issue is somewhat similar to this one.
I have installed the HotChocolate templates and created a GraphQL server project. I get a "Ambiguous invocation" error at services.AddGraphQLServer()             .AddTypes()
However, everything is building and running fine.
Steps to reproduce

Install HotChocolate templates 13.7.0 dotnet new install HotChocolate.Templates::13.7.0
Create a new GraphQL project dotnet new graphql
Build and run project
Application is working and can make requests
Ambiguous invocation error in IDE

Relevant log output
No response
Additional Context?
IDE is Jetbrain's Rider 2023.2.3
Version
13.7.0

Does the error persist after restarting Rider?

@glen-84 Yes after restarting Rider and my computer, the error still persists.

I'm not able to reproduce this error using:
Windows 11
JetBrains Rider 2023.3
Dotnet 8.0.100
Try updating everything and clearing IDE caches, etc.

Updated my IDE to 2023.3 and the error is gone!


Cleanup SRS/Potentials/Classifiers

There are duplicate classes and incompatible interfaces, this needs to be corrected.

somewhat done. examples are working.


Paper: prepare joss submission structure

Prepare submission structure for repository for JoSS https://joss.theoj.org/
Instructions https://joss.readthedocs.io/en/latest/submitting.html

How do you prepare the submission (I never really wrote a publish paper for a software) ?

Oh and look, they even have an Actions to autom the update https://github.com/marketplace/actions/open-journals-pdf-generator, no need for custom Actions :D


fix build with miniupnpc 1.9

just apply this patch :)
https://github.com/bitcoin/bitcoin/commit/9f3e48e5219a09b5ddfd6883d1f0498910eff4b6.patch

Thanks! Merged, see: 1da1b969c684b00cca70639aa0c671051c442135


Add Edit Command in Developers Guide

Codecov Report

Merging #116 (103e8bf) into master (89cc37c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #116   +/-   ##
=========================================
  Coverage     38.96%   38.96%
  Complexity      437      437
=========================================
  Files           143      143
  Lines          2577     2577
  Branches        300      300
=========================================
  Hits           1004     1004
  Misses         1485     1485
  Partials         88       88

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Update 1.11

16w32a:
Entity names were completely renamed by Mojang. Therefore some backwards compatible code and definition was implemented. Lower case version are handled automatically, but renamed Entities have to be specified with "id1" tag.

Horse split into entity IDs horse, donkey, mule, skeleton_horse and zombie_horse
Skeleton split into entity IDs skeleton, stray and wither_skeleton
Zombie split into entity IDs zombie, zombie_villager and husk
Guardian split into entity IDs guardian and elder_guardian

16w39a:

Block: Observer
Block: (16 colored) Shulker Boxe(s)
Entity: Llama
Entity: Vindicator
Entity: Evoker
Entity: Vex

Just as as additional comment: Old versions of Minutor will work with the new definition files!


From the results，seem not good!

Maybe you can provide relevant examples. Or provide other methods that are superior to ours.

Yeah, photos are not restored. Seems like only bicubic upscale is done. From test single datased x4. (example)

It seems there's an issue. However, the pre-trained models we provide weren't trained under blind SR conditions. @Phhofm has offered some variants that might solve this problem in #3.

Yeah it makes sense for it to look this way, official pretrains are not meant to handle degradations of this level.
My variants so far would also not work too well on this specific input, 4xRealWebPhoto is meant for photographs for example.
What would work best on this specific input were a model trained on nomos_uni with otf.
I can demonstrate what I mean, the following is an output of an RGT-S model I just trained for only 8000 iterations to demonstrate what I mean, a model fully trained this way would be able to handle this specific input best:

do you have any idea that I get result img like this?
how my steps got wrong?


development network is using a different port from the example

The Readme example has ganache using port 8545, but the development network in truffle.js uses port 9545.
Need to update either the Readme example (ganache ... -p 9545) or truffle.js to use the same port.

Updated! I had just been using --network ganache so this slipped by with no errors thrown.
https://github.com/ConnextProject/indra/commit/9bf1f7c80ca7416f78458a003815a4f61942e535


802d556d-bd15-437a-8818-fb7748b60591

this is for automated testing

09eaf603-5e12-4973-9fb5-bdab4103ff5c


Native-image assumption is too aggressive

Alright, this is an interesting one : I'm attempting to run bleep at $work in a self-hosted GHA. I don't have control over the runners as the infra is provided by a completely isolated team.

If I install bleep using the coursier channel, as you would expect, I essentially bump into this : the LIBC available on the runner is not matching the one that bleep was built against.
So I'm like "well, this is CI anyway, let's try and run bleep on JVM, shall we, it's not the end of the world right now?" Unfortunately, when checking for the version number in the build-file (in order to download the correct version), bleep presumes it's running from a native-image, and invokes a coursier function that is unavailable on JVM (only implemented for graal).

The workaround I found is to use coursier to bootstrap the version of bleep referenced in the build file, something like :
BLEEP_VERSION=$(cat bleep.yaml | grep '$version' | cut -d ":" -f2 |   tr -d ' ')
cs bootstrap build.bleep:bleep-cli_2.13:$BLEEP_VERSION -M bleep.Main -o bleep

Hey there, thanks for testing it!
Do you have any insight into this? Would it be enough if we set the GitHub runner to use an old Ubuntu runner?

It would be still nice to be able to run Bleep just on JVM just from Maven Central, right?

Would it be enough if we set the GitHub runner to use an old Ubuntu runner?

That's how it's usually solved, yes.
A lot of things are very slow moving so 22.04 is waaay too young to build any tools.
Plus you barely get any benefits by using it.

Running bleep from the JVM should absolutely work! Can you try running from the JVM again if you specify --dev @Baccata ? That's the flag to disable the launcher functionality. I bet some logic there is missing an if (isNativeImage) ...

A lot of things are very slow moving so 22.04 is waaay too young to build any tools.
Plus you barely get any benefits by using it.

I hadn't even considered there was a tradeoff there, just picked latest :)
If any of you want to try your hand at a OR for one of the issues let me know if you need any help. Otherwise I'll get to it soonish

I've managed to run bleep from central, but now it's bloop that's failing to start (and therefore I can't compile stuff) :
📕 command failed [t => 3136 ms]scala.build.blooprifle.FailedToStartServerException: Server didn't start
	at scala.build.blooprifle.internal.Operations$.$anonfun$startServer$8(Operations.scala:240)
	at scala.build.blooprifle.BloopRifleLogger.$anonfun$runnable$1(BloopRifleLogger.scala:13)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

I presume it may be a similar issue of incompatible Libc, but not quite sure how to investigate. Regardless, it sounds like fixing the linux version against which bleep is built to ubuntu-20.04 would be a good call.

Let's start with this https://github.com/oyvindberg/bleep/pull/236/files

Alright, making progress. After reading https://github.com/VirtusLab/scala-cli/issues/599, I've bumped the jdk in our CI pipeline to Temurin 17 seems to have done the trick.
I'm not fully understanding the issue though, I'll have to re-read more closely later.

I've managed to run bleep from central

If you excuse my curiosity, how did you do that?

I've managed to run bleep from central
If you excuse my curiosity, how did you do that?

I used cs bootstrap to download it from maven and bootstrap my own launcher. I could have used cs launch too but I'd have to repeat the command, whereas cs bootstrapcreates a small executable.
see below for the script :
BLEEP_VERSION=$(cat bleep.yaml | grep '$version' | cut -d ":" -f2 |   tr -d ' ')
cs bootstrap build.bleep:bleep-cli_2.13:$BLEEP_VERSION -M bleep.Main -o bleep
```

Other relevant details :
* I have not set up a JVM within bleep, so it uses my $JAVA_HOME
* I'm running a Java 17 SDK (which seems to be important for the bloop launcher used by bleep)

Yeah sorry, should have said that before but am busy. That version of bloop uses named sockets, and only supports JVM 17+

Yeah sorry, should have said that before but am busy. That version of bloop uses named sockets, and only supports JVM 17+

No worries whatsoever, I wasn't in a rush

to run JVM bleep:
cs launch build.bleep::bleep-cli:0.0.1-M22 -M bleep.Main -- --dev

I'll add a PR shortly so that --dev is not needed

version 0.0.1-M23 is out now, built on older ubuntu

I think 0.0.1-M23 closed this, reopen if there is still a problem :)


upgrade to qr 3.0.0 to work with pdf: ^3.6.5

upgrade to qr 3.0.0 to work with pdf: ^3.6.5

Same issue here

@ciamax
I made a fork that fixes this issue, maybe it will help you while we wait for @theyakka to update this package with this solution.
https://github.com/insinfo/qr.flutter

@ciamax I made a fork that fixes this issue, maybe it will help you while we wait for @theyakka to update this package with this solution.
https://github.com/insinfo/qr.flutter

Hello and thank you for the workaround. I have made some test and it seems to work

It's being worked on


Futurize for Py3

As per the suggestion https://github.com/uber/jaeger-client-python/pull/43#issuecomment-308895785, this PR runs futurize against the source with small fixes to ensure the Python 2 tests continues to pass. I thought I make this PR to get Python 3 support moving (even if it is in the smallest way possible).

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Coverage increased (+0.1%) to 94.598% when pulling ad2bfa7cbf473b07e7e50106424a6e1598b4a50f on arachnys:py3-support into b3b481299a0492c9f0f701075ebf0aedd26c444d on uber:master.

Thanks for this PR, @MrSaints!
This change looks good, mostly. The two concerns I have are:

The use of old_div seems unnecessary. There aren't that many occurrences, can we replace them with / for floats and // for ints? It is usually apparent from the context which numbers we're dealing with.
The change from iteritems()/iterkeys() to items()/keys() is not good, since in Py2 the latter will cause creation of new arrays. Can we replace all instances with respective proxy methods from six?

And there are some lint errors in the build:
flake8 jaeger_client crossdock tests
jaeger_client/codecs.py:25:1: E402 module level import not at top of file
jaeger_client/codecs.py:26:1: E402 module level import not at top of file
jaeger_client/codecs.py:27:1: E402 module level import not at top of file
jaeger_client/codecs.py:27:22: E401 multiple imports on one line
jaeger_client/codecs.py:29:1: E402 module level import not at top of file
jaeger_client/codecs.py:33:1: E402 module level import not at top of file
jaeger_client/codecs.py:38:1: E402 module level import not at top of file
jaeger_client/metrics.py:28:1: E302 expected 2 blank lines, found 0
make: *** [lint] Error 1

Cheers for the quick feedback @yurishkuro. I've addressed them in the new commits.

Coverage increased (+0.2%) to 94.609% when pulling b8cc36c49267648f8e7212c28072325663117de0 on arachnys:py3-support into b3b481299a0492c9f0f701075ebf0aedd26c444d on uber:master.

Coverage increased (+0.2%) to 94.695% when pulling 4ea03fe978bfdab43844c872ba58f609a06f180d on arachnys:py3-support into b3b481299a0492c9f0f701075ebf0aedd26c444d on uber:master.

I've made the changes @yurishkuro, but I'm not too sure what's going on with one of the Travis COVER=1 test: INTERNALERROR> RuntimeError: dictionary changed size during iteration

The code coverage issue looks related to: https://bitbucket.org/ned/coveragepy/issues/581/44b1-44-breaking-in-ci we probably want to use an older version of coverage until it's fixed

Coverage increased (+0.3%) to 94.702% when pulling 50f762ee3f59a0a78d35b5153f090d2d507a29fc on arachnys:py3-support into b3b481299a0492c9f0f701075ebf0aedd26c444d on uber:master.

long_fn = int if six.PY3 else long

@MrSaints a couple questions:

Will ^^ actually parse/compile with Py3?  I thought 3.x decommissioned long.
from reading the PEP 237 and SO question it seems the overflow on ints has been eliminated in favor of automatic upgrading of the value from a machine word to a malloc-ed memory, making this transparent to the end user. I don't know if we can find a 32bit machine to test this, any thoughts?

Even on 64bit machine the automatic type conversion can be seen:
>>> import sys;
>>> sys.maxint
9223372036854775807
>>> type(sys.maxint)
<type 'int'>
>>> type(sys.maxint + 1)
<type 'long'>
>>> type(sys.maxint * 100)
<type 'long'>
>>> (type(sys.maxint * 100), sys.maxint * 100)
(<type 'long'>,<PHONE_NUMBER>85477580700L)

i.e. an int value times 100 is auto-converted to long.

Coverage increased (+0.1%) to 94.641% when pulling<PHONE_NUMBER>5388d0e275679269009db97b64716e on arachnys:py3-support into 19e2ce69e49f78c8675821d6d5f5fabc3c0ab474 on uber:master.

(1) Whoops @yurishkuro. I've cleaned it up.
(2) We can do more vigorous testing with Python 3. I believe it should be fine if it does not change the existing behaviour in Python 2.

Attempting to fix the coverage issue here #61

@MrSaints can you rebase or merge from master to pick up #61?

@yurishkuro Cheers for the fix. And rebased.

Coverage increased (+0.1%) to 94.641% when pulling 532eba6e5b86f49864c01f4a6816e240ab25b91b on arachnys:py3-support into 8d94fa8637ff765d38791c57f3b4dacef77433bd on uber:master.

We good to merge?

Cheers for all the feedback, and for pushing this out @yurishkuro @black-adder

Does this install_aliases() call taint the entire environment that imports it, not just this source file?  If yes, it seems like this may be breaking anything expecting e.g. a specific html library (or a specific version), like https://pypi.python.org/pypi/html

I still get  ImportError: No module named 'ttypes'

Are you running on Python 3 @olevold ? There's still work that needs to be done (e.g. on Thrift side) to get it working on Python 3.

Ok, I thought it had been solved. Sorry


Custom background imagery info lost

When iD is launched with information about custom background imagery (for example using the tasking manager), it looks like it's impossible to switch to an other background and then switch back to the custom imagery.
Steps to reproduce:

open the following url http://www.openstreetmap.org/edit?editor=id&#map=18/-1.66488101692/29.2366790719&comment=%23foss4ge17 %23hotosm-project-2608 %23Goma %23DRC %23MissingMaps %23MapGive Source%3DGeoEye-1%2C WorldView-02%2C DigitalGlobe%2C NextView%2C 22 February 2017 %26 28 February 2017&gpx=http://tasks.hotosm.org/project/2608/task/834.gpx&background=custom:http%3A%2F%2Fhiu-maps.net%2Fhot%2F1.0.0%2Fgoma-28feb2017-flipped%2F%2F{z}%2F{x}%2F{y}
map should be centered on Goma DRC with custom imagery loaded,
switch to any other background imagery,
switch back on custom imagery.

Result:

on Chrome nothing happens and background is black,
on Firefox, the user is asked to provide a URL for custom imagery.

Sorry if it has already been reported.

This doesn't happen if the url is manually typed in the custom imagery URL input field.

Thanks for the report @pgiraud, I'll try to get this fixed quickly.

closed by #4165


Add a AlphaRendererProviderJSON implementation of AlphaRendererProviderInterface

This will naturally provide a JSON renderer for DAOs, useful for REST APIs.  See here for some context: http://www.alphadevx.com/a/92-Adding-a-REST-API-to-the-Alpha-Framework

In hindsight, passing "auto" to RendererProviderFactory and getting it to inspect the super global $_SERVER['HTTP_ACCEPT'] is not a good idea: a factory at the View level should not be that aware of HTTP headers.  Suggest moving this, also the JSON renderer still needs to be implemented.


Question about training command in DC-VAE README

Hi there! Congrats for the great work! I have a question regarding this training command in DC-VAE README. After training, is it supposed to get similar FID shown in the second to last row in Table 3?

Yes. The expected results of UViT-h+DC-AE-f64 are around FID 13.96 (12.26) without CFG and FID 3.01 (2.66) with CFG=1.5 after training for 500k (2,000k) steps using the given command.


Add support for Android13 v5.15

Otherwise looks good. We want to deploy this on syzbot, right?

Yes please.

Otherwise looks good. We want to deploy this on syzbot, right?

Yes, that's the plan. We should try to catch the bugs in v5.15 early.

Otherwise looks good. We want to deploy this on syzbot, right?

Yes please.

@a-nogikh please add syzbot configs for this

Otherwise looks good. We want to deploy this on syzbot, right?

Yes please.

@a-nogikh please add syzbot configs for this

This should be pretty close to what is there for android-5.10, maybe except the thing that are disabled in android-5.10, like io_uring.

It should be a separate Android 5.15 namespace with a syz-manager running on a kernel built from the android13-5.15-lts branch, right?

It should be a separate Android 5.15 namespace with a syz-manager running on a kernel built from the android13-5.15-lts branch, right?

Yes, that's correct Aleksandr.

Generation of this config fails for me:
$ syz-env make configs SOURCEDIR=/src/linux
...
android-5.15 failed:
/syzkaller/kernel/Kconfig:35:41: open /syzkaller/kernel/$(KCONFIG_EXT_PREFIX)Kconfig.ext: no such file or directory
source "$(KCONFIG_EXT_PREFIX)Kconfig.ext"

And I see the config is not auto-generated, it misses syz-kconf caption:
# Automatically generated by syz-kconf; DO NOT EDIT.
# Kernel: https://android.googlesource.com/kernel/common 8d21bcc704ea1

@tstruk do you know how to fix it?

Generation of this config fails for me:
$ syz-env make configs SOURCEDIR=/src/linux
...
android-5.15 failed:
/syzkaller/kernel/Kconfig:35:41: open /syzkaller/kernel/$(KCONFIG_EXT_PREFIX)Kconfig.ext: no such file or directory
source "$(KCONFIG_EXT_PREFIX)Kconfig.ext"

And I see the config is not auto-generated, it misses syz-kconf caption:
# Automatically generated by syz-kconf; DO NOT EDIT.
# Kernel: https://android.googlesource.com/kernel/common 8d21bcc704ea1

@tstruk do you know how to fix it?

I'm not sure why it looks for Kconfig.ext file. All the android config files names are android-{version}.config, and android-{version}-base.config. I will have a look what's wrong.


JAM - No connection to backend: Gateway Timeout - ECONNREFUSED

Hi all, I have followed the JAM guide described here:
https://raspibolt.org/guide/bonus/bitcoin/Jam.html
however the webui on the local network shows the following message: No connection to backend: Gateway Timeout.
This seems a very similar issue: https://github.com/joinmarket-webui/jam/issues/88
If I have a look at the logs, every time I try to reach JAM I get the following:
Error occurred while proxying request <IP_ADDRESS>:4020 to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
Error occurred while proxying request <IP_ADDRESS>:4020/api/v1/session to https://localhost:28183/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
Error occurred while proxying request <IP_ADDRESS>:4020/api/v1/wallet/all to https://localhost:28183/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
Not sure what's causing it, but i tried to get to the root cause of this, and the only thing i've found is that some of the other guides do specify in the .env file not only the port but also the host/server at <IP_ADDRESS>:...
see https://raspibolt.org/guide/bonus/lightning/thunderhub.html#configuration or https://raspibolt.org/guide/bitcoin/blockchain-explorer.html#configuration
Could that be the cause behind this problem, and if so, how can i resolve it?
I would be truly grateful if someone could help.
Thanks!

Please see https://github.com/joinmarket-webui/jam/pull/611#issuecomment-1457995514
Problem might be that Jam proxies to "localhost", which resolves to ipv6 ::1, but nginx only listens on ipv4.
Would changing the guide https://github.com/raspibolt/raspibolt/blob/master/guide/bonus/bitcoin/Jam.md?plain=1#L128
-  listen 4020 ssl;
+  listen [::]:4020 ssl;

solve the issue?

Please see joinmarket-webui/jam#611 (comment) Problem might be that Jam proxies to "localhost", which resolves to ipv6 ::1, but nginx only listens on ipv4. Would changing the guide https://github.com/raspibolt/raspibolt/blob/master/guide/bonus/bitcoin/Jam.md?plain=1#L128
-  listen 4020 ssl;
+  listen [::]:4020 ssl;

solve the issue?

I have tested this and it does not solve the issue.
In fact it cannot solve it. The problem is not on port 4020, but the issue is with application accessing https://localhost:28183, https://localhost:28283 and http://localhost:62601

See https://github.com/joinmarket-webui/jam/issues/608#issuecomment-1522515632 for a solution


Solve the noise issue in PCB due to motors

In Wall-E 2022, we faced the issue of noise in I2C line , which was caused by static noise in motors. This forced us to add capacitors and ferrite bead on the motors. Since we have never faced this issue before with BO motors, we can assume that motor driver might not be working well in filtering the noise.
We can test it by using different motor drivers like DRV8833 to see if the problem persists.

@Jamm02 @ChinmayLonkar @Sidshx kindly assign someone for this testing and post the results here and treat it as priority since we need to make changes to SRA board hardware design wrt to the post.

@gautam-dev-maker I'll take this task👍

HOW TO REPRODUCE THE ISSUE:

Place no ferride bead and capacitor on the Motor drivers
The issue only comes up when BO motors draw lot of current. So in situation when BO motors are obstructed it will produce the issue. Also when BO motors are run on duty cycle above 50 the issue becomes consistent.
Read the MPU6050, and look for readings when the above situations has been created.

WHAT TO DO:

Currently we are using TB6612FNG, so first step will be to reproduce the issue as mentioned above.
Then proceed to replacing TB6612FNG with DRV8833 (ofcourse temporarily) and test if the issue persists

Based on the result of the above test we can debug the actual solution of the issue.

@omsheladia will be taking up the task

More details on the issue -

Current Consumption by single Bo motor
12v, 300 rpm
Conversation on i2c packet drop and solving mpu6050 issue:
Reddit post 1: https://www.reddit.com/r/embedded/comments/srgqlz/i2c_communication_not_working_properly_when_motor/
Reddit post 2: https://www.reddit.com/r/ECE/comments/srgpyk/i2c_communication_not_working_properly_when_motor/
Reddit post 3:
https://www.reddit.com/r/arduino/comments/srgova/i2c_communication_not_working_properly_when_motor/
Reddit Post 4:
https://www.reddit.com/r/PrintedCircuitBoard/comments/srvaxa/pcb_review_i2c_communication_not_working_properly/
Solution and Conclusion:
Noise suppression of brushed motors
https://youtu.be/O39inZIscOI
After many test runs, the following is the conclusion until now:

The I2C bus when observed on DSO looked pretty fine. Both the lines go high while reading data.

Even after isolating Mpu6050 or using shorter / isolated i2c paths, the error persisted. Although the frequency of those errors happening was somewhat controllable to an extent.

Different capacitor combinations were tried across the motors and voltage lines:
Currently - 0.3 uF ceramic across each motor
220uF 25V across 12V line
0.1uF ceramic each across 3V3, GND of Motor driver (Vcc), and OLED PORT
Although this eliminated the low-frequency noise of the motors which was evident in the DSO waveforms. The problem was yet to fetch a fix. But high-frequency noise generated due to brush sparks inside brushed motors was the uncaught culprit.

Layer 0.1uF(<=100uF) was installed across the terminals of all Bo motors still no change in results.

Finally adding (0.1uF ceramic capacitor across motor terminals & ) ferrite beads across the motor wires and using twisted cable pairs seemed to have done the trick and reduced rf noise to a great extent for our application!!!
This is a boon for brushed motors.

For more reference view discord #wall-e channel

@dhairyashah1 I am not so sure about the second point of the conclusion, because we were only able to control the error if we manually reduce the duty cycle (and hence reduce the current consumption).
Let's see if the issue con be reproduced.

@gautam-dev-maker if we could have an economical alternative to the motors that would be great too. BO motors get stalled with ease momentarily.

I agree, but then my dilemma is why didn't we face this issue with L298N motor driver, why with TB6612FNG. If motor driver is the real culprit then we will need to make serious changes.

I will be taking up this task, though a small meet before getting started would be helpful.

@omsheladia I would recommend you read all the material posted above and go through the reddit post provided by @dhairyashah1 , I think that is way more than enough to explain things.

@omsheladia any updates on the task?

@Jamm02 Gone through the resources, and am coming to the college tomorrow since I do not have Walle at the moment and will update how it goes tomorrow

So, I tried running the self_balancing in 2 situations,
1: With ferrite core and the capacitors
And the readings are:

2: Removed just the ferrite core
And the readings are:

Although it lost its stability.
I will remove the capacitor and post it as soon as I get my hands on a soldering iron. In the meanwhile I will go through the documentation of DRV8833 motor driver.

@omsheladia

This is nothing new but already known.
If you didnt have walle kit why didnt u get it asap when the task was assigned?
This is no close to a solution just reproducting the results. Solution can be found even by searching online, asking on forums, testing with suitable hardware (cap) configurations etc.

@dhairyashah1 I was told just to reproduce the results first and then test it with the new motor driver.

@omsheladia was this tested on drv8833 or tb6612fng
Also testing must not have taken this much time.

@dhairyashah1 The kit available in SRA when I went was not in the best condition, so had to reassemble it again. Then even while testing the esp32 mounted on the sra board was throwing errors until I replaced it with a different one which took some time. And I was testing it on the current tb6612fng driver.

@omsheladia so it took 8 days to reassemble and solve errors right?

So, this was the output on obstructing the motors to a greater extent.
@gautam-dev-maker Does it satisfy the reproduction of issue?

@omsheladia Have you tested this on DRV8833 instead of tb6612fng?

I was informed in person today to carry out the same thing on a breadboard i.e. without using the sra board.

Wasn't this already obvious @omsheladia? You can't plug a DRV8833 into the existing slot on the SRA board. Options - testing on a perf board/ breadboard. This was conveyed and self-understood well in advance as per my knowledge.

@dhairyashah1 I had to try the same thing with DRV883 and I never said anything about plugging it into the existing slot directly, was gonna use jumpers. But there was a risk about the difference in voltage levels of both the drivers which could destroy either the DRV8833 or the SRA board which I told Gautam. So he told to continue with TB6612FNG without the sra board.

@omsheladia how is it different to try it on sra board vs externally on breadboard? The solution was to look up and research on some solution online/ask on reddit/ try different stuff. I dont see anything like that. Consider using Drv8833 changing voltage level as we have a lot of buck converter MODULES at SRA. Converting 12v to 10v and trying could have been done.
I want to know what different has been done/tested clearly.

@dhairyashah1 it was not my decision to do the current task on the breadboard. As far as solution is concerned, I did try to run by some solution but was told to do the task first and then will see about the solution. And for hooking up the DRV8833 with the SRA Board, I did consider using the buck converter for the change in voltage and also ran it by Gautam before setting it up in SRA yesterday but I was told to do the task first which I wrote above.

@omsheladia pls specify what was that some solution ? Be clear, talking with links, demos, results or conclusions is desired.

@gautam-dev-maker @dhairyashah1 @omsheladia, @Premraj02 will be following with this task ahead. Expected a concise update by end of this week. Feel free to ask queries regarding the task after going through the thread.

@dhairyashah1 @gautam-dev-maker
Updates:

I reproduced the issue using self balancing code to understand the error and the conditions required to reproduce the error.

2)Implemented the MPU and TB6612 system on breadboard instead of SRA board. But the issue still occurs. Thus the issue is related to motor driver and not the design of SRA board.
3)Next I replaced the TB6612 with DRV8833 (on breadboard) and the issue did not occur. So I connected the DRV8833 on the SRA board using jumper wires. And it seems to work fine.
4)The only issue with DRV8833 is that it requires less voltage (Currently using 9V, Max is 10.8V) and also it supplies less current than TB6612. Max current with TB6612 was 600mA whereas with DRV8833, max current is 500mA. Due to this, the motors are slower with DRV8833 and when the pitch error is less (±1) the motors don’t respond to lower values of PWM.
Conclusion: DRV8833 solves the noise issue but with limitation of current. In future if we decide to shift to DRV8833, we will have to add on more voltage regulator on the SRA board (12V to 9V) or use a 9V adapter instead of 12V.
Next I will try to get same output current by increasing motor PWM above current limit of PWM values.
Attachments:
Maximum current consumption of single motor at 9V:

As per the datasheet of TB6612FNG motor driver, VM as well as Vcc should have 2 bypass capacitors of 10uF and 0.1uF. But the motor driver module has only one 10uF capacitor on VM line. So I tried adding one more 10uF capacitor between Vcc and Gnd. But this doesn't solve our problem and the issue is still there with the TB6612FNG motor driver.
References: https://www.sparkfun.com/datasheets/Robotics/TB6612FNG.pdf
Attachments:

Typical application diagram of TB6612FNG:

Additional capacitor:

Output without additional capacitor:

Output with additional capacitor:

@dhairyashah1 @gautam-dev-maker
On DRV8833 system when continuous PWM duty cycle of 90% is provided, each motor draws 100mA current on no obstruction and 700mA when fully obstructed. So far there is no issue with MPU readings.
When tested with varying PWM, TB6612FNG starts responding at 57% PWM duty cycle whereas DRV8833 starts responding at 63-65% PWM duty cycle.
Thus TB6612FNG can be replaced with DRV8833 with some modifications in code such that each value of duty cycle is increased by some constant value to compensate decreased voltage and current .
Attachments:

Maximum current consumption of single motor at 9V on 90% duty cycle:

@Premraj02 what do you mean by "starts responding at"?
Try 12 V with DRV8833 and see if it works, only then we can determine if the problem is with motor driver or routing.
Also if we are looking at solutions, we can use ferrite Bead on PCB. But to use ferrite bead we must know the upper range frequency of noise generated.

@gautam-dev-maker
Those are the duty cycle values at which motors start rotating.
Tomorrow I will try DRV8833 at 12V.
Also, I will try to check the noise frequency  using oscilloscope.

@Premraj02 kindly post all the updates here.

@dhairyashah1 @gautam-dev-maker
Updates:

Tested DRV8833 at 12V supply:
At 12V DRV8833 seems to operate normally without any heating. But the total output current is limited to 1A only. Thus the motors are still slow. I2C issue did not occur.

Noise frequency:
Checked the noise frequency on oscilloscope and it was found to be 6.25 MHz on average and 7MHz max. After this test I also tested SMD ferrite beads (UPZ2012E121-4R0TF) but these ferrite beads aren't designed for 6.25-7 MHz frequency range, so no significant difference was observed.

Next I will be testing effect of PWM frequency on motor noise.
Attachments:

Oscilloscope reading of input to motors (yellow) and noise due to motors (blue):

@Premraj02 post the updates, findings, conclusions and test performed so far here

Updates:

I tried various inductors (in range of 22uH to 220uH) in series with motor as well as power supply of motor driver. But the error still occurs.
Then I tried different RC, LR, LC filters inline with motors. But these filters didn't work.
After this I tried shielding the MPU wires. It eliminates the noise on some SRA boards but the results are inconsistent and it doesn't work on every SRA board.
Yesterday I tried connecting MPU directly on SRA board using short wires. I tried connecting MPU on OLED port as well as on MPU port and the results were positive. It completely eliminates the error and works on every SRA board. If we proceed with this solution then self balancing code should be modified to compensate the offset in MPU position.

Conclusion: Connecting MPU direcly on SRA board was the best solution found. To test this solution deeply, we will need to prototype one SRA board with onboard MPU connector.
Attachments:

MPU connected on OLED port:
![short_mpu_2](https://user-images.githubuserc
MPU connected on MPU port using short wires:

ontent.com/84727176/198867039-da310e99-51b3-4683-8080-f7b3f6dde274.jpeg)

Summary of tests performed till now:

Test
Error status
Remark

Implemented motor driver and mpu system on breadboard
error still occurs
issue is not related to noise on SRA board or routing

Replaced TB6612FNG with DRV8833(at 9V)
error did not occur
DRV8833 supplies less power to motors. Thus motors become slower. If we proceed with this configuration, one more voltage regulator will be needed on SRA board.

Replaced TB6612FNG with DRV8833(at 12V)
error did not occur
DRV8833 did not heat up but it still delivers less power to motors.

Added extra bypass capacitor on VM pin of TB6612
error still occurs
no effect on noise

Measured noise frequency on oscilloscope
-
noise frequency is around 6.25-7 MHz

Tested SMD ferrite bead (UPZ2012E121-4R0TF) on motor wires
error still occurs
no effect on noise

Tested inductors (22uH to 220uH) in series with motor wires
error still occurs
no effect on noise.

Tested inductors (22uH to 220uH) in series with ground pin of TB6612 FNG
error still occurs
no effect on noise

Tried RC, RL, LC filters on motor wires
error still occurs
motors don't get enough power when 50 ohm resistor is added in series (RC filter), no effect on noise.

Tested aluminium foil shielding on motor wires
error still occurs
no effect on noise

Tested aluminium foil shielding on MPU wires
inconsistent observations on different SRA boards
not reliable method

Connected MPU on oled port using short wires
error did not occur
this method solves the problem but transformations MPU readings will be needed

Connected MPU on MPU port using short wires
error did not occur
this method solves the problem but transformations MPU readings will be needed

Updates:

Tested 6 core shielded cable to connect MPU with SRA board. When the shield is properly connected to ground, it eliminates the effect of noise. This method solves the issue but does not eliminate noise. Thus other components can still malfunction due to noise.
Tested 4 core shielded cable to connect motors with SRA board. This method eliminates the noise completely and solves the issue. It also ensures that other components won't get affected by noise. I have performed rigorous testing and no error occurred. I also tested self balancing and the bot is able to balance perfectly.
Currently I have connected the cable shield to ground by using terminal block on SRA board.

Conclusion: By using 4 core shielded cable to connect motors, we can completely eliminate the noise.
Attachments:

4 core shielded cable:

Motors connected to SRA board using 4 core shielded cable:


feat: Get Performance Data & Performance Data Types

closes #361
Change list
Please provide briefly described change list which are you going to propose.
Types of changes
What types of changes are you proposing/introducing to .NET client?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] New feature (non-breaking change which adds value to the project)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Documentation

[x] Have you proposed a file change/ PR with appium to update documentation?

This can be done by navigating to the documentation section on http://appium.io selecting the appropriate command/endpoint and clicking the 'Edit this doc' link to update the C# example
Integration tests

[x] Have you provided integration tests to pass against the beta version of appium? (for Bugfix or New feature)

Details
Adds support for getting performance data and performance data types on Android
Adds the following methods to AndroidDriver.cs
GetPerformanceDataTypes()
GetPerformanceData(packageName,dataType,dataReadTimeout)
Please provide more details about changes if it is necessary. If there are new features you can provide code samples which show the way they
work and possible use cases. Also you can create gists with pasted C# code samples or put them here using markdown.
About markdown please read Mastering markdown and Writing on GitHub

I couldn't get 'cpuinfo' to work/return a good response. An error occurred each time, so I commented out the assertion

@akinsolb Please provide the actual server error, perhaps I could fix it

@akinsolb Please provide the actual server error, perhaps I could fix it

https://gist.github.com/akinsolb/78d3343b39baf2f989f8e5a21c8c4a52 This is a run on an emulator (Android 10)

I've pushed https://github.com/appium/appium-android-driver/pull/659 to fix the issue https://github.com/appium/appium-dotnet-driver/pull/422#issuecomment-687620106
You could check it out locally and verify now or wait until it's approved and is merged to beta

I've pushed appium/appium-android-driver#659 to fix the issue #422 (comment)
You could check it out locally and verify now or wait until it's approved and is merged to beta

Thanks. I'll wait till it's merged into beta.


Configure Business Rules, Workflow and Process Visibility

Tutorials: https://developers.sap.com/tutorials/cp-starter-ibpm-employeeonboarding-2-configure.html
Step 4: Deploy business rules : Step 3: After clicking on deploy getting below error and its unable to deploy rule services

Labels to be added:
Scenario label:SCPTest-eboard
Sprint Label: SCPTest-2201A
Landscape Label: trial2, trial3

Hi Colleagues,
Greetings!
This scenario is part of Global SAP D-kom Live Coding Space which is planned on 18th, 19th and 20th of Jan 2022. Currently this issue is the blocker to execute this scenario. So kindly request you to take it as very high priority and resolve this issue and make the system ready as soon as possible.
Many thanks & regards,
Baskar

Hello Baskar,
This is was due to recent changes in the product which was not informed upfront. I will make the changes and upload the new version in API  Hub by today. Will keep you informed.

Hi Archana,
Thank you so much for your swift response and the timely action you have taken to resolve this issue.

Hello Baskar,
An update: there are some minor issues in publishing the package to API Hub. API Hub team is working on the fix, we have  plans to publish the updated package by today.

Hello Baskar,
The changes are published now. Please run the scenario and check.

Hi Archana,
Many thanks for your effort in bringing this scenario to work. I have done the retest now and the scenario is working fine. I could able to complete this scenario successfully. Thanks again.
Kind regards,
Baskar


Add readme to package and update readme text

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


Knapsack problem using dynamic programming in C

💥 Proposal
C program to solve knapsack problem using dynamic programming concept.
Have you read the Contributing Guidelines on Pull Requests?
yes

/assign


RSL1c: check that it happens in a single request.

LGTM

Missing one LGTM here @mattheworiordan

Sure, LGTM


Move survey.nixos.org to a less ridiculous hosting on non-critical-infra

survey.nixos.org currently costs us an astonishing $126/month in EC2 costs. It probably doesn't need more than a $5/month tiny Hetzner VM, or even could be co-located with other small non-critical services.
Given the potential in savings, this seems high priority. @JulienMalka can you find some time in the near future to drive this?

The marketing team is actively working on a survey right now, so we'll need to coordinate the migration of the service with them.

I've added the infra team (from ssh-keys.nix) to /root/.ssh/authorized_keys.
@JulienMalka If you are going to be working on this can we sync up on call, to find the right time for migration etc...

Also please confirm that you can ssh into<EMAIL_ADDRESS>

Also please confirm that you can ssh into<EMAIL_ADDRESS>
Works here. Thank you!