希望终端可以单独移动到左侧下方（I hope the terminal can move to the lower left side alone）

现在就是支持的, 你拖着终端这两个字, 拖到你说的那个地方就可以了. vscode 在这一点上很灵活.

Doesn't putting it in the activity bar like this accomplish that?

or dragging and dropping whatever you want on the right side of the panel accomplishes that a different way

Yeah you can do this sort of thing in various ways:

Move into a "view container" on the side by dragging
Multiple side-by-side views in the bottom panel
Change "panel alignment" coming in 1.64

what time the 1.64 release?

Probably tomorrow

Thank you very much. I dragged the blank area before. I didn't drag it. It's OK to drag the panel text.


V3: reactiveComponents example with Framer Motion raises TypeScript errors

Following the example from the docs:
import { reactiveComponents } from "@legendapp/state/react";
import { motion } from "framer-motion";

const ReactiveMotion = reactiveComponents(motion);

raises the following TypeScript error:

Ah thanks! I improved the types of reactive recently which looks to have broken that. It seems like this is the easy fix, to change FC to any:
declare function reactiveComponents<P extends Record<string, any>>(components: P): ObjectShapeWith$<P>;

I'll release this fix in the next update (which is a bit big with improvements to a bunch of sync things).


Android : Camera cannot be opened with Cordova 9

Bug Report
Problem
I have an app with a "Open Camera" button. The first time I click on this button, Android requests permission to use Camera.
What is expected to happen?
After permission asking, I expect the camera opening
When I click on the "Open Camera", the camera opening
What does actually happen?
After permission asking, the app crashes
When I click on the "Open Camera", nothing happen.
On log, when I click on the button :

08-06 17:06:18.679 20453 20602 E PluginManager: Uncaught exception from plugin
08-06 17:06:18.679 20453 20602 E PluginManager: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.PackageItemInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object reference
08-06 17:06:18.679 20453 20602 E PluginManager: 	at androidx.core.content.FileProvider.parsePathStrategy(FileProvider.java:605)
08-06 17:06:18.679 20453 20602 E PluginManager: 	at androidx.core.content.FileProvider.getPathStrategy(FileProvider.java:579)
08-06 17:06:18.679 20453 20602 E PluginManager: 	at androidx.core.content.FileProvider.getUriForFile(FileProvider.java:417)
08-06 17:06:18.679 20453 20602 E PluginManager: 	at org.apache.cordova.camera.CameraLauncher.takePicture(CameraLauncher.java:303)
08-06 17:06:18.679 20453 20602 E PluginManager: 	at org.apache.cordova.camera.CameraLauncher.callTakePicture(CameraLauncher.java:282)
08-06 17:06:18.679 20453 20602 E PluginManager: 	at org.apache.cordova.camera.CameraLauncher.execute(CameraLauncher.java:190)
08-06 17:06:18.679 20453 20602 E PluginManager: 	at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
08-06 17:06:18.679 20453 20602 E PluginManager: 	at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
08-06 17:06:18.679 20453 20602 E PluginManager: 	at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
08-06 17:06:18.679 20453 20602 E PluginManager: 	at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
08-06 17:06:18.679 20453 20602 E PluginManager: 	at android.os.MessageQueue.nativePollOnce(Native Method)
08-06 17:06:18.679 20453 20602 E PluginManager: 	at android.os.MessageQueue.next(MessageQueue.java:379)
08-06 17:06:18.679 20453 20602 E PluginManager: 	at android.os.Looper.loop(Looper.java:144)
08-06 17:06:18.679 20453 20602 E PluginManager: 	at android.os.HandlerThread.run(HandlerThread.java:65)

Difference between Cordova 8 and 9, I don't have any provider with Cordova 9. I got the following with Cordova 8 in the AndroidManifest.xml :

    <provider android:authorities="${applicationId}.provider" android:exported="false" android:grantUriPermissions="true" android:name="org.apache.cordova.camera.FileProvider">
        <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/camera_provider_paths" />
    </provider>

Version information

cordova 9.0.0,
cordova-android 8.0.0,
cordova-plugin-camera 4.0.3 and 4.1.0
ionic v3
@ionic-native/camera : ^4.5.2

I DID NOT TEST ON iOS YET.
Works with Cordova 8.1.2 (and cordova-android 7.1.2)
Checklist

[X] I searched for existing GitHub issues
[X] I updated all Cordova tooling to most recent version
[X] I included all the necessary information above

I fixed adding this in the config.xml :

         [...]

Same problem here, changed config.xml but still not work

Same issue for me, changing config.xml doesn't change... It works perfectly on IOS, but get error 20 (permission) on Android device. Is there any way to fix it ?

same problem here , can anyone please help me to resolve that issue. is there any way to fix it ?

@LeandroFavero @QuentinIcky @manpreet1990 did you guys get this sorted? Same issue.

@Mapiac I didn't solve it because I moved to another project, but just before, I found that if I rollback to an old Android version, it worked. But it's not a good choice, Play Store doesn't accept old Android version.

The plugin already contains:
<provider
  android:name="org.apache.cordova.camera.FileProvider"
  android:authorities="${applicationId}.provider"
  android:exported="false"
  android:grantUriPermissions="true" >
  <meta-data
      android:name="android.support.FILE_PROVIDER_PATHS"
      android:resource="@xml/camera_provider_paths"/>
</provider>

And it's been there for a couple of years.
Using cordova 9, I created a new app and added the plugin, and my AndroidManifest in the app does contain the mentioned xml that supposedly fix the issue.
This issue was reported more than a month ago, can anyone confirm they still have this issue? Perhaps it was already corrected by a patch in the CLI?

Yes I still had the problem today. It works after I add this permission

I meet this. because the plugin config-file
        <config-file mode="merge" parent="application" target="AndroidManifest.xml">
            <provider android:authorities="${applicationId}.provider" android:exported="false" android:grantUriPermissions="true" android:name="org.apache.cordova.camera.FileProvider">
                <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/camera_provider_paths" />
            </provider>
        </config-file>

was removed due to a conflict after I add a edit-config
<edit-config xmlns:android="http://schemas.android.com/apk/res/android" file="AndroidManifest.xml" mode="merge" target="/manifest/application">
            <application android:usesCleartextTraffic="true" />
        </edit-config>

but I don't know why it's a conflict

it is known as a bug of Cordova cli.apache/cordova-common#89

I add Filepath plugin and work fine

Closing since it was a bug in cordova-common and was fixed and released long ago

I add Filepath plugin and work fine

Where did you add the file path ?


feat: basic 81 task web3j erc20

add basic task of web3j, for no any web3j tasks before.

add basic task of web3j, for no any web3j tasks before.

thanks for your contribution.  add wechat yanyanho666 to join group. Currently we have no plan  to add java to develop web3 dapp, so I  would close the pr .


Fix signed char fed to isspace

I'm on the Microsoft Azure IoT team, and we use this lib as part of the Azure IoT C SDK. When I compile parson.c for the ESP32, I get a deliberately provoked warning treated as error about a signed char being passed to isspace. This PR fixes the problem.
This is a blocking issue for me, so getting this or an equivalent fix in would be greatly appreciated.

Thank you!

No worries, thanks for submitting the pull request :) This issue wasn't very obvious to me initially, but it's explained here: https://www.greenend.org.uk/rjk/tech/cfu.html (1.1)


Optimized assets.

Lossless compression (oxipng).
The icon is kinda big and its dimensions are not of a power of 2. I can resize it to 512x512.

Thank you for your contribution! I bumped the icon size down to 256 as well.


Version 1.0 [proposal]

@Shopify/cloudplatform @kirs I'm creating this issue to track what a v1.0 of this gem might look like, particularly with regard to breaking changes we might like to make.
Breaking changes

[ ] New name that doesn't infringe on the "Kubernetes" trademark (https://github.com/Shopify/kubernetes-deploy/issues/30)
[ ] Single CLI command with subcommands for deploy/run/restart/render (https://github.com/Shopify/kubernetes-deploy/issues/256)
[ ] [tentative] Deploy command renders ERB only when given a flag, or maybe never. (must use the render command we've split out; related to https://github.com/Shopify/kubernetes-deploy/issues/44)
[x] Different exit status for failures and timeouts
[ ] [tentative] Support a config file that can be used in place of flags: https://github.com/Shopify/kubernetes-deploy/issues/301

Features/fixes

[ ] accepts $stdin as template dir (https://github.com/Shopify/kubernetes-deploy/issues/410)
[x] has separate renderer command (related externally contributed proposal: https://github.com/Shopify/kubernetes-deploy/pull/228)
[x] supports all major resource types (https://github.com/Shopify/kubernetes-deploy/issues/46)
[x] stable CI for all GA k8s versions >= 1.6 (https://github.com/Shopify/kubernetes-deploy/issues/226)
[x] generic CR support (https://github.com/Shopify/kubernetes-deploy/issues/128)
[x] generic timeout override annotation (https://github.com/Shopify/kubernetes-deploy/pull/232)
[ ] generic monitoring opt-out annotation (related: https://github.com/Shopify/kubernetes-deploy/pull/208)
[x] warning for unsupported k8s versions (https://github.com/Shopify/kubernetes-deploy/issues/152)
[ ] Use $TASK_ID as deploy ID if available (i.e when running in Shipit)  (https://github.com/Shopify/kubernetes-deploy/issues/136)
[ ] Support selector-restricted pruning / sub-namespace deploys (https://github.com/Shopify/kubernetes-deploy/issues/411 / https://github.com/Shopify/kubernetes-deploy/pull/235)
[x] Support AWS EKS (https://github.com/Shopify/kubernetes-deploy/issues/396 / https://github.com/Shopify/kubernetes-deploy/issues/406)
[ ] Make ENV[REVISION] optional (https://github.com/Shopify/kubernetes-deploy/issues/351)
[ ] Add docs for the public interface of the tasks, to make them easier to use from Ruby (https://github.com/Shopify/kubernetes-deploy/issues/105)
[ ] Better support the full range of types of services(https://github.com/Shopify/kubernetes-deploy/issues/265)
[ ] Make sure our prune whitelist includes all appropriate supported resources (https://github.com/Shopify/kubernetes-deploy/issues/271)
[x] Make sure all resources support the timeout override annotation (https://github.com/Shopify/kubernetes-deploy/issues/315)
[ ] Give all of our tasks a consistent set of preflight validations (https://github.com/Shopify/kubernetes-deploy/issues/344)

Use $TASK_ID as deploy ID if available (i.e when running in Shipit)  (#136)
Make ENV[REVISION] optional (#351)

These two are complete.

accepts $stdin as template dir (#410)
Support selector-restricted pruning / sub-namespace deploys (#411 / #235)

These two are also now complete.


Code challenge not properly encoded in Auth request

A very minimal client only app authenticating against an Identity Server 4 instance on local host generated this auth request:
https://localhost:44373/connect/authorize?&response_type=code&code_challenge_method=S256code_challenge=fXsiI0JPtBectyE0/rYp6FqujManyFWfwauxq7YljHI=&state=+j3IlMJ2SIVM6z+KZoRZyJiOoErq1yWLOREznqr4ntQ=&nonce=q7TLYSCLQyiAwqXve7VU12XMPKFYESnjZZRCiB+rk8Y=&client_id=debugClientID&scope=openid%20profile%20email&redirect_uri=https://localhost:44391/
Note the missing ampersand between the code_challenge_method and code_challenge parameters.
Less important: the query string has an unnecessary & before the first parameter name.

Thank you for discovering this issue.
I'm currently working on the update to .NET Core 3.0 Preview 7, It'll be ready shortly and will include a fix for this.

Thanks.


Update README.md

French (German? #2 ) language is missing in "Language Support" in the README.md

Fixed. Thanks for letting me know!


chore(test): use fakeTimers with setTimeout in buffer, skipUntil and window

Description:
After checking out the rxjs repo and running the unit tests, I noticed these 3 tests were always failing. (I'm running Windows 10 with Node 20)
The issue is probably that setTimeout does not necessarily execute at the specified delay.
I tried to reproduce the test in StackBlitz and I had the exact same issue when using timeouts so close to each other.
The PR updates these tests to use fake timers to make sure the tests work as expected.

I had the same issue when running the tests on Windows 10<EMAIL_ADDRESS>It's very annoying to contribute when there are unrelated failing tests.
I came across this interesting stackoverflow question: https://stackoverflow.com/questions/65177373/odd-behavior-with-setinterval-in-node-js-windows-only-works-in-linux that seems to explain the issue.
fakeTimers seems to be the way to go if we don't want to slow down the tests to be consistent in different platforms.


ERROR: Status 1 while: ip tuntap add dev "$VM_NET_TAP" mode tap (line 170/311)

Trying to install this on my OASLOA Mini PC now (Intel N95 Processor, 16 GB LPDDR5 RAM, 512 GB NVMe SSD).
This is the error message that I get:
Attaching to win11
win11    | ❯ Starting Windows for Docker v2.07...
win11    | ❯ For support visit https://github.com/dockur/windows
win11    |
win11    | ❯ Extracting local ISO image...
win11    | ❯ Detecting Windows version from ISO image...
win11    | ❯ Detected: Windows 11
win11    | ❯ Adding XML file for automatic installation...
win11    | ❯ Building Windows 11 image...
win11    | ❯ Creating a 32G growable disk image in raw format...
win11    | ❯ Installing Intel GPU drivers...
win11    | ❯ Installing OpenGL module...
win11    | open: Operation not permitted
win11    | ❯ ERROR: Status 1 while: ip tuntap add dev "$VM_NET_TAP" mode tap (line 170/311)
win11    | open: Operation not permitted
win11    | ❯ ERROR: Status 1 while: ip tuntap add dev "$VM_NET_TAP" mode tap (line 170/311)
win11 exited with code 1
win11    | open: Operation not permitted
win11    | ❯ ERROR: Status 1 while: ip tuntap add dev "$VM_NET_TAP" mode tap (line 170/311)
win11 exited with code 1
win11    | open: Operation not permitted
win11    | ❯ ERROR: Status 1 while: ip tuntap add dev "$VM_NET_TAP" mode tap (line 170/311)
win11 exited with code 1

Here is my docker-compose.yml file:
version: "3"
services:
  win11:
    image: dockurr/windows
    container_name: win11
    devices:
      - /dev/kvm
      - /dev/dri
    environment:
      VERSION: "win11"
      RAM_SIZE: "8G"
      CPU_CORES: "4"
      DISK_SIZE: "32G"
      GPU: "Y"
    cap_add:
      - NET_ADMIN
    volumes:
      - ./win11:/storage
    security_opt:
      - apparmor:unconfined
    sysctls:
      net.ipv4.ip_forward: 1
    networks:
      vlan:
        ipv4_address: <IP_ADDRESS>
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    stop_grace_period: 2m
    restart: on-failure

networks:
  vlan:
    external: true

Not really sure why this doesn't work on my Intel N95 mini PC, but it seems to work just fine with my 5950X system.
(The setup is effectively identical between the two system, other than the fact that my Mini PC doesn't have a 3090 being that it's a 0.34L Mini PC. Both systems are running Proxmox as the hypervisor. Both systems are running an Ubuntu 20.04 LTS LXC container as the basis for the test platform. And I can also confirm with intel_gpu_top on the host system that the Intel UHD Graphics has been passed through to said Ubuntu 20.04 LXC container successfully.)
Thanks.

@kroese
Sorry - forgot to add -- I am running in an _un_privileged LXC container, so I don't think that should be an issue.

@kroese
Added privileged: true to the docker-compose.yml file and it still reports the same error.
Thank you.


Bad performance when route path gets plotted (iOS/Safari)

Like in this video shown, as soon as a route path gets plotted to the map, the performance of the openlayers component gets really bad. This is also the case on really short distances (~1km)
GraphHopper Maps bad performance with route plotted
https://youtube.com/shorts/71r5XXzeqqg?feature=share

Can you have a look if this #391 improves the performance?

Do you have a link to a dev deployment?

I tested it locally (both: this branch and master)
The performace is the same - bad when a route path is displayed


[SPARK-5872] [SQL] create a sqlCtx in pyspark shell

The sqlCtx will be HiveContext if hive is built in assembly jar, or SQLContext if not.
It also skip the Hive tests in pyspark.sql.tests if no hive is available.

Test build #27652 has started for   PR 4659 at commit 0e6629a.

This patch merges cleanly.

LGTM - thanks davies

Test build #27652 has finished for   PR 4659 at commit 0e6629a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27652/
Test PASSed.


docs: add contribution guidelines

the repo should have a contributing guideline to help anyone who wants to get started with contributing to the repo

Hello, I would like to work on this issue. Do you want contributors to make a branch before they PR? or is committing directly to main fine? Any preferred format for PR or git commit messages?

You have a make a new branch and for the commit message it has to follow the following format:

Docs: for documentation
Feat: for adding a new feature
Chore: for mere changes such as spelling etc which won't cause anything you

This issue has been assigned to you


Code for generating embedding visualization

Thank you for the nice work. I read your paper and saw a few embedding visualizations that look very nice, but I can't seem to find the code for generating those in the repo here.
I'm also trying to visualize contextualized embeddings (for BERT). How did you manage to do that? Thank you so much for your help.

Hi, Thanks for your feedback.
The visualizations were done using a dimensionality reduction via PCA. The PCA was computed over the anchor space and then applied on the displayed embeddings. I'll try to clean that code and to add it soon.


Forum text goes out of container

In forum posts, long text goes out of the container

can't reproduce this bug


Allow custom CPU and Memory for Serverless Containers

Is this feature request related to a new or existing Amplify category?
api
Is this related to another service?
Fargate/ECR
Describe the feature you'd like to request
When using serverless containers, the cloud formation defaults to 512 vCPU and 1024 Memory.
If I manually update this to a larger number, amplify overwrites the configuration with the default 512 and 1024.
Describe the solution you'd like
The ability to customize the cloud formation or have an option for sizing within the api add cli.
Describe alternatives you've considered
Manually configuring the cloud formation template.  I've also manually updated the size in the AWS console.
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request
[ ] ⚠ This feature might incur a breaking change

Anybody figured out a workaround? The 1GB limitation really makes these serverless containers extremely limited.

There was a version of the amplify cli that would respect values for cpu and memory that were added to the environmentMap property of backend-config.json:
{
  "hosting": {
    "ElasticContainer": {
      "resourceName": "site",
      "service": "ElasticContainer",
      "providerPlugin": "awscloudformation",
      "domain": ...,
      ...
      ],
      "environmentMap": {
        "cpu": "1024",
        "memory": "4096"
      },
      ...

... but when I do amplify push or amplify publish with the latest version, this no longer has any effect and any manual changes to amplify/backend/hosting/ElasticContainer/container-template.json get overridden, as described by the OP.

Are there any updates on this? The memory limitation renders Amplify's serverless containers useless for most applications.  Is there anything we can do to help move this along?

Does any one know the last version of the amplify cli that actually respected local changes to container-template.json?

Any updates on this? We need bigger tasks!


Expand months in past years

Summary of changes
Asana Ticket: Months in past years should be expanded by default
Whenever we want to display events from years other than the current year, those events per month will be all expanded.

This work might get overwritten by the logic in #880 so no need to review for now.


Project Deployment with Github pages.

This project had already been deployed and you can find the link to the online version of the project below.
https://malembi.github.io/My-Portfolio/

STATUS: APPROVED :green_circle: :clap:
Hi @malembi 🙋♂,
Your project is complete!  There is nothing else to say other than... Great job 👏

Congratulations! 🎉
TO HIGHLIGHT:

Your project is professional :heavy_check_mark:
Your repo is professional :heavy_check_mark:
Well-structured files :heavy_check_mark:
Professional README.md file 💯
No linter errors :heavy_check_mark:

Now you can merge this branch and move on :1st_place_medal:
Optional suggestions

Kindly refer to the inline optional suggestions made. Ensure to apply them to have a professional project that suits recruiters' needs.

Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.
HAPPY CODING AND GOOD LUCK WITH THE COMING ONES :crossed_fingers: :four_leaf_clover:


Installed Components Not Listed After HA Resart

Version of HACS
0.15.10

Describe the bug
Installed components don't appear to be saved. Following an HA restart, all installed components, excluding HACS itself, vanish in the Overview tab.
Content of the hacs.installed file is this both before and after components are installed:
{
    "data": {},
    "schema": "5"
}

Debug log

2019-10-22 06:51:23 DEBUG (MainThread) [hacs.http] Endpoint (store) called
2019-10-22 06:51:27 INFO (MainThread) [engineio.client] Sending packet PING data None
2019-10-22 06:51:27 INFO (MainThread) [engineio.client] Received packet PONG data None
2019-10-22 06:51:49 DEBUG (MainThread) [hacs.http] Endpoint (repository) called
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.data] Saving data
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup for /config/.storage/hacs.hacs, created in /tmp/hacs_backup/hacs.hacs
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup dir /tmp/hacs_backup/ cleared
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup for /config/.storage/hacs.installed, created in /tmp/hacs_backup/hacs.installed
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup dir /tmp/hacs_backup/ cleared
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.data] Save failed!
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.data] Number of installed repositories does not match the number of stored repositories [1 vs 4]
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.data] Saving data
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup for /config/.storage/hacs.hacs, created in /tmp/hacs_backup/hacs.hacs
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup dir /tmp/hacs_backup/ cleared
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup for /config/.storage/hacs.installed, created in /tmp/hacs_backup/hacs.installed
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup dir /tmp/hacs_backup/ cleared
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.data] Save failed!
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.data] Number of installed repositories does not match the number of stored repositories [1 vs 4]
2019-10-22 06:51:52 INFO (MainThread) [engineio.client] Sending packet PING data None
2019-10-22 06:51:53 INFO (MainThread) [engineio.client] Received packet PONG data None
2019-10-22 06:51:53 DEBUG (MainThread) [hacs.api] Endpoint (repository_install) called
2019-10-22 06:51:55 DEBUG (MainThread) [hacs.repository.plugin.nervetattoo.simple-thermostat] Downloading simple-thermostat.js
2019-10-22 06:51:55 DEBUG (MainThread) [hacs.download.downloader] Donwloading https://github.com/nervetattoo/simple-thermostat/releases/download/0.28.0/simple-thermostat.js
2019-10-22 06:51:55 INFO (MainThread) [engineio.client] Received packet MESSAGE data 2["device-data updated","2-f4019b556f8f10bb6412f5dade628923"]
2019-10-22 06:51:55 INFO (MainThread) [socketio.client] Received event "device-data updated" [/]
2019-10-22 06:51:55 INFO (MainThread) [engineio.client] Received packet MESSAGE data 2["device-data removed",[{"ok":true,"id":"b4e44d1e060045b2e28fe30fc282a5b1","rev":"2-b2ddac052a23dafa25237e480c749e58"}]]
2019-10-22 06:51:55 INFO (MainThread) [socketio.client] Received event "device-data removed" [/]
2019-10-22 06:51:56 INFO (MainThread) [engineio.client] Received packet MESSAGE data 2["device-data removed",{"cache-control":"must-revalidate","connection":"close","content-type":"application/json","date":"Tue, 22 Oct 2019 12:51:54 GMT","x-cloudant-action":"cloudantnosqldb.data-document.write","x-cloudant-cost-write":"1","x-couch-request-id":"562df8a11f","x-frame-options":"DENY","strict-transport-security":"max-age=31536000","x-content-type-options":"nosniff","x-cloudant-request-class":"write","x-cloudant-backend":"bm-cc-us-south-20","via":"1.1 lb1.bm-cc-us-south-20<EMAIL_ADDRESS>2019-10-22 06:51:56 INFO (MainThread) [socketio.client] Received event "device-data removed" [/]
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.download.save] Saving /config/www/community/simple-thermostat/simple-thermostat.js
2019-10-22 06:51:58 INFO (MainThread) [hacs.repository.plugin.nervetattoo.simple-thermostat] download of simple-thermostat.js complete
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.data] Saving data
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.backup] Backup for /config/.storage/hacs.hacs, created in /tmp/hacs_backup/hacs.hacs
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.backup] Backup dir /tmp/hacs_backup/ cleared
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.backup] Backup for /config/.storage/hacs.installed, created in /tmp/hacs_backup/hacs.installed
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.backup] Backup dir /tmp/hacs_backup/ cleared
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.data] Save failed!
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.data] Number of installed repositories does not match the number of stored repositories [1 vs 5]
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.http] Endpoint (repository) called
2019-10-22 06:52:02 DEBUG (MainThread) [hacs.http] Endpoint (overview) called

Before:

After:

Upload all the hacs files from .storage

Some other weirdness going on here too:
https://www.reddit.com/r/homeassistant/comments/dl4wdb/hacs_keeps_committing_suicide_any_ideas_on_whats/

@walthowd That is not relevant, open a separate issue here https://github.com/custom-components/hacs/issues/new/choose

Here are the current files:
hacs.zip

You have only "hacs" showing as installed in hacs.repositories.
That does not match your error message, did you remove these files?

I did not. I reinstalled the components, restarted HA, then reopened Community. I've repeated this three times now with identical results.

Yeah, that will not work until the issue is solved.

Good new/bad news
It's fixed in 0.15.11, which is now live.
But unless you have a backup of your hacs.repositories. you will need to "reinstall" your elements after you have upgraded.

Updated to 0.15.11. Elements now remain on the overview tab. Background taskbar is a bit sticky on Firefox. I know, I know, different issue :-)

That issue should be gone in the new (experimental) UI.


Update deployment-vdi-microsoft-defender-antivirus.md

Updated from windows VD to Azure VD

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/6148


does this work for creating groups with any model? or only with users?

I'd like to use this package to create groups of other models.. not users

Hi, works with users only. However, if you don't mind to explain your use case I can look at doing that for next version since an update is due or I can search for other packages that might have what you need.

Well I simply wanted to create groups.. or collections.. for any model
So for example I have users and posts.. and I want users to be able to create lists and add their posts, or any user's posts.. to those lists. Similar to how Twitter let's you use lists
But I found a package that does exactly this.. still it would be nice for you to add it to your package as well. The one I found that does exactly what I wanted is https://github.com/faustbrian/Laravel-Collectable

@musonza could you be kind enough to provide tutorial on how to use this package. my organization has this crowdfunding platform and we want to be able to allow users to create groups and be able to accept and decline request among other things. But currently we are facing difficulties implementing your package on our platform. After running the migrations we are currently lost on what to do next. I would love it if you could provide tutorial on how to implement your package. Thanks.

Did you look at the readme first? It has example usage. Also I haven’t checked if there are issues with new versions of laravel so I may need to update the package.
Sent from my iPhone

On Nov 5, 2018, at 9:14 AM, akwetey<EMAIL_ADDRESS>wrote:
@musonza could you be kind enough to provide tutorial on how to use this package. my organization has this crowdfunding platform and we want to be able to allow users to create groups and be able to accept and decline request among other things. But currently we are facing difficulties implementing your package on our platform. After running the migrations we are currently lost on what to do next. I would love it if you could provide tutorial on how to implement your package. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@musonza  i did read the readme. so maybe what i was looking for is a demo. i'm new to laravel and your readme is not that very easy for newbies like me who wants to implement your package after running the installation. Maybe if we could get demo on how to use the package to create a project it would be very great. Thanks

Unfortunately i don't have time at the moment to create a demo. I would suggest looking at Laravel tutorials first before trying to implement.


fix up lots of errors in generic typing related to DomainTypes...

...and reduce coupling to JpaMetamodel. This is useful for tools like Query Validator which need to instantiate these metamodel objects in a "mocked" environment. It will also make it possible for the Metamodel Generator to generate static references to these metamodel objects.

Please note that this PR modifies @Incubating SPIs, and so it might impact Hibernate Search (cc @yrodiere) and probably does impact Query Validator (but in a good way).

Thanks @yrodiere!

There's something wrong with your IDE's handling of code styles when refactoring :)

Thanks, fixed.

The changes to generics make sense to me (with one exception, see commonAttributes)

I know that one looks very wrong but trust me it's actually correct in principle. See my comment above.

The changes to generics don't seem to affect Hibernate Search as far as I can tell

Excellent.

Marking EntityDomainType as incubating could be problematic for Search, see comments below.

I argue that this is not really a change :) The whole of org.hibernate.metamodel is already incubating.

Alright, so here's goes nuthin'.


Pressing "F" while riding vehicles should unwear the vehicle

Right now, if we press F while riding a vehicle, the Avatar just flies away, but the vehicle stays in the quick select menu and we have to press "R" separately to unwear the vehicle. This also makes it impossible to ride the vehicle again without pressing R.
Pressing F should simply unwear the vehicle just like "space" and "R" does.
https://user-images.githubusercontent.com/35926530/168610559-b472f47b-5856-4b66-8d1f-688a76d96fbd.mp4

This is fixed in our multiplayer branch


Simplifyed latinize function

Removed unnecessary "else"

I ended up adding string type and removed the condition.


Add configuration documentation for new database.backend setting

Oops, merging on wrong branch. Will reopen.


Integrate MindSpore into HF Inference API

MindSpore is a new open-source deep learning training/inference framework that could be used for mobile, edge, and cloud scenarios. To make the widgets on the hub work, we use TinyMS, MindSopore's easy-to-use suite library, to adapt to HF to provide more AI experience services for users.

@Narsil Thank you for your review, I will update it.

@Narsil @xianbaoqian, I update this PR, please review it again, thanks.

Thank you! Looks great! Please also be aware of the changes required in https://github.com/huggingface/hub-docs also :-)

Operational:
curl -X POST --data-binary<EMAIL_ADDRESS>https://api-inference.huggingface.co/models/mindspore-ai/LeNet -H "x-wait-for-model: 1"


[CI] Always pull image for microscope

This change is

test-me-please

@nebril can you elaborate on how this is related to #4879 ?


[documentation] In MaterialUI-Next Documentation, sidebar items disappear randomly in Chrome on Ubuntu 16.04

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
Should be able to peruse the online documentation without any unexpected behaviour, like sidebar items disappearing.
Current Behavior
Clicking on a sidebar item causes all items to disappear, until you scroll the sidebar menu and they reappear.
Steps to Reproduce (for bugs)
Go to https://material-ui-next.com/api/menu-item/ in Chrome on Ubuntu and click around.

@LouisRitchie Could it be a Chrome bug?

It might be a good idea to open a ticket on the Chrome side: https://bugs.chromium.org/p/chromium/issues/list.

OK! I will try and do this for the Chrome team, as it is not reproducable on Firefox.


fix: Make GCM inclusion optional

Description
Fixed issue #381
GCM has been deprecated by google. This PR gives control over to the consumer whether they want to include GCM in their app or not. This is achieved by using Java reflections APIs to dynamically instantiate GCM InstanceID object only when it is available.
fixes issue #381
Compatibility

OS
Implemented

iOS
✅

Android
✅

Windows
❌

Checklist

[X] I have tested this on a device/simulator for each compatible OS
[X] I added the documentation in README.md
[X] I mentioned this change in CHANGELOG.md
[X] I updated the typings files (deviceinfo.d.ts, deviceinfo.js.flow)
[X] I updated the web polyfill (web/index.js)

Technically this will be a breaking change so I used version 2.0.0 in the changelog - let's discuss though.

I am generally a fan keeping with deprecation fixes and dependencies, so I like this, but with the breaking change of course we do need to think about it. I'll review this in a bit and read up on things, but in general with Firebase I think GCM is dead but FCM is alive and we can grab the instance ID that way, so rather than just deprecating we could also potentially bring in the new dependency in the same optional way and still populate the instance id?

https://firebase.google.com/docs/reference/android/com/google/firebase/iid/FirebaseInstanceId#getInstanceId()

In general the code changes seem sane, and it is nice to remove a deprecated dependency from the module build code, even if users still need the dependency in their code. The docs for that seem good. I would still like to see the firebase part added rather than just taking out the GCM part - looks like you just do a static getInstance() method call then getInstanceId() and there's nothing more to it. The react-native-firebase project (from invertase) has a great firebase starter app that makes it pretty trivial to try the thing out (I just used it, and while I had an issue with APIs lower than 18, and it wasn't a full react-native 0.58 forward port it should be fine to check this functionality) - https://github.com/invertase/react-native-firebase-starter

Seems reasonable. I do wonder whether the firebase id usage should be the default behavior or an explicit opt-in? Since there might be users who might want to keep getting GCM ids while they have firebase installed as a dependency for some other reason.

that's a good point. Maybe the names shouldn't be conflated, and as long as it is a breaking change it should be getGCMInstanceId() and getFCMInstanceId()? I think all of this works better as an opt-in, I have one app that is all Firebase, one that is 100% open source (and can't bundle play services) etc, so there are lots of cases where the flexibility of opt-in seems useful

This part is out of my league (I'm a beginner at iOS, my background is Android native) but here's the implementation pointer for iOS (if for no other reason that I'll know where to find it later) https://developers.google.com/instance-id/guides/ios-implementation

hey @Jyrno42 before you get any farther looking into firebase, I want to take a step back. I'm not sure this really belongs in the code at all. The PR for it originally was lightly defended (#47) and never got an iOS implementation I don't think (#60).
#358 contains a proposal accepted in principal to nuke the google-proprietary GCM/FCM instanceID and go with a regular UUID, but the actual implementation is still native.
I see no reason not to do what is proposed here: https://github.com/react-native-community/react-native-device-info/issues/60#issue-163782044 and just be done with as a breaking change.
That is no criticism of your work here, it's the right direction I just think if we're going to break we should go all the way and have a getUniqueId() and clearUniqueId() (that's important for user control...) cleanly in javascript and shed all the dependencies.
What do you think?

@machour I meant to reference you in the above, you were active on #358 and I think now that we have semver if there is ever a time to clean the unique id thing up, this is it - and before I (accidentally) dig in deeper by exchanging the play services GCM dependency for a firebase dependency

Ok. Ping me if I should continue with this or close it.

I have not heard dissent, so I'm going to close this. If people want the firebase device id (which is what this feature exposes really, assuming everyone updates from GCM to FCM) then they should integrate firebase.
And alternatively for a proprietary unique id that we provide, we have tracking issues.
I believe (correct me if wrong!) that this will satisfy your actual goal at least, which is that react-native-device-info will be google / proprietary dependency free with 2.0, and the unique id crowd should be satisfied as well


Missing trained models

I can't find the models folder, please add them, thank you

You can find the models here: GDrive link
I've included the keypoint_detection and player-ball detection model.


Add support for matrix square root

Please consider adding a matrix square root operation, with gradients.
It will make it possible to implement stable whitening, which could be broadly useful, in addition to being useful for my particular problem :)
Note, Cholesky whitening is currently supported in TensorFlow, but I'm not aware of any guarantees it provides regarding the correspondences between whitened and non-whitened data.
It appears Eigen already has a matrix square root function, so this might not be too hard to implement.

CC @rmlarsen @agarwal-ashish in case they have any comments here.
Generally sounds like a good idea, contributions welcome.

Has this been claimed? I am looking to make my first contribution and I think this would be a good one to get started with.

@rmlarsen @agarwal-ashish @asimshankar
I was hoping to essentially redo the Eigen square root function. But, I had a quick question as a newer contributor:
Should the PR only be made when the function is fully supported in all C, C++, and Python?

@bhairavmehta95 same question here.
I'd say that you can provide the op in c++ for instance and an other contributor will add the python part...

@theflofly thanks for the response. I guess I will assign myself informally to the Python implementation, and move on from there!

BTW, for symsqrt I've been using function below. No gradients, but will be after SVD gradients are supported as in https://github.com/tensorflow/tensorflow/issues/6503
def symsqrt(mat, eps=1e-7):
  """Symmetric square root."""
  s, u, v = tf.svd(mat)
  # sqrt is unstable around 0, just use 0 in such case
  si = tf.where(tf.less(s, eps), s, tf.sqrt(s))
  return u @ tf.diag(si) @ tf.transpose(v)

If you just want to whiten data, and backprop through it, you can use Cholesky.
Whitening is accomplished by using modified Cholesky Decomposition which is just a couple of arithmetic ops on top of Cholesky, here's a mini tutorial

@yaroslavvb thanks for the mini tutorial; it looks like it should be more efficient than just computing cholesky(inverse(covariance_matrix)).
However, for a dataset with dimension > 1 there are infinitely many whitening matrices, because a rotation of white data is still white.
The Cholesky approach produces just one of these possible matrices.
As mentioned in the first post, a matrix square root operation would make it possible to produce matrices with more desirable properties, e.g. a matrix which maximizes correlation between whitened and non-whitened data.

@emchristiansen Thesymsqrt function above will produce whitening matrix of maximum trace

BTW, this paper talks about constraints enforced by Cholesky whitening which are indeed different from square root whitening. The symsqrt version above should be equivalent to matrix square root when the matrix is invertible (it's "ZCA whitening" in the paper)

@bhairavmehta95 do you intend to implement this?
If not I might give it a shot or try another approach.
@yaroslavvb that's the paper I linked to in the first post :)

Is someone currently working on this issue at the moment @bhairavmehta95 @emchristiansen? I intent to start contributing to tensorflow. I have tried to figure out the roadmap to implement the matrix_sqrt feature and this is what I have come up with:

[ ] Create matrix_sqrt_op.cc in tensorflow/tensorflow/core/kernels
[ ] Add matrix_sqrt_op entry to tensorflow/tensorflow/core/kernels/BUILD
[ ] Write a test function in tensorflow/tensorflow/core/ops/linalg_ops_test.cc
[ ] Register op in tensorflow/tensorflow/core/ops/linalg_ops.cc
[ ] Add a MatrixSqrt entry to tensorflow/tensorflow/core/ops/ops.pbtxt
[ ] Define _MatrixSqrtGrad(op, grad) in tensorflow/tensorflow/python/ops/linalg_grad.py
[ ] Write a test function in tensorflow/python/kernel_tests/linalg_grad_test.py
[ ] Write a go wrapper in tensorflow/go/op/wrappers.go

Please let me know if what I have figured out is correct or if there are any changes that should be made to this plan.

@lakshayg I'm not currently working on this, and I'd guess @bhairavmehta95 isn't working on it either. So I think it's yours if you want it :)
I'm not familiar enough with the C++ side of TensorFlow to meaningfully comment on your plan, but it seems like a good start at least.
If I were you (and I'm guessing this is what you did), I'd just model the code on another unary matrix op, e.g. matrix inverse.

It looks like over a year has passed since the last comment so I went ahead and added matrix square root op support in PR #20611. Any feedback would be much appreciated!

Closing as this is resolved


Bug Report: What is reordering VT escape sequences in my string?

Environment
Windows build number: Microsoft Windows [Version 10.0.18362.239]
Windows Terminal version (if applicable): (built from latest source as of July 17th, 2019, morning)

I am working on implementing some new VT escape sequences (PR here), but I've run into a strange problem. What the sequences do (or are supposed to do) is not important here. The problem is that in certain circumstances, something is reordering VT escape sequences in my content (which is very surprising to me).
The control sequences in question are XTPUSHSGR and XTPOPSGR: [CSI]#p and [CSI]#q, respectively. Note in the string below, how there is an XTPUSHSGR sequence, then a normal SGR sequence to set the color to red, then an XTPOPSGR sequence (and then a normal SGR sequence to reset the color).
When I open OpenConsole.sln in Visual Studio 2019, with the CascadiaPackage set as the default project to debug, and then F5 to start debugging it, it launches a terminal running Windows PowerShell. When I send my string to the console, something is moving the XTPUSHSGR and XTPOPSGR sequences to the very beginning of the string!
Steps to reproduce

Start OpenConsole.sln in Visual Studio 2019. Make sure CascadiaPackage is the default project, and platform is set to x64, and build the solution if necessary.
F5 to start debugging a new instance. You should now have a PowerShell instance in the terminal.
In the PowerShell instance in the terminal, run the following commands:

 $esc = [char] 0x1b
 $s = "Hello. Push:${esc}[#p ${esc}[91m this text is RED Pop:${esc}[#q FG should " +
      "no longer be red (unless it was red before) courtesy reset: ${esc}[0m"

Set a breakpoint at TerminalControl.dll!Microsoft::Console::VirtualTerminal::StateMachine::ProcessString (the two-parameter one).
In the PowerShell instance in the terminal, run the command $s to output the string.
When you hit the breakpoint, observe the value of rgwch.

Expected behavior

The content of the string should be just as it was set in PowerShell.
Actual behavior

The XTPUSHSGR and XTPOPSGR sequences have been moved to the beginning of the string!
My first thought was that PowerShell must be doing something funny, but I attached windbg to the PowerShell and set a breakpoint on kernel32!WriteConsoleW, and the string passed in there is correct. So something is happening after the string has left PowerShell's hands.

I'm willing to bet serious money that when conhost in conpty mode processes a long string with VT sequences in it that conhost doesn't understand, we render the failing VT sequences before we repaint for the rest of the string.
So for your example string: "Hello. Push:${esc}[#p ${esc}[91m this text is RED Pop:${esc}[#q FG should no longer be red (unless it was red before) courtesy reset: ${esc}[0m"
Conhost is going to try and process that entire string in one frame. Conpty is only going to render the output at the end of a frame, once every 60th of a second. However, as soon as the adapter (adaptDispatch) sees a sequence it doesn't understand, it will dispatch it to the terminal immediately. So the push/pops will appear in the stream before the rest of the frame is rendered.
Possible solutions:

A workaround might just be to split the push/pops into separate strings to write to the terminal. It might trigger a frame in between them and the actual text, and it'll appear correctly.

$push = "${esc}[#p"
$red = "${esc}[91m"
$pop = "${esc}[#q"
$reset = "${esc}[0m"
$s1 = "Hello. Push:"
$s2 = "this text is RED Pop:${esc}[#q FG should no longer be red (unless it was red before) courtesy reset: ${esc}[0m"
$s3 = "FG should no longer be red (unless it was red before) courtesy reset: "

A more correct solution would be to have conpty actually be able to process those sequences, though this issue will remain for any sequences conhost doesn't understand
Maybe the most correct solution would be to have conpty force a frame when it encounters a sequence it doesn't recognize. That might really hit perf though, so I'd be cautious with that change.

Whoa. Interesting. Thanks for the explanation, @zadjii-msft ; I would never have figured that out.
Part of my problem seems to be a debugging problem: in my branch with some code changes to handle those sequences, I implemented the push/pop commands in the Terminal class, but in the adaptDispatch stuff, I just returned false. I had set breakpoints in the adaptDispatch functions... but when debugging the CascadiaPackage, those breakpoints are disabled, claiming that no symbols have been loaded for the document, so I thought that code was not even running.
But the code definitely IS running... if I change the adaptDispatch layer to just return true (without actually doing anything), the behavior changes!
Although I don't understand the changed behavior... now the push/pop control sequences are simply gone. Should the adaptDispatch layer be doing something to send the sequences on down the line?

Oh that's because debugging the Terminal's conhost is a pain. Basically, Windows Terminal is running attached to another conhost process, and that conhost process is where adaptDispatch is running. To be able to debug it with VS, you need to manually attach VS to the child conhost process that the Terminal started.

Marking this one triaged; it's definitely something we should look at, but we may not have the bandwidth to do so.


i18n(es): Update components.mdx

Description

Closes # N/A
What does this PR change? Give us a brief description.
Updates components.mdx based on these 2 commits ce05dfb4b1e9b90fad057d5d4328e4445f986b3b & e3e38aee2fcea794043005e258cc892ea7e2b84e

Thank you for your reviews peeps 😁

@delucis and I clicking the merge button


k8s agent ingress

Running Portainer (CE) in Docker.
Adding k8s agent with ingress using below manifest but not able too add :(
apiVersion: v1
kind: Namespace
metadata:
  name: portainer
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: portainer-sa-clusteradmin
  namespace: portainer
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: portainer-crb-clusteradmin
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
- kind: ServiceAccount
  name: portainer-sa-clusteradmin
  namespace: portainer
---
apiVersion: v1
kind: Service
metadata:
  name: portainer-agent
  namespace: portainer
spec:
  selector:
    app: portainer-agent
  ports:
    - name: http
      protocol: TCP
      port: 9001
      targetPort: 9001
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: portainer
  annotations:
    kubernetes.io/ingress.class: nginx
  namespace: portainer
spec:
  rules:
    - host: portainer.<IP_ADDRESS>.nip.io
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: portainer-agent
                port:
                  number: 9001
---
apiVersion: v1
kind: Service
metadata:
  name: portainer-agent-headless
  namespace: portainer
spec:
  clusterIP: None
  selector:
    app: portainer-agent
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: portainer-agent
  namespace: portainer
spec:
  selector:
    matchLabels:
      app: portainer-agent
  template:
    metadata:
      labels:
        app: portainer-agent
    spec:
      serviceAccountName: portainer-sa-clusteradmin
      containers:
      - name: portainer-agent
        image: portainer/agent:2.6.0
        imagePullPolicy: Always
        env:
        - name: LOG_LEVEL
          value: INFO
        - name: AGENT_CLUSTER_ADDR
          value: "portainer-agent-headless"
        - name: KUBERNETES_POD_IP
          valueFrom:
            fieldRef:
              fieldPath: status.podIP
        ports:
        - containerPort: 9001
          protocol: TCP

Error

Hi
pl share the k8s version and also some context on environment details

Using KIND (1.20)

from the network where portainer is running, can you reach http://portainer.<IP_ADDRESS>.nip.io/agent ?

Sorry! just deployed KIND in new host (AWS EC2) and git new PUBLIC IP (<IP_ADDRESS>),so ingress URL (portainer.<IP_ADDRESS>.nip.io) got changed.

from the network where portainer is running, can you reach http://portainer.<IP_ADDRESS>.nip.io/agent ?

[root@ip-172-31-35-160 ~]# curl http://portainer.<IP_ADDRESS>.nip.io/agent
Client sent an HTTP request to an HTTPS server.
[root@ip-172-31-35-160 ~]# curl http://portainer.<IP_ADDRESS>.nip.io/agent
Client sent an HTTP request to an HTTPS server.

Running POD,SVC,ING

[root@ip-172-31-35-160 ~]# oc get all,ing -n portainer
NAME                                  READY   STATUS    RESTARTS   AGE
pod/portainer-agent-c5d989979-vt7lz   1/1     Running   0          8m47s

NAME                               TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)    AGE
service/portainer-agent            ClusterIP   <IP_ADDRESS>   <none>        9001/TCP   8m48s
service/portainer-agent-headless   ClusterIP   None         <none>        <none>     8m48s

NAME                              READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/portainer-agent   1/1     1            1           8m48s

NAME                                        DESIRED   CURRENT   READY   AGE
replicaset.apps/portainer-agent-c5d989979   1         1         1       8m48s

NAME                                  CLASS    HOSTS                                                          ADDRESS     PORTS   AGE
ingress.networking.k8s.io/portainer   <none>   portainer.<IP_ADDRESS>.nip.io,portainer.<IP_ADDRESS>.nip.io   localhost   80      8m48s

POD logs

[root@ip-172-31-35-160 ~]# oc logs -f portainer-agent-c5d989979-vt7lz -n portainer
2021/07/02 00:20:21 [INFO] [main] [message: Agent running on Kubernetes platform]
2021/07/02 00:20:24 [INFO] serf: EventMemberJoin: -portainer-agent-c5d989979-vt7lz <IP_ADDRESS>
2021/07/02 00:20:24 [INFO] [http] [server_addr: <IP_ADDRESS>] [server_port: 9001] [secured: true] [api_version: 2.6.0] [message: Starting Agent API server]

Running Portainer as Docker

[root@ip-172-31-35-160 ~]# docker ps -a
CONTAINER ID   IMAGE                    COMMAND                  CREATED              STATUS              PORTS                                                                          NAMES
c872b334836f   portainer/portainer-ce   "/portainer"             About a minute ago   Up About a minute   <IP_ADDRESS>:8000->8000/tcp, <IP_ADDRESS>:3000->9000/tcp

Docker logs

[root@ip-172-31-35-160 ~]# docker logs -f c872b334836f
2021/07/02 00:18:47 Starting Portainer 2.6.0 on :9000
2021/07/02 00:18:47 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]
2021/07/02 00:18:47 [DEBUG] [internal,init] [message: start initialization monitor ]
2021/07/02 00:18:47 server: Reverse tunnelling enabled
2021/07/02 00:18:47 server: Fingerprint 90:cb:96:20:d1:92:27:be:ee:91:6b:69:a9:79:ab:f7
2021/07/02 00:18:47 server: Listening on <IP_ADDRESS>:8000...
2021/07/02 00:20:52 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)
2021/07/02 00:20:52 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)
2021/07/02 00:22:58 http error: Unable to get endpoint type (err=Failed request with status 400) (code=500)
2021/07/02 00:23:19 http error: Unable to get endpoint type (err=Get https://http//portainer.<IP_ADDRESS>.nip.io/agent/ping: dial tcp: lookup http on <IP_ADDRESS>:53: no such host) (code=500)
2021/07/02 00:23:33 http error: Unable to get endpoint type (err=Get https://http//portainer.<IP_ADDRESS>.nip.io/ping: dial tcp: lookup http on <IP_ADDRESS>:53: no such host) (code=500)
**2021/07/02 00:25:02 http error: Unable to get endpoint type (err=Get https://http//portainer.<IP_ADDRESS>.nip.io/ping: dial tcp: lookup http on <IP_ADDRESS>:53: no such host) (code=500)
2021/07/02 00:25:15 http error: Unable to get endpoint type (err=Get https://http//portainer.<IP_ADDRESS>.nip.io/agent/ping: dial tcp: lookup http on <IP_ADDRESS>:53: no such host) (code=500)
2021/07/02 00:27:52 http error: Unable to get endpoint type (err=Get https://http//portainer.<IP_ADDRESS>.nip.io/agent/ping: dial tcp: lookup http on <IP_ADDRESS>:53: no such host) (code=500)**

Let me know know if you need anything more ?

is your reverse proxy / ingress redirecting http to https?
Also what are you using for Endpoint url in Portainer UI when adding the new endpoint?

can you remove the http:// from endpoint url and try?

is your reverse proxy / ingress redirecting http to https?

I think no.
Just install Kubernetes using kind
Create a cluster using kind: https://kind.sigs.k8s.io/docs/user/ingress/#create-cluster
CLUSTER=kube-central
HIP=`ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1`

cat <<EOF > kind-kube-install.yaml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: $CLUSTER
networking:
  apiServerPort: 19091
  apiServerAddress: $HIP
nodes:
- role: control-plane
  extraPortMappings:
  - containerPort: 30080
    hostPort: 80
  - containerPort: 30443
    hostPort: 443
  extraMounts:
  - hostPath: /var/run/docker.sock
    containerPath: /var/run/docker.sock
- role: worker
EOF
kind create cluster --config kind-kube-install.yaml

Then run following ..

Same error ..

logs from portainer again plz
I want to see the error message

logs from portainer again please
I want to see the error message

2021/07/02 00:49:12 http error: Unable to get endpoint type (err=Failed request with status 400) (code=500)
2021/07/02 00:50:05 http error: Unable to get endpoint type (err=Failed request with status 400) (code=500)
2021/07/02 00:55:52 http error: Unable to get endpoint type (err=Failed request with status 400) (code=500)

Thanks for that, I'll give it a try and report back.. I've also asked if having an agent behind a reverse proxy should work.
Can you browse to https:///ping and show the ssl cert that is presented?

Seem agent is running over https, if I do following setup
I got

2021/07/02 01:19:13 http error: Unable to get endpoint type (err=Get https://portainer.<IP_ADDRESS>.nip.io:80/ping: http: server gave HTTP response to HTTPS client) (code=500)

Yes, you need add an annotation to the ingress to tell it to communicate with the backend using https
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
With that I can get curl to work, when you do
curl -k -v https://<agent url>/ping
I get a 204 as expected

Try using a loadbalancer or nodeport option.

I know its works with LB &NP but some how need to fix with ingress endpoint.
Thanks for digging into this issue 👍

@samdulam
Some good news,  after adding HTTPS annotations nginx.ingress.kubernetes.io/backend-protocol: HTTPS in ingress, agent works 💯
Thanks for pointing me.
Will explore more ...

is the endpoint created and working?

is the endpoint created and working?

YES.

But got similar error in portainer logs ...
2021/07/02 01:05:53 http error: Unable to get endpoint type (err=Get https://http//portainer.<IP_ADDRESS>.nip.io/ping: dial tcp: lookup http on <IP_ADDRESS>:53: no such host) (code=500)
2021/07/02 01:06:40 http error: Unable to get endpoint type (err=Get https://http//portainer.<IP_ADDRESS>.nip.io/ping: dial tcp: lookup http on <IP_ADDRESS>:53: no such host) (code=500)
2021/07/02 01:06:59 http error: Unable to get endpoint type (err=Get https://portainer.<IP_ADDRESS>.nip.io:80/ping: http: server gave HTTP response to HTTPS client) (code=500)
2021/07/02 01:07:20 http error: Unable to get endpoint type (err=Failed request with status 400) (code=500)
2021/07/02 01:08:23 http error: Unable to get endpoint type (err=Failed request with status 400) (code=500)
2021/07/02 01:10:05 http error: Unable to get endpoint type (err=Get https://http//portainer.<IP_ADDRESS>.nip.io/ping: dial tcp: lookup http on <IP_ADDRESS>:53: no such host) (code=500)
2021/07/02 01:10:29 http error: Unable to get endpoint type (err=Failed request with status 400) (code=500)
2021/07/02 01:10:44 http error: Unable to get endpoint type (err=Get https://portainer.<IP_ADDRESS>.nip.io:80/ping: http: server gave HTTP response to HTTPS client) (code=500)
2021/07/02 01:18:20 http error: Unable to get endpoint type (err=Get https://portainer.<IP_ADDRESS>.nip.io:80/ping: http: server gave HTTP response to HTTPS client) (code=500)
2021/07/02 01:18:48 http error: Unable to get endpoint type (err=Failed request with status 400) (code=500)
2021/07/02 01:19:13 http error: Unable to get endpoint type (err=Get https://portainer.<IP_ADDRESS>.nip.io:80/ping: http: server gave HTTP response to HTTPS client) (code=500)
2021/07/02 01:29:40 http error: Unable to get endpoint type (err=Failed request with status 400) (code=500)

@samdulam
Reopening as behavior not smooth.
Couple of scenario ..

If I run potainer (not agent) in kubernetes and expose ingress then Potainer is opening but not able add Portainer (agent) ingress.
If I run Potainer in Docker and add Portainer (agent) ingress with portainer-agent.<IP_ADDRESS>.nip.io:8080 its NOT adding but with this portainer-agent.<IP_ADDRESS>.nip.io is adding.

Some interesting behavior 👎

While running Portainer (not agent) on kubernetes where is the agent running? On the same cluster or a different cluster?
In Docker, why were you trying 8080?

While running Portainer (not agent) on kubernetes where is the agent running? On the same cluster or a different cluster?

Tried with both same and remote.

Running Kind with multiple cluster on same node and two ingress controller running in two different cluster. One uses host port 80 and 443 another uses 8080 6443.
So for 1st cluster I use 80 after ingress URL and for 2nd cluster I put 8080 after ingress URL to access from browser.

Are you able to curl -k -v https://<agent url>:8080/ping ?


refactor: create_fixed_base_constraint cleanup

There was some unused code in create_fixed_base_constraint so I cleaned that up.

#6047  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @benesjan and the rest of your teammates on  Graphite

Benchmark results
Metrics with a significant change:

note_successful_decrypting_time_in_ms (32): 523 (-16%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
772
772
772

l1_rollup_calldata_gas
6,808
6,808
6,820

l1_rollup_execution_gas
587,289
587,289
587,301

l2_block_processing_time_in_ms
1,484 (-10%)
5,388 (-4%)
10,394 (-1%)

note_successful_decrypting_time_in_ms
236 (+4%)
:warning: 523 (-16%)
1,053 (-2%)

note_trial_decrypting_time_in_ms
23.2 (+15%)
24.5 (+3%)
58.8 (-51%)

l2_block_building_time_in_ms
18,629 (-3%)
73,073 (-2%)
145,295 (-2%)

l2_block_rollup_simulation_time_in_ms
18,424 (-3%)
72,323 (-2%)
143,835 (-2%)

l2_block_public_tx_process_time_in_ms
8,416 (-2%)
33,219 (-1%)
66,322 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
16,172 (-7%)
31,299 (-3%)

note_history_successful_decrypting_time_in_ms
1,330
2,753 (+4%)

note_history_trial_decrypting_time_in_ms
131 (+61%)
81.2 (+11%)

node_database_size_in_bytes
20,697,168
37,335,120

pxe_database_size_in_bytes
29,868
59,425

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
157 (-1%)
47,763
31,978

private-kernel-inner
175 (-1%)
80,794
31,978

private-kernel-ordering
136
57,732
49,313

base-parity
9.06 (+2%)
128
265

root-parity
65.6 (+2%)
1,244
265

base-rollup
11,323 (-7%)
110,926
957

root-rollup
49.9 (-1%)
4,551
821

public-kernel-app-logic
1,565 (-2%)
62,017
26,202

public-kernel-tail
4,205 (-2%)
168,566
3,812

merge-rollup
3,205
2,760
957

public-kernel-teardown
119 (-1%)
62,017
34,711

public-kernel-setup
129 (-2%)
62,017
34,711

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.9
17.7
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.7
31.8
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.637
0.547
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
51.7
80.1
260
504 (+1%)
979
1,940
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.529
0.495
0.472
0.471 (+1%)
0.465
0.464
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
60.8
120
375
741 (+1%)
1,467
2,907
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
105
208
692
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.535
0.536
0.509 (-1%)
0.510 (+1%)
0.508
0.506
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
66.9

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
108

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.589

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
51,411
536,920

Transaction size based on fee payment method

Metric
native fee payment method
fpc_public fee payment method
fpc_private fee payment method

tx_with_fee_size_in_bytes
897
1,145
1,345

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes
2 new note hashes

tx_pxe_processing_time_ms
1,218 (-3%)
855
3,478

Metric
1 public data writes
2 public data writes
3 public data writes
4 public data writes
5 public data writes
8 public data writes

tx_sequencer_processing_time_ms
837
768
1,362
903
2,081
1,083


Release new version

if new version detected, tagging script should not bump version with following lines.
https://github.com/prezzemolo/pictograph/blob/da4cb6d6c33dd83090018f770374b99e41fefbde/.travis/tag.sh#L65-L72


use cached Lazarus on a Github Actions workflow using fpcup

https://github.com/ollydev/setup-lazarus-fpcup

closed by #44


android emulator has been changed last update

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:
(You can skip this if you're fixing a typo or adding an app to the Showcase.)
Explain the motivation for making this change. What existing problem does the pull request solve?
Prefer small pull requests. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.
Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.
Make sure tests pass on both Travis and Circle CI.
Code formatting
Look around. Match the style of the rest of the codebase. See also the simple style guide.
it now uses ctrl or cmd + m for the dev menu.

https://github.com/facebook/react-native/issues/6919

Thanks! Could you please capitalize "OS X", "Windows" & "Android" respectively?

missed those. -done.

Can you specify which version of the Android emulator and below respond to the F2 and Page Up commands? Saying, "In the old version..." isn't so helpful because it's relative to when you are reading this doc.

@sunnylqm would you mind taking a look at this pull request? It's been a while since the last commit was reviewed.

@ThaJay updated the pull request.

sorry for not updating sooner. Added Android emulator version number.

@ThaJay updated the pull request.

@sunnylqm would you mind taking a look at this pull request? It's been a while since the last commit was reviewed.

@ThaJay updated the pull request.

@sunnylqm would you mind taking a look at this pull request? It's been a while since the last commit was reviewed.

@dsibiski

Thanks @ThaJay, lgtm.

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.

Something went wrong when importing this pull request. Please cc someone from the team at fb to help with importing this.

@dsibiski what went wrong here? the tutorial file seems to be gone from the repo but it is still on the docs site.

This pull request hasn't seen activity in a while. If you still want to merge this, please open a new pull request.


consider docker compose in main directory

docker compose is currently here:  https://github.com/raprasad/TwoRavens-docker
consider moving to main repo: although will only get automated builds out of one service

[ ] add compose file
[ ] within setup?

[ ] individual docker file for rook
[ ] nginx Dockerfile and script

closing.  NIST is using kubernetes


Allow custom FHIR-resources in SearchOptionsFactory

Description
Use IModelProvider.IsKnownResource to determine if resource is supported in SearchOptionsFactory
Related issues
#3881
Testing
Unit tests
FHIR Team Checklist

Update the title of the PR to be succinct and less than 65 characters
Add a milestone to the PR for the sprint that it is merged (i.e. add S47)
Tag the PR with the type of update: Bug, Build, Dependencies, Enhancement, New-Feature or Documentation
Tag the PR with Open source, Azure API for FHIR (CosmosDB or common code) or Azure Healthcare APIs (SQL or common code) to specify where this change is intended to be released.
Tag the PR with Schema Version backward compatible or Schema Version backward incompatible or Schema Version unchanged if this adds or updates Sql script which is/is not backward compatible with the code.
[ ] CI is green before merge
Review squash-merge requirements

Semver Change (docs)
Patch|Skip|Feature|Breaking (reason)

/azp run

/azp run


any "convolutional" support yet?

Hi,
I have a network with sparse 1d input vectors and want first layer to be convolutional. Can I do that with dsstne?
The api does mention "Convolutional" but the documentation mentions it's not supported for "image", while my input is not image.
Would you please clarify?
Thank you.
Ameen.

Covolutional Layer is not supported but the time line for this is within a month,

great, thanks for your quick response.


Clarified scenarios that could lead to privilege escalation

Made it clearer that it's not just creating pods which enables the privilege escalation. It's all workloads, all reconfiguration of workloads, and conceptually the creation and reconfiguration of custom resources which create workloads.

I have now signed the CLA.

I have fixed the "commit missing GitHub user" issue

@kubernetes/sig-security-pr-reviews how's this looking in terms of technical accuracy? Is the technical meaning OK to merge / what's the smallest set of changes that might fix that?

/ltgm

BTW @geoffcline you meant /lgtm

actually, I meant "lovely, thanks, get merging" :)
/lgtm

/assign @annajung
Thanks for the reviews! Assigning as requested by the bot above

/lgtm

Preview of updated page: https://deploy-preview-29378--kubernetes-io-main-staging.netlify.app/docs/reference/access-authn-authz/authorization/
This PR improves the Authorization Overview page with more insightful detail of privilege escalation and escalation paths
/lgtm

Congrats on your first contribution to k/website @RichardoC! Thank you!
/approve
/label tide/merge-method-squash


Update repositories.txt

@ArduinoBot

@ArduinoBot

Hello @MaximeLBG. I see you have fixed the error reported by the bot. However, Library Manager works exclusively from Git tags, so the bot won't be able to see the fix you made until you create a new release or tag in the library repository.
If you look at the repository contents at the latest tag, you can see that the version the bot is checking still has the problem:
https://github.com/MaximeLBG/CV7OEMFR/tree/v3.1.2
Once you have done that, simply mention @ArduinoBot in a comment here to trigger it to run the automated checks again. After those are passing, your library will automatically be added to Library Manager.
If you have any questions or concerns, please let me know.
Regards, Per

Closing as duplicate of https://github.com/arduino/library-registry/pull/1356


More prominent underscore?

Currently underscore is mapped to the same key as Space, but on the Symbols layer.
This makes some intuitive sense, but it may be better to have it somewhere on the base layer?

Currently trialing two solutions.

A combo press of the primary thumb keys (backspace and space)
The key to the left of the left pinky, mapped to _ (\)

A mirror of the - (/) key on the right hand


MB-15494 remove appCtx from test setup functions

Jira ticket for this change
Summary
This ticket removes appCtx from the test setup functions in pkg/handlers/internalapi
Setup to Run Your Code
Run make server_test and make sure tests pass
Verification Steps for Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Backend

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Messages

:book:
:link: MB-15494

  Generated by :no_entry_sign: dangerJS against 9ead1f08713f0f270f43e54083211d53407cbbf1


Pass specType through wavebin Series

specType does not appear to properly pass through wavebin series
Steps to reproduce:
from tshirt.pipeline import spec_pipeline
spec = spec_pipeline.spec()
spec.make_wavebin_series(specType='Optimal')
spec.print_noise_wavebin(nbins=1)
spec.make_wavebin_series(specType='Sum')
spec.print_noise_wavebin(nbins=1,recalculate=False)

Expected different results but get the same results.

Fixed by 98183d52630b618157a15bde912667e2546a96a4

Fixed by 98183d52630b618157a15bde912667e2546a96a4


Ensure  values in all cases where an IMPVALUE does not exist

Ensure <Null> values in all cases where an IMPVALUE does not exist: It appears that a few counties have provided <Null> values in all cases where an IMPVALUE does not exist. The majority of the data contributors provide a value 0 instead of <Null>, which indicates that there is no
improvement, whereas <Null> would indicate there is missing or no data. This practice adds a level of
granularity and value to the data.
Recommendation:  This precedent is expected to be adopted but currently pending discussion w/ DOA.  It could be enforced through the Validation and Submission Tool but the exact logic for implementing this is not researched yet.
It would be valuable to:

Take a look at the V3 parcel layer (D: but keep in mind that statewide logic will have changed any "" strings or 0 values to <Null>)
Take a look at the V3 OneNote (D: but keep in mind that this issue shouldnt show up since all tat was done was check to ensure the field only included the 3 appropriate domains.)
We'll need to figure out a way to isolate this type of condition (where IMPVALUE = 0) so that logic can be built.
D: looking at the final V3 parcel layer, we do have a number of records where CNTASSDVALUE is populated, but LNDVALUE and IMPVALUE are both populated as <Null>
D: I will look at Portage County's data, b/c I know on first submission they had a good illustration of the issue.

Some stats from research of the V3 Layer:
CNTASSDVALUE <> NULL & IMPVALUE IS NULL  -- 46746 Records
(Waukesha, Dodge, Clark, Polk, Brown)
*IMPROVED is NULL for all
*4985 w/ CNTASSDVALUE = 0
So, 41,761 Records (w/ '0' records removed)
CNTASSDVALUE <> NULL & (LNDVALUE & IMPVALUE = NULL) -- 17164 Records
(Waukesha, Polk, few Dodge & Ozaukee)
*4985 w/ CNTASSDVALUE = 0
So, 12,179 Records (w/ '0' records removed)
This is a tough one to tackle b/c we don't know how it comes out of the county's taxroll system and can expect that it will vary from one county to the next...
Some Proposed Options

Calculate IMPROVED in statewide logic and disregard values submitted

Check CNTASSDVALUE (if populated) ensure that LNDVALUE and/or IMPVALUE is either populated w/ true number or has '0'(no NULL allowed) - this would solve calc of IMPROVED issues observed

Integrate 'Address Completeness' rating and for all records w/ highest score (complete site address), use that to compare/calc improved??  (Could work, but could also pose challenges...)

As per 12/12/17 meeting with D, will check logic to ensure that bi-directional testing works.

YES if IMPVALUE is > $0
NO if IMPVALUE is = $0
 if IMPVALUE is

If the function correctly tests for these conditions, leave function as-is.

Validated against dummy data, the above logic is flagged as appropriate in all test scenarios. Will add note to documentation for the error message "Value provided in IMPROVED doesnt correspond with IMPVALUE for this record - please verify." instructing the user how to verify.


Xenial repo doesn't contain docker-engine

Ubuntu 16.04 is going to be released soon.
There is https://apt.dockerproject.org/repo/dists/ubuntu-xenial/ already, but package is not there.

Same issue as
https://github.com/docker/docker/issues/22132

Apparently no. Looks like it is what others also encounter in comments in #21461

@nazar-pc  my comment about issue is that link same issue #21461 as #22132 opened for that for same reason

Yes, I think @tiborvass was already looking into this

Can confirm this issue.
Xenial is coming out in ~24 hours, or so #ubuntu+1 IRC tells me, and there's still no packages.

Chiming in.. I'm seeing this as well. The package doesn't appear to be properly listed for apt to find, but I am able to download the deb manually and install it:
$ wget -q https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_1.11.0-0~xenial_amd64.deb
$ sudo dpkg -i docker-engine_1.11.0-0-xenial_amd64.deb
Selecting previously unselected package docker-engine.
(Reading database ... 169961 files and directories currently installed.)
Preparing to unpack docker-engine_1.11.0-0-xenial_amd64.deb ...
Unpacking docker-engine (1.11.0-0~xenial) ...
Setting up docker-engine (1.11.0-0~xenial) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (229-4ubuntu4) ...
$ docker --version
Docker version 1.11.0, build 4dc5990

@nazar-pc @killarny @ajsb85 @jaytheking @danbeaulieu @thuandt @eliezedeck @Someguy123 @Mellnik @icewheel
Please try installing docker on xenial now, it should work.

@tiborvass xenial, amd64 - it works now :+1:

Thanks, I have other reports as well that it seems to work now, so i'm going to close this. Feel free to comment if you see something weird.

xenial, i386 doesn't work

I tried xenial i386 main. It does't work.
sudo apt-get update
sudo apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-engine

@bhaskarpalit that's expected; docker requires a 64 bit kernel to run, only the client is able to run on 32 bit. See https://docs.docker.com/engine/installation/linux/ubuntulinux/#prerequisites

is there any option to install a particular version of docker. as far I know rancher does not support version 1.11 (yet)

@hwinkel if you follow the manual procedure, you can use apt-get install docker-engine=<package-version>
For example
apt-get install docker-engine=1.10.3-0~trusty

However, for Xenial, there's no 1.10, so you may have to either run on Ubuntu 14.04 if you want a LTS version, or use the "wily" repository, which works for xenial

The guide says it's available for Xenial but it's not so shouldn't it be removed from the guide? Has this issue been resolved yet? I just tried a fresh installation and still nothing.

@Arcrammer it's available; http://apt.dockerproject.org/repo/dists/ubuntu-xenial/. Did you run into issues when installing? Are you perhaps running a 32-bit version or different architecture?

@thaJeztah Yes, it's 32 bit —_______—.
Sorry about that. I could have sworn I installed 64 bit. Thank you!

Hi,
Sorry to bother here but, following the same steps as @Arcrammer, I cannot apt-get update from the docker source, I get
Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-xenial/InRelease  Connection timed out after 120000 milliseconds
each time I try it (even if all other sources work great).
Any apt-cache policy docker-engine returns
N: Unable to locate package docker-engine
I'm using a fresh new Ubuntu Xenial on x86_64...
Any suggestion ?

@gfauredumont we don't have an InRelease file in the main repository;
https://apt.dockerproject.org/repo/dists/ubuntu-xenial/,
https://apt.dockerproject.org/repo/dists/ubuntu-xenial/main/binary-amd64/, so it's strange it keeps trying to fetch that. Let me try with a fresh machine

As instructed in th docker doc, my docker.list file contains
deb https://apt.dockerproject.org/repo ubuntu-xenial main

Hm, strange, I'm not able to reproduce;
mkdir -p /etc/apt/sources.list.d
echo deb [arch=amd64] https://apt.dockerproject.org/repo ubuntu-xenial main > /etc/apt/sources.list.d/docker.list
apt-get update && apt-get install -y -q docker-engine
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:3 https://apt.dockerproject.org/repo ubuntu-xenial InRelease
Get:4 https://apt.dockerproject.org/repo ubuntu-xenial Release [19.7 kB]
Hit:2 http://ams2.mirrors.digitalocean.com/ubuntu xenial InRelease
Hit:5 http://ams2.mirrors.digitalocean.com/ubuntu xenial-updates InRelease
Get:6 https://apt.dockerproject.org/repo ubuntu-xenial Release.gpg [801 B]
Hit:7 http://ams2.mirrors.digitalocean.com/ubuntu xenial-backports InRelease
Get:8 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages [1,719 B]
Fetched 22.2 kB in 0s (38.2 kB/s)
Reading package lists... Done
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  aufs-tools cgroupfs-mount libltdl7
Suggested packages:
  mountall
The following NEW packages will be installed:
  aufs-tools cgroupfs-mount docker-engine libltdl7
0 upgraded, 4 newly installed, 0 to remove and 37 not upgraded.
Need to get 14.6 MB of archives.
After this operation, 73.8 MB of additional disk space will be used.
Get:2 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 docker-engine amd64 1.11.2-0~xenial [14.5 MB]
Get:1 http://ams2.mirrors.digitalocean.com/ubuntu xenial/universe amd64 aufs-tools amd64 1:3.2+20130722-1.1ubuntu1 [92.9 kB]
Get:3 http://ams2.mirrors.digitalocean.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4,970 B]
Get:4 http://ams2.mirrors.digitalocean.com/ubuntu xenial/main amd64 libltdl7 amd64 2.4.6-0.1 [38.3 kB]
Fetched 14.6 MB in 0s (25.4 MB/s)

ok, just to be sure, I added the [arch=amd64] in my source file but no change.
It seems that your distro switches from InRelease to Release after ignoring the latter but in my case it just  timeouts...
Would you know how this behavior is configured ?

No, I would have to search for that as well, but I'm interested to hear if you found, so that we can see if our installation instructions need to be updated; it may be a configuration indeed (something like "always use InRelease, don't skip").

OK, I'll post this issue on StackExchange
Thanks for trying ;)
(As I'm way over my knowledge on this matter, if you have any significant information, please share ;)  )

Hi again,
I've created a question on AskUbuntu but I'm not sure I've indicated all the necessary information.
If anyone has a clue or even an idea so I could dig on, please answer here or as a comment/answer to my question...

(cross)asked it on ServerFault, just to catch any ideas...

OK, so turns out that some updates are made through http (all official Ubuntu packages) when other use https (Docker for instance).
My firewall wasn't configured to accept port 443 requests (I could test that out with curl).
I've modified my IpTables configuration and now apt-get update goes through Docker's server without problem !

Glad to know  it works. 😄

@gfauredumont I encounted a similar problem today:
https://apt.dockerproject.org/repo ubuntu-xenial Release   Connection timed out after 120001 milliseconds
And I tested with curl and it's ok:
curl https://apt.dockerproject.org/repo/dists/ubuntu-xenial/Release
Now apt update will never try https://apt.dockerproject.org/repo ubuntu-xenial Release even if I delete and create/etc/apt/source.list.d/docker.list again, do yout know how can I enable it?

@suwey Please delete /etc/apt/apt.conf. I guess you're using aliyun vps.

@vimagick, I woundn't recommend that, please see my answer on ServerFault
@suwey Sorry, I must have missed the notification of your question.
Unfortunately, I'm not a good sysadmin so I cannot answer you. I would recommend asking on ServerFault as I did... ;)

@vimagick @gfauredumont thank you, the situation is still the same as I described in my question, but I found out that docker update is still work fine, and I will try to ask about it on ServerFault because I am curious about it.

I'm also having issues with a brand new 16.04 installation on AWS. I followed the instructions on the Get Docker for Ubuntu page:
$ sudo apt-get install apt-transport-https \
>                        ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20160104ubuntu1).
apt-transport-https is already the newest version (1.2.18).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ curl -s http://yum.dockerproject.org/gpg | sudo apt-key add
OK

$ apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D
pub   4096R/2C52609D 2015-07-14
      Key fingerprint = 5811 8E89 F3A9 1289 7C07  0ADB F762 2157 2C52 609D
uid                  Docker Release Tool (releasedocker<EMAIL_ADDRESS>
$ sudo add-apt-repository \
>        "deb https://apt.dockerproject.org/repo/pool/ \
>        $(lsb_release -cs) \
>        main"

But I'm getting an error using apt-get update:
$ apt-get update
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Ign:5 https://apt.dockerproject.org/repo/pool xenial InRelease
Ign:6 https://apt.dockerproject.org/repo/pool xenial Release
Ign:7 https://apt.dockerproject.org/repo/pool xenial/main amd64 Packages
Ign:8 https://apt.dockerproject.org/repo/pool xenial/main all Packages
Ign:9 https://apt.dockerproject.org/repo/pool xenial/main Translation-en_US
Ign:10 https://apt.dockerproject.org/repo/pool xenial/main Translation-en
Ign:7 https://apt.dockerproject.org/repo/pool xenial/main amd64 Packages
Ign:8 https://apt.dockerproject.org/repo/pool xenial/main all Packages
Ign:9 https://apt.dockerproject.org/repo/pool xenial/main Translation-en_US
Ign:10 https://apt.dockerproject.org/repo/pool xenial/main Translation-en
Ign:7 https://apt.dockerproject.org/repo/pool xenial/main amd64 Packages
Ign:8 https://apt.dockerproject.org/repo/pool xenial/main all Packages
Ign:9 https://apt.dockerproject.org/repo/pool xenial/main Translation-en_US
Ign:10 https://apt.dockerproject.org/repo/pool xenial/main Translation-en
Ign:7 https://apt.dockerproject.org/repo/pool xenial/main amd64 Packages
Ign:8 https://apt.dockerproject.org/repo/pool xenial/main all Packages
Ign:9 https://apt.dockerproject.org/repo/pool xenial/main Translation-en_US
Ign:10 https://apt.dockerproject.org/repo/pool xenial/main Translation-en
Ign:7 https://apt.dockerproject.org/repo/pool xenial/main amd64 Packages
Ign:8 https://apt.dockerproject.org/repo/pool xenial/main all Packages
Ign:9 https://apt.dockerproject.org/repo/pool xenial/main Translation-en_US
Ign:10 https://apt.dockerproject.org/repo/pool xenial/main Translation-en
Err:7 https://apt.dockerproject.org/repo/pool xenial/main amd64 Packages
  403  Forbidden
Ign:8 https://apt.dockerproject.org/repo/pool xenial/main all Packages
Ign:9 https://apt.dockerproject.org/repo/pool xenial/main Translation-en_US
Ign:10 https://apt.dockerproject.org/repo/pool xenial/main Translation-en
Fetched 102 kB in 1s (54.1 kB/s)
Reading package lists... Done
W: The repository 'https://apt.dockerproject.org/repo/pool xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://apt.dockerproject.org/repo/pool/dists/xenial/main/binary-amd64/Packages  403  Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.

And I can't install docker-engine:
$ apt-get install -y docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-engine

Any help would be appreciated! I have previously installed docker-engine on  14.04 on AWS and have been running the beta Mac native docker for about a year locally. First time trying to install on 16.04...

Thanks for reporting, the installation docs were updated just before the release, and it looks like an error may have slipped in; I'll open a pull request to fix this

I can Confirm that @jeff-kilbride's solution works as a hot-fix

deb https://apt.dockerproject.org/repo/ ubuntu-xenial main works

docs should be fixed now 👍

Should this work now?

sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Hit:5 https://apt.dockerproject.org/repo ubuntu-xenial InRelease
Fetched 306 kB in 1s (252 kB/s)
Reading package lists... Done

and then..

sudo apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-engine

and...

apt-cache policy docker-engine
N: Unable to locate package docker-engine

I'm on Ubuntu 16.04.1 LTS

it's error on ubuntu 16.04

W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-xenial/InRelease  Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

@masbenx what does your /etc/apt/sources.list and /etc/apt/source.list.d/docker.list contain? Also, what kernel, and architecture are you running on?

@thaJeztah
this is my docker source on  /etc/apt/source.list

deb https://apt.dockerproject.org/repo ubuntu-xenial main
deb-src https://apt.dockerproject.org/repo ubuntu-xenial main

and there is empty file on /etc/apt/source.list.d/docker.list
I'am using Linux precise64 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

@masbenx can you remove the line for deb-src and try again? Looks like it's trying to install src packages

@masbenx also; that kernel is ancient and looks to be the kernel for ubuntu 12.04. Docker requires kernel 3.10 as minimum; and ubuntu 16.04 ships with kernel 4.4, so you need to have that updated as well

@thaJeztah thanks alot, it resolve after kernel updated.

Great!

Well it's my turn having this issue on Xenial too.
My /etc/apt/sources.list looks like this:
deb http://archive.ubuntu.com/ubuntu xenial main universe
deb http://archive.ubuntu.com/ubuntu xenial-updates main universe
deb https://apt.dockerproject.org/repo ubuntu-xenial main
# deb-src https://apt.dockerproject.org/repo ubuntu-xenial main
# deb-src https://apt.dockerproject.org/repo ubuntu-xenial main
deb http://archive.ubuntu.com/ubuntu xenial-security main universe

uname -a spits out this:
Linux scw-5de468 4.4.38-std-1 #1 SMP Mon Dec 12 10:45:29 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Any idea on this welcome !


get 'map_transaction_error' return value consistent

the details is in the code comment 🙈  copy them here for easier reading:
// In solana-sdk v1.19.0, there is a ProgramError for
// InstructionError::IncorrectAuthority. This results in the error mapping
// returning two different values: one for sdk < v1.19 and another for sdk >= v1.19.0.
// To avoid this situation, handle InstructionError::IncorrectAuthority earlier.
// Can be removed when Solana v1.19.0 becomes a stable channel (also need to update the
// test assert for
// `test_create_program_governance_with_incorrect_upgrade_authority_error`)

@yihau will the sdk change break all downstream users of this error variant? If so, we should highlight it in the changelog. I can put in a PR for that


XInput mask macros

One of the essential tasks for setting up XInput is enabling delivery of events that the program is interested in. This is done with several XI*Mask() functions which are defined as macros in XI2.h.
These could be translated to simple rust functions and added to xinput.rs but before doing that, I wanted to check how the bindings are generated in the first place and whether there were any automatic tools for doing this?
/* XI2 event mask macros */
#define XISetMask(ptr, event)   (((unsigned char*)(ptr))[(event)>>3] |=  (1 << ((event) & 7)))
#define XIClearMask(ptr, event) (((unsigned char*)(ptr))[(event)>>3] &= ~(1 << ((event) & 7)))
#define XIMaskIsSet(ptr, event) (((unsigned char*)(ptr))[(event)>>3] &   (1 << ((event) & 7)))
#define XIMaskLen(event)        (((event) >> 3) + 1)

Did you try using bindgen for the X11 libs? It covers functions, structs and enums. It doesn't do anything with macros at the moment - and there isn't a fully general way of handling those. I started looking into writing a tool to help with simpler cases - eg. constant defs and simple expressions.

Fixed by https://github.com/Daggerbot/x11-rs/pull/22


Show only one tooltip at a time on mobile

~This fixes issue #43~
Fixes #43
The main change around this was to introduce some shared state in the parent component TipDisplay, since each BellDisplay needs to know whether to show its respective tooltip.
Also, I noticed you are using TypeScript but not taking full advantage of it. If you are open to it, I have some suggestions to improve your component interfaces. For example, you can create a type for each component's props instead of always using any. This makes your components easier to use. I didn't do anything related to this idea on this PR to avoid overcomplicating it.  :)
Do let me know if anything regarding the feature can be improved.

Fixes #43

@KaeruCT I created a new issue for TypeScript typings, #57. Feel free to work on that as well if you like. :)


Break into an individual function in case users want to override & operate on the content

In my case I wanted to cache the entire outgoing document based on a very specific cache path:
private def response_document_contents
  Rails.cache.fetch(cache_key) { super }
end

@krainboltgreene Could you please rebase this against master and make sure the tests all pass.

Rebased. @lgebhardt You should turn on autocanceling for PRs. It's in the settings on travis.

I have to admit, I have no idea how these errors are happening or what they mean.

Looking briefly at the code I'm not sure it's going to do what you want it to. By the time the code has made it to render_response_document the work has been done in processing the request and generating the response. At this point I don't see an advantage to caching the whole document. The hooks seem like they would be better in process_request so you could avoid the work, if desired.
The errors are coming from where you return early in render_response_document.

Alright.


Spawnnpc Request

A request to be able to spawn npc with prefered blood quality.

There's currently no easy/optimized way to do this right now AFAIK, so this not planned for now...


Not able to build firebase perf project

Android device: NA
Android OS version: NA
Google Play Services version: 3.3.0
Firebase/Play Services SDK version:  core - 15.0.2, perf: perf:11.8.0

I am not able to build perf project in this repository. It fails with this reason:
All firebase libraries must be either above or below 14.0.0.
Steps to reproduce:
Just build the perf project using ./gradlew build.

#504 also makes sure this won't happen again.


Chaining more than two dialogs causes serialization to fail

When calling below dialog, I get a ClosureCaptureException. It seems, the chaining creates a intermediate type which is not serializable:
`			var prompts = new[] { "p1", "p2", "p3" };
		var query = from x in new PromptDialog.PromptString(prompts[0], prompts[0], attempts: 1)
					from y in new PromptDialog.PromptString(prompts[1], prompts[1], attempts: 1)
					from z in new PromptDialog.PromptString(prompts[2], prompts[2], attempts: 1)
					select string.Join(" ", x, y, z);

		context.Call(query.PostToUser(), async (dialogContext, awaitableResult) =>
		{
			try
			{
				var result = await awaitableResult;

				if (result != null)
				{
					await dialogContext.PostAsync("You have selected " + result);
				}
			}
			catch (TooManyAttemptsException)
			{
				await dialogContext.PostAsync("Aborting");
			}

			dialogContext.Wait(MessageReceived);
		});

`

Yes, I'd recommend using the reflection-based serialization surrogate for SelectMany, as we do in our unit test:
https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Tests/Microsoft.Bot.Builder.Tests/ChainTests.cs#L87
The issue is that the anonymous class generated by the compiler is not marked as serializable:
https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Library/Dialogs/Chain.cs#L578
some more information:
https://docs.botframework.com/en-us/technical-faq/#how-can-i-reference-non-serializable-services-from-my-c-dialogs