Anything applied to query when cast as IEnumerable seems to run client-side

I have been using extension methods similar to the following:
    public static class ApplicationWithClientId {

        public static IEnumerable<Application> WithClientId(this IEnumerable<Application> query, Guid id) {
            return query.Where(a => a.ClientId == id);
        }

    }

The main reason why I'm using IEnumerable here is so that these extension methods can remain as generic as possible and live alongside my domain.
Something I've noticed however is that when I call these extension methods, they are always run on the client, rather than being compiled as part of the query that gets sent to the server.
I guess from what I'm seeing, the main issue is that I can't leverage polymorphism to insulate my domain layer from EF specifics.  It seems like when I change IEnumerable above to IQueryable, the clauses start appearing in my queries again.  Which I'm not sure makes sense considering it's the same object, just using the same signature from a less derived type.

That's because its running IEnumerable methods on it rather than IQueryable methods?
http://stackoverflow.com/a/23359554/1109918
You could do something like
public static IEnumerable<Application> WithClientId(this IEnumerable<Application> query, Guid id) {
	var iquery = query as IQueryable<Application>;
	if (iquery != null)
	{
		return iquery.Where(a => a.ClientId == id);
	}
	else
	{
		return query.Where(a => a.ClientId == id);
	}
}

But that will be slower than writing two methods with the two different interfaces and your IEnumerable path will be slower.

That's because its running IEnumerable methods on it rather than IQueryable methods?
http://stackoverflow.com/a/23359554/1109918
You could do something like
public static IEnumerable<Application> WithClientId(this IEnumerable<Application> query, Guid id) {
	var iquery = query as IQueryable<Application>;
	if (iquery != null)
	{
		return iquery.Where(a => a.ClientId == id);
	}
	else
	{
		return query.Where(a => a.ClientId == id);
	}
}

But that will be slower than writing two methods with the two different interfaces and your IEnumerable path will be slower.
This is a good explanation of why they differ http://stackoverflow.com/a/28513685/1109918

So I guess I'm surprised that it even has an opportunity to run IEnumerable methods in an IEnumerable way, given that regardless of the type it's cast as, it's still an instance of IQueryable...
Totally possible that I'm missing something about the behaviour here, and that's why I cited polymorphism in my initial description.


Adding new alerts endpoint with dictionary/object response format

Added new /alerts/pw endpoint to respond with alerts in dictionary/object format
Updated alerts lists with ones from my system

@jasonacox I left out changes to the server-r.py file, but let me know if you want those committed as well (I have them locally). I wasn't sure if you wanted that included.

Thanks @DerickJohnson !  This is a logical addition to help with alert history tracking.

Your change is live: jasonacox/pypowerwall:latest - thank you!  I'll update the Powerwall-Dashboard release notes (which pulls latest by default).


Add subject key identifiers and additional key usages

Three changes to bring generated certs closer to those generated by
certstrap:

Add subject key identifiers to certs and CAs
Add authority key identifiers to CAs pointing to self
Set maxpathlen and isCA flags

#152974306

Given this is vendored code and we don't recall who/what was originally needing this functionality, I'm going to close this. Feel free to resubmit to the upstream config-server repository if you recall the downstream project needs.


Fix windows stuff

This should fix #849.
Changes how robocopy does recursive directory copies, and normalizes some directory handling.

Cool, +1


cniserver: better handle socket parent directory if bind-mounted

If the parent directory is bind-mounted into the contianer which
ovnkube is running in, then we cannot remove the socket's parent
directory at all. In this case, just attempt to verify that it
already has the right permissions and owner.
Fixes: 3bfc9ce0d8cf4d0b73e15135ba540b653d3d0d44
Signed-off-by: Dan Williams<EMAIL_ADDRESS>@shettyg @rajatchopra @pecameron

@pecameron no, we don't care.  If it's present it'll get removed and re-created, either by the RemoveAll() for its parent directory, or if we can't remove the parent then explicitly by the Remove()

/test integration

/test integration

@rajatchopra can we get 'journalctl -b -o ovn-kubernetes-node' and 'journalctl -b -o ovn-kubernetes-master' added to the S3 artifacts for the integration test?

@shettyg @rajatchopra any thoughts on this one?

@dcbw @rajatchopra This is blocking bringing up the master. The ose image is (finally) built but is failing testing: "failed to remove old pod info socket directory: remove /var/run/ovn-kubernetes/: device or resource busy"


Cannot read property 'valHooks' of undefined

Hello,
I installed the plugin throw npm and added the html tags to the header:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.1/css/bootstrap-select.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.1/js/bootstrap-select.min.js"></script>

However I get the error:
Uncaught TypeError: Cannot read property 'valHooks' of undefined
    at bootstrap-select.min.js:7
    at bootstrap-select.min.js:8
    at bootstrap-select.min.js:7
    at bootstrap-select.min.js:7

does anybody know about this?
Regards.

I'm having the same issue.

What version of jQuery are you using? You need to load jQuery before bootstrap-select.min.js.

I have the same question,I can't think how you solved the problem.

@caseyjhol is right, even if rails-assets.org says something different.
This order works for a Rails 4.2.5 app (w/ Turbolinks)
# app/assets/javascripts/application.js

//= require jquery
//= require jquery.turbolinks
//= require jquery_ujs
//= require bootstrap-select
//= require turbolinks
//= require bootstrap

I am using this library in React, and I have the same problem of valHooks and options are not styled as shown in docs, How to solve for React now?
as mentioned in https://github.com/snapappointments/bootstrap-select/issues/1875, how to add bootstrap-select.js, it's already added in node_modules when installed!

I am having the same issue in prod, but my test is fine. They are both hosted on the same server. The only difference I can think of is that Prod has cloudflare enabled.

I have solve the issue on my side by adding defer into the script.
<link defer rel="stylesheet"
<EMAIL_ADDRESS><script defer<EMAIL_ADDRESS>
I hope this helps you all to solve the issue!

I I am using laravel 9 and after I mix the file with npm, selectpicker works, but even though it works, I still get the same error. do you have a solution?
jquery sees var $. because I added a jquery line in front of where it gave the error and it prints it to the console with success. I have no idea what jquery turbo is. Do I need to install this extra in Laravel?
note: my jquery version is 3.6.0

More info on defer on stack


Filter: Update aria-label for "Learn more" links

Describe the task
In the Filter UI, the "Learn more" links has an aria-label of Goes to methodology page for priority_level, and Goes to methodology page for get_access respectively, that overrides the text "Learn More". However, the "Learn more" text should be announced because this text exists in the page.
Recommendation
Update the <aria-label> value to the following:

for Suggested Priority "Learn more" : <aria-label="Learn more about Priority level from our Methodology Page">
for Get Access "Learn more" : <aria-label="Learn more about access process from our Methodology Page">

I can work on this :)

@amyyeung17 go for it!


Instructions are impossible to follow

The instructions put you in a state where you do not have internet connectivity.  Then, they tell you to get the connection string from the internet.  They should have the user get the connection string before they lose internet connectivity.

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

ID: e8e7c7d8-9e2e-a23b-35e6-489650473909
Version Independent ID: 5861e5ab-fb35-02a6-c848-6d8680501901
Content: Connect a DevKit device to your Azure IoT Central application
Content Source: articles/iot-central/howto-connect-devkit.md
Service: unspecified
Product: microsoft-iot-central
GitHub Login: @TanmayBhagwat
Microsoft Alias: tanmayb

@dumbnose
Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@timlt , added you as I am unable to resolve @tanmaybhagwat in Github

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


XML Recipes

I have a bunch of recipes in XML form, but I see this server stores them in json. Is there a way to convert them?
EDIT: Can this server utilize https://github.com/hotzenklotz/pybeerxml?

Haven't done anything with xml yet, working issues w/ code cleanup and making Pi images

NOTE: The XML recipes exported from the PicoBrew site also include ingredients. Those will need to be saved and displayed with the instructions on the site as well.

@Intecpsp we don't plan to visually show ingredients on this server instead I'd point you to BeerSmith or BrewFather for that (so much better crafters than what PB had or what we would invest free time into here).

I am thinking some are expecting the entire picobrew brewhouse on the home server. but for the pico pro /c all it did was give ingredient amounts and manual brew instructions, it did not send anything to the machine.
while it may be a pain you could print those recipes to pdf and the refer to them when brewing that recipe. the manual brew instructions could be setup from the home server using the manual brew instructions in said pdf and then the whole process could be automated and saved for future brews of that pdf, provided that you came up with suitable replacements for pico pak grain bin and hops bin. (I am in current process of doing just that

Masav72. I am also working on this and have sent packs to manufacturers I work with I my business to make reusable packs for all.
Do you want to work on this together ? Or independently?

BrewHouse communication to all Pico devices is the same as what we have in the home server. The BrewHouse just tells the machine time, temp and valve position as the machine doesn't do anything with grain amount or hop amounts.
I'm confused what you mean by "save instructions for brewing later" as you can take the recipe from BrewFather, BeerSmith, PDF, or export and add a "recipe" with those instructions and that will be stored on the home server for future brew sessions.

what i mean is exactly what you said. Instructions meaning time, temp, rotary valve position . using the new recipe entry on the home server under pico that is if that particular recipe requires different time and temps from other recipes.  save it with a name and the next time your are brewing that beer just add ingredients and select it and brew.

@nagjonchi what I have done is make 4 sides of solid 20 gauge stainless steel. (tried welding but I am not good enough) decide to use stainless sealing rivets and food grade silicone.  going to do a mesh bottom. I copied the overflow holes at the top front side of a pico pak. still trying to figure out how to do the lid, probably the same mesh top.
hops pak the same thing solid stainless steel with dividers and overflow holes in the dividers and overflow hole in hops 1 chamber. small hole at the bottom of each chamber to mach the flow rate to fill and drain ate the proper rate.(still need to determine proper hole size.  stainless mesh top.

Does anyone already have / Has anyone invested time to build a fairly complete library of the pico recipes...or even their own?
If not, is anyone interested in divide-and-conquer of item at the pico site? (Many hands make work light ... 1x100 yuck!, 10x10 is ok)
@msav72 ... pictures? / and if good-enough, would you consider selling for a reasonable price?

1/2: the machine recipes are just time & temperatures - without pico paks with the exact grain bills they're worthless, but people have been hoarding them 🤷♂.  Check the Facebook picobrewers group or picobrewers.org
3: a few people have posted their diy implementations, one is close to mass production (using grain bags in the container).  Again, on the Facebook group

ThanksSent from Nick's phone
-------- Original message --------From: Pete<EMAIL_ADDRESS>Date: 8/29/20  9:41 PM  (GMT-05:00) To: chiefwigms/picobrew_pico<EMAIL_ADDRESS>Cc: indianfoodyummy<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [chiefwigms/picobrew_pico] XML Recipes (#31)
1/2: the machine recipes are just time & temperatures - without pico paks with the exact grain bills they're worthless, but people have been hoarding them 🤷♂.  Check the Facebook picobrewers group or picobrewers.org
3: a few people have posted their diy implementations, one is close to mass production (using grain bags in the container).  Again, on the Facebook group
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

1/2: the machine recipes are just time & temperatures - without pico paks with the exact grain bills they're worthless, but people have been hoarding them 🤷♂. Check the Facebook picobrewers group or picobrewers.org

Yup exactly... these instructions are basically useless. Now if someone happened to be in the PBN that may be able to get us additional information (grain bill, hops, etc).
If you are curious I have already extracted every single PicoPak (Z and C/S/Pro) instruction set as well as a number if not all of the freestyle paks people printed as well. Looking through them there is basically 11 base instruction sets (based on the style of beer) see them here, https://www.picobrew.com/BrewCrafter/index.cshtml, and then slight modifications for hop profile (bitter, flavor, or aroma) utilizing the various hop cages/locations.

This looks cool: https://www.reddit.com/r/Homebrewing/comments/nqoz7x/beerjson_10_has_been_released/

A work around is to import the beerXML into BrewCrafter (crafter.pilotbatchbrewing.com) and then sync to your local Picobrew server from there. The cloud crafter will take care of converting the beerXML (best it can, then you the brewer tweak the brew steps) into compatible Picobrew machine instructions and scaled ingredients for your machine of choice.
This keeps the Pi server as simple as possible just worrying about compatibility with your Picobrew device (and other commonly used brewing devices: tilt and iSpindle) while leaving the complexity of recipe crafting to a centrally managed entity. Not ideal in all situations, but I'd guess covers 98%+ of cases.

BrewCrafter expects a secure server, and the chiefwigms server isn't, how to fix?

You can accept the insecure certificate of this server locally in your browser and BrewCrafter will then be able to communicate to it.
BrewCrafter doesn't care, but your browser blocks communication to http when navigating a https protected website.
Thus the warning on BrewCrafter to navigate to the server with https prior to syncing


org.openrewrite.java.RemoveObjectsIsNull fails on negated expressions

What version of OpenRewrite are you using?

org.openrewrite:rewrite-core:jar:8.27.4
org.openrewrite.recipe:rewrite-migrate-java:jar:2.17.0

What is the smallest, simplest way to reproduce the problem?
import org.junit.jupiter.api.Test;
import org.openrewrite.java.JavaParser;
import org.openrewrite.java.RemoveObjectsIsNull;
import org.openrewrite.test.RecipeSpec;
import org.openrewrite.test.RewriteTest;

import static org.openrewrite.java.Assertions.java;

public class KnownBugsTest implements RewriteTest {

  @Override
  public void defaults(RecipeSpec spec) {
    spec.recipe(new RemoveObjectsIsNull()).parser(JavaParser.fromJavaVersion());
  }

  @Test
  public void negatedRemoveObjectsIsNull() {
    rewriteRun(
        java(
            """
            package com.helloworld;

            import java.util.Objects;

            class Hello {
              public boolean hello(String abc) {
                return !Objects.isNull(abc);
              }
            }
            """,
            // "!abc == null" is not a valid expression
            """
            package com.helloworld;

            class Hello {
              public boolean hello(String abc) {
                return abc != null;
              }
            }
            """));
  }
}

Are you interested in contributing a fix to OpenRewrite?
Yes, possibly. Reporting this in the meantime.

Thanks for the clear & runnable report @protocol7 ! Simplest way to fix this is probably to add parentheses around the JavaTemplate expression
https://github.com/openrewrite/rewrite/blob/52751fd4112720a193c0b0b0dc34800e9d5e9eee/rewrite-java/src/main/java/org/openrewrite/java/RemoveObjectsIsNull.java#L48-L52
That way the inserted code is valid even if there's a negation, which we can simplify using SimplifyBooleanExpressionVisitor, same as we do for unnecessary parentheses.
https://github.com/openrewrite/rewrite/blob/52751fd4112720a193c0b0b0dc34800e9d5e9eee/rewrite-java/src/main/java/org/openrewrite/java/RemoveObjectsIsNull.java#L70

@timtebeek thanks for the pointers, I may look into pushing a PR for this, but likely only in a few days time.

Not to expose too much of my near complete ignorance of the internals of OpenRewrite :) But I'm confused about how to use SimplifyBooleanExpressionVisitor in this case as the ! is outside the replaced method invokation and thus does not seem to be taken into consideration with a simple: Expression simplified = (Expression) new SimplifyBooleanExpressionVisitor().visitNonNull(replaced, ctx, getCursor());
I noted that InvertCondition uses getCursor().getParentOrThrow(), but I fail to get that to work as well.

No worries; we all start somewhere; there's roughly two options (I think):

doAfterVisit, which then applies to the whole file (and might thus have unrelated changes)
call visit with the parent cursor as argument

Feel free to push up a rough draft without that change just yet and then we can play around to make it work.

I can help in this @timtebeek
I am generating a PR regarding this issue .....please check that
Thanks

getCursor().getParentOrThrow() won't work from a method where a modification is being made, as the parent won't be aware of this change yet. The solution would be to use cursor messaging to set a message on the parent cursor and then is postVisit() you can when this message is on the cursor apply the boolean simplification. Hope this makes sense.


Displaying text/images

We need a way to display images and text on screen.

Who can take this issue?

Fine, I'll do it

I added the SDL2_image library. We can load images now :)

Okay, I'll close the issue, and start working on scenes.


iTextSharp is not generating documentation

When I try to open the iTextSharp package (using http://www.nudoq.org/#!/Errors/iTextSharp), I get the following error:

Generated Date: 2/15/2014 5:17:44 AM
Version: 5.5.0
http://www.nuget.org/packages/iTextSharp
Error
The documentation of this package was not generated because xml documentation files could not be found in the nuget package.

When I look in the package (using NuGet Package Explorer), the XML for the DLL is in the Lib section, not in a framework specific location under Lib.  Also, the casing of the file name does not match between the DLL and the XML files.

The nudoq.org site has been retired a while back. This project is now about the XML doc API only.

The nudoq.org site has been retired a while back. This project is now about the XML doc API only.


Cannot read properties of undefined (reading 'currentPosition')

Describe Your Problem:

Hi, I am a new Homebridge user and would like to use your plugin to control my roller shutters. The Connector HUB is the DD7002B, I don't know the exact type of shutters.
I set the connectorKey and hubIp parameters and the shutters appeared in the Home app. I can see their current position, but I can't change it.
Has anyone had a similar problem before?
Can you help me?
Thanks!
Logs:
[22/02/2023, 15:26:05] Publishing bridge accessory (name: homebridge-connector-hub, publishInfo: {
  username: 'xxx',
  port: 56268,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'avahi'
}).
[22/02/2023, 15:26:05] [homebridge-connector-hub] [DEBUG] Finished restoring all cached accessories from disk
[22/02/2023, 15:26:05] Homebridge v1.6.0 (HAP v0.11.0) (homebridge-connector-hub) is running on port 56268.
[22/02/2023, 15:26:05] [homebridge-connector-hub] [DEBUG] Discovered devices: {
  msgType: 'GetDeviceListAck',
  mac: 'XXX',
  deviceType: '02000001',
  fwVersion: 'A1.0.9_B0.2.0',
  ProtocolVersion: '0.9',
  token: 'xxx',
  data: [
    { mac: 'XXX', deviceType: '02000001' },
    { mac: 'XXX0003', deviceType: '10000000' },
    { mac: 'XXX0004', deviceType: '10000000' },
    { mac: 'XXX0005', deviceType: '10000000' },
    { mac: 'XXX0006', deviceType: '10000000' },
    { mac: 'XXX0007', deviceType: '10000000' },
    { mac: 'XXX0008', deviceType: '10000000' },
    { mac: 'XXX0009', deviceType: '10000000' }
  ]
}
[22/02/2023, 15:41:20] [homebridge-connector-hub] [DEBUG] Roller Shutter #5 state: {
  msgType: 'ReadDeviceAck',
  mac: 'XXX0007',
  deviceType: '10000000',
  msgID: '20230222154115905',
  data: {
    type: 6,
    operation: 2,
    currentPosition: 14,
    currentAngle: 0,
    currentState: 3,
    voltageMode: 0,
    batteryLevel: 0,
    chargingState: 0,
    wirelessMode: 1,
    speedLevel: 0,
    RSSI: -69
  }
}
[22/02/2023, 15:41:20] [homebridge-connector-hub] [DEBUG] Returning position: [ 'Roller Shutter #5', 86 ]
[22/02/2023, 15:41:20] [homebridge-connector-hub] [DEBUG] Returning target: [ 'Roller Shutter #5', 86 ]
[22/02/2023, 15:41:24] [homebridge-connector-hub] This plugin threw an error from the characteristic 'Target Position': Unhandled error thrown inside write handler for characteristic: Cannot read properties of undefined (reading 'currentPosition'). See https://homebridge.io/w/JtMGR for more info.
[22/02/2023, 15:41:24] [homebridge-connector-hub] TypeError: Cannot read properties of undefined (reading 'currentPosition')
    at ConnectorAccessory.setTargetPosition (/var/lib/homebridge/node_modules/homebridge-connector-hub/src/connectorAccessory.ts:223:44)

Plugin Config:
{
    "connectorKey": "12345678-1234-12",
    "hubIp": "<IP_ADDRESS>",
    "enableDebugLog": true,
    "platform": "ConnectorHub",
    "_bridge": {
        "username": "xxxx",
        "port": 56268
    }
}

Screenshots:

Environment:

Plugin Version: 1.0.6
Homebridge Version: 1.6.0
Node.js Version: v18.12.1
NPM Version: 8.19.2
Operating System: RaspberryPi 3 B+, Raspbian 11, hb-service v4.50.2

Hi @KiffLee,
It looks like the plugin is getting an unexpected response while attempting to target the device. I've recently published 1.0.7-beta.3 which should avoid hitting this undefined exception and will instead print out a useful debug message. Can you try installing the beta version and let me know what you see?

Hi,
I installed the new version and now I see this in the log:
[10/03/2023, 13:07:45] [ConnectorHub] [DEBUG] Returning position: [ 'Roller Shutter 07:XXX', 100 ]
[10/03/2023, 13:07:45] [ConnectorHub] [DEBUG] Returning target: [ 'Roller Shutter 07:XXX', 100 ]
[10/03/2023, 13:07:49] [ConnectorHub] [DEBUG] Roller Shutter 07:XXX state: {
  msgType: 'ReadDeviceAck',
  mac: 'XXX0007',
  deviceType: '10000000',
  msgID: '20230310130746889',
  data: {
    type: 6,
    operation: 2,
    currentPosition: 0,
    currentAngle: 0,
    currentState: 3,
    voltageMode: 0,
    batteryLevel: 0,
    chargingState: 0,
    wirelessMode: 1,
    speedLevel: 0,
    RSSI: -67
  }
}
[10/03/2023, 13:07:49] [ConnectorHub] [DEBUG] Returning position: [ 'Roller Shutter 07:XXX', 100 ]
[10/03/2023, 13:07:50] [ConnectorHub] Failed to set Roller Shutter 07:XXX to 71: {
  msgType: 'WriteDeviceAck',
  mac: 'XXX0007',
  deviceType: '10000000',
  msgID: '20230310130749733',
  token: 'xxx',
  actionResult: 'AccessToken error'
}

Hi @KiffLee,
The message you're getting in the logs, "AccessToken error", means that the access token that the plugin is attempting to use to write to the device is not valid. This explains why you can read the device state (which doesn't require an access token) but not change it.
The AccessToken is the combination of the Connector Key and the "token" returned by the hub. Since the token is controlled by the hub itself, the most likely explanation is that the Connector Key is invalid. Are you sure you've entered the key exactly as it appears in the app when you tap the About screen 5 times, including the dashes?

No problem @KiffLee, glad to hear it's working as expected now 😄


spec directory query

https://github.com/matrix-org/dendrite/pull/338

This is actually done - just needs improvements (tracked elsewhere).


Improving the UI

I would like to improve the overall UI of the project by adding animations and css.

[x] I am from GSSoC'23.
[x] I would like to be assigned this task.

[x] I follow the Contributing Guidelines of this project.
[ ] I have checked the current issues for duplicate problems.
[x] I have read the readme of this repository.

Already raised issue. Before creating a new issue please check issue section once. Saves a lot of time. Thank you


Is this project still active, now that trainer has been incorporated into Fastlane?

In https://github.com/fastlane/fastlane/pull/19624, the code from this repo was copied directly into the Fastlane repo. Since then, there have been further updates to the trainer code within Fastlane, for example a new feature in https://github.com/fastlane/fastlane/pull/19957 a couple of weeks ago.
On the other hand, this repo has not been updated for several months. Is the intention that all further development of trainer will take place within the Fastlane fork of the code? If so, should this repo be updated with a message to inform people and avoid potential confusion? Perhaps it should even be archived.

I also find this very confusing. Need some answers from @joshdholtz

Obviously this project is dead. Xcode 15 support has not been ported here.

This PR needs to be ported here.


LimeSDR Mini not working (Error getting usb descriptor)

I have serious issues getting LimeSDR Mini to work. I already tried years ago and now again without real success. By "real success" I meant I was able to use qspectrumanalyzer to do a single shot but that is very slow. I was not able to use LimeSuiteGUI FFT or any other tool.
I try to describe what happens. I run on a Ubuntu 20.04 VirtualBox VM. When I install LimeSuite no matter whether I install from repo or pull from git and compile I have issues described below.
Using the repos:
$ sudo apt -y install limesuite soapysdr-tools
$ sudo apt -y install python3-pip
$ pip3 install qspectrumanalyzer

then I connect the LimeSDR Mini (VM is set to use USB3):
$ dmesg
[...]
[  166.572353] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[  166.594865] usb 2-1: New USB device found, idVendor=0403, idProduct=601f, bcdDevice= 0.00
[  166.594870] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  166.594871] usb 2-1: Product: LimeSDR Mini
[  166.594873] usb 2-1: Manufacturer: Lime Micro
[  166.594874] usb 2-1: SerialNumber: 1D4233B5BE4551

now let's check the communication:
$ LimeUtil --find
Error getting usb descriptor
failed to get serial number
  * [, media=USB 3.0, module=FT601, addr=24607:1027]

this is where issues start.
Intrestingly update does work some times (some times not):
$ sudo LimeUtil --update

but also throws a lot of these
Error getting usb descriptor
failed to get serial number

Next run some tests:
$ LimeQuickTest --no-gui

which passes throwing the same messages (except the LimeSDR Mini was running for some time, then the loopback test fails - I suspect due to high temperature of the board)
Then another connection test:
$ SoapySDRUtil --find

[...]
Found device 3
  addr = 24607:1027
  driver = lime
  label =  [USB 3.0]
  media = USB 3.0
  module = FT601

Now I can use qspectrumanalyzer/sopay_power by using these settings:
File > Settings > Executable: /home/osbox/.local/bin/soapy_power
File > Settings > Device: driver=lime, label= [USB 3.0]

that allows me to run a Single shot but is (very) slow - takes 10s or so to show a result.
LimeSuiteGUI is not able to connect to LimeSDR Mini and not able to do anything, it just throws:
[11:12:00] INFO: Disconnected control port
[11:12:06] ERROR: Error getting usb descriptor
[11:12:06] ERROR: failed to get serial number
[11:12:13] ERROR: Error getting usb descriptor
[11:12:13] ERROR: failed to get serial number
[11:12:13] ERROR: Error getting usb descriptor
[11:12:13] ERROR: failed to get serial number
[11:12:13] ERROR: failed to get serial number
[11:12:13] INFO: Reference clock 40.00 MHz
[11:12:17] ERROR: TransferPacket: Write failed (ret=0)
[...]
[11:12:17] ERROR: TransferPacket: Write failed (ret=0)
[11:12:17] INFO: Connected Control port: UNKNOWN FW:0 HW:0 Protocol:0 GW:0.0 Ref Clk: 40.00 MHz

From here I would like to use other apps that allow me to take power spectra (e.g. sdrangel or similar) but I am not able to make it work.
I must say I bought the LimeSDR Mini years ago and had issues make it run, back then I thought the driver support etc. will improve in the future, but that is now several years ago and still I am not able to bringt it to a usable state. I understand that this is more low-end hardware than e.g. the LimeSDR but still it is not cheap and should work. I really like the idea of having an affordable RF tool, but currently I am getting a bit disapointed and am close to give it up (and trash the mini not to make me throw away even more time trying to make it work).
Can you help me please? That would be really appreciated!
Is it possible that I got buggy hardware?

Firstly, I'd try using it natively and not via a VM. This may not be the cause of your problems, but best to rule this out. If you are running Windows you could try SDR Console, which is generally pretty reliable.

Thanks a lot for your answer!
Running it natively is a good point - came also to my mind after my post - here my findings:
Summary: this works somehow (so looks like the hardware is ok)
I used MX Linux (debian derivate) for testing as the win boxes I have access to are not mine, so I don't want to install stuff to them (like drivers that will be needed - as I assume).
I followed exactly the procedure written down above. In this case
$ sudo LimeUtil --find

worked as expected not throwing any error or warning messages but the serial number (yeah!). But soapy seems to have issues as:
$ sudo SoapySDRUtil --find

did not find anything and thus I was not able to use qspectrumanalyzer at all (sigh). But
$ sudo LimeSuiteGUI

and its FFT module do both work (yeah!).
As I want to get a spectrum I looked for other software and found SigDigger which has an AppImage: https://github.com/BatchDrake/SigDigger/releases

sdrangel can only be installed by compiling and this looks like a lot of work as snapd does not work with my init system and .deb depends on libavcodec57 - MX Linux details
sdrangelove does not work as it seems not to support LimeSDR
sdrconsole seems to be for windows only

So my questions now are:

what is another good/powerful but fairly simple to install spectrum analyzer software, you can recommend?
how can I get it to work within my VirtualBox VM? (actually this 2nd test was on another hardware, I should move the VM to this hardware and test again...)
why does SoapySDRUtil not work in this 2nd test?

For SoapySDR to work you need the LMS7 module installed. On my Ubuntu 18.04 system it is soapysdr-module-lms7. If you build from source you must have SoapySDR installed before building Lime Suite in order for this module to be built.
You shouldn't need to use sudo. Make sure you have the udev rules installed. The package is limesuite-udev. Building from source there is a script to run in the repo.
The issue tracker is for bugs etc. and these are all fairly standard support questions. Closing this issue and if you could please use the forums.

Thanks for your support! Yes it's fine I'll go and check the forums.
Though I had some strange issue with LimeSuiteGUI FFTviewer that did not work until I did some other stuff like using cubicsdr etc. Afterwards it worked again...
Meanwhile I can answer some of my questions:

according to https://discourse.myriadrf.org/t/limesdr-mini-gqrx/4537/4 at the time of writing this use sdrangel (linux+win), cubicsdr (linux) or sdrconsole (win) - I go for cubicsdr as in sdrangel I cannot set the center frequency - may be I am just not using the GUI correctly
(nothing to add)
yes you are right, soapysdr-module-lms7 needs to be installed also - I though it is a dependency of soapysdr-tools


0.4.2 still fails to download ROMs

Hi there,
I am facing the same issue in #24.
However, installing 0.4.2 does not solve the issue.
       File "/tmp/pip-install-ig3zv0fw/autorom-accept-rom-license_b5788b79c9fd43ae826c9bed60314c16/AutoROM.py", line 200, in torrent_tar_to_buffer
          raise RuntimeError("Tried to download ROMs 3 times, which have all failed, please try again or report this issue.")
      RuntimeError: Tried to download ROMs 3 times, which have all failed, please try again or report this issue.

Note the 0.4.2 still refers to AutorROM.accept-rom-license-0.5.4.tar.gz:
ip install autorom[accept-rom-license]==0.4.2 --no-cache-dir
Collecting autorom[accept-rom-license]==0.4.2
  Downloading AutoROM-0.4.2-py3-none-any.whl (16 kB)
Collecting AutoROM.accept-rom-license
  Downloading AutoROM.accept-rom-license-0.5.4.tar.gz (12 kB)

pip install AutoROM.accept-rom-license==0.4.2 should do he trick.
@maintainers, any update about this bug?

pip install AutoROM.accept-rom-license==0.4.2 should do he trick.
@maintainers, any update about this bug?

You made my day!
This won't work when it is a dependency for other packages.

Can you be more specific?
_requirements.txt
numpy
AutoROM.accept-rom-license==0.4.2

pip install -r requirements.txt works for me

Any update on this?

Hi everyone, we've recently taken the feedback from everyone and made a new release for AutoROM. In this release, you're able to bypass the requirement for torrenting if you already have the pre-torrented tar available. This should solve all™ of the issues at hand. To use the new release:

Download the tar.gz file from here.
Ensure that AutoROM is up to the latest version pip3 install autorom>=0.5.5.
Install the roms using the pre-installed tar.gz file AutoROM --accept-license --source-file path/to/Roms.tar.gz.

Disclaimer: The Roms.tar.gz are currently hosted on a personal GDrive account. For legal reasons these cannot be hosted on the main github repo. As such, availability of the Roms via GDrive is not guaranteed.


Typescript3

DTPPSDK-832

Codecov Report
Base: 73.31% // Head: 60.22% // Decreases project coverage by -13.10% :warning:

Coverage data is based on head (87af314) compared to base (55bdb6e).
Patch coverage: 67.56% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #113       +/-   ##
===========================================
- Coverage   73.31%   60.22%   -13.10%
===========================================
  Files          26       26
  Lines         952      993       +41
  Branches        0      270      +270
===========================================
- Hits          698      598      -100
- Misses        254      265       +11
- Partials        0      130      +130

Impacted Files
Coverage Δ

src/clean.ts
0.00% <0.00%> (ø)

src/conf/config.ts
83.33% <ø> (ø)

src/index.ts
50.00% <ø> (ø)

src/lib/compat.ts
100.00% <ø> (ø)

src/bridge/child.ts
38.63% <38.63%> (ø)

src/drivers/receive/types.ts
53.96% <50.00%> (ø)

src/drivers/send/strategies.ts
50.00% <50.00%> (ø)

src/setup.ts
35.71% <50.00%> (ø)

src/serialize/function.ts
55.68% <55.68%> (ø)

src/bridge/parent.ts
58.92% <61.53%> (ø)

... and 30 more

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.


cert: add localhost cert via mkcert for ssl traffic

2020-08-28 14:45:35.414  INFO 14311 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate Core {5.0.12.Final}
2020-08-28 14:45:35.415  INFO 14311 --- [           main] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found
2020-08-28 14:45:35.417  INFO 14311 --- [           main] org.hibernate.cfg.Environment            : HHH000021: Bytecode provider name : javassist
2020-08-28 14:45:35.435  WARN 14311 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
2020-08-28 14:45:35.437  INFO 14311 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2020-08-28 14:45:35.455  INFO 14311 --- [           main] utoConfigurationReportLoggingInitializer :

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2020-08-28 14:45:35.461 ERROR 14311 --- [           main] o.s.boot.SpringApplication               : Application startup failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

$ curl -v http://localhost:9000/hello
*   Trying <IP_ADDRESS>:9000...
* Connected to localhost (<IP_ADDRESS>) port 9000 (#0)
> GET /hello HTTP/1.1
> Host: localhost:9000
> User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
> Accept: */*
> Referer:
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 400
< Content-Type: text/plain;charset=UTF-8
< Connection: close
<
Bad Request
This combination of host and port requires TLS.
* Closing connection 0

$ curl -v https://localhost:9000/hello
*   Trying <IP_ADDRESS>:9000...
* Connected to localhost (<IP_ADDRESS>) port 9000 (#0)
* ALPN, offering http/1.1
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* ALPN, server did not agree to a protocol
* Server certificate: localhost
* Server certificate: mkcert rchen@rui-mbp
> GET /hello HTTP/1.1
> Host: localhost:9000
> User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
> Accept: */*
> Referer:
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200
< Content-Type: text/plain;charset=UTF-8
< Content-Length: 12
< Date: Fri, 28 Aug 2020 18:51:23 GMT
<
* Connection #0 to host localhost left intact
Hello world!

Now, it does require https for the encrypted traffic.

This probably works in my local because of the mkcert work, but not going to work on the CI server.
I need to find a good way to disable the SSL option when doing the testing.

mkcert details
$ mkcert
Using the local CA at "/Users/rchen/Library/Application Support/mkcert" ✨
Warning: the local CA is not installed in the Java trust store! ⚠
Run "mkcert -install" to avoid verification errors ‼
Usage of mkcert:

	$ mkcert -install
	Install the local CA in the system trust store.

	$ mkcert example.org
	Generate "example.org.pem" and "example.org-key.pem".

	$ mkcert example.com myapp.dev localhost <IP_ADDRESS> ::1
	Generate "example.com+4.pem" and "example.com+4-key.pem".

	$ mkcert "*.example.it"
	Generate "_wildcard.example.it.pem" and "_wildcard.example.it-key.pem".

	$ mkcert -uninstall
	Uninstall the local CA (but do not delete it).

For more options, run "mkcert -help".

$ mkcert -install
Using the local CA at "/Users/rchen/Library/Application Support/mkcert" ✨
The local CA is already installed in the system trust store! 👍
The local CA is already installed in the Firefox trust store! 👍
Sudo password:
The local CA is now installed in Java's trust store! ☕


Add a simple "Sources" page.

Add a simple "Sources" page with "Add a New Source" button in the corner.
To be linked from under the cog icon.

ping @terezanovotna

Progress! We're getting there!
Great job!

just deleting stuff...


az pipelines list with --source-branch comes out empty

If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli

Extension name (the extension in question)
azure-devops
azure-cli                         2.16.0

core                              2.16.0
telemetry                          1.0.6

Extensions:
azure-devops                      0.18.0

Description of issue (in as much detail as possible)
when using something like this
az pipelines release list --definition-id=9 --source-branch 'master' -o table
# or
az pipelines release list --definition-id=9 --source-branch 'stable/8.12' -o table

The result of the releases always comes empty

After using show and checking the meta-data i realized, that the branch should be given in ref form, thus the above is working right when using
az pipelines release list --definition-id=9 --source-branch 'refs/heads/master' -o table
#or
az pipelines release list --definition-id=9 --source-branch 'refs/heads/stable/8.12' -o table

If it is just be being unsure about the syntax while it is crystal clear for all others, this issue can be closed. Otherwise we might add some example to the cli docs / --help like refs/heads/master or what ever suits best

pipelines


Add Provider property to Notification

I select OneSignal as the default notification provider because it is easy to set up and config, by the way, you can easily switch to fire base;


Date math to check expiration on certificates

I have a couple of use cases where I need to check validity of a resource based on expiration date
Use case 1:  Resource: iam-user - The access key is active and has not been rotated in the last 2 years
Use case 2: Resource: acm-certificate - A custom SSL certificate expires in the next seven days.
I couldnt find a way to do this.

both of these use cases are built into the generic value filter, using value_type: age and value_type: expiration  respective, the former lets you match against the (current time - date attribute of a resource), the later lets you match on (date attribute of a resource - current time).

Thanks for the clarification. I see it now
https://www.capitalone.io/docs/filters.html
On Thu, Jun 7, 2018 at 5:48 AM, Kapil Thangavelu<EMAIL_ADDRESS>wrote:

both of these use cases are built into the generic value filter, using value_type:
age and value_type: expiration respective, the former lets you match
against the (current time - date attribute of a resource), the later lets
you match on (date attribute of a resource - current time).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/capitalone/cloud-custodian/issues/2487#issuecomment-395407971,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACHzl5aEYGRUVjxbojKpsaPK_-vKM8Jaks5t6SEZgaJpZM4UddBa
.


Support of ICO files / urls / content to display with Image widget

Why the Image widget doesn't support ICO files, urls, content? This format is very common.
Can you add support for it?

Hi @yegor-pelykh, Thanks for filing the issue, Labeling this issue as a new feature request.
 Image.asset('assets/flutter.ico'),

Related to https://github.com/flutter/flutter/issues/17356

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 3.0.2, on macOS 12.4 21F79 darwin-arm, locale en-IN)
    • Flutter version 3.0.2 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cd41fdd495 (5 days ago), 2022-06-08 09:52:13 -0700
    • Engine revision f15f824b57
    • Dart version 2.17.3
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 102.0.5005.61

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 3.1.0-0.0.pre.1237, on macOS 12.4 21F79 darwin-arm, locale en-IN)
    • Flutter version 3.1.0-0.0.pre.1237 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6062e40510 (64 minutes ago), 2022-06-12 23:53:08 -0400
    • Engine revision f80294b57e
    • Dart version 2.18.0 (build 2.18.0-180.0.dev)
    • DevTools version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 102.0.5005.61

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

cc: @chinmaygarde

@maheshmnj
Could you bring it up again and maybe try to implement it please? I really need this functionality.
Thank you!

@yegor-pelykh The issue is already prioritized, Unfortunately, we cannot do much about it, All we can do is wait until someone shows interest to contribute to this issue (since it's a feature request).  The other way to increase its priority is to have more upvotes on the issue (which indicates this is affecting a significant group of users).
I would recommend you to please read when will my bug be fixed?


plugins/postfix - disable GSSAPI when authenticating against smarthost (#3080)

Let's use this for now. Will be part of 22.7.2.


arg --pause-image not work for containerd, but work for --docker

Environmental Info:
K3s Version:
v1.22.4+k3s1
Node(s) CPU architecture, OS, and Version:
Linux XXX 4.19.112-2.el8.x86_64 #1 SMP Wed Jun 10 09:04:49 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:

Describe the bug:
when start k3s server with command 'k3s server --docker --pause-image rancher/mirrored-pause:3.1', the pods works fine.
But when start with 'k3s server --pause-image rancher/mirrored-pause:3.1', the pods always with status 'ContainerCreating'.
Following is the error info from pods:
[root]#k3s kubectl describe pods nginx-deployment-78cfbb5bb6-rztct
Warning  FailedCreatePodSandBox  87s (x187 over 41m)  kubelet            Failed to create pod sandbox: rpc error: code = NotFound desc = failed to get image from containerd "sha256:da86e6ba6ca197bf6bc5e9d900febd906b133eaa4750e6bed647b0fbe50ed43e": image "docker.io/rancher/mirrored-pause:3.1": not found

Additional info is I use private image registry, but i don't think k3s should pull images from my  private image registry, if --pause-image is defined for local images.
Steps To Reproduce:

Installed K3s: via binary and systemd from k3s-io/k3s/k3s.service file
use k3s crictl pull rancher/mirrored-pause:3.1 , to pull images from private image registry.
[root]# k3s crictl images list

IMAGE                                                           TAG                 IMAGE ID            SIZE
rancher/mirrored-pause   3.1                 da86e6ba6ca19       746kB

use k3s server --pause-image rancher/mirrored-pause:3.1 to start k3s server.

use k3s kubectl apply -f XXX

use k3s kubectl describe pods nginx-deployment-78cfbb5bb6-rztct to see pods detail info

Name:           nginx-deployment-78cfbb5bb6-rztct
Namespace:      default
Priority:       0
Node:           XXXX
Start Time:     Wed, 08 Dec 2021 16:01:26 +0800
Labels:         app=nginx
                pod-template-hash=78cfbb5bb6
Annotations:    <none>
Status:         Pending
IP:
IPs:            <none>
Controlled By:  ReplicaSet/nginx-deployment-78cfbb5bb6
Containers:
  nginx:
    Container ID:
    Image:          nginx:1.14.2
    Image ID:
    Port:           80/TCP
    Host Port:      0/TCP
    State:          Waiting
    Reason:       ContainerCreating
    Ready:          False
    Restart Count:  0
    Environment:    <none>
 ......
  **Warning  FailedCreatePodSandBox  3m47s (x280 over 63m)  kubelet  Failed to create pod sandbox: rpc error: code = NotFound desc = failed to get image from containerd "sha256:da86e6ba6ca197bf6bc5e9d900febd906b133eaa4750e6bed647b0fbe50ed43e": image "docker.io/rancher/mirrored-pause:3.1": not found**

Expected behavior:
pods are running successful.
Actual behavior:
pods is pending with error info:
Warning  FailedCreatePodSandBox  3m47s (x280 over 63m)  kubelet  Failed to create pod sandbox: rpc error: code = NotFound desc = failed to get image from containerd "sha256:da86e6ba6ca197bf6bc5e9d900febd906b133eaa4750e6bed647b0fbe50ed43e": image "docker.io/rancher/mirrored-pause:3.1": not found

Additional info is I use private image registry, but i don't think k3s should pull images from my private image registry, if --pause-image is defined for local images.

When using registries.yaml, the pause image will be pulled using your mirror configuration, regardless of what image you've specified. Docker doesn't honor registries.yaml though, so that should not matter.

Warning FailedCreatePodSandBox 3m47s (x280 over 63m) kubelet Failed to create pod sandbox: rpc error: code = NotFound desc = failed to get image from containerd

This suggests that K3s is still running with containerd, not docker. Can you do kubectl get node -o yaml

@brandond Hi Thanks for reply!
The issue Suddenly disappeard! I don't know what has been done.  K3s works fine now.
This issue can be closed. Thank you！


Boundary ways steal focus from overlapping roadways

URL
https://ideditor.netlify.app/#background=IndianaMap_Latest&locale=en&map=19.00/39.27267/-85.29637
How to reproduce the issue?

Find a roadway that runs along a boundary or vice versa. It doesn’t matter if the two are connected or disconnected, as long as they overlap. Observe that the roadway obscures the boundary.
Hover over the roadway. Observe that the inspector shows details about the boundary instead of the roadway.
Click on the roadway. Observe that the boundary is now selected instead of the roadway.

Screenshot(s) or anything else?
For example, this road was built with its centerline smack-dab over the Decatur–Franklin county line. It must be connected to the boundary to ensure that it lines up exactly. Otherwise, the southbound lane might fall within Franklin County, or the northbound lane might fall within Decatur County; since either side has a different name, this would cause some confusion among mappers and end users, as it did in the past.

Note that the boundary way is incorrectly tagged with admin_level=6 border_type=county boundary=administrative. Removing those tags would at least surface the white dashes, but those dashes don’t contrast well with some roadways, depending on their classification:

Here’s a boundary way that doesn’t have any tags on it and isn’t connected to the roadways. The lines render in the same order, with the roadway obscuring the boundary casing and the boundary dashes only barely showing through above the roadway. Yet clicking what appears to be the roadway selects the boundary member way instead:

Users perceive this mislayered rendering as a bait-and-switch, because they see one thing and end up selecting another. If they don’t realize what’s going on, they may mistag or incorrectly split the boundary member way.
Which deployed environments do you see the issue in?
Released version at openstreetmap.org/edit, Development version at ideditor.netlify.app
What version numbers does this issue effect?
2.28.0-dev (and many versions before it)
Which browsers are you seeing this problem on?
 That would at least be consistent with what the user visually perceives. Ideally, though, both the drawing order and selection would be partly based on the selected parent way (\).


Add scafold tests for celery_script_channel

Test case: celery_script_channel start_link

Coverage increased (+1.2%) to 30.83% when pulling 0c424dad774b8a4cd45ba2c4974900d30b1122bd on celery_script_channel_test into 2ef66e0b29f7fd06d4e6c8341e2e84a926efa78c on next.


Install fails on RPi4

System:
Home Assistant 2022.7.7
Supervisor 2022.07.0
Operating System 8.4
Frontend 20220707.1 - latest
This message pops up after a few seconds when attempting to install:
failed to create shim: OCI runtime create failed: runc create failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown
Log:
Failed to to call /addons/d44241f3_coral-api/install - failed to create shim: OCI runtime create failed: runc create failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown

This might be related to the fact that I'm using x86 base image for this container: homeassistant/amd64-base-ubuntu:18.04
I'll need to think of a way to make this platform independent... Will try building it on one of my raspberries.

d44241f3_coral-api - odroid n2+

Hi
I have home assistant running on a Rpi4-64, I added the repository ok , but when i try and install it i get an error  :-( :
Failed to install add-on
The command '/bin/bash -o pipefail -c pip3 install --no-cache-dir -r requirements.txt' returned a non-zero code: 1

Hi
I have home assistant running on a Rpi4-64, I added the repository ok , but when i try and install it i get an error  :-( :
Failed to install add-on
The command '/bin/bash -o pipefail -c pip3 install --no-cache-dir -r requirements.txt' returned a non-zero code: 1

Having same issue :(

It probably has something to do with python 3.9 deprecation that has been announced in 2023.02. This addon uses an older version of
https://github.com/robmarkcole/coral-pi-rest-server/. I'll have a look if I can run the latest one - based on guidance here: https://github.com/robmarkcole/coral-pi-rest-server/issues/66
I won't have time to look at it before Thursday however. So if anyone wants to have a look - please do.

I was wrong. I use an amd64 base image, so ARM builds will fail. I need to adjust the Dockerfile for multiarch support. Time constraints are the same so won't be able to look at it until later this week.

Please try now. I was able to build it on my radxa rock 5b, looks like bumping the base image to Ubuntu 20.04 LTS solved it. I haven't done proper testing, though - did what I could from a cell phone while waiting at the gate.

Confirmed working and bumped the release version up: https://github.com/grinco/HASS-coral-rest-api/tags


[docs] authentication.md authenticate() method missing Request parameter

There is an error in the documentation (authentication.md to be exact), in the section that describes custom authentication methods.
The following snippet:
public function authenticate()
{
	if (Auth::attempt(['email' => $email, 'password' => $password])) {
		// Authentication passed...
		return redirect()->intended('dashboard');
	}
}

should be
public function authenticate(Request $request)
{
	if (Auth::attempt(['email' => $request->email, 'password' => $request->password])) {
		// Authentication passed...
		return redirect()->intended('dashboard');
	}
}

along with the addition of use Illuminate\Http\Request; otherwise the variables $email and $password are not set and result in "undefined variable" errors.

https://github.com/laravel/docs/blob/5.1/authentication.md
You could submit a pull request to there to get it fixed.


Create CODE_OF_CONDUCT.md

Brief description
Adding a code of conduct
Developer Certificate of Origin

[x] I certify that these changes according to the Developer Certificate of Origin 1.1 as described at https://developercertificate.org/.

Further details
https://help.github.com/articles/adding-a-code-of-conduct-to-your-project/

Everyone in this community has been wonderful, but adding this would be great. Is this pretty much the boilerplate code of conduct for open source projects?

Hell yes! the community has been amazing so far and I loved the experience here. But no doubt it is needed in the long run.
This was provided ready-made by GitHub suitable for projects of all sizes. We can further customize it to our specific needs. Also do you have an email address like<EMAIL_ADDRESS>or would you like to add your personal email as a contact person?

Sounds great! I created<EMAIL_ADDRESS>that might be good for this. Just to keep things a little more separate from the personal email :)

Perfect, thank you!


[Bank Feeds] undocumented 400 response (createFeedConnection)

I'll come back with more details, but just as a placeholder for now, here is an overview.
Creating a bank feed connection, I got a rejection with a 400 error. The OpenAPI description shows no response payload for a 400. This is the payload I got:
{
   "items":[
      {
         "accountToken":"c12345-cld6et3q6...sw8w4",
         "status":"REJECTED",
         "error":{
            "type":"feed-already-connected-in-current-organisation",
            "title":"Feed Connection Failed",
            "status":409,
            "detail":"The AccountToken, AccountNumber or AccountId is already connected to another Xero Bank Account in the selected Xero Organisation."
         }
      }
   ]
}

Note status in the payload is 409, but the HTTP response was 400.
This message format is not consistent with anything I can see in the OpenAPI description.
The response is also inconsistent with the human-readable documentation. It is the items array wrapper which appears to be new in the API implementation, but not documented. The 400 being returned instead of a 409 makes sense if there is a list of errors, since each error could have a different status, and so they all need collecting under a single HTTP response status code.
https://developer.xero.com/documentation/bank-feeds-api/feed-connections-errors
Expected Behavior

Current Behavior

Possible Solution

Fix the OpenAPI description :-)
Steps to Reproduce (for bugs)

Context

Your Environment

Version used:
Browser Name and version:
Operating System and version (desktop or mobile):
Link to your project:

There are a number of examples in the OpenAPI description that get close to the response payload that I get back, but none of them quite there. For example, one has a single error header and wraps errors in an errors array, rather than an items array with a header for each error.  Also items appears only in the examples, and not in any of the endpoint definitions, so none of those examples could ever be supported by the API schema.
I'm not sure how to get my hands on the full technical documentation to recommend the changes. If there is anything that could be made available to me, I'll be happy to contribute to the OpenAPI description, but with an OAuth 2.0 deadline looming, time is tight.

@rdemarco-xero - can you look into this issue to see what modifications might be required for example error responses

@SidneyAllen - I brought this to the Bankfeeds API PM. She confirmed the documentation should be revised to match the behavior Jason has captured. I will put in a PR to have the developer site updated along with a PR for the revision to the Bankfeeds spec.

@rdemarco-xero - has this issue been resolved?

Yes the spec was updated and merged. This can be closed.


Failing to read nonexistent file on remote server

The plugin is great and works like a charm. What I'm reporting is a little bug I've encountered in my daily development.
The extension is looking for a file that doesn't exist on the remote server.
Reading file user@[ip-address]:22:/home/user/[project_dir]/.vscode/launch.json failed, Error: No such file

It appears in a toast in VSCode which needs to be dismissed and pops up three times in a row upon initialization. When closing the toasts, they don't open again unless I close VSCode and re-open the project.

I got the same problem as well. I just created three empty files with the dedicated names so the pops up quickly disappear after the restart of vscode.


Provide a general purpose ConnectionManager for RFC-0160 connections

Done
            ConnectionResult connectResult = ConnectionManger.connect(faberWallet, aliceWallet).get();
            log.info("{}", connectResult);

            Assertions.assertEquals(ACTIVE, connectResult.inviterRecord.getState());
            Assertions.assertEquals(ACTIVE, connectResult.inviteeRecord.getState());


inline-c-cpp fails to build on OS X (missing stdc++)

Issue description
haskellPackages.inline-c-cpp fails to build on OS X.
Steps to reproduce
nix-build -A haskellPackages.inline-c-cpp ~/.nix-defexpr/channels/nixpkgs
...
Setup: Missing dependency on a foreign library:
* Missing C library: stdc++

This seems similar to: https://github.com/NixOS/nix/issues/872.
Technical details

System: nixpkgs-unstable on x86_64-darwin.
Nix version: nix-env (Nix) 1.11.2
Nixpkgs version: 16.09pre83147.df89584

Pinging @peti.

cabal2nix drops dependencies on stdc++ because I'm not sure which package should be linked to fulfill them. Normally, the compiler provides that library, but apparently that's different on Darwin?

Darwin has it but it's called "libc++" instead of "libstdc++". They should be approximately compatible I think. Elsewhere we just replace libstdc++ with libc++ on Darwin. like in https://github.com/NixOS/nixpkgs/blob/22ae90ae90c1cf9da2d838e6194b253a27f916ef/pkgs/development/haskell-modules/configuration-common.nix#L236
I wonder if there is a better way?

This will be fixed once #16262 is merged.


Ctrl+Click doesn't take me to line #, only file top

This issue is still present in 1.69.2: https://github.com/microsoft/vscode/issues/146718
Works fine in 1.68.1.

Same problem here with 1.69.2
I have noticed that ctrl+click on the error opens a new tab even though the file containing the error is already open. The new tab shows the absolute path of the file with backslash instead of slash. I don't know if this can be related to the problem.

I believe this is already fixed, can you see if you can reproduce in the Insiders build?
/label info-needed

I have installed the Insiders build and in this case the ctrl+click on an error copies the filename:line:col in the "search bar" and then you have to hit enter to jump to that location. Is this the expected behaviour? In previous versions, ctrl+click directly jumps to the right place without using the "search bar"

@fabriziotrenti a gif would be helpful

I have taken a screenshot where you can see the point where I ctrl+click and the quick open bar that appears at the top. You have to hit enter to jump to the highlighted file and to the right line.

I have taken a screenshot where you can see the point where I ctrl+click and the quick open bar that appears at the top. You have to hit enter to jump to the highlighted file and to the right line.

Hi, this problem is still present even in 1.70.0.
Is anyone else experiencing this problem? Any news?
Thanks

version VS CODE 1.70.2 - still reproduce!

/duplicate https://github.com/microsoft/vscode/issues/155532


Validation error: Combination of the following properties must be unique: Persistent Application, Difference Type, Combine Order.

𝗗𝗲𝘀𝗰𝗿𝗶𝗯𝗲 𝘁𝗵𝗲 𝗯𝘂𝗴
Website is creating two records in the ModelDifferenceObject with the same values for the properties listed in the validation error message. Should the validation include the Device Category?
𝗧𝗼 𝗥𝗲𝗽𝗿𝗼𝗱𝘂𝗰𝗲

Expand zip file
Click on the "Application Settings" navigation item.
Expand the Difference Type: User rows
𝗘𝘅𝗽𝗲𝗰𝘁𝗲𝗱 𝗯𝗲𝗵𝗮𝘃𝗶𝗼𝗿
The validation message should not be shown.
𝗦𝗰𝗿𝗲𝗲𝗻𝘀𝗵𝗼𝘁𝘀
none

𝗛𝗼𝘄 𝘄𝗲 𝗽𝗿𝗶𝗼𝗿𝗶𝘁𝗶𝘇𝗲 𝗶𝘀𝘀𝘂𝗲𝘀
We will try to answer all questions that do not require research within 24hr.
To prioritize cases that require research we use the following labels in order.

Installation

For all other issues the posting time is respected.
expandModelDifTest.zip

If I understand u correctly u want to add an additional check against the Device?

I don’t know if the validation error is correct. Did I forget to add something when I setup the project?
Thank you,
Niel
From: Apostolis Bekiaris<EMAIL_ADDRESS>Sent: Tuesday, March 10, 2020 1:27 PM
To: eXpandFramework/eXpand<EMAIL_ADDRESS>Cc: Pratt, Niel W<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [eXpandFramework/eXpand] Validation error: Combination of the following properties must be unique: Persistent Application, Difference Type, Combine Order. (#687)
Sent by an external sender

If I understand u correctly u want to add an additional check against the Device?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/eXpandFramework/eXpand/issues/687?email_source=notifications&email_token=ALZI6AOD4L37E44J6PXVOBDRGZZ5LA5CNFSM4LFD5VTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOML24Y#issuecomment-597212531, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALZI6AKFFG3PCD23MIEPSKTRGZZ5LANCNFSM4LFD5VTA.

the validation is correct its a xaf validation rule which i may remove from the model but some feature that depends on it will missbehave. However u can simply assign a differnt combine order for each of your models and the validation will pass

is it necessary to Initialize  sequence generator for proper auto-numbering of combine order?

I will add the additional field for the validation.
I have been reading your blog http://apobekiaris.blogspot.com/search/label/ModelDifference to work with the module.
Where should I go to get the newest information?
Thank you!!
Niel
From: Apostolis Bekiaris<EMAIL_ADDRESS>Sent: Tuesday, March 10, 2020 1:40 PM
To: eXpandFramework/eXpand<EMAIL_ADDRESS>Cc: Pratt, Niel W<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [eXpandFramework/eXpand] Validation error: Combination of the following properties must be unique: Persistent Application, Difference Type, Combine Order. (#687)
Sent by an external sender

the validation is correct its a xaf validation rule which i may remove from the model but some feature that depends on it will missbehave. However u can simply assign a differnt combine order for each of your models and the validation will pass
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/eXpandFramework/eXpand/issues/687?email_source=notifications&email_token=ALZI6AOFGICKMSONSSCFPNDRGZ3PBA5CNFSM4LFD5VTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOMNUHQ#issuecomment-597219870, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALZI6ALTPUTDJFL2UOWGJETRGZ3PBANCNFSM4LFD5VTA.

@vimarx  actually we had this feature in the past however due to bad performance it was removed. But   sure it can be used if performance is not an issue.

@nwpratt the module is really old same the blog post u read unfortunately these are no docs at the moment.

I just wanted to make sure I was looking that the correct link. Thanks
From: Apostolis Bekiaris<EMAIL_ADDRESS>Sent: Tuesday, March 10, 2020 1:57 PM
To: eXpandFramework/eXpand<EMAIL_ADDRESS>Cc: Pratt, Niel W<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [eXpandFramework/eXpand] Validation error: Combination of the following properties must be unique: Persistent Application, Difference Type, Combine Order. (#687)
Sent by an external sender

@nwpratthttps://github.com/nwpratt the module is really old same the blog post u read unfortunately these are no docs at the moment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/eXpandFramework/eXpand/issues/687?email_source=notifications&email_token=ALZI6AM4OSK4OFQ7ZTVXZVLRGZ5N7A5CNFSM4LFD5VTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOMPSOI#issuecomment-597227833, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALZI6AMTBFKSKMT6XFEOHVTRGZ5N7ANCNFSM4LFD5VTA.

all related blog posts are labeled
http://apobekiaris.blogspot.com/search/label/ModelDifference

Here is the commit link where the SequenceGenerator was removed.
https://github.com/eXpandFramework/eXpand.lab/commit/82c34e6a098f465a146e0948375386276c10b79d
In the example file it looks like the Combine Order field is not updating.
From: Apostolis Bekiaris<EMAIL_ADDRESS>Sent: Tuesday, March 10, 2020 1:56 PM
To: eXpandFramework/eXpand<EMAIL_ADDRESS>Cc: Pratt, Niel W<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [eXpandFramework/eXpand] Validation error: Combination of the following properties must be unique: Persistent Application, Difference Type, Combine Order. (#687)
Sent by an external sender

@vimarxhttps://github.com/vimarx actually we had this feature in the past however due to bad performance it was removed. But sure it can be used if performance is not an issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/eXpandFramework/eXpand/issues/687?email_source=notifications&email_token=ALZI6AOPKZAJ4WJY5BD75E3RGZ5JTA5CNFSM4LFD5VTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOMPOOY#issuecomment-597227323, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALZI6APQUZCE3HHWRX4GXJDRGZ5JTANCNFSM4LFD5VTA.

I do not understand what example is this? furthermore I do not see the point of discussing it further. Don't u think is a bad idea to add such a heavy and with so many constrains dependency (seqgenerator) just for the same of combining models? most of the users never combine the models. So if you do not want to combine the models u safe to loosen the validation

also maybe u can succefully apply the positioncolumn implementation to this case
https://github.com/eXpandFramework/eXpand/blob/01a65994c310251669d463246e4d4388b76d781d/Xpand/Xpand.ExpressApp/Xpand.ExpressApp/SystemModule/PositionInListViewController.cs#L18-L25

Thank you


Prevent infinite scroll up and down

Resolves #24
What was the problem?
For some reason, window.scrollY is not 0 right after calling window.scrollTo(0, 0), so the step function is called infinitely.
What is the solution?
return from step function after window.scrollTo(0, 0)

I'm not sure if dist/vue-scroll-up.js updated by npm run build is correct, because I wasn't able to successfully npm install (I tried multiple npm versions - 12, 14, 16)
IMO the best was npm v12, but still failed with:
binding.target.mk:131: recipe for target 'Release/obj.target/binding/src/binding.o' failed
make: *** [Release/obj.target/binding/src/binding.o] Error 1
make: Leaving directory '/home/slaweet/git/vue-scroll-up/node_modules/node-sass/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/slaweet/git/vue-scroll-up/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.4.0-80-generic
gyp ERR! command "/home/slaweet/.nvm/versions/node/v12.18.3/bin/node" "/home/slaweet/git/vue-scroll-up/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /home/slaweet/git/vue-scroll-up/node_modules/node-sass
gyp ERR! node -v v12.18.3
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/slaweet/.npm/_logs/2021-08-19T11_27_55_520Z-debug.log

@runkids Thank you for merging this.
Can you please also publish it to npm in a patch release?

@slaweet You can download version 1.1.0 now. 😃
Thanks for your help!


Async batching?

After reading through the docs it's not clear to me if there is a strict requirement that all batches be sync operations. Sometimes it's important to batch changes in async contexts. Can I use startBatch at the beginning of an async fn then endBatch at the end or will that cause problems? Looking at the implementation in batching.ts it seems to be making the assumption that a batch is always a single synchronous function call.

A batch has to be synchronous because batching tweaks the process in the core change notification system, making all changes that happen between start/end part of the batch. Allowing that to be async could potentially cause huge problems because no observables would notify until the end of the async function. If that async function took a super long time it could effectively freeze the app.
If you need to batch things asynchronously it's best to just make changes into local variables and then set them onto observables in a batch after all the async processes are finished.
Does that make sense? Or do you have some ideas for how to make async batching work?


feat(ui): allow user to choose denomination during onboarding setup

Description:
Add the <CryptoSelector /> component to the wallet setup screen to let users choose their bitcoin denomination while they set the max/min channel amounts
Motivation and Context:
Closes #3721
How Has This Been Tested?

Manual testing. I haven't noticed any issues from my changes to the ticker selectors, but it seems like there could be potential side effects from those changes.
Screenshots (if appropriate):

Types of changes:

New feature

Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes where needed.
[x] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

@mrfelton Did you see those errors when running yarn dev? I'm not seeing them and cryptoUnit appears to be passed in correctly so that it's never null

Realized this was still open today. Those warning messages led to some bigger issues I noticed related to my redux refactoring. I think this will require a different approach, or just more time making sure the selectors that were changed default to the correct value.


Handling compression, 2. Using charset from headers

js resources are mostly served compressed from cdns eg. http://sd1.gemvara.net/static/bundle-bundle_site_head_39e0ef67d1c.js

This isn't quite the right approach to this. We should just use the request package, instead of http/https.request. It already takes care of this stuff and we're already using it in a few places. It would then also handle redirects etc.

FIXME: request doesn't deal with the charset encoding. Seems like we need to use something like https://github.com/ashtuchkin/iconv-lite to deal with it + implement this thing in the parse5.

@domenic I have made the change to use the request module instead of http/https. I see that we get redirects and gzipped response handling taken care of. Haven't handled different charset encodings though. Can you review this?

LGTM with one nit. Will merge (and leave a more detailed comment about encoding) when I get back to my computer for a few hours. Thanks!

removed the unused module

Merged! Now to decide whether this is a bugfix or a feature...

Lets call it a feature, feature sounds cool

Yeah, I went with a minor release https://github.com/tmpvar/jsdom/blob/master/Changelog.md#440 :)


This is not a "walk-through"

As a noobie with this, I need a lot more detail for a "walk-through". When I try to "build" I get errors, so I'm not even getting to this second step.
Please show screen shots of where that first code block goes, for example.

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

ID: 8c5b3e0f-71aa-4626-3e12-361ad0aa3096
Version Independent ID: 803b5060-80ba-e73c-16a7-89832ae5b85c
Content: Walkthrough: Create a custom tab by using Ribbon XML - Visual Studio
Content Source: docs/vsto/walkthrough-creating-a-custom-tab-by-using-ribbon-xml.md
Product: visual-studio-windows
Technology: office-development
GitHub Login: @John-Hart
Microsoft Alias: johnhart

@larryedwards -- thank you for your feedback.  Please consider these resources:

Visual Studio on Q&A
https://social.msdn.microsoft.com/Forums/vstudio
https://www.stackoverflow.com
https://www.reddit.com/r/VisualStudio/

@John-Hart -- please look into this issue.

Re: [MicrosoftDocs/visualstudio-docs] This is not a "walk-through" (#5793)
Thanks, William.
-- Larry
===== Orig. Msg. =====
From:   William Anton Rohm<EMAIL_ADDRESS>Date:   Monday, August 31, 2020 (2:05 PM)
To:     MicrosoftDocs/visualstudio-docs
<EMAIL_ADDRESS>cc:     larryedwards<EMAIL_ADDRESS>Mention
<EMAIL_ADDRESS>Subj: [MicrosoftDocs/visualstudio-docs] This is not a "walk-through" (#5793)
@larryedwards -- thank you for your feedback.  Please consider these resources:

Visual Studio on Q&A
https://social.msdn.microsoft.com/Forums/vstudio
https://www.stackoverflow.com
https://www.reddit.com/r/VisualStudio/

@John-Hart -- please look into this issue.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/MicrosoftDocs/visualstudio-docs/issues/5793#issuecomment-684067063

Hi @larryedwards,
thanks for the feedback,
You're right this "walkthrough" is rather simple.  In the two images you posted I see two separate errors.  In the first image, the errors are because you've pasted the Visual Basic code outside of the Class, try moving the code inside the End Class statement.  The second image shows that you pasted C# code inside a Visual Basic Class.
I hope that helps to get you started.
thanks
John


term that shouldn't be child term of application

Another one of these:
https://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI%3A194445 CHEBI:194445 is a direct child of "application" and shouldn't be. Thanks!

Now fixed. Thanks


Feature-detection of chrome.sockets

Part of an effort to run embedded js-ipfs in Brave :lion: https://github.com/ipfs-shipyard/ipfs-companion/issues/664

TL;DR
This PR adds runtime dectection of chrome.sockets APIs and a build target for testing it with Brave Nightly: yarn dev-build bundle:brave
What is new?
This PR adds new tests and should not modify existing functionality unless user is running Brave Nightly.
External node type remains the default, but Brave users can opt-in to "Embedded + chrome.sockets" node type on the Preferences screen, which will enable Embedded HTTP Gateway.

Details
This PR includes cherry-picked js-ipfs improvements:

streaming compressed payload (https://github.com/ipfs/js-ipfs/pull/1989)

Content-type sniffing is now done over a meaningful amount of bytes instead of arbitrary number.

decoupling HTTP Servers from cli/commands/daemon (https://github.com/ipfs/js-ipfs/pull/1950)

Other

Brave users will see a new node type: embedded:chromesockets (https://github.com/ipfs-shipyard/ipfs-companion/commit/5c0b495b5d41c80352ced2678b4b7a8acfaa0df9)
cleanup boot on clean install (https://github.com/ipfs-shipyard/ipfs-companion/commit/2b636360944397ab257f9990cdc390f14931ce50)
new runtime-checks: isBrave, hasChromeSocketsForTcp
peer discovery over a ws-star to  improve things until we have TCP transport, MulticastDNS and DHT

(Merging this in fast-track mode as we want to ship this to Beta channel this week to unblock development on Brave side)


Which dependencies are used?

When trying to build the project in PlatformIO, i get a lot of dependency errors, like...
src\IMessageBroker.h:7:16: fatal error: FP.h: No such file or directory

************************************************************
* Looking for FP.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:FP.h"
* Web  > https://platformio.org/lib/search?query=header:FP.h
*
************************************************************

Which dependencies are used here? There are plenty of FP search results in the registry...
btw: the missing FP dependency is just an example for all the missing ones.

Hi Sebastian,
yes, you're right. We're missing some kind of documentation regarding the dependencies.
I'll catch up on that later, for the moment I share the libraries I used globally in my

Adafruit GFX Library by Adafruit, Ver. 1.2.9
Adafruit PN532 by Adafruit, Ver. 1.0.2
Adafruit ST7735 and ST7789 Library by Adafruit, Ver. 1.2.2
ArduinoJson-esphomelib by Benoit Blanchon, Ver. 5.13.3
ESP32httpUpdate by Matej Sychra, Ver. 2.1.145
IFTTTWebhook by John Romkey, Ver. 1.1.2
MFRC522 by Miguel Balboa, Ver. 1.3.6
Paho by Eclipse, Ver. 1.0.0
Time by Michael Margolis, Ver. 1.5
U8g2 by oliver, Ver. 2.23.18

I hope this helps you making the code compile.
David

Thanks a lot, that helps for a while. And yep, build documentation is missing, also for the Ionic app ;-) But I'll catch through...

Updated and moved the Readme.md


add --observeonly (-o) to specify parameters without the defaults

I needed a way to specify the extensions I want to watch without any defaults.

@edwardbrosens thanks so much for this. See issue #94 where we're discussing this already. I really do appreciate that you took the time to whip this up, but I think the best approach might just be to add a switch to control whether we're appending or replacing. I think the option you proposed is a little too confusing.


Feature/921 router outlet name attribute

resolves #921
resolves #815

LGTM

@tyllrb You should check out this PR since it kind of wipes your quickViewAttribute stuff. Now the node.description property simply holds all attributes that we want to display in this way.


SparkJS should point at api.particle.io

I think CORS headers are broken by the redirect, we should fix this and issue a release ASAP
  this.baseUrl = 'https://api.spark.io';

Thanks!
David

There is not currently a redirect for https://api.spark.io, it is supposed to function interchangeably with api.particle.io for the time being. Could you elaborate on the issue you're seeing?

Hmm, maybe I'm going crazy then... I've been getting reports from some community members of CORS errors in SparkJS, and seeing the old domain was a red flag for me, maybe it's a different issue?

Yea, :100: :+1: on changing the name to api.particle.io, can't go wrong.
Perhaps this change will knock those CORS issues too--you would get errors if some code paths were using api.spark.io and others were using api.particle.io...could be a source of the problem.

:+1:, will do.

done! :smile_cat:


Crops not updating to "Grown Out" when planted before adding the plugin

Hi there!
I planted some Tantaplant seeds a few days before installing the plugin, and since I can't tend to them anymore the plugin thinks they are wilting.

Not sure if this is related to #17 or #18, so I thought I'd make a new issue just in case. Maybe a check to see if interacting with the bed shows that the plant is ready for harvest?
Thank you!

EIther just harvest them, or if you intend to keep them grown out, you'd be better of deleting them in the settings. Otherwise your Crops header would always be green, too. Since they're grown out, they'll never be added again.

EIther just harvest them, or if you intend to keep them grown out, you'd be better of deleting them in the settings. Otherwise your Crops header would always be green, too. Since they're grown out, they'll never be added again.

Okay, I did in fact delete their entries as they're gonna stay there forever for onion farming. Good to know though, appreciate it!

Okay, I did in fact delete their entries as they're gonna stay there forever for onion farming. Good to know though, appreciate it!


HDDS-11635. Memory leak while using OFS connector via FileContext Hadoop API

What changes were proposed in this pull request?
HDDS-11635. Fix memory leak while using OFS connector via FileContext Hadoop API
Please describe your PR in detail:

Leak occurs while using OFS connector via Hadoop FileContext API

FileContext API does not have an explicit close interface
ozone-filesystem client library implements FileContext API by means of org.apache.hadoop.fs.ozone.RootedOzFs which spawns new RootedOzoneFileSystem every time FileContext is used
this internal FS object is never closed

Propsed solution:

close internal FS object in finalize()

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11635
How was this patch tested?
Manual testing (accessing and manipulating data in Ozone over FileContext API) while monitoring memory consumption via JMX metrics. With the fix, consumption is stable

Thanks @aekom87 for reporting the problem and fixing it.


Fix build warnings

Fixes warnings reported in the gradle build logs

@gino-m  PTAL?

✂⚠ !


Empty tags cannot be read

iOS' API doesn't allow to read empty tags but Android's does.
Fixable on Android.

[ ] Add section to README

Same issue. I need to read the id when tag is emty.

can't write too with the unformatted ndef
any solution ?? @semlette

I have opened pull request #24 which should improve support for empty tags, specifically allowing them to be read on Android and make it easier to check if they're empty using the new NDEFMessage.isEmpty method.
I also found out that empty tags can be read on iOS 13 (already supported).
Please check out the PR and see if it fixes the issue for you guys.

your are amazing
please update your README.md by example

@movieator does this work for you?

not yet to try, my phone bootloop.

@hasanbasri1993 I've the "same" problem. I've brand new NFC Tags that are not formatted at all. I'd like to format them as NDEF on scan if they're not but I can't manage to do that.
If the tag is NDEF formatted there is no problem, I can read & write without problem, but I can't do anything if it's "blank".

hello @semlette, any solution for this ??

Do you think it's even possible to do something like that? I've read that iPhones only accept NDEF formatted code for reading.
Maybe that's possible to do something like:
***** Scan the TAG *****
=> If TAG is recognized (NDEF) then do what you need
=> If TAG is unrecognized, then format it in NDEF, whatever's on it so after that we can do what we want with it.

Pushed 24c4adcd576fe6cbaf0a17dd90fe6df11c6563a8 to #24.
Tags that doesn't support the Ndef technology, but does support the NdefFormatable technology will now be sent to Flutter.
Note that if the tag does not support the Ndef technology, there is absolutely no way to retrieve the ID from the tag.

Thanks a lot :) Will test it this afternoon.
Yes, in my case the tags are NdefFormatable, they're just brand new so there is simply "nothing" on them, and I guess a lot of people are in this case.

Just tried it, works like a charm for reading :)
However, when writing on a "virgin" tag, I've this error (no error when writing to an already NDEF formatted tag):

E/flutter ( 1788): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(IOError, write to tag error: null, null)

In my case getting the UID is enough, but if it's possible to format "virgin" tags to NDEF automaticaly when the format is unknown, I think that'd be a cool feature.
Thanks again for your work.

Pushed eda624256c41887a85398667839b9d46ee26de92 to #24.
The documentation for NdefFormatable.format() states it must not be called on the main thread. So I have subclassed AsyncTask to FormatTask where NdefFormatable.format() will be called.
I have successfully formatted 2 fresh tags that supported NdefFormatable and not Ndef.
However I have ran out of tags that support NdefFormatable so I will not be able to test this any further.

I am going to merge #24 and close this issue since #24 fixed it.
If there is a problem, I will reopen the issue.


Python 3 compatibility

Codecov Report

Merging #16 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
- Coverage   86.83%   86.81%   -0.02%
==========================================
  Files          73       73
  Lines        6768     6796      +28
==========================================
+ Hits         5877     5900      +23
- Misses        891      896       +5

Impacted Files
Coverage Δ

featuretools/entityset/relationship.py

featuretools/core/api.py

...sts/feature_function_tests/test_direct_features.py

featuretools/selection/api.py

featuretools/tests/entityset_tests/test_es.py

featuretools/variable_types/__init__.py

featuretools/core/__init__.py

featuretools/variable_types/api.py

featuretools/demo/__init__.py

featuretools/synthesis/encode_features.py

... and 99 more

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 ddba9c3...0ea73b5. Read the comment docs.

Thanks for working towards making this available to python 3 users! Is there a high-level estimate of when it is expected to be released?

@soedr working on it for the next release. if you sign up for a mailing list here, we will email when it's released.


bStats crash

hello, when i try to start my server it crashes, here is the crash report  https://pastebin.com/X3N69FKe
could you help me?

Update SF to 3616 and GP 682.

still doing the same error  log: https://pastebin.com/5swVKaFC
crash report: https://pastebin.com/eT8TDQcQ


python3Packages.karton-asciimagic: init at 1.0.0

Motivation for this change
Decoders for ascii-encoded executables for the Karton framework
https://github.com/CERT-Polska/karton-asciimagic
Related to #81418
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@chivay, perhaps you could give it a try?

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

2 packages built:

python38Packages.karton-asciimagic
python39Packages.karton-asciimagic


Httplib debug log

bump httplib version from 12 to 14
fork httplib, add debug log for connection errors (https://github.com/pyroscope-io/cpp-httplib/commit/fc721209f702c83e1514427c726d0e27f6267c37)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: korniltsev:x: bryanhuhtaYou have signed the CLA already but the status is still pending? Let us recheck it.


Wait until video is ready before capture

With current code when the polyfill is in used the next code will fail because videoElement.videoWidth will still be 0:
let imageCapture = ImageCapture(track)
imageCapture.takePhoto();

The changes in this PR explicitly waits until the video element is ready waiting for the playing event before capturing the image. This way it works the same way as the native implementation where the previous code will work.

I signed it!

Thanks for the PR! Let's see if this fixes #4 for @RandomUsername07.


Only work or school accounts?

Transactable SaaS apps are only purchasable using a work or school account. If you want to sell your app to Microsoft account-based users, you should consider implementing your own billing model.

Is this correct, i.e. personal accounts are not supported? That would be a big deal as many users of the Office Store would be personal accounts.
In this walkthrough, it says something different:

The commercial marketplace is fully integrated with Azure AD. Users arrive at the marketplace authenticated with an Azure AD account or Microsoft account (MSA). After acquiring a free or free trial subscription through your list-only offer, the user goes from the commercial marketplace to your landing page URL to activate and manage their subscription to your SaaS application.

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

ID: 2f95e63d-2814-d226-7a9f-3719616eb682
Version Independent ID: 1ad4ff3b-e271-8ba6-5764-b1422e7392a9
Content: Monetize your Microsoft 365 add-in or app through Microsoft Commercial Marketplace
Content Source: articles/marketplace/monetize-addins-through-microsoft-commercial-marketplace.md
Service: marketplace
Sub-service: partnercenter-marketplace-publisher
GitHub Login: @mingshen-ms
Microsoft Alias: siraghav

@roldengarm
Thanks for your feedback! We will investigate and update as appropriate.

@roldengarm- We have confirmed with product team that purchasing of SaaS on Azure marketplace requires Azure subscription, an MSA can be associated with an Azure subscription, so purchase via MSA can happen through Azure marketplace.  If the SaaS offer is available on Azure Marketplace, then the ISV landing page needs to support MSA. It’s very rare that the publisher wants their SaaS to be available on AppSource only,
At this moment, Since there is no doc update required, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@MonikaReddy-MSFT ,
I'm trying to follow the advice in https://learn.microsoft.com/en-us/partner-center/marketplace/monetize-addins-through-microsoft-commercial-marketplace.
Is it still the case that a transactable SaaS offer can only be done with work/school accounts?
I'm in the process of setting up an Office Add-in with free 'basic' features and a SaaS subscription for 'pro' features.
When setting up the Azure app registration, I choose the option for all account types (work/school and MSA).
When setting up the Partner Center offer, I chose "Yes" to the "Sell through Microsoft" and "Use Microsoft License Management services". When choosing that, it told me that the offer would only be available on AppSource, which is what I want - the SaaS is to purchase a subscription that enables features of the Office Add-in.
In the Preview stage, when I log in to AppSource with my MSA account (not associated with any Azure tenant), I'm told that I have to log in with a Work/School account instead.
How do I have an Add-in with a monetisation option that can be purchased by both Work/School and MSA account holders (who generally won't have an Azure association)?
It sounds a bit like I have to have:

The Add-in registration in AppSource itself
A SaaS Offering that only Microsoft Azure-linked customers can use
Something within the Add-in itself that can direct non-Azure MSA account holders to a third-party SaaS vendor that my web site integrates with separately ?