Logo image and Cover image is giving 401

With service scope, not able to load the image. The response is 401.
On the client side, the API key is already passing. Do we need to pass an extra header?

@albinpa Can you check this and get back ?

Yes.

Images are not getting loaded

@josmilan individualId has to be passed the header.


Add getters and setters to Rectangle for its sides and center without vector param

Add methods to Rectangle class for getting and setting its sides and center (without the need to pass a Vector param).
I've added this as I found useful said methods on MonoGame's Rectangle2D class and decided to port said functionality to libgdx while I'm working a port from MonoGame to libgdx after doing a Coursera course.
I still need to sign the CLA but as I'm not sure if this fits in the project, I'm asking beforehand to avoid lost time :)

Hi @Tom-Ski
The idea was to add a more semantic approach so that coders don't need to compute x + width every time they need to get the right part of a Rectangle (for example to know if the Rectangle is touching some bounds or something like that).
I'm currently using the Rectangle class as a Collision rectangle to know if an entity is touching some bounds (top, right, bottom and left) so having said "shortcuts" simplifies" my code quite a lot.
Again as with my other comment, I'm talking from a "normal Java coding" view and not a game programming view so maybe I'm really overstepping here and would like to know if so.

Sure, do you have a code sample/pseudo code for your bounds check for collision you mentioned? It would be good to see how you are using it and how this benefits you. Particularly for the setLeft methods.
If something has definite utility then it can be added at the expense of bloat etc, I'm just not sure this does.

For example, I have the following inside a Target class. I use it to have several targets floating through the screen bouncing off the limits of the screen. This way I understand it better (is more semantic) than with the computations directly in the code.
/**
 * Bounces the target off the top and bottom window borders if necessary
 */
private void bounceTopBottom()
{
    if (drawRectangle.getTop() > GameConstants.WINDOW_HEIGHT)
    {
        // bounce off top
        drawRectangle.setTop(GameConstants.WINDOW_HEIGHT);
        velocity.y *= -1;
    }
    else if (drawRectangle.getBottom() <= 0)
    {
        // bounce off bottom
        drawRectangle.setBottom(0);
        velocity.y *= -1;
    }
}

/**
 * Bounces the target off the left and right window borders if necessary
 */
private void bounceLeftRight()
{
    if (drawRectangle.getLeft() < 0)
    {
        // bounce off left
        drawRectangle.setLeft(0);
        velocity.x *= -1;
    }
    else if (drawRectangle.getRight() > GameConstants.WINDOW_WIDTH)
    {
        // bounce off right
        drawRectangle.setRight(GameConstants.WINDOW_WIDTH);
        velocity.x *= -1;
    }
}

I'm of the opinion that this is bloat, and easily added by subclassing anyway. It doesn't make sense to have multiple methods for returning the exact same thing under a different name.

I agree, the use case you have provided is a very specific example, usually with collision detection and response you have a more robust method of determining collisions between objects. Infinite size sides is a very small case. If you'd like to avoid having the additional math everywhere in your code just add a simple helper method in your own class.
Thanks for the PR.


Revert "feat(policy-template): adding cloudwatch:describeAlarmHistory…

… policy (#1264)"
This reverts commit 7f3c203b19b02e7956070379152cb22a5d4c260f.
Issue #, if available:
Description of changes:
Description of how you validated changes:
Checklist:

[ ] Write/update tests
[x] make pr passes
[ ] Update documentation
[ ] Verify transformed template deploys and application functions as expected
[ ] Add/update example to examples/2016-10-31

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1307   +/-   ##
=======================================
  Coverage   94.59%   94.59%
=======================================
  Files          77       77
  Lines        4129     4129
  Branches      815      815
=======================================
  Hits         3906     3906
  Misses        108      108
  Partials      115      115

Continue to review full report at Codecov.

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


Thousands separators in the Currency Converter

Description
If you want to know what 1 Ti is currently at Explorer.iota.org, you get for Example the result "1147270.23" USD
For the sake of clarity, it would be nice if the result were displayed as "1,147,270.23" USD or "946.125,00" EUR
Motivation
This contributes to the simplification of the understanding and the overview
Requirements

Thousands separators in the Currency Converter

Are you planning to do it yourself in a pull request?
No.

Added with this commit https://github.com/iotaledger/explorer/commit/c6297bb496fd2d61b8a42af3af019bc130a9592e


Consider adaptions to lazysizes for the upcoming native lazyload browser feature

See this article for a brief explanation of the new loading attribute coming to Chrome 75, supporting img and iframe elements.
lazysizes may needs adaption to play nicely with the new browser feature in the future.

For example, it would be nice if lazysizes could swap relevant data attributes to the actual attributes or, at least, provide a public API method to do so.

Yes, I can provide such a plugin. If you want you can already do so by using the following method lazySizes.loader.unveil(DOMNode):
import lazySizes from 'lazysizes';

if ('loading' in HTMLImageElement.prototype) {
	const images = document.querySelectorAll('img.lazyload[loading], iframe.lazyload[loading]');

	images.forEach(lazySizes.loader.unveil);
}

My plugin would include maybe some options for example to fully disable lazySizes and detect new images.
But keep in mind due to the fact that JS has to still alter the DOM before anything gets loaded one interesting aspect of lazyloading is not supported: LazyLoading initially in view image after CSS is loaded but before JS is loaded which means loading lazysizes still has a high priority.
It would be interesting to already see some heuristics in the lazyloader already in the preload parser. For example under some circumstances load the first 3 images instantly before even CSS is loaded. From my understanding often the backend doesn't distinguish between images that are always "above the fold" and images that don't....
Btw.: As soon as the browser waits to load images until styles are loaded the browser will also be able to implement the data-sizes="auto" feature for those images (request it!!!).

From your article:

Not specifying the attribute at all will have the same impact as setting loading=auto.

Interesting: I guess this idea will break expectations of some website authors. As soon as browsers start to consider to match auto to lazy under some circumstances.

Do you guys have any suggestion for the configuration option that disables listener events. My current idea is disableListenerOnNativeSupport which is quite long and ugly.

Did anyone off you already tested the plugin with the newest Chrome canary? It seems to work pretty well. In case you don't want to change your markup you can simply set nativeLoading.setLoadingAttribute = true. In case you don't use lazySizes on any other elements than img and you aren't using data-sizes="auto" on img that are hidden using display: none you can also set nativeLoading.disableListeners = true

Here you got the final plugin:
https://github.com/aFarkas/lazysizes/tree/gh-pages/plugins/native-loading

@aFarkas final plugin looks amazing 👍
I'm curious if you've thought of updating the plugin to purely rely on the loading="lazy" attribute?Using setLoadingAttribute to update all images to have the loading attribute makes sense for folks who are already relying on lazysizes and don't want to change their markup to support native lazyloading, but I think it might be useful to also provide developers who end up using loading="lazy" an easier way to polyfill for other browsers by falling back to this plugin/lib
CC @addyosmani @mathiasbynens

@housseindjirdeh
Not sure wether I understand you right here. Do you mean that developer should be able to use loading="true" in combination with the normal src/srcset attributes and a plugin will then transform this to class="lazyload" and data-src/data-srcset?

@aFarkas that would be the ideal scenario, but not sure if it would be possible to transform src/srcset attrs to data-src/data-srcset before the page gets instantiated? I was referring to at least allowing developers to use loading="lazy" along with data-src/data-srcset without needing to specify class="lazyload"

but not sure if it would be possible to transform src/srcset attrs to data-src/data-srcset before the page gets instantiated?

In theory it is not possible. In practice it might work quite good under specific circumstances - at least in IE and FF. Safari is for me the big question. But for me it is too early to do such a kind of "real" polyfill. And of course most other plugins and lazysizes features - especially data-sizes="auto" won't work anymore.

I was referring to at least allowing developers to use loading="lazy" along with data-src/data-srcset without needing to specify class="lazyload".

I don't really see much benefit in it for the developer. How would you advertise it? Hey developer you only have to change the HTML partially. As soon as a developer has to change src/srcset it is not much of work to also add a class.
If you think that is useful for you, you can still write the following JS code (not tested) to do it yourself:
const throttledTransform = (() => {
	let runs = false;
	const { cfg } = lazySizes;
	const selector = `img[loading="lazy"]:not(.${cfg.loadedClass}):not(.${cfg.lazyClass}):not(.${cfg.loadingClass})`;
	const transform = () => {
		document.querySelectorAll(selector).forEach((node) => {
			node.classList.add(cfg.lazyClass);
		});
		runs = false;
	};

	return () => {
		if (!runs && document.querySelector(selector)) {
			runs = true;
			lazySizes.rAF(transform);
		}
	};
})();
new MutationObserver( throttledTransform ).observe( document.body, {childList: true, subtree: true, attributes: true, attributeFilter: ['loading']} );
throttledTransform();

I get that turning src/srcset into data-src dynamically is not feasible.
But @aFarkas, how would you feel about dropping this library's dependency on class="lazyload" in favor of the soon-to-be-standard loading=lazy? Of course, this would be a breaking change, so it would require a new semver-major release. But it would simplify the markup that developers would need:

...to:

We don't need class="lazyload" since loading="lazy" already signals that the image is supposed to be lazy-loaded.

Is it possible to configure which images or iframes will be modified to native loading in the plugin?
I don't agree with Google Chrome's lazy loading heuristic for IFRAMEs.

guys, what's your experience with native lazyloading? It seems to be far inferior to lazysizes due to lack of config.
For example, if there're 100 thumbs on a page with only 12-20 visible, Chrome will fire load for 80%+ of them, despite the fact that most of them are way below the fold. They have some connection-based heuristics to detect how much content to queue, but in our tests it proven to be way too aggressive and even on slower connections Chrome will preload way too many off-viewport images for no good reason.

@bkarlson

Chrome will preload way too many off-viewport images for no good reason.

I'm seeing this same behavior myself. I'm guessing because Chrome has chosen to be more conservative in pre-loading below the fold images in case the user scrolls fast and/or the connection is slow.
I wish it was at least smart about it and would load a large number of images in succession, like only load the first 5 simultaneously. Then when one is finished start loading number 6 and so forth.

If anyone is reading, we've reverted to using lazysizes over the native loading attribute and the user experience is better. Our pagespeed insights score is roughly the same.
Also of note- don't use the loading="lazy" attribute on above the fold images as it will cause a flash. Best practice above the fold is no lazyload and also prefetch the image using the <link preload /> tag. Night and day difference for UX


image_repo_manifest.bbclass: explicitly call python3

Now we have changed to inherit python3native to provide python3 binary
for repo, then we need explicitly call python3 to execute repo, or else
it will firstly try to locate python which will fail if python is not
in HOSTTOOLS.
This fixes a following warning:
| Android repo tool failed to run; manifest not copied
Signed-off-by: Ming Liu<EMAIL_ADDRESS>

Are you sure this is the right solution? I think you might just need to upgrade the version of repo on your build machine, or install something like the python-is-python3 package in Ubuntu.

Are you sure this is the right solution? I think you might just need to upgrade the version of repo on your build machine, or install something like the python-is-python3 package in Ubuntu.

Yes, I did not install python-is-python3 which might help, but my repo tool seems is the latest one since it will update itself once being executed 'repo init'.
I think this solution could be sort of shoring up for old repo tools or for the users dont have python default to python3?

I think this solution could be sort of shoring up for old repo tools or for the users dont have python default to python3?

Well, part of my concern here is that if your machine doesn't have a binary installed named python3 because python is already v3, then you this will fail without an annoying workaround. I don't know how realistic that concern is, though; I'm mostly familiar with the Ubuntu/Debian world.

I think this solution could be sort of shoring up for old repo tools or for the users dont have python default to python3?

Well, part of my concern here is that if your machine doesn't have a binary installed named python3 because python is already v3, then this will fail unless you use an annoying workaround. I don't know how realistic that concern is, though; I'm mostly familiar with the Ubuntu/Debian world.

Attempt to say that would not happen since we are now inheriting python3native, so python3 is from yocto sysroot instead of from host machine, this is why I started with this solution.
To verify that:
$ bitbake core-image-minimal -c devshell
$ which python3
/mnt/workspace/build/tmp/work/colibri_imx6-poky-linux-gnueabi/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3

This PR breaks the build when there is no repo on host.
dash -x some-image/1.0-r2/temp/run.buildinfo_manifest.80233
+ export systemd_system_unitdir=/usr/lib/systemd/system
+ export systemd_unitdir=/usr/lib/systemd
+ export systemd_user_unitdir=/usr/lib/systemd/user
+ buildinfo_manifest
+ which repo
+ repotool=
+ bb_sh_exit_handler
+ ret=1
+ [ 1 != 0 ]
+ echo WARNING: exit code 1 from a shell command.
WARNING: exit code 1 from a shell command.
+ exit 1

https://github.com/advancedtelematic/meta-updater/pull/765 fixes this

Arha, thanks for the finding, yes, that looks like a proper fix.
//Ming Liu
shr-project<EMAIL_ADDRESS>於 2020年8月18日 週二 下午4:01寫道：

#765 https://github.com/advancedtelematic/meta-updater/pull/765 fixes
this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/advancedtelematic/meta-updater/pull/762#issuecomment-675496463,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB5RRMVVBFHRLDVHQQYASRDSBKCTPANCNFSM4PZVN2KQ
.


Not showing up in Playstore

I tried to scan the qr code in beamng it opens playstore but there just stands try agains a try again button and the ballon game undereath. How can i install the app or is it outdated

It seems as though this project is no longer maintained. Ive made a few changes to the app and built an apk which can be downloaded here. https://github.com/jdinovo/remotecontrol/releases/tag/v1.2.0


Thread-Safety Issues

The Jetfire API is not thread-safe, and it is not explicitly declared as such. Either add a note that instances of JFRWebSocket should not be accessed by multiple threads, or make the API thread-safe. My preference is for the later – putting the responsibility on the library, not the client.
Delegate Callbacks
Most of these occur on the private connection queue, not the specific delegate queue:
https://github.com/acmacalister/jetfire/blob/master/JFRWebSocket.m#L330-331
https://github.com/acmacalister/jetfire/blob/master/JFRWebSocket.m#L452-453
https://github.com/acmacalister/jetfire/blob/master/JFRWebSocket.m#L459-460
https://github.com/acmacalister/jetfire/blob/master/JFRWebSocket.m#L465-466
https://github.com/acmacalister/jetfire/blob/master/JFRWebSocket.m#L492-493
https://github.com/acmacalister/jetfire/blob/master/JFRWebSocket.m#L531-532
https://github.com/acmacalister/jetfire/blob/master/JFRWebSocket.m#L539-540
https://github.com/acmacalister/jetfire/blob/master/JFRWebSocket.m#L553-554
Unsafe Setters
In a few places, there are checks like if (!self.property) self.property = X;. These are not thread-safe because the setters are not atomic. A common very difficult-to-find crash occurs when two threads wander into such blocks and invoke the runtime-generated setter at the same time. The result will be a -release race condition – both threads can release the original value, and leak one of the new values.
https://github.com/acmacalister/jetfire/blob/master/JFRWebSocket.m#L143-L145
https://github.com/acmacalister/jetfire/blob/master/JFRWebSocket.m#L625-626
Unsafe Mutable Access
This one is an edge case – addHeader:forKey: adds a value to the dictionary on an arbitrary client thread, while -connect triggers enumeration of the same collection on the private connection thread. The easiest way to fix this is to use an immutable copy of the collection internally.
Self-reference Cycles
More of a side-effect of multi-threading with blocks than a bug. Using self within a block creates a strong reference which has a few funky side effects. Particularly around deallocation behavior of the instance. For example, in dequeueWrite:, a strong reference to self is created and enqueued onto operation queue. This means that the instance will have a +1 retain count for each write operation and continue to live on – processing operations – after the client/app code has released it:
https://github.com/acmacalister/jetfire/blob/master/JFRWebSocket.m#L630
Most use of the self reference within async blocks should use a weak reference. You can check to see if the weak reference is nil at the start of execution, and (usually) safely retain it for the duration of the block. This should happen anywhere dispatch_async is used with self. Much written on this

I completely agree we should make the API thread-safe. I have an assumption that will probably clear up the outstanding issues of #9 and #13 as they appear to be some sort of race condition. I will try and get a PR together that will address this, unless you already have something. :smiley:

Yeah, that will probably get the project closer to safety. I was testing the water with this issue before committing to code. I have already started three branches:

Splitting out the response object (pretty basic, done)
Adding quick-and-dirty Autobahn tests runner (in progress)
Moving the response-specific parsing into the response object (moderate change but very scary)

1 is done. 3 is blocked by 2 – I would need to have confidence in the change. Some of that is likely to conflict hard with other changes. Probably should just be mindful of it and continue on the two issues and these branches.

Most Cocoa APIs aren't thread-safe, and Apple's convention is that the docs only point out the ones that are safe, i.e. if the docs don't say it's thread-safe, it isn't. So JetFire is in compliance with that :)
My strong belief is that in most cases thread-safety should be added only at a level that requires it. There is a lot of overhead (performance as well as code size and testing) to making an API thread-safe, and if you use one thread-safe API inside another one you're often wasting the safety work that the inner one does. This is actually the same rationale that Apple uses for not making all their APIs thread-safe. (FWIW, I worked at Apple for many years and was involved in some Cocoa API designs.)

True enough.
The points still stand though. Much of the thread-safety issues highlighted stem from the API internals improperly notifying delegates on the wrong queues. And although I do agree with not designing for pristine thread-safe API, there are some defensive coding practices that make it a non-issue without any complexity – like calling copy on a headers dictionary that is not expected to be changed often.

@snej, those are some solid points. I guess I'm sort of conflicted. I agree, most Cocoa APIs aren't thread safe and that does add quite a bit of overhead for the API to have "complete thread safety". Our original goal when we set out to write this library was to provide a simple, concise code base for doing WebSocket's that passed the AutoBahn suite. Thread safety was never a major concern as I didn't real thing that many people would have multiple WebSocket connection open at once. Obviously, that was an incorrect assumption :smile:. I do agree with @adamkaplan though, there are definitely some changes we could make to avoid some of the race conditions are being reported now. My hope is that between #25, #26, etc we can get most of the major race conditions addressed without adding a ton of extra code.

Seems we're all on the same page: no explicit thread-safe API, but promote defensive coding practices.
It helps a lot that the class already has 3 running queues. That fact is the only reason why I suggested thread-safety (but again, backing off to just "defensive programming" where it makes sense).

I ran into a threading issue as well.  In JFRWebSocket.m, - processHTTP:length:, the library is calling websocketDidConnect: on the delegate before isConnected is set to true, depending on thread scheduling.
I've been using a dependent library that tries to send bytes into the socket on that callback, but it first checks if the socket is connected.

@aaronscherbing I think I found what is wrong. It should be resolved in master with the latest commit. Thanks for the report.

Great!  Thank you for looking into it.


Error modifying AWS Cloud file share when Metadata values are not modified

Issue/Feature Description:
When an AWS cloud file share is modified and the values are not changed the backend throws an error.
Existing File Share
{
 "fileshares": [
  {
   "id": "5f66451d871d2c0001c3aab0",
   "createdAt": "2020-09-19T23:21:25",
   "updatedAt": "2020-09-19T23:21:25",
   "name": "testinganvith",
   "description": "testinganvit",
   "tenantId": "94b280022d0c4401bcf3b0ea85870519",
   "userId": "558057c4256545bd8a307c37464003c9",
   "backendId": "5f664444b991ba000124ceff",
   "backend": "aws-backend-file",
   "type": "cloudFS",
   "region": "ap-south-1",
   "status": "creating",
   "tags": [
    {
     "key": "Name",
     "value": "testanv"
    }
   ],
   "metadata": {
    "fields": {
     "CreationTimeAtBackend": {
      "Kind": {
       "StringValue": "2020-09-19T17:51:25Z"
      }
     },
     "CreationToken": {
      "Kind": {
       "StringValue": "$9BT#bAzNP/A07z(5hBoUhrZu5pRjo}r/N~B"
      }
     },
     "FileSystemId": {
      "Kind": {
       "StringValue": "fs-682145b9"
      }
     },
     "FileSystemSize": {
      "Kind": {
       "StructValue": {
        "fields": {
         "Timestamp": {
          "Kind": {
           "NumberValue": 0
          }
         },
         "Value": {
          "Kind": {
           "NumberValue": 0
          }
         },
         "ValueInIA": {
          "Kind": {
           "NumberValue": 0
          }
         },
         "ValueInStandard": {
          "Kind": {
           "NumberValue": 0
          }
         }
        }
       }
      }
     },
     "LifeCycleState": {
      "Kind": {
       "StringValue": "creating"
      }
     },
     "Name": {
      "Kind": {
       "StringValue": "testanv"
      }
     },
     "NumberOfMountTargets": {
      "Kind": {
       "NumberValue": 0
      }
     },
     "OwnerId": {
      "Kind": {
       "StringValue": "586825186478"
      }
     },
     "PerformanceMode": {
      "Kind": {
       "StringValue": "generalPurpose"
      }
     },
     "ThroughputMode": {
      "Kind": {
       "StringValue": "bursting"
      }
     }
    }
   }
  }
 ],
 "next": 1
}

Request Body
{
  "description": "testinganvit",
  "type": "cloudFS",
  "metadata": {
    "PerformanceMode": "generalPurpose",
    "ThroughputMode": "bursting"
  },
  "tags": [
    {
      "key": "Name",
      "value": "testanv"
    }
  ]
}

Here is the API response
{"id":"go.micro.server","code":500,"detail":"panic recovered: runtime error: invalid memory address or nil pointer dereference","status":"Internal Server Error"}

Here is the log entry from Docker logs

Why this issue to fixed / feature is needed(give scenarios or use cases):
How to reproduce, in case of a bug:

Go to Resource -> Fileshare -> Cloud
Create an AWS File share
In the file share list click on Modify from the operation menu.
In the modify page do not change values for the existing Metadata values.
Submit the form.

Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

@anvithks Could you please clearly specify what the user wants to modify. Could you please cross-check Is this a valid AWS FS modification Use-case supported in AWS?

Not changing anything.
User just sends same values as before.

Not changing anything.
User just sends same values as before.

Then, What is the purpose for Modifying?
Please check at the AWS backend. From AWS console, the operation you are trying to do is disabled.

Not changing anything.
User just sends same values as before.

Then, What is the purpose for Modifying?
Please check at the AWS backend. From AWS console, the operation you are trying to do is disabled.

If the user does not use a frontend to make this call then the error received from the API does not inform what was the actual issue. This can be learnt only from the docker logs.


move components to namespaces

Closes #417
Pull request checklist

[x] My code contains tests covering the code I modified
[x] I linted and tested the project with bin/check
[x] I added significant changes and product updates to the changelog

Love it - thank you again! I think we can finally close out #417!


Multi-device support

Hello,
I have an issue that I can't get this library to work with multiple devices. E.g. if I'm pairing with my phone, the devices are showing up on my iPad and on my watch, but it tells me that there is no response from them. (If I'm pairing with my iPad then they only work on the iPad).
Am I doing something wrong? Or is this use-case not supported?
Maybe it is also worth mentioning that I'm not using a hub. Would it be different if I would also use a hub?

multiple paired devices are supported. i have around 8 in my home :)
but you need to implement management of users see. HomekitAuthInfo.createUser/listUsers/.. , which holds the key for each device (called users here the class). so, if you have multiple devices you need to have multiple users managed / stored somewhere

@yfre Could you elaborate on this a little bit more, or provide some code example? I'm basically using the code from the sample application, MockAuthInfo:createUser is already storing multiple users if it receives them, but it is only called once when I'm doing the initial pairing. So what else do I have to do for it to work also on the other devices?

checked MockAuthInfo and it looks good and should work with multiple devices (i have not tested though).
another implementation is in openHAB (but pretty openHAB specific)
https://github.com/openhab/openhab-addons/blob/main/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/HomekitAuthInfoImpl.java
probably, the best approach would be to add more logging to MockAuthInfo  to see which users are created and which are requested.

createUser is only called once, when I'm doing the pairing.
getUserPublicKey is also called with different usernames occasionally, but it is returning null because it only has the public key for the initially paired device.
I also tried to start the bridge with allowUnauthenticatedRequests set to true (I don't know if this has anything to do with my issue), but it is still not working.

Can it be related to the new HomeKit architecture? https://community.openhab.org/t/homekit-ios-16-2-issues-dont-upgrade/142069
I guess I upgraded my app to 16.2 because I don't have the option in the settings. Seems like it is already fixed in OpenHAB.

ok. so, it was related to new homekit architecture. good that it is working with new release.
regarding watch - we have no influence on the watch, it gets the data from the iphone. so, we need to wait for apple to fix (hopefully) the new architecture and see how it will behave


(feat): io submodule

A brief summary of how this was handled and why:

I moved everything into io related to i/o
I left read_zarr and read_h5ad at the top-level for now, although I think that should be deprecated in favor of everything going through io in the future despite their "high" status above the others. They are now documented as being from io to begin to encourage that behavior although we aren't throwing warnings for e.g., anndata.read_h5ad yet
I also made a backwards compat for people who use from anndata._io import blah since uhhhhhhh yikes by leaving that module alone.  However, at least if anyone tries to import from the top-level from anndata._io import read_h5ad, it will warn.  Also, I added a public note about this issue since it seems pervasive.
I added tests for the deprecations.  For now, we need to check the scanpy imports for warnings but we can open the PR for scanpy before its release to adapt.  I think the imports are cached or something so pytest.warns can't run reliably every time because the warning doesn't come every time....not sure what's up with that

[x] Closes #1681
[x] Tests added
[ ] Release note added (or unnecessary)

We do turn FutureWarnings into errors right? So it’s impossible that you missed one in here, right?

Could you elaborate? When I search FutureWarning in our code base, I don't see anything that might signal they are errors, and a lot of pytest.warns.

One of our test job runs with --strict-warnings, which turns all warnings into errors except the ones from an allowlist (that exists because we haven’t gotten around to dealing with them).
These are the default filters:
https://github.com/scverse/anndata/blob/34e9783f955a1121850e9e36dd35ad9adbecbb2a/src/testing/anndata/_pytest.py#L26-L31
This is the allowlist:
https://github.com/scverse/anndata/blob/34e9783f955a1121850e9e36dd35ad9adbecbb2a/pyproject.toml#L148-L154
This is the code that turns all warnings into errors except the above.
https://github.com/scverse/anndata/blob/34e9783f955a1121850e9e36dd35ad9adbecbb2a/src/testing/anndata/_pytest.py#L97-L108

Sorry at @flying-sheep yes I knew that about stricto-warnings, but I meant about FutureWarning specifically, which is what confused me.   In any case I misread "impossible" as "possible" hence my confusion.  So yes, it's impossible we missed

Why breaking change ‼ ?

Hmm I guess I was just thinking "begins process for breaking change" but yea, it's not.

I got rid of a few more obsolete import hacks: https://github.com/scverse/anndata/commit/a947d3ec279f78a5e26fd5fc2db94c02c217dc59

I don't think they were so obsolete: https://dev.azure.com/scverse/anndata/_build/results?buildId=8163&view=logs&j=60c6783d-556f-53a9-3d94-3b9ccc51ad8d&t=3522b173-13e1-56b6-93d8-ed20bad6f9bb&l=60!  I cleaned it up a bit to be more uniform.

Ah weird, I’m sure I ran the tests without zarr locally, but looking at the code I guess I probably didn’t.
I don’t like this:

I think we should instead just do
try:
    from .zarr import read_zarr, write_zarr
except ImportError as e:
    def read_zarr(*_, *__) -> NoReturn:
        raise e from None
    def write_zarr(*_, *__) -> NoReturn:
        raise e from None


[Preview]: API endpoints in Azure API Management should be authenticated

I have a question with regard to the API Management policy below:
[Preview]: API endpoints in Azure API Management should be authenticated
The description of this policy:
API endpoints published within Azure API Management should enforce authentication to help minimize security risk. Authentication mechanisms are sometimes implemented incorrectly or are missing. This allows attackers to exploit implementation flaws and to access data. Learn More about the OWASP API Threat for Broken User Authentication here:
But how this policy exactly evaluates? I know it is based on the outcome of an assessment with a certain name (guid: 91af2040-7874-4659-abf0-578e1f8d07dc) but how is the assessment result established? We have a number of API's in APIM and all of them (except the echo-api) do have the validate-jwt policy  applied at API level so the policy is automatically inherited to its API-endpoints (operations). However the policy is non-compliant for all operations in our APIM service...
I would like to know how this policy evaluates and how this assessment result is made up.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 7a8ce6e2-cc44-33c3-102a-e3da92135a05
Version Independent ID: 02772f04-c2c7-f2f8-8885-7873cb3b0a32
Content: Built-in policy definitions for Azure API Management
Content Source: articles/api-management/policy-reference.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

@neok-g
Thanks for your feedback! We will investigate and update as appropriate.

Also, I would like to let you know that this repo is mainly for doc-related feedback. If you are still facing the issue after following the doc or have any questions about the security assessment, I recommend posting your question in Microsoft Q&A tagging Microsoft Defender for Cloud and Api Management.
We can assist you further on technical issues and questions.

@neok-g We are now proceeding to close this request and let us know if any questions.

@mumurug-MSFT So API's need to be onboarded first to Defender For Cloud in order to get these 2 policies working?


Modifies the symbolic suffixes enclosing them into brackets and sympl…

…ifying them with the z3 simplification algorithm. Should solve #303

Hi @LoCorVin , now it would be quite helpful to understand what is happening while going through graphs etc thanks to your PR.
Currently laser underwent lot of changes, can you change the code based on that ,all the instructions are currently in instructions.py .

Hope this is sufficient :)

hey @LoCorVin can you rerun the builds by merging with the master(as build failed due to some ethereum version issues which was corrected in master) Also I see some huge changes, can you mention what these changes will do, that might help a lot.


AMQ-9531: Add hawtbuf-proto dependency for CLI

Author: Matt Pavlovich<EMAIL_ADDRESS>

@jbonofre this change is incomplete and should be closed in favor of [#1257]. The Export command needed a patch b/c the introspection wasn't working with the method overload.


small changes to compile with mingw

Hi Everyone,
as I run into some small problems while compiling nana with mingw (nuwen.net) I tried to fix all the issues. The changes are tested with MinGW GCC 5.3 and MSVC14 (=2015).
It all compiles well, but was not used until now.
As I guess the changes violate some of the design principles, please feel free to take what you need and add it where needed. If you have any questions please don't hesitate to ask me.
best regards,
Pr0curo

Thanks for your pull request.


New Associate Member Application: ISC2

This is a new application for an Associate Membership Level.
What is your member company?
ISC2
What drives your interest in joining the OpenSSF:
The ability to collaborate and move forward our mutual interests to secure software
What are your organization’s aspirations for contributing to the OpenSSF, and how do you anticipate that your membership will bolster the OpenSSF's growth and support
Currently working on areas of mutual interest around education and global public policy.
Could you summarize your organization’s contributions to OpenSSF:
Currently working on areas of mutual interest around education and global public policy.
How many developers do you expect to have contribute to OpenSSF projects in the next 6-12 months? Are there other roles such as researchers, analysts or any other positions that you plan on contributing:
Our contributions will be around education and advocacy.
How do you currently leverage any OpenSSF resources in your organization?
Education
Identify which category their organization falls under:
Non-profit
Link to your website:
www.isc2.org
What is your organizational mission statement:
ISC2 strengthens the influence, diversity and vitality of the field through advocacy, expertise and workforce empowerment that accelerates cyber safety and security in an interconnected world.
Do you have signing authority for your entire institution?
Yes

I approve of officially bringing ISC2 into our community!  I look forward to our collaboration!

They are now members!


wlan-ap-config: Use qca9984 fw image for ecw5410

Signed-off-by: Arif Alam<EMAIL_ADDRESS>

merged into pending, Thanks !


Add set up of react app

Added to do list app component

Hi @girma336m,
Great job so far! Your project is looking great. There are some issues you still need to work on for your project to be complete.

Highlights
✔ No Linter errors
✔ Following Gitflow
✔ Following some requirements
Required Changes ♻

[ ] Please update your README file with information on the project under review as the current file contains information about a previous project. Please make sure it follows the new Microverse README template

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better.
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification @prolajumokeoni.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Insufficient logs coverage

-v (info), -vv (debug), -vvv (trace), related to #110.

as per this example: https://github.com/docopt/docopt.rs/blob/master/examples/verbose_multiple.rs , it seems the default way of implementing verbosity is to add [-v | -vv | -vvv]  to each command. i.e.
   emerald server [options] [-v | -vv | -vvv] [--port <port>] [--host <host>]
   emerald account list [options] [-v | -vv | -vvv] [--all]
   emerald account [un]hide [options] [-v | -vv | -vvv] [--all] [<uuid>|<address>]
   emerald account strip [options] [-v | -vv | -vvv] (<uuid>|<address>) [-- <pfile>]
   emerald account new [options] [-v | -vv | -vvv] [--raw] [--security-level <level>] [<name> [<description>]] [-- <pfile>]
   emerald account update [options] [-v | -vv | -vvv] (<uuid>|<address>) [<name> [<description>]]
   emerald account import [options] [-v | -vv | -vvv] [-- <keyfile>]
   emerald account export [options] [-v | -vv | -vvv] [--all] [<uuid>|<address>] [-- <keyfile>]
   emerald transaction sign [options] [-v | -vv | -vvv] [--raw] [--gas <limit>] [--gas-cost <cost>] <from> <nonce> [<to> [<dec>]] [<data>] [-- <pfile>]

This makes usage.txt look noisy.
If you're cool with this approach then we'll use it.

My proporsal:
-q, quiet
-v, verbosity level 1 (info), 2 (debug), 3 (trace)

By default, should be normal mode - errors + warnings.

@sjmackenzie after @r8d8 some comments (like showing endpoint details by default after start), I think we should a little bit rewrite thit proporsal:
-q, quiet (only errors)
-v, verbosity level 1 (+warn,+info, ba default), 2 (+debug), 3 (+trace)


Feature Request: autoprefix for styling the inner elements of inputs

Is there a way to add custom postcss plugin?
I want to use postcss-input-style with my styled component.
This is my use case:
Input
input[type="range"]::track {
  background: #9d9d9d;
  height: 3px;
}

input[type="range"]::thumb {
  background: #4286be;
  width: 16px;
  height: 8px;
}

Output
input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  background: #9d9d9d;
  height: 3px;
}

input[type="range"]::-moz-range-track  {
  -moz-appearance: none;
  background: #9d9d9d;
  height: 3px;
}

input[type="range"]::-ms-track  {
  background: #9d9d9d;
  height: 3px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: #4286be;
  width: 16px;
  height: 8px;
}

input[type="range"]::-moz-range-thumb {
  -moz-appearance: none;
  background: #4286be;
  width: 16px;
  height: 8px;
}

input[type="range"]::-ms-thumb {
  background: #4286be;
  width: 16px;
  height: 8px;
}

input[type="range"] {
  -webkit-appearance: none;
}

input[type=range]::-moz-focus-outer {
    border: 0;
}

With version 2 styled components doesn't use postcss under the hood anymore #286. Maybe a babel-plugin could solve your use case.

I suggest doing the same stuff as for media queries - writing templates in seperate files.

@evenchange4 It should be easy to create a function in JS for this. The mentality that we're following is: Use the power of JS inside CSS via tagged template literals. So this should be super easily achievable. Take a look at this, like @Chaoste is suggesting: https://www.styled-components.com/docs/advanced#media-templates
The definitive answer—to add on to what @k15a said—even with us having used PostCSS, there was no room for configurability. We believe that for our DX it is the wrong approach, and we should depart from the traditional preprocessors approaches.


Multiple outputs

Checklist

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

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

https://github.com/conda-forge/admin-requests/pull/1228

EDIT: I now see the - vs _. Is there a reason for this? It's only cf_xarray on pypi so I think it's nice to be consistent here

Try pip install cf-xarray and be amazed by the wonderful world of PyPI - and _ mangling. In theory all Python packages in conda should have that to protect the namespace. B/c conda is python agnostic one can create a package named cf-xarray that is not cf_xarray and confuse pip users who rely on - instead of _ (which are many b/c - doesn't require to press shift to type!).

Try pip install cf-xarray and be amazed by the wonderful world of PyPI - and _ mangling.

🤦🏾♂
Well thanks for taking this on! Please merge when you think its time to.


ValueError in modela/tables.py

In one of my input pdf files, the following is thrown:
File "/home/michaelt/Work/sandbox_gradio/inference/lib/python3.12/site-packages/unstructured_inference/models/tables.py", line 667, in fill_cells
table_rows_no = max({row for cell in cells for row in cell["row_nums"]})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: max() iterable argument is empty
Debugging shows that cells array is, indeed, [].
Proposed fix:
table_rows_no = max({row for cell in cells for row in cell["row_nums"]}, default=0)
table_cols_no = max({col for cell in cells for col in cell["column_nums"]}, default=0)

It fixed my problem.

Closing this since it's assumed to be resolved, but feel free to reopen if you're still having this issue.


Rename Dovetail header names

As a user I like to rename the following header names, so that it not interferes with previously used headers and it also is in line with other specific Dovetail headers for the retrying mechanism:

flowId into DOVETAIL_FlowId
flowVersion into DOVETAIL_FlowVersion

I changed the headers.
@brunovg It needs to be checked if transactions with flowlinks still work, before deploying

internally we use different property names to register on ElasticSearch, so it should not be necessary.

OK, let's deploy it then.


Uncaught Error: Definition must include at least one schedule.

`var sched = {schedules: [
{h: [12], m: [08]},
{h: [17], m: [30]}
]};
var c       = new Date();
var month   = c.getMonth();
var year    = c.getFullYear();
var day     = c.getDay();
var hours   = c.getHours();
var minutes = c.getMinutes();
var teste = later.schedule(sched);
later.setInterval(function(){console.log(new Date());}, teste);`
what is wrong?

You just need to pass in the JSON schedule object.
later.setInterval(function(){console.log(new Date());}, sched);


Feed of basic statistics in tidy data format

This is a medium-term enhancement request, but @tracykteal and I have tried at times to answer specific questions using the wealth of data available in AMY. Short of querying the normalized web of tables, this can be challenging.
It would be nice to create some DB views that are made available using tidy data(PDF) best practices. I'm imagining this as a few views pertaining to instructor, workshop, partner, learner segments of the data. I think this can likely be done in a way that no personally identifying information is made available if we heavily aggregate. Ideally I'd like the feed to be open in order to improve transparency and involve the community in conducting analysis of it.
Example datasets I'd like to see for starters:
country, airport, organization, count of instructors
country, airport, organization, count of workshops
country, airport, organization, count of learners
country, airport, organization, count of host orgs
country, airport, count of partners
month, year, count workshops
month, year, count instructors
month, year, count learners
month, year, count active partnerships

where organization allows aggregations by swc/dc or both if ignored.
Then we can write analysis scripts that keep our relevant slides and pages that draw from AMY data up-to-date. This minimum set above would be so helpful to answer routine questions I get from prospective partners.

+1

month, year, count workshops
month, year, count instructors
month, year, count learners

These plots are already available in AMY in "reports" menu (i.e. here; the plots are not displayed due to a bug, but this issue will be fixed in the next release) and raw data is available as REST endpoint, although both plots and raw data are not open to public.
month, year, count active partnerships

This is easy to add (~10 lines of code).
country, airport, organization, count of instructors
country, airport, organization, count of workshops
country, airport, organization, count of learners
country, airport, organization, count of host orgs
country, airport, count of partners

These are a bit more tough to add, but I think these can be implemented as new REST endpoints, so that you can download it as csv/json/yaml. @pbanaszkiewicz any comments about implementation? @jduckles do you want somehow to visualize these datasets? If yes, what kind of plots do you want?
Opening raw data of all these reports to public is one-line change. @jduckles do you want to open the plots too or is it enough if only AMY users can view the plot?

@jduckles @tracykteal is it OK to open this up or should it be accessible only to AMY Users?

Fine by me, I'd like it open so we can have JS that depends on it without API keys or anything like that. I think it is sufficiently aggregated that there are minimal identifiability risks.

@chrismedrela I don't think we need to open the plots right now. I'll probably generate some new static plots that I use with presentations and try to find a way to have the website build hook into rebuilding those, so no worries about that for now.

Closing this as it's almost three years old and we have systems for pulling reports such as redash.


Fixed Typo

This PR

fixes a small typo

aarrrghhh #2 looks like @Ocramius was faster :speedboat:


[Vulnerability] Arbitrary code execution when use QaEngineer role

Vulnerability description
When we use QaEngineer role, arbitrary code execution could happen because QaEngineer adopt a dangerous action RunCode to test codes generated by Engineer. RunCode.run_script() method invokes subprocess.Popen without any check. Evil guys can manipulate prompts to execute some sensitive operations.
Proof of concept
My PoC code was designed with slight modifications in your tutorial example
import os
os.environ["OPENAI_API_KEY"] = "sk-..."

import asyncio
from metagpt.roles import (
    ProductManager,
    Architect,
    ProjectManager,
    Engineer,
    QaEngineer
)
from metagpt.team import Team

async def startup(idea: str):
    company = Team()
    company.hire(
        [
            ProductManager(),
            Architect(),
            ProjectManager(),
            Engineer(),
            QaEngineer()
        ]
    )
    company.invest(investment=1.0)
    company.run_project(idea=idea)

    await company.run(n_round=16)

async def app(user_prompt):
    await startup(idea=user_prompt)

if __name__ == "__main__":
    user_input = "I want to execute shell command `ls -l`. Please help me write a piece of code and test this code."
    asyncio.run(app(user_input))

And in the path MetaGPT/workspace/.../test_outputs/, we can notice the output of ls -l in a json file. It means that ls -l executes successfully.

Note that in this PoC I only execute ls -l, but in real sceanario, attacker could execute dangerous operations such as file deletions, backdoor opening.
Vulnerability solved suggestion
Using docker to execute python is a good choice. Restricting some sensitive codes via whitelist or blacklist could also be considered.

Good advice. We will take this into consideration.
Maybe you can also contribute a PR? 😁

Good advice. We will take this into consideration. Maybe you can also contribute a PR? 😁

Thank you, but I am usually quite busy with work. However, I can offer some suggestions here.

Using docker. Docker offers an isolated environment. Even if attackers gain remote command execution permissions, they are unable to inflict actual harm on the real system. There are two good practices AutoGPT AutoGen you can refer to.
Imposing limitations on the commands that can be executed in Python/Shell. We can also build a whitelist of commands. Only necessary commands can be executed. There are also two good practices LlamaIndex Pandas-ai you can refer to.

I hope these suggestions will contribute to the improvement of your project's security.

sandbox requirements. I think it is reasonable in a certain sense, but there is always a tradeoff between security and functionality.


Problem with connecting to the Jetson AGX Orin

Hello! Thank you for such great open source project!
Jetson AGX Orin
agx-csi-adapter Rev 1.0.0 7/2022
sdi-mipi-bridge Rev 1.3.0 02/2021
We have integrated drivers code from sdi-mipi-bridge repo into Jetson Linux 35.1
We use this device tree
#include <dt-bindings/media/camera.h>

#define CAMERA_I2C_MUX_BUS(x) (0x1E + x)

/ {
	tegra-capture-vi {
		num-channels = <1>;
		ports {
			#address-cells = <1>;
			#size-cells = <0>;
			port@0 {
				reg = <0>;
				gs2971a_vi_in0: endpoint {
					port-index = <4>;
					bus-width = <2>;
					remote-endpoint = <&gs2971a_csi_out0>;
				};
			};
		};
	};

	host1x@13e00000 {
		nvcsi@15a00000 {
			num-channels = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			channel@0 {
				reg = <0>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					sdi_mipi_csi_chan0_port0: port@0 {
						reg = <0>;
						gs2971a_csi_in0: endpoint@0 {
							port-index = <4>;
							bus-width = <2>;
							remote-endpoint = <&gs2971a_out0>;
						};
					};
					sdi_mipi_csi_chan0_port1: port@1 {
						reg = <1>;
						gs2971a_csi_out0: endpoint@1 {
							remote-endpoint = <&gs2971a_vi_in0>;
						};
					};
				};
			};
		};
	};

	i2c@3180000 {
		pca9547: pca9547@70 {
			compatible = "nxp,pca9547";
			status = "okay";
			reg = <0x70>;
			#address-cells = <1>;
			#size-cells = <0>;
			vcc-supply = <&battery_reg>;
			force_bus_start = <CAMERA_I2C_MUX_BUS(0)>;

			i2c@3 {
				reg = <3>;
				i2c-mux,deselect-on-exit;
				#address-cells = <1>;
				#size-cells = <0>;
				sc18is603: sc18is603@28 {
					compatible = "nxp,sc18is602b";
					reg = <0x28>;

					#address-cells = <1>;
					#size-cells = <0>;

					nxp,spi-cs-as-gpios = <0 0 1 0>;
					gpio-controller;
					#gpio-cells = <2>;

					gs2971a@0 {
						status = "okay";
						devnode = "video0";
						compatible = "semtech,gs2971a";
						reg = <0x0>;
						spi-max-frequency = <20000000>;

						ports {
							#address-cells = <1>;
							#size-cells = <0>;
							port@0 {
								reg = <0>;
								gs2971a_out0: endpoint {
									port-index = <4>;
									bus-width = <2>;
									remote-endpoint = <&gs2971a_csi_in0>;
								};
							};
						};

						mode0 {
							num_lanes = "2";
							tegra_sinterface = "serial_c";
							discontinuous_clk = "no";
							cil_settletime = "0";
							embedded_metadata_height = "0";

							/* not verified: */
							mclk_khz = "24000";
							phy_mode = "DPHY";
							dpcm_enable = "false";

							active_w = "1280";
							active_h = "720";
							pixel_t = "yuv_uyvy16";
							readout_orientation = "0";
							line_length = "5488";
							inherent_gain = "1";
							mclk_multiplier = "31.25";
							pix_clk_hz = "750000000";

							gain_factor = "16";
							framerate_factor = "1000000";
							exposure_factor = "1000000";
							min_gain_val = "16"; /* 1.0 */
							max_gain_val = "256"; /* 16.0 */
							step_gain_val = "1"; /* 0.125 */
							min_hdr_ratio = "1";
							max_hdr_ratio = "64";
							min_framerate = "1500000"; /* 1.5 */
							max_framerate = "30000000"; /* 30 */
							step_framerate = "1";
							min_exp_time = "34"; /* us */
							max_exp_time = "550385"; /* us */
							step_exp_time = "1";
						};
					};
				};
				fpga0: lattice-crosslink@40 {
					compatible = "lattice,crosslink-fpga-mgr";
					reg = <0x40>;
					reset-gpios = <&sc18is603 2 GPIO_ACTIVE_LOW>;
				};
			};
		};
	};
};

/ {
	tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";
		/**
		* Physical settings to calculate max ISO BW
		*
		* num_csi_lanes = <>;
		* Total number of CSI lanes when all cameras are active
		*
		* max_lane_speed = <>;
		* Max lane speed in Kbit/s
		*
		* min_bits_per_pixel = <>;
		* Min bits per pixel
		*
		* vi_peak_byte_per_pixel = <>;
		* Max byte per pixel for the VI ISO case
		*
		* vi_bw_margin_pct = <>;
		* Vi bandwidth margin in percentage
		*
		* max_pixel_rate = <>;
		* Max pixel rate in Kpixel/s for the ISP ISO case
		*
		* isp_peak_byte_per_pixel = <>;
		* Max byte per pixel for the ISP ISO case
		*
		* isp_bw_margin_pct = <>;
		* Isp bandwidth margin in percentage
		*/
		num_csi_lanes = <2>;
		max_lane_speed = <1500000>;
		min_bits_per_pixel = <10>;
		vi_peak_byte_per_pixel = <2>;
		vi_bw_margin_pct = <25>;
		max_pixel_rate = <240000>;
		isp_peak_byte_per_pixel = <5>;
		isp_bw_margin_pct = <25>;

		/**
		 * The general guideline for naming badge_info contains 3 parts, and is as follows,
		 * The first part is the camera_board_id for the module; if the module is in a FFD
		 * platform, then use the platform name for this part.
		 * The second part contains the position of the module, ex. "rear" or "front".
		 * The third part contains the last 6 characters of a part number which is found
		 * in the module's specsheet from the vendor.
		 */
		modules {
			module0 {
				status = "okay";
				badge = "gs2971a_0";
				position = "front";
				orientation = "1";
				drivernode0 {
					pcl_id = "v4l2_sensor";
					devname = "gs2971a 0 2-003c";
					proc-device-tree = "/proc/device-tree/i2c@3180000/gs2971a@3c";
				};
				drivernode1 {
					pcl_id = "v4l2_lens";
				};
			};
		};
	};
};

Problem:
After system load sudo dmesg show these errors
[    8.985232] pca954x 2-0070: supply vcc-pullup not found, using dummy regulator
[    8.992814] pca954x 2-0070: pca954x_probe: forcing device bus number, start 30.
[    9.000887] i2c i2c-2: Added multiplexed i2c bus 30
[    9.006321] i2c i2c-2: Added multiplexed i2c bus 31
[    9.011743] i2c i2c-2: Added multiplexed i2c bus 32
[    9.017754] gs2971a spi8.0: Probing simple sensor
[    9.022662] gs2971a spi8.0: sensor_common_parse_signal_props:csi_pixel_bit_depth property missing.
[    9.031934] gs2971a spi8.0: Failed to read mode0 signal props
[    9.037876] gs2971a spi8.0: Could not initialize sensor properties.
[    9.044356] gs2971a spi8.0: Failed to initialize tegra common!
[    9.050388] gs2971a: probe of spi8.0 failed with error -61
[    9.056976] sc18is602: probe of 33-0028 failed with error -121
[    9.063097] crosslink-i2c 33-0040: Failed to get CRESET_B GPIO: -517
[    9.069681] i2c i2c-2: Added multiplexed i2c bus 33
[    9.075116] i2c i2c-2: Added multiplexed i2c bus 34
[    9.080579] i2c i2c-2: Added multiplexed i2c bus 35
[    9.086000] i2c i2c-2: Added multiplexed i2c bus 36
[    9.091435] i2c i2c-2: Added multiplexed i2c bus 37
[    9.096482] pca954x 2-0070: registered 8 multiplexed busses for I2C mux pca9547

We have tried to use these sdi-mipi configurations
1.
R37 R38 R39 R40 - placed
R41 R42 R85 R86 R87 R94 - not placed
2.
R39 R40 R41 R42 R85 R86 - placed
R37 R38 - not placed
3.
R39 R40 R41 R42 R85 R86 R87 R94 - placed
R37 R38 - not placed
We think that problem in SC18IS602 initialization. For some reason probing of this IC starts when pca9547 probing is not ended. Can you help to resolve this issue?
Also we can confirm that if sdi-mipi is not connected - errors in logs are the same

UPDATE: We have managed to connect sdi-mipi bridge with csi-mipi connector. Problem was in bad FFC connection. Now bitstream is successfully loaded to Crosslink and we are able to see /dev/video0 device
sudo dmesg output:
[    8.675721] pca954x 2-0070: supply vcc-pullup not found, using dummy regulator
[    8.683293] pca954x 2-0070: pca954x_probe: forcing device bus number, start 30.
[    8.691375] i2c i2c-2: Added multiplexed i2c bus 30
[    8.696797] i2c i2c-2: Added multiplexed i2c bus 31
[    8.702210] i2c i2c-2: Added multiplexed i2c bus 32
[    8.723576] gs2971a spi8.0: Probing simple sensor
[    8.728508] gs2971a spi8.0: sensor_common_parse_control_props:default_gain:property missing
[    8.737146] gs2971a spi8.0: sensor_common_parse_control_props:default_framerate:property missing
[    8.746237] gs2971a spi8.0: sensor_common_parse_control_props:default_exp_time:property missing
[    8.755269] tegra-camrtc-capture-vi tegra-capture-vi: subdev simple-sensor bound
[    8.764380] gs2971a spi8.0: sensor simple-sensor registered
[    8.779768] gpiochip2: registered GPIOs 312 to 315 on sc18is602-gpio
[    8.802236] crosslink-i2c 33-0040: TraceID: 0x4849d02131881b00
[    8.808328] fpga_manager fpga0: Lattice CrossLink FPGA Manager registered
[    8.815366] i2c i2c-2: Added multiplexed i2c bus 33
[    8.820783] i2c i2c-2: Added multiplexed i2c bus 34
[    8.826208] i2c i2c-2: Added multiplexed i2c bus 35
[    8.831641] i2c i2c-2: Added multiplexed i2c bus 36
[    8.836758] i2c i2c-2: Added multiplexed i2c bus 37
[    8.841802] pca954x 2-0070: registered 8 multiplexed busses for I2C mux pca9547
Problem:
When we try to execute
gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,width=,height=' ! xvimagesink
We receive from kernel:
[  758.791729] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[  758.800942] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[  758.811338] (NULL device *): vi_capture_control_message: NULL VI channel received
[  758.819082] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=2, csi_port=2
[  758.829773] (NULL device *): vi_capture_control_message: NULL VI channel received
[  758.837510] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 2 vc- 0
[  758.848271] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[  761.415648] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[  761.424833] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[  761.435321] (NULL device *): vi_capture_control_message: NULL VI channel received
[  761.443047] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=2, csi_port=2
[  761.453702] (NULL device *): vi_capture_control_message: NULL VI channel received
[  761.461428] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 2 vc- 0
[  761.472198] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[  761.484741] bwmgr API not supported
Which params were used for these bitstreams (num_lanes, line_length, mode_type, pixel_phase, pix_clk_hz, mclk_khz, tegra_sinterface, port-index etc)?
https://github.com/antmicro/sdi-mipi-bridge-linux/tree/b3acc9b2ed7383d6e5c1749734aeae68d567a8a2/firmware/sdi_bridge
We use SIDE connector, so I suppose that CSI2 or CSI3 port should be used -> tegra_sinterface = "serial_c" or "serial_d" and port-index=2 or 3
Are these params correct for sdi_bridge_1080p30.bit?
num_lanes = "2";
tegra_sinterface = "serial_c";
discontinuous_clk = "no";
cil_settletime = "0";
embedded_metadata_height = "0";
/* not verified: */
mclk_khz = "24000";
phy_mode = "DPHY";
dpcm_enable = "false";
active_w = "1920";
active_h = "1080";
/* pixel_t = "yuv_uyvy16"; */
dynamic_pixel_bit_depth = "16";
csi_pixel_bit_depth = "16";
mode_type = "yuv";
pixel_phase = "uyvy";
readout_orientation = "0";
line_length = "3840";
inherent_gain = "1";
pix_clk_hz = "74250000";
gain_factor = "16";
framerate_factor = "1000000";
exposure_factor = "1000000";
min_gain_val = "16"; /* 1.0 /
max_gain_val = "256"; / 16.0 /
default_gain = "16";
step_gain_val = "1"; / 0.125 /
min_hdr_ratio = "1";
max_hdr_ratio = "64";
min_framerate = "1500000"; / 1.5 /
max_framerate = "30000000"; / 30 /
default_framerate= "30000000";
step_framerate = "1";
min_exp_time = "34"; / us /
max_exp_time = "550385"; / us /
default_exp_time = "33334"; / us */
step_exp_time = "1";


add user middleware chain function

According to different business scenarios, the choice of middleware chain should be user-selectable, and considering performance issues, invalid middleware should be eliminated

I think it over and over, and don't think let users pass a chain is not easy to understand.
Need more easy-to-understand solution for this.

I think it over and over, and don't think let users pass a chain is not easy to understand.
Need more easy-to-understand solution for this.

On the basis of not affecting the functions of the existing framework, it may be a good option to allow users to customize some functions in the middleware processing.
Here is my reason:

Users can adjust the order of middleware based on their own business scenarios
You can or add your own middleware in
Remove the middleware that is not used by itself to avoid invalid judgment
When the user does not need custom middleware, the default middleware can be used

I think it over and over, and don't think let users pass a chain is not easy to understand.
Need more easy-to-understand solution for this.

If the implementation is not elegant enough, please provide some suggestions, thanks

I'm thinking of the following method:
svr.WithMiddlewares(middlewares ...Middleware)

And default middlewares are disabled.

I'm thinking of the following method:
svr.WithMiddlewares(middlewares ...Middleware)

And default middlewares are disabled.

I don't think this way can customize middleware order

The calling order of the middleware before entering the route is relatively fixed. I think it is also a good choice to determine the execution order of the middleware through the order of the variable parameters passed in.

I'm thinking of the following method:
svr.WithMiddlewares(middlewares ...Middleware)

And default middlewares are disabled.

I don't think this way can customize middleware order

The calling order of the middleware before entering the route is relatively fixed. I think it is also a good choice to determine the execution order of the middleware through the order of the variable parameters passed in.


Multi-activity workflow to enable sensors

When sensors are dynamically enabled, perhaps it would be good to have a multi-step workflow (with multiple activities?) to enable all sensors.

Log in

get metadata and sensors used from the management API

"Sensor 1 wants to collect this type of data because reasons, please click yes on the next permission dialog" or something like that

if no -> please enable, this app cannot be used without the full set of permissions
if yes -> "To connecting to Sensor 1, please..." -> wait until connected.
continue for other sensors

"Data is being collected."

or "please reconnect to Sensor 2!"

Whenever a new sensor is added to this set, it should return to activity 2 before requesting permissions and enabling the sensor.

It looks like these three elements can indeed be implemented as three activities:

check log in & update configuration
(if the provider list has been appended or one of the permissions is missing): onboarding
data collection

Within these three activities, fragments should be used to define how the UI should look.


Align LB defaults with the HA docs

Complements https://github.com/kubernetes-incubator/kargo/pull/1010
Releted https://github.com/kubernetes-incubator/kargo/issues/1003
Signed-off-by: Bogdan Dobrelya<EMAIL_ADDRESS>

or, otherwise let's document it as enabled by default and fix |default(false) in all places.
@mattymo thoughts? Disabling nginx in default layout may have an upgrade impact.

done!
@mattymo please approve if you're ok to change internal LB defaults.

@mattymo fixed by the otherwise then

recreated as https://github.com/kubernetes-incubator/kargo/pull/1063


feat(esco-content-menu): add hide-title attribute option

Resolves #194

@ChristianMurphy mentioned in the issue that this can also be accomplished by setting the header-left and header-right to empty divs; however, this removes the title div to free up some space at top.
The value of this PR may be small enough to ignore. For my use case, I can get by with the alternative mentioned.

It seems to make a difference (removing div vs. no content in title slots)

It seems to make a difference (removing div vs. no content in title slots)

Strange :man_shrugging:


BUG: Rejecting Create DAO doesn't pick up right away (Metamask rejection)

There is a small delay but it does eventually reject

@Da-Colon this is not longer the case, and seems to have been fixed with the refactor.


a mungedoc tool that splits long commands to multiple lines

Replace #11635.
This is a mungedoc tool that splits long commands to multiple lines.
One thing worths mentioning is how it handles the docs for kubectl command (docs/user-guide/kubectl/). This tool will fix the md files in docs/user-guide/kubectl/, but it  won't touch the go files nor the man files, because I think let a tool modifying go files directly is too risky. In turn, verify-gendoc.sh will report error and ask user to manually break long commands in the corresponding go files. Here is an example output in such cases:
$ hack/verify-gendocs.sh
diffing /usr/local/google/home/xuchao/go-workspace/src/github.com/GoogleCloudPlatform/kubernetes/docs/ against freshly generated docs
diff -NauprBw /usr/local/google/home/xuchao/go-workspace/src/github.com/GoogleCloudPlatform/kubernetes/docs/user-guide/kubectl/kubectl_run.md /usr/local/google/home/xuchao/go-workspace/src/github.com/GoogleCloudPlatform/kubernetes/_tmp/docs/user-guide/kubectl/kubectl_run.md
--- /usr/local/google/home/xuchao/go-workspace/src/github.com/GoogleCloudPlatform/kubernetes/docs/user-guide/kubectl/kubectl_run.md	2015-07-23 17:09:52.035130755 -0700
+++ /usr/local/google/home/xuchao/go-workspace/src/github.com/GoogleCloudPlatform/kubernetes/_tmp/docs/user-guide/kubectl/kubectl_run.md	2015-07-23 17:11:51.872489439 -0700
@@ -1,36 +1,3 @@
 ## kubectl run

 Run a particular image on the cluster.
@@ -58,8 +25,7 @@ $ kubectl run nginx --image=nginx --repl
 $ kubectl run nginx --image=nginx --dry-run

 // Start a single instance of nginx, but overload the spec of the replication controller with a partial set of values parsed from JSON.
-$ kubectl run nginx --image=nginx \
-  --overrides='{ "apiVersion": "v1", "spec": { ... } }'
+$ kubectl run nginx --image=nginx --overrides='{ "apiVersion": "v1", "spec": { ... } }'

 ### Options
@@ -110,12 +76,6 @@ $ kubectl run nginx --image=nginx \

 ### SEE ALSO
 * [kubectl](kubectl.md)	 - kubectl controls the Kubernetes cluster manager

/usr/local/google/home/xuchao/go-workspace/src/github.com/GoogleCloudPlatform/kubernetes/docs/ is out of date. Please run hack/run-gendocs.sh.
If the diff shows kubectl commands split to multiple lines in kubectl's documentation, you need to manually split those commands in corresponding go files.

@thockin @lavalamp @nikhiljindal @bgrant0607 @mikedanese

I don't think we should do this, for a couple reasons.  First, the whole bit with kubectl docs - do you mean this will cause mungedocs errors for every user?  Not acceptable.  Second, line-breaks should be done in places that make sense and make the code more readable.  Only a human can do that.
Example:
$ kubectl get pods -l app=long-app-name -o template -t '{{index .spec.containers 0}}'

If you break it as:
$ kubectl get pods -l app=long-app-name -o template -t
   '{{index .spec.containers 0}}'

It is worse than if you break it as
$ kubectl get pods \
      -l app=long-app-name \
      -o template \
      -t  '{{index .spec.containers 0}}'

Given that, I'd rather spend an hour of a human's time to fix the worst cases and then move on to something more valuable.

For the first point, the kubectl docs only include those generated from pkg/api/cmd/, those are not changed often, and once fixed (which this PR has done), mungedocs will not make more noise.
I agree the second point is valid, human can do a better job. In my mind, this tool serves as a reminder, when people write new md and run mungedocs, this tool will show the automatic fix; in case the automatic split is not perfect, a human can always split the commands manually and mungedoc will not complain as long as each cmd line is shorter than 80. So I think this tool is a net win.

Ping @thockin

I still think this is too much code for too little reward.  In about half of the wraps here, the wrap-point is bad and a human should fix it (I did not comment on them, but I can).  It's also incomplete (will miss lines without ^\$ or with ^user@foo \$) and has no way to override and say "no really, leave it".
I might be willing to take a compromise where the tool just emits an error and humans have to fix it up, but it still misses all sorts of cases (all sh codeblocks)  and still can't be silenced for a given codeblock (and I do not think that is worth implementing)
My inclination is to drop the munger and keep the fixes.

tend to agree with Tim's assessment.

Thank you. I agree it doesn't worth the time to improve the munger further. I'll drop the munger and take another pass of the fixes before re-submitting them.

I have removed the mungedocs tool and manually fixed some line breaks. Please let me know if you are not happy with the "wrap-points".


ML Java Client v2.0.5 - CVE vulnerability (CVE-2014-3577)

A known vulnerability exists in a dependency: CVE-2014-3577.
It is in jersey-apache-client4-1.17.jar.

Fixed by commit https://github.com/marklogic/java-client-api/commit/7a598ca41962a5e503be8f607372b5dca691f28a

That is, my understanding is that the vulnerability is actually in Apache HTTP Client 4.1.1.  That commit upgrades from 4.1.1 to 4.5.3, thus overcoming the vulnerability.  As long as regression tests are passing, we can deploy this change with version 4.0.2.  Soon thereafter, however, the plan is to completely remove Jersey and Apache HttpClient ( #65 ).

No regressions due to HttpClient ver 4.5.3. Verified on 05/04/2017 regression run status. Also ran tests locally on Windows laptop with ML Server build 10.0-20170504 and develop branch.

Hello,
A regression in  jersey-apache-client4-1.19.4.jar , it is a vulnerability CVE-2006-0550
what should I do to remove it !!

@ammy1999 What do you mean a regression?  Why are you using jersey-apache-client4-1.19.4.jar?
Have you tried using the latest java-client-api? It has Jersey completely removed.

jersey-apache-client4-1.19.4.jar a child of spring-cloud-starter-ribbon , then jersey is automatically generated  but it is a high vulnerability of dependancy check , so How can I remove this dependency or remplace it ?? help please

@ammy1999 please forgive my inability to understand.  If you need help with a dependency of spring-cloud-starter-ribbon, shouldn't you contact them?  That's not something we use or support...

ok   @sammefford  thank you


Static API request with rate limits fail with no implicit conversion of String to Integer

client = Lol::Client.new '<my_api_key>',
  region: 'na',
  rate_limit_requests: 10,
  rate_limit_seconds: 3600

all_champions = client.static.champions.get

# => project_path/vendor/ruby/2.4.0/gems/glutton_ratelimit-0.2.0/lib/glutton_ratelimit.rb:26: warning: constant ::Fixnum is deprecated
# => TypeError: no implicit conversion of String into Integer

I stepped through static_request.rb and the problem seems to be coming from https://github.com/mikamai/ruby-lol/blob/master/lib/lol/request.rb#L131-L133
The times method from @rates_limiter is making perform_rate_limited_request return 1 when Lol::Client is initialized with rate limit info.
I tried the exact same request except without the rate limit info:
client = Lol::Client.new '<my_api_key>',
  region: 'na'

And that worked without any problems.

Opened PR #71

This also affects the summoner endpoint as well (https://github.com/mikamai/ruby-lol/blob/master/lib/lol/summoner_request.rb#L23), that errors with An hash is required as parameter. This is due to perform_rate_limited_request returning one because of the rate_limiter. PR #71 should fix this as well. I'm guessing that this affects more endpoints as well.

solved #73


Add implementation of mark command to developer guide

Updated Developer's Guide by:

Adding implementation of mark command
Adding sequence diagram for mark command
Adding activity diagram for mark command

Codecov Report
Base: 64.62% // Head: 64.62% // No change to project coverage :thumbsup:

Coverage data is based on head (88768bf) compared to base (44c9d59).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #77   +/-   ##
=========================================
  Coverage     64.62%   64.62%
  Complexity      511      511
=========================================
  Files           105      105
  Lines          1744     1744
  Branches        196      196
=========================================
  Hits           1127     1127
  Misses          567      567
  Partials         50       50

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Enable compatibility for Ubuntu22.04 LTS and RHEL8

Currently, ec2rl does not support RHEL8 or Ubuntu 22.04
For Ubuntu, Python3.10 breaks the functionality for older versions of requests, yaml, and jmespath. I have moved the old versions to the python2 specific vended directory, and included updated versions of these libraries in the python3 specific vended directory.
For RHEL8, Red Hat changed the format of /etc/os-release. I have updated prediag.py to a regex that will catch older versions as well as the new version.
I have tested that ec2rl runs on RHEL7, RHEL8, ALAMI2, Ubuntu18.04, Ubuntu 22.04, SLES12, SLES15 with these changes.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Done!
[root@ip-172-16-1-112 aws-ec2rescue-linux]# python3 -m unittest test/test_prediag.py
...................................................................
Ran 67 tests in 0.109s

LGTM


Support increased page sizes in JamDB

Refs: https://openscience.atlassian.net/browse/SVCS-389
Companion to:
https://github.com/CenterForOpenScience/jamdb/pull/13
Purpose
Update ISPs page size on Jamdb reqeusts
Summary of changes
changed amount from 100 to 500
Testing notes
This change will not work until the companion ticket on Jamdb goes through as well. They also need to be tested together.

This has been merged into the experimenter branch, but local testing suggests it doesn't work.  Leaving this ticket open for now.

I'm not smart.  I thought this was fixing a different issue in a different product.  @AddisonSchiller was right to submit this against the ISP branch.  I've cherry-picked it and merged it to isp as a6dfe3f.


Bucket parsing bugs

3 bucket parsing bugs are causing crashes on malformed requests

In bucket head route, need to check that have a defined bucket name and return error if not.
In get route, if bucket is undefined but have an object key, need to return error.
There is a typo in the parse bucket name from path utility  -- it checks is the array length is 1 and if so pulls array index 1 instead of 0.

Fixed by https://github.com/scality/S3/pull/158 and forward ported into master.


Instructions should use shell syntax

This is regarding this excerpt from the README, primarily:

$ LIBRARY_PATH="[gcc-path value]" LD_LIBRARY_PATH="[gcc-path value]" rustc +$(cat $CG_GCCJIT_DIR/rust-toolchain | grep 'channel' | cut -d '=' -f 2 | sed 's/"//g' | sed 's/ //g') -Cpanic=abort -Zcodegen-backend=$CG_GCCJIT_DIR/target/release/librustc_codegen_gcc.so --sysroot $CG_GCCJIT_DIR/build_sysroot/sysroot my_crate.rs

This has a problem. Namely: if we ignore the $, this is legal shell syntax, but the command will probably fail? Variables get set to legal strings that are useless values, i.e. [gcc-path value] does not mean anything in terms of paths. The linker will ignore these, but I imagine you meant to suggest actual commands or paths... in other words, substitutions. Like variables?
I am aware of the [option] convention in man pages, but that is for optional values, and these commands will simply fail if these are not set. It is also a hoary convention lost to the mists of time and not actually documented anywhere, so anyone unfamiliar with this particular notation will have no idea.
If you want to force them to define the variable (and thus, likely force them to break if they try to simply copy and paste the code), you can do this for these vars:
LIBRARY_PATH="${YOUR_GCC_PATH_VALUE:?define this to your path}"
This command will fail (setting $? to 1, it doesn't really "exit") with an error like:

bash: YOUR_GCC_PATH_VALUE: define this to your path

This is, despite being somewhat obscure syntax, portable shell. All POSIX shells are required to understand this, and non-POSIX shells I am aware of will at least parse-error on it, even if they don't replicate this behavior.

 Invalid configuration `#': machine `#-unknown' not recognized
configure: error: /bin/sh ../gcc/config.sub  # failed
bash: --disable-bootstrap: command not found


Add me

@all-contributors please add @deepesh611 for code

@all-contributors please add @deepesh611 for code


I getting language file url top of the page

Dear Sir,
Can you please tell the causes why a URL display top of the page after integrating multilanguage files.
Screenshot: http://prntscr.com/mmb20j
Thanks

you have a php error, check logs.


The LaTeX formatter does not escape some active characters

(Original issue 755 created by romildo on 2012-04-03T02:41:35.249934+00:00)
The characters ' (single quote), " (double quote) and - (hyphen) are special to LaTeX and should be escaped by the LaTeX formatter in order to be correctly typeset when not using the Verbatim environment.

(Original issue 755 last updated on 2012-05-08T11:23:27.767351+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by birkenfeld on 2012-05-08T11:23:27.765121+00:00)
Closes #755: replace some more active chars for latex.
→ <<cset 7527e46c0fae>>


Configuring printout

Hello,
Discovered this awesome stuff some weeks ago! GREAT work!!!! :-).
I have just started to test out cocotb, and I'm wondering if its possible to reduce the length of the printouts? I.e. this is printed out, but I'm only interested in the simulation time, severity, maybe the test name, and the actual printed info from the test:
    20.00ns INFO     cocotb.SevenSegmentDisplay         ..nSegmentDisplay.py:15   in my_first_test                   Running test!
It doesn't display very well on my not so wide monitor. Is it possible to configure the printout? I haven't found anything about that in the docs..
Best regards,
Per Magnus

@pmosthus Once #474 is pulled in, you will be able to set COCOTB_REDUCED_LOG_FMT environment variable and it will reduce to SimTime, Severity and Data only


YOLO obstacle detector

Here we have output layers of yolo_obstacle_detector neural network:

area_id_pred
brswt_pred
brvis_pred
cls_pred
cut_pred
dim_pred
loc_pred
ltswt_pred
ltvis_pred
obj_pred
ori_pred
rtswt_pred
rtvis_pred
vis_pred

As we got, in every unit there are multidimentional object information. But how to extract object position, class, and bounding boxes size data? If yolo_obstacle_detector can give this information itself, then:

Which layer have probability distribution information?
Which layer is for the class information?
... bounding boxes characteristics?
Can this network recognize objects in standalone mode, without apollo code/docker? What it needs to become working outside apollo perception?

If no, then can you say, which neural networks take data from yolo_obstacle_detector layers and make final result?
Thanks in advance

@alexiskovi, Thank you for using Apollo! We added 3D bbox and classification information at the deconvolution layer. We recommend you to use the model in docker since there are multiple dependencies. There is the unit test code (apollo/modules/perception/camera/test/camera_lib_obstacle_detector_yolo_region_output_test.cc) you can use for stand alone test in docker.

@alexiskovi , or you can use this offline standalone test (modules/perception/camera/tools/offline/offline_obstacle_detector.cc).

@techoe, @KaWaiTsoiBaidu, thanks a lot! Hope, it will help. Could you explain, what these layers mean? Maybe there are some docs about apollo nets structure?

Please take a look at the prototxt. There are comments for each layer. 3D bounding box properties and left/right turn signals, brake signals are the output of the network.

Prototxt here

Closing this issue as it appears to be fixed. Feel free to reopen if you have additional questions. Thanks!

So, I've found comment about bbox
But, unfortunately, i didn't get how to interpritate deconvolutional layer output information. Maybe you pointed another comment or another layer? Because ordinary output vector doesn't look like yolo output vector. So, general question here - is bbox data stored in one of mentioned layers, or we need to do some extra actions?

@alexiskovi  the output for the 3D bbox are dim_pred and ori_pred, one for 3D bbox dimensions (H,W,L) and one for 3D bbox 'orientation.  It does not output location (X,Y,Z) of the 3D bbox though.  loc_pred` stores the information of 2D bbox.

Thanks for clarifying layer meanings.
However, didn't get the idea, how to extract info from layers. So, here is output shape of loc_pred: (1, 50, 90, 64). It means, this vector have 64 values, in each vertex of the image net of size (50,90), but is it real to get bbox information in the final form, like coordinates, class and probability?

@alexiskovi
The layer has 4*16=64 layers,  4-->(x,y,h,w) of the bbox, 16--> 16 anchor boxes for each vertex of the (50, 90) feature map.
For converting the raw output to (x,y,h,w), please see this kernel code.

@KaWaiTsoiBaidu, thank you a lot for making this clear!

In each vertex of net we have 16 BBoxes. So, how to decide, which of (509016) Bboxes should be drown? Could you possibly point at line, which works with extracting Bbox significance for each vertex, may be there is another layer with shape (50,90,16) which of them corresponds to objects, which of them corresponds to noise.
Thanks in advance

@alexiskovi  This output specifies the objectness (shape (50,90,16)) of each bounding box.

@alexiskovi, Thank you for using Apollo! We added 3D bbox and classification information at the deconvolution layer. We recommend you to use the model in docker since there are multiple dependencies. There is the unit test code (apollo/modules/perception/camera/test/camera_lib_obstacle_detector_yolo_region_output_test.cc) you can use for stand alone test in docker.

How can I run this test?

I use apollo 5.0 on ubuntu 16.04 and I built it.
Actually, my question is a general question. I know there are a lot of test files to test some parts of Apollo. However, I do not know how I can run it. I tried the command below but it is not working:
./apollo.sh /modules/perception/camera/test:camera_lib_obstacle_detector_yolo_region_output_test.cc


Swarm info v2

Docker "Info" has a Swarm field with multiple information about a SwarmCluster.
Could not found that info in https://docs.docker.com/engine/api/v1.26/#operation/SystemInfo but the field exists, believe me! :)

closed in favor of https://github.com/spotify/docker-client/pull/814


get_eigenvalues_of_current_state() fails to export to csv

Behavior
The function get_eigenvalues_of_current_state() from PFDynSimInterface fails if the export setting in PowerFactory has not been already set to csv before the function call.
For example, if the export setting happens to be text format, internally read_csv will fail and it will not be able to read the eigenvalues from the file.
Possible solution
Add this line when configuring ComRes to make sure it exports to csv:
comres.iopt_exp = 6 # export to csv format

thanks, will be fixed in the next version

closed with #81

closed with #81


fixes Permission denied issue with shibd

sp_1             | /usr/local/bin/httpd-shibd-foreground: line 7: /etc/shibboleth/shibd-redhat: Permission denied

Thanks!, but this has been fixed on the shibboleth-sp image.


Error from vault-init

Hi
I'm trying your implemetation on k8s 1.4.6
I just follow
https://github.com/kelseyhightower/vault-controller/blob/master/docs/deployment-guide.md
https://github.com/kelseyhightower/vault-controller/blob/master/docs/example-usage.md
but it puts some error while I deploy the vault-example
2017/01/10 01:39:02 Requesting a new wrapped token from http://vault-controller
2017/01/10 01:39:02 token request: Request error error parsing pod (vault-example-cerkm) details: invalid character 'F' looking forbeginning of value; retrying in 5s

it failed at requesting very init token.
Could you inform me how can I fix it ?

d

it was permission problem : )


tensorflow/compiler/xla/service/allocation_tracker.cc:178:54: error: non-constant-expression cannot be narrowed from type 'std::vectorse::DeviceMemoryBase::size_type' (aka 'unsigned long') to 'long long' in initializer list [-Wc++11-narrowing]

What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
https://github.com/tensorflow/tensorflow/issues/8238
Environment info
OS X 10.11.6
$ clang --version
Apple LLVM version 8.0.0 (clang-8<IP_ADDRESS>)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Installed version of CUDA and cuDNN:
drwxrwxrwx  15 root  wheel  510 May  3  2015 CUDA-7.0
David-Laxers-MacBook-Pro:tensorflow davidlaxer$ ls -l /Developer/NVIDIA/CUDA-7.0/lib/libcud*
-rw-r--r--  1 davidlaxer  staff  292184 Mar  6  2015 /Developer/NVIDIA/CUDA-7.0/lib/libcudadevrt.a
-rwxr-xr-x  1 davidlaxer  staff  274176 Mar  6  2015 /Developer/NVIDIA/CUDA-7.0/lib/libcudart.7.0.dylib
lrwxr-xr-x  1 davidlaxer  staff      19 Mar  6  2015 /Developer/NVIDIA/CUDA-7.0/lib/libcudart.dylib -> libcudart.7.0.dylib
-rw-r--r--  1 davidlaxer  staff  562856 Mar  6  2015 /Developer/NVIDIA/CUDA-7.0/lib/libcudart_static.a
If installed from binary pip package, provide:

A link to the pip package you installed:
The output from python -c "import tensorflow; print(tensorflow.__version__)".

print(tensorflow.version)
1.0.1
If installed from source, provide

The commit hash (git rev-parse HEAD)

99e30bc6b22b259ddc6a2cfc6aec1d9ebc635da4

The output of bazel version

Build label: 0.4.2
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Wed Dec 7 15:54:21 2016<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

Closing as duplicate of #8238
@dbl001 Not sure why you opened a new issue given you reference the identical problem?


Updated stats and fixed incorrect capitalization

@mufeez-amjad : Thanks for your contribution! The author, @rickstercdn, has been notified to review your proposed change.


[#to 38272797] rename quickstart_tensorflow.md

 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.


append ToCore to all errors tests

In order to retrieve all clues structured error data in tests, we need to extract it from the error using the clues library.
This change appends clues.ToCore(err) to all
variations of assert.NoError(t, err).  The only
other changes are those necessary to preserve
linting, or to produce an error variable for the
ToCore call.

Does this PR need a docs update or release note?

[x] :no_entry: No

Type of change

[x] :robot: Test
[x] :broom: Tech Debt/Cleanup

Issue(s)

#1970

Test Plan

[x] :zap: Unit test
[x] :green_heart: E2E

is it possible to make a lint rule for this? Do we want a lint rule for this?

I don't think a linter is necessary.  ie: it won't harm anything to not have a core err.  And some tests might not even benefit from it.

Right now people will have to figure out via review feedback (assuming reviewer knows) or by looking at other tests

I suppose what I mean to say is that I don't view this as a pattern with requires enforcement.  Seems you have a strong belief to the contrary.  I can add it in on a follow-up PR.


pcsx2: 1.7.3165 -> 1.7.3323

Description of changes
Bump version and fix #191337.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Hi, unfortunately I'm getting
Switched to a new branch 'fetchgit'
removing `.git'...
error: hash mismatch in fixed-output derivation '/nix/store/1d62jjdwnr344wdylw5y8pakwf9cs1bf-source.drv':
         specified: sha256-leSNs8RFoEMvQMjvUdNb/YT22VOnleOnyQkF3XvQGw4=
            got:    sha256-W2FznkcKKl3Lzlg1LXdQxfYqRyX0UXY4MN19NJIR5p8=
error: 1 dependencies of derivation '/nix/store/9jaicyz4wlgf35f6fj79f1g4jkhd9xxb-pcsx2-1.7.3323.drv' failed to build

when trying to build.

That's weird, I don't get the error...
Trying with the very next version then.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1208

Result of nixpkgs-review pr 191793 run on x86_64-linux 1

1 package built:

pcsx2


2.0: UI - Should the 'delete cluster' button say 'cancel' while cluster is provisioning?

More Info
Reported by: eldridge henley<EMAIL_ADDRESS>Source URL: http://localhost:4200/clusters/aws-ldridge
BrowserChrome 70.0.3538.77Screen Size1920 x 1080OSOS X 10.14.0Viewport Size1334 x 1027Zoom Level100%Pixel Ratio@1x

This is working.


New metrics: self-merge rates

Create a new metrics for self-merge rates

@ElizabethN, here you go...


Unable to create a package

Hi,
I've got exception creating package
ErrorException

  file_get_contents(/opt/eom/vendor/c-cast/nova-packager/src/Commands/../../Stubs/ApiRoutes.stub): Failed to open stream: No such file or directory

Any idea of what occurs here?

Seems like you can't reach the directory during the file_get_contents function.
Have you tried with a plain php project to use file_get_contents function?


UI feedback needed: Viewing and accepting requests/offers

On my requests, can we have a link that says "3 offers" or a button that says "View 3 Offers"?
On map page, can we change "Accept Help" to "Ask for Help"?

ZenHub Information
This information is updated automatically. To modify it, please use ZenHub.

On my requests, can we have a link that says "3 offers" or a button that says "View 3 Offers"?

Good idea. Try this:

On map page, can we change "Accept Help" to "Ask for Help"?

Yeah, that works better. We'll update the Figma accordingly.


OAK-9312 | Add reindex support for elastic in oak-run (new module added)

@fabriziofortino  - Thanks, made the suggested changes.

@fabriziofortino  - Thanks, made the suggested changes.

@thomasmueller  - did the changes.

@thomasmueller  - did the changes.


Xamarin Forms, No video after using audioplayer

Reproduction steps

The links are both live streaming, 1 for audio and 1 for video (non related):
Video: http://apreal04.triara.com:1935/redirect/canaliberoamericano1/live.mp4?scheme=m3u8
Audio: http://<IP_ADDRESS>:8080/radioilce.mp3

Using the samples code for mediamanager

If you play Video as your first action works fine.

if you play audio only source and then switch to video source then play action only brings audio portion of the video.

Since I´m learning about Xamarin Forms, I check other apps like the Hanselman one and brings same bug.

Expected outcome
When using audio only source then video source, the video source should be reproducing audio/video part but only reproduce audio part, however, if I reproduce video first it works fine. Only happen when you reproduce audio only source first. It happen even in the samples for Xamarin Forms.
Actually happening
The video reproduction only brings the audio component and a blank screen show.
Your setup
Which version of MediaManager are you using? 0.4.5
Xamarin.Forms, droid project on Visual Studio 2017

I resolved, but I probably been using in a bad way in first place.
video part is defined as:
XAML
<forms:VideoView x:Name="MyVideoView"
AspectMode="AspectFit"
WidthRequest="320"
HeightRequest="180"/>
CS
MyVideoView.Source = videoUrl;
await CrossMediaManager.Current.VideoPlayer.Play();
While the audio part was defined only in the CS without any reference in XAML:
await CrossMediaManager.Current.Play(audioUrl, MediaFileType.Audio);
The only thing besides make a definition in XAML for the audio part, was changing de Media File Type to Video:
await CrossMediaManager.Current.Play(audioUrl, MediaFileType.Video);
otherwise the same problem presents.
I hope this help someone.

If your issue has been resolved please close it.


Add MesosCon EU and follow-up Meetups in Germany

Urgency

[ ] Blocker
[ ] High
[x] Medium

Requirements

Test all commands and procedures.
Build content locally and test for formatting/links.
Add redirects to dcos-website/redirect-files.
Change all affected versions (e.g. 1.7, 1.8, and 1.9).
See the contribution guidelines.

Something very strange is going on here, the dcos-website-test-build should have completed hours ago. But when I pull down a fresh version of the repo (just wanted to confirm nothing locally had gone wrong for me), I can't seem to replicate the missing card issue you're seeing, it's working fine for me.

Retest this please.

Looks like the failure to complete the dcos-website-test-build job was just some CI flakiness, @judithpatudith want to have a look at building locally again to see where you get?

@judithpatudith I was missing my All Things Open talk, and while I was adding it I remembered that our very own Alexander Rukletsov will also be speaking at this event! Added them both to this PR.


Fix Qt crate documentation URLs

Thank you for creating and maintaining these bindings! This is a one-liner to fix the generated documentation URLs for the Qt crates which are currently pointing to pages which don’t exist.

Good, thanks!