0.27

This upcoming release can only be described with one word:
#Amazing
As of this release we have done 10,000 builds on Travis and recently passed 900 forks on Github! We are also  fast approaching 4,000 stars on Github.
While this release is #Amazing, we had to crack a few eggs to make an omelette so some things are broken. Please make sure to read the Breaking Changes section below!
Notification improvements
We have some excellent upgrades to the notification system coming to you in 0.27, courtesy of @robbiet480.
HTML5 Push Notifications
This release will enable HTML5 push notifications on Chrome/Firefox/Opera on both desktop and Android devices. This means that you can send a notification to your phone even when the site is not open on it. When using Chrome you can include an action so that you can control your phone from your lock screen. Thanks again to @robbiet480 for all his hard work on this!

Notification Groups
Using the new notify group platform allows you to cut down a lot of duplicate automation logic by combining multiple notification platforms and targets into a single notify service. Check out the docs for more info.
target is no longer needed!
For platforms that support it, starting with the new HTML5 platform, any targets that are available will be exposed as individual services, so no more having to remember which targets to use. Please note that the existing services also still exist so you can keep using target if you wish.
Validate config before restarting Home Assistant
Ever restarted Home Assistant to test a config change just to figure out there is a validation error? Well, not anymore! @kellerza has added a command line script that will validate your configuration as if you start Home Assistant.
$ hass --script check_config

Config validation
This release includes a first big push on making sure all platforms contain proper configuration validation. This should help in getting your configuration right. Thanks to @fabaff, @pavoni, @pvizeli, @nkgilley for all the hard work on this, you rock!

FFMPEG motion / noise sensing
It's now possible to use FFMPEG to monitor a video stream and detect motion thanks to a new binary sensor platform by @pvizeli.
Component clean up - Thermostat & HVAC -> Climate. Rollershutter & Garage Door -> Cover.
Due to our wild growth we ended up with some components that had a lot of overlapping functionality. @turbokongen took on the hard job on merging them. Thermostat and HVAC platforms are now combined under the new Climate component. Rollershutter and Garage Door platforms are now combined under the new Cover component. You can easily upgrade by just swapping out the name. For example replace thermostat with climate. The old components have been deprecated and will be removed in the near future.
All changes

Merge thermostat and HVAC components into new climate component (@turbokongen)
Merge rollershutter and garage door components into new cover component (@turbokongen)
Alarm Control Panel - Manual: Allow returning to previous state after trigger (@tobiebooth)
Sensor - DHT: Allow range checking (@open-homeautomation)
Light entities will now expose their features (@shmuelzon)
Sensor: Monitor HP ILO sensors on HP servers (@Juggels)
Sensor: Monitor Fritzbox Calls (@DavidMStraub)
Notify: LlamaLab Automate is now supported (@danielperna84)
Sensor: Serial CO2 sensors now supported (@open-homeautomation)
Sensor: MQTT room presence detection (@mKerix)
Notify: New group platform allows grouping notify targets across platforms (@robbiet480)
HTML5 push notifications (@robbiet480, @balloob)
Weather: Wunderground now supported (@arsaboo, @Teagan42)
New check config script to test validity before restarting HA (@kellerza)
Binary Sensor: Allow monitoring a camera feed using FFMpeg (@pvizeli)
Cover: Z-Wave platform now supports positions (@nunofgs)
Device tracker: allow using Gravatar for entity picture (@robbiet480)
Notify: platforms with known targets will expose them as standalone services (@robbiet480)
Camera: MJPEG and Generic camera's can now authenticate using digest auth (@meatz)
Weather: Forecast.io now can show daily temp/precip forecast values (@DavidMStraub)
Media Player: WebOS TV now allows customizing the sources (@roidayan)
Device tracker: Allow tracking devices using Bluetooth Low-Energy (@open-homeautomation)
Notify: Ensure Slack messages appear as correct user (@technicalpickles)
YAML: Secrets will look for values in all parents folders up to the config root folder (@Teagan42)
Camera: Generic camera now supports template support (@balloob)
Slack: Allow sending attachments (@technicalpickles)
Device Tracking: TP-Link Archer C7 5ghz devices will now also be found (@dpford)
Z-Wave: New rename node service added (@jnewland)
Wink: bug fixes (@w1ll1am23)
Homematic: new device support, add controller state and variable support (@danielperna84 @pvizeli, @mcdeck)

Breaking changes

Ecobee3 occupancy sensors have moved from sensor platform to binary sensor platform.
Forecast.io entity IDs are now like sensor.forecastio_temperature. Previously they were like sensor.weather_temperature. Apologies for this change, but we needed to make Forecast.io more generic now that we have many weather platforms.
The loopenergy sensor configuration format changed slightly, please reformat based on the revised documentation.
The configuration for the Sabnzbd sensor has slightly changed. The prefix type: is no longer required for monitored variables.

Deprecations

Using the thermostat and hvac components has been deprecated. Please migrate to the new climate component. (just change name, configs are compatible)
Using the rollershutter and garage door components has been deprecated. Please migrate to the new cover component. (just change name, configs are compatible)

Nzbget sensor also has breaking changes.

@nkgilley Can you give me a comment describing the breaking change that I can put into the notes?

@robbiet480
The configuration for the Sabnzbd sensor has also changed. base_url has been removed in favor of a required host and an optional port.  The monitored_variables have also changed their names to:
article_cache: Number of cached articles.
average_download_rate: Average download rate
download_paused: Paused downloads
download_rate: Current download rate
download_size: The size to download
free_disk_space: Free disk space at the storage location of NZBGet
post_paused: Paused posts
remaining_size: Remaining size to download
uptime: Uptime of NZBGet

@nkgilley These are all breaking changes or are they just deprecated? That's quite a bit of change that doesn't really belong in the release notes. Can you add a section to the NZBGet docs specifying all the changes that I can link to?

@nkgilley Just added a note about NZBGet to the blog post telling users to go read the docs page for all the changes.

Sorry, my bad. I removed the breaking change of NZBGet along the way.


⚠ Bofrost.at has degraded performance

In d007d8f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1468 ms

Resolved: Bofrost.at performance has improved in 6eea10d after 7 minutes.


Implement nested dielectrics

In many advertising shots, you need a lot of nice looking liquid and glass material. A common problem encounter is how make the refraction continue on two different (but in contact) objects.
There is the JF Nested Dielectric for Arnold created by Jonah Friedman following this paper that seems under BSD licence (compatible with MIT?).
The result is amazing.
Do you think it could be added to appleseed simply?

Implemented in #948


register_model seemingly not working

hello,
I have a local model, present in my scripting folder, "model1.pkl"
If I run
run.register_model(model_name='model1', model_path='model1.pkl')
It will not work and I will get ModelPathNotFoundException.
Is it by design?

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

ID: 4bee4b9a-ce0f-f98b-3160-d6c4a40ef3ac
Version Independent ID: a0475a9e-47f6-2803-8707-fac54ba898dd
Content: Image classification tutorial: Train models - Azure Machine Learning service
Content Source: articles/machine-learning/service/tutorial-train-models-with-aml.md
Service: machine-learning
Sub-service: core
GitHub Login: @sdgilley
Microsoft Alias: sgilley

@AleksCallebat Thank you for your feedback, we will investigate it and get back to you soon.

@AleksCallebat Hi, I assigned this issue to doc author for more clarification of run.register_model(). Thank you.

Thanks for your question, @AleksCallebat.  You're correct, the code you used is not designed to register a local model, it is for registering  a model that was created during the run.
To register local model, you use Model.register.  Find more about that here: https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-deploy-and-where#register-an-externally-created-model.
#please-close


feat(android): add support for upcoming react native 0.73

What
This PR is needed to support a future release of React Native (0.73).

Changes

This PR adds namespace to build.gradle file
This PR removes package from AndroidManifest.xml

Tested on

Related issues
Related to https://github.com/react-native-community/discussions-and-proposals/issues/671

Hey sorry for long radio silence here but thanks for your PR! We no longer have this code so this is obsolete I think.. sorry!


add progress bar

Value Proposition
As a user, I want to see the progress of my tasks more visually by using a graph so that i can gain a greater sense of achievement and motivation.
Description

Acception Criteria

[ ] displays a progress bar

Tasks

[ ] create 2 div, one for container, one for the progress line
[ ] set the value of the css width of the progress line to match the value of the variable completedPercent(in component TaskCompleted already defined)
[ ] add some JS animation if necessary

Hi Mengzhen,
this is a nice feature for you users!
I'm not sure about your last task: Isn't it the css, where you will define the transitions for your animations?

@gacsphere i think yes. i need transition and maybe some js code. for example setInterval() and setTimeout() to make my progress bar more interesting


Application deletion, subscription deletion workflow implementation

Application deletion and subscription deletion approval workflows introduced with this. Required UI changes and done here

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

Reviewed in
https://github.com/wso2-support/apim-apps/pull/16
https://github.com/wso2-support/apim-apps/pull/17
https://github.com/wso2-support/apim-apps/pull/18


Slightly safer version-based checking for bound method

Utilities file was discriminating between different attributes for bound method with hasattrfunction but Saferef file was doing it with version-based discrimination.
It can cause problems if hasattrand getting the attribute returned not-Noneobject - e.g. when you are inheriting from Eventsclass (which python-eve does) but you are actually using Python 3+. In that case, utilitieswill find im_selfattribute (Events create all the attributes non-starting with __on-the-fly) but safereffile looks at the version number and tries to get __self__attribute. Which may not be (in python-eve case it is not) defined.
This PR unifies the approach to version-based

:+1: I just ran into this issue with Eve as well. Tested the PR out and everything seems to be working just fine.

I had this problem in Eve as well.  We just ran into the same problem with Eve. 😢

This is no longer required.


Original Default Unknown To Multiverse?

Information

Server version:  1.16.5

Full output of /mv version -p:  1.16

Server log:

Help request
Problem
 I downloaded the multiverse plugin after a long time of being in one world, but i cant get back to my original world unless my player dies. i did "/mv info" while being in the original default world but it said, it does exists but the plugin doesnt know it is there? it tells me i can import it by using "/mv import" but it just doesnt work. it tells me it is doing it but then it says failed?
What I have tried
 i have searched for a while now for a solution. at first it is because the default world name has a space in it. The world name is "K_G World" so i did /mv import "K_G World" then /mv import "K_G World" normal
and that works until it says failed? i am not sure what else to do...
Screenshots

Worldname should not have spaces in them.

Worldname should not have spaces in them.

i thought that at first but if i do that then it doesnt work at all. it says to add the quotes if the world name has a space in it

No, it's just not allowed. Nothing to with putting quotes or not.

No, it's just not allowed. Nothing to with putting quotes or not.

You need to rename your worlds somehow. Usually by manually changing the folder name. The import command syntax you sue is also wrong see https://github.com/Multiverse/Multiverse-Core/wiki/Command-Reference#import-command

You need to rename your worlds somehow. Usually by manually changing the folder name. The import command syntax you use is also wrong see https://github.com/Multiverse/Multiverse-Core/wiki/Command-Reference#import-command

okay thankyou, ill have to work around it


Generic Task Service/Store

I'm trying to create a generic equivalent of the task store & service. To do this I need to provide a dynamic firebase ref url to the constructor of each but I'm struggling to figure out how to modify the provider to accept a custom url.

Closing this — angularfire2 provides a number of injectable services which should satisfy your needs.


Add ignore folder to bower.json file

The folders _jekyll, docs, test, not need be included on download of package with bower.

I guess removing components is safe; are you sure that node_modules should be removed though?
I googled for "bower ignore defaults" but could only come up with http://stackoverflow.com/questions/22598184/which-paths-does-bower-ignore-by-default (and of course the official docs).


fix simplify range result wrong when reference is nullable (#41356)

pick from master #41356
if reference is nullable and simplify result is boolean literal. the real result should be:
IF(${reference} IS NULL, NULL, ${not_null_result})

run buildall

run cloud_p0

run buildall

run buildall

run buildall


Make the SDK to build using simple instructions

Make sure our build instructions look like this: https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/setup-linux.html
Ideally, identical instructions should work too (except for the git clone <url> part).

Not all the main branch commits in our repo are in release state.
If you clone the repo right now, it may contain some code that's supposed to be released next month. The code may be broken (cannot compile, containing a bug, waiting for arch board approval etc.). User-Agent is not correctly set either.
We need to solve this problem first if you plan to support building from main branch.


Update clang-format version and one-time format

Switch to using an available github action for clang-format CI check. This method checks the entire codebase as opposed to just changes from the PR, so this also includes a one time formatting for the entire project to bring it a "clean" state.

If we do want to upgrade clang-format version, this is one way to do it. We could also consider doing this after we establish formatting style, in case we need to apply more 1-time format changes to the project


error computing authrep credentials error

I configured everrything as it should be. Error in istio sidecar container is:
2024-07-25T13:54:34.643341Z	error	envoy wasm	wasm log travel-agency.travel-agency:<PHONE_NUMBER> (1/http): error computing authrep credentials error

Caused by:
    credentials not found

Hi, can you share the minimum configuration and steps you used please?

Hi, can you share the minimum configuration and steps you used please?

I deployed some demo app. It was working fine with Istio Service Mesh until i deployed WasmPlugin CR.
apiVersion: extensions.istio.io/v1alpha1
kind: WasmPlugin
metadata:
 name: travel-agency
spec:
 url: oci://quay.io/3scale/threescale-wasm-auth:v1.0.0
 phase: AUTHZ
 priority: 100
 match:
   - mode: SERVER
 selector:
   matchLabels:
     app: travels
     version: v1
 pluginConfig:
   api: v1
   system:
     name: system
     token: XXXXXXXXXXXX (I omit access token from 3Scale system-seed)
     upstream:
       name: >-
         outbound|3000||system-provider.3scale.svc.cluster.local
       timeout: 5000
       url: 'http://system-provider.3scale.svc.cluster.local'
   backend:
     extensions:
       - no_body
     name: backend
     upstream:
       name: >-
         outbound|3000||backend-listener.3scale.svc.cluster.local
       timeout: 5000
       url: 'http://backend-listener.3scale.svc.cluster.local'
   services:
     - id: '3'
       token: XXXXXXXXXXXX (I omit 3Scale product service token)
       authorities:
         - '*'
       credentials:
         user_key:
           - query_string:
               keys:
                 - user_key
           - header:
               keys:
                 - user_key
       mapping_rules:
         - method: GET
           pattern: /
           usages:
             - delta: 1
               name: hits

I also created system and backend ServiceEntry CR:
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
 name: system-entry
 namespace: travel-agency
spec:
 hosts:
   - system-provider.3scale.svc.cluster.local
 location: MESH_EXTERNAL
 ports:
   - name: http
     number: 3000
     protocol: HTTP
 resolution: DNS

apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
 name: backend-entry
 namespace: travel-agency
spec:
 hosts:
   - backend-listener.3scale.svc.cluster.local
 location: MESH_EXTERNAL
 ports:
   - name: http
     number: 3000
     protocol: HTTP
 resolution: DNS

I created 3Scale product, application plan and application. I also configured product to use Istio and user_key authentication:

When I try to call the service I get no response. Thre is an error in istio-proxy sidecar container:
error	envoy wasm	wasm log travel-agency.travel-agency:<PHONE_NUMBER> (1/http): error computing authrep credentials error

Caused by:
    credentials not found

I found what was the issue. I use wrong service id. I replaced it and now it is finally working. But there is still some warning present in sidecar istio-proxy container:
warning	envoy wasm	wasm log:  (root/1)<PHONE_NUMBER>: Fetching config failed for service 12, error config fetching failed

But as I said, everything is working.

Not an issue. I used wrong service id.


pyWGCNA.findModules()—— sys.exit("Error!")

Hi
Thanks for providing PyWGCNA.
I am running using my data. In the step pyWGCNA.findModules(), I got Error
Calculating 29 module eigengenes in given set...
..principal component calculation for module black failed with the following error:
..hub genes will be used instead of principal components.
An exception has occurred, use %tb to see the full traceback.
SystemExit: Error!
`SystemExit                                Traceback (most recent call last)
Input In [6], in <cell line: 1>()
----> 1 pyWGCNA.findModules()
File ~\AppData\Roaming\Python\Python39\site-packages\PyWGCNA\wgcna.py:300, in WGCNA.findModules(self, **kwargs)
297 self.datExpr.var['dynamicColors'] = WGCNA.labels2colors(labels=dynamicMods)
299 # Calculate eigengenes
--> 300 MEList = WGCNA.moduleEigengenes(expr=self.datExpr.to_df(), colors=self.datExpr.var['dynamicColors'])
302 self.MEs = MEList['eigengenes']
303 if 'MEgrey' in self.MEs.columns:
File ~\AppData\Roaming\Python\Python39\site-packages\PyWGCNA\wgcna.py:2036, in WGCNA.moduleEigengenes(expr, colors, impute, nPC, align, excludeGrey, grey, subHubs, softPower, scaleVar, trapErrors)
2034 if not check:
2035     if not trapErrors:
-> 2036         sys.exit("Error!")
2037     print(" ..ME calculation of module", modulename, "failed with the following error:", flush=True)
2038     print("     ", pc, " ..the offending module has been removed.", flush=True)
SystemExit: Error!`
The running log as following:
Run WGCNA...
pickSoftThreshold: calculating connectivity for given powers...
will use block size  3104
Power  SFT.R.sq     slope truncated R.sq      mean(k)    median(k)
0       1  0.019005  0.439419       0.944844  1583.917996  1554.807821
1       2   0.06366 -0.584601       0.929494    670.43699   652.433442
2       3  0.309456 -1.103302       0.942454   354.841864   335.688239
3       4  0.463625 -1.258173       0.934568   214.286872   195.668517
4       5  0.551524    -1.377       0.910081   141.322811   123.364176
5       6  0.665052 -1.332488       0.935139    99.308738    82.414462
6       7  0.808912 -1.275045        0.99298    73.223957    57.040702
7       8  0.861059 -1.346268       0.995675    56.071326    40.420707
8       9  0.899288  -1.39177       0.995843    44.268053    29.410026
9      10  0.915354 -1.439295        0.99548    35.840468    21.702019
10     11  0.930287 -1.462413        0.99669    29.635947    16.249537
11     13   0.94553 -1.491679       0.996215    21.327587     9.572117
12     15   0.95332 -1.479453       0.996157    16.193779     5.931626
13     17  0.954481 -1.464538       0.993863    12.811008     3.774937
14     19  0.953151 -1.434312       0.988609    10.466524     2.496161
     max(k)

0   2757.869438
1    1459.46165
2    910.290623
3    627.926617
4    477.597429
5     375.88095
6    308.184438
7    269.243033
8    238.667545
9    217.831659
10   200.730955
11    174.80621
12   156.010401
13   141.336406
14   129.549861
Selected power to have scale free network is 10.
calculating adjacency matrix ...
Done..
calculating TOM similarity matrix ...
Done..
Going through the merge tree...
..cutHeight not given, setting it to 0.994  ===>  99% of the (truncated) height range in dendro.
Done..
Calculating 29 module eigengenes in given set...
..principal component calculation for module black failed with the following error:
..hub genes will be used instead of principal components.
An exception has occurred, use %tb to see the full traceback.
SystemExit: Error!
thanks

Hi,
Can you share with me your pickle file or a subset of your data that gave you this error?

Hi，
This is the data link: https://ftp.ncbi.nlm.nih.gov/geo/series/GSE44nnn/GSE44183/suppl/GSE44183_human_expression_mat.txt.gz
thank you

Hi, I had the same problem when I tried to replicate the example in quick start.
The session info was:
session_info.show()
PyWGCNA             NA
session_info        1.0.0
Python 3.9.16 (main, May 17 2023, 23:02:07) [GCC 10.2.0]
Linux-4.9.0-6-amd64-x86_64-with-glibc2.24
Session information updated at 2023-05-18 13:00
The error was:
pyWGCNA_5xFAD.findModules()
Run WGCNA...
pickSoftThreshold: calculating connectivity for given powers...
will use block size  1876
Power  SFT.R.sq     slope truncated R.sq      mean(k)    median(k)       max(k)
0       1  0.368857 -0.481613       0.701585  2444.750756  2260.416614  5665.102661
1       2    0.7253  -0.99165       0.886361   840.665489   673.081241  3009.058821
2       3  0.791986 -1.194264       0.946969   385.685335   258.451265  1916.810605
3       4  0.835392   -1.3419       0.968446   207.404152   113.456087  1332.762771
4       5  0.853842 -1.472183       0.973346   123.232581    54.784481   984.036824
5       6  0.870673 -1.553348       0.979584    78.455923     28.47124   752.959999
6       7  0.886736 -1.600869       0.986635    52.572016    15.594822   591.514192
7       8  0.896672 -1.639343       0.992373     36.65884     9.454046   475.817182
8       9  0.903531 -1.677747       0.994643    26.397061     6.024431   389.237531
9      10  0.906045 -1.706474       0.995895    19.521431     3.975959   322.823838
10     11  0.905582 -1.731076       0.994806    14.767291     2.623921   270.867416
11     13  0.914482 -1.751347       0.997466     8.941254     1.205108   196.222414
12     15  0.912684 -1.771227       0.994189     5.759987     0.568044   146.575349
13     17  0.912188 -1.774908       0.990829     3.905403     0.273242   112.189052
14     19  0.907649 -1.774186       0.989457     2.766824     0.135454    87.594344
Selected power to have scale free network is 9.
calculating adjacency matrix ...
Done..
calculating TOM similarity matrix ...
Done..
Going through the merge tree...
..cutHeight not given, setting it to 0.996  ===>  99% of the (truncated) height range in dendro.
Done..
Calculating 22 module eigengenes in given set...
..principal component calculation for module black failed with the following error:
..hub genes will be used instead of principal components.
Error!

Hi @ZivTQ,
I was able to run PyWGCNA on your data without getting any error. I would check if you have the latest version of PyWGCNA and maybe create new environment and install PyWGCNA from scratch.
Also make sure that you pass your data correctly, i.e you have to transpose your matrix
I attached my code to make sure you pass your input correctly:
`
import PyWGCNA
import pandas as pd
tpm = pd.read_csv('GSE44183_human_expression_mat.txt', sep='\t', index_col=0).T
test = PyWGCNA.WGCNA(name='test',
species='human', ## check this one
geneExp=tpm,
outputPath='',
save=True)
test.preprocess()
test.findModules()
`

Hi @jerviedog,
according to your session info, it seems you don't the latest version of the PyWGCNA

Hi @nargesr
Maybe you are right. But I just cloned the repo and installed PyWGCNA by python3.9 -m pip install .
Where can I find the latest version of PyWGCNA?
Thanks a lot.

Hi, @nargesr
I uninstalled PyWGCNA and reinstalled PyWGCNA by python3.9 -m pip install PyWGCNA==1.16.8
I still got the same error.
It is weird that the version of PyWGCNA is still 1.0.0 (shown by session_info.show()); but the pip freeze shows that the PyWGCNA version is 1.6.8.

Hi @ZivTQ,
I was able to run PyWGCNA on your data without getting any error. I would check if you have the latest version of PyWGCNA and maybe create new environment and install PyWGCNA from scratch.
Also make sure that you pass your data correctly, i.e you have to transpose your matrix I attached my code to make sure you pass your input correctly:
import PyWGCNA
import pandas as pd

tpm = pd.read_csv('GSE44183_human_expression_mat.txt', sep='\t', index_col=0).T

test = PyWGCNA.WGCNA(name='test',
                     species='human', ## check this one
                     geneExp=tpm,
                     outputPath='',
                     save=True)

test.preprocess()
test.findModules()


Fix docs for solr changes introduced in PR #268

@tumblr/systems

Or actually I should problem mention @tumblr/collins


[feature] Automatically switch-on Roots tab on first root pinned.

Automatically switch-on Roots tab on first root pinned

Remember user's last selected tab

Setup deployment pipeline for publishing the sample app, which depicts usages of the filepicker module.

Ticket: https://github.com/ARK-Builders/ark-components/issues/51

@mdrlzy Thanks for all your valuable comments. They are very useful.
Please help re-review !


Setting failed

I hope the Paste Image plugin can support setting up a configuration for a single project
In vscode version 1.29,

I open multiple documents in vscode, and I want to set the configuration of a single project, but vscode does not support it, as shown in the figure.

and i found it in vscode's document, https://code.visualstudio.com/docs/editor/multi-root-workspaces

I hope the Paste Image plugin can support setting up a configuration for a single project

It seems a new feture to vscode. I would add support in next release.


Enabling SMTP in an EA subscription VM

In the article:
"It's possible to have this block removed. To request to have the block removed, go to the Cannot send email (SMTP-Port 25) section of the Diagnose and Solve section in the Azure Virtual Network resource in the Azure portal and run the diagnostic. This process exempts the qualified enterprise dev/test subscriptions automatically."
Where is the "Azure Virtual Network resource"? I looked in "Virtual Networks", but cannot find a "Diagnose and Solve" section.
Please be very specific in the documentation - where to find this "Cannot send email (SMTP-Port 25)" feature/document.

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

ID: 027fa865-2329-23de-3740-cfbe35359302
Version Independent ID: 99f0a52f-8df4-f8d4-3d4e-778fea2a389f
Content: Troubleshoot outbound SMTP connectivity in Azure
Content Source: articles/virtual-network/troubleshoot-outbound-smtp-connectivity.md
Service: virtual-network
GitHub Login: @asudbring
Microsoft Alias: allensu

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

@JLambEJG , in the Azure portal, open your Virtual network resource (meaning your Vnet where the VMs are deployed) and you will see a "Diagnose and Solve problems" section in the left pane of that Vnet resource as below:

Then click on Troubleshoot under the "Cannot send email (SMTP-Port 25)" in this page.
It is documented as available in the portal.
Could you please check again and let me know if you are still unable to find this option?

@JLambEJG , do you have any updates on this issue? Kindly let us know if the above helps or you need further assistance on this issue.

@JLambEJG , since we have not heard back from you, we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Headless Example Requires Interaction

I've briefly explored the device profile sample and I see it requires user interaction.  How does this app support the headless scenario then if it requires user interaction?
Maybe I'm misunderstanding headless; to me, headless means no UI and I can run the exe/job w/o any user interaction.  Maybe I have the wrong interpretation of headless?

I hear you @spottedmahn and I would categorize it as "somewhat-headless" :)  The scenario here is if you have a machine without an interactive UI, you can get ANOTHER machine to prompt you for passing credentials.  That's what the device profile flow provides.  For a fully non-interactive flow, you can pass username/password into the AcquireTokenAsync call
// Uses a username and password to fetch an ADAL token.
var userNamePasswordAssertion = new UserPasswordCredential(userName, password);
var context = new AuthenticationContext("https://login.microsoftonline.com/common");
var result = context.AcquireTokenAsync(VstsResourceId, ClientId, userNamePasswordAssertion).Result;


Payment methods: document how to setup each method

Gather documentation from our old tools, and update this issue with relevant documentation information before adding them to official developers documentation.
List all the supported payment methods and how to configure them (in payment backoffice, magento admin, service keys, etc.)

Some notes:
Front-Commerce embedded payments modules
Front-Commerce can handle payments directly with its middleware, without the need for a payment integration in your e-commerce system.
We provide the necessary payment method implementation for your eCommerce solution, so that you can still benefit from order management and workflows.
For your eCommerce system, a payment made with Front-Commerce is integrated in a similar way than checks / wire payments (sometimes named "offline payment"). The difference is that due to possible API integrations, Front-Commerce will still mark the order payment as validated upon receiving automatic notifications from the payment service.
WARNING: TODO - Add an architecture graph here
Below are the existing Front-Commerce payment modules.
Production ready
The modules below are used in production and ready for use.

Ingenico FlexCheckout (Ogone)

Working
The modules below have been developed and are ready for use, but not yet used in production by customers.

Paypal Checkout button

Started
The modules below have been started but are still in progress.

PayZen - paused due to unfinished remote API and no more use case

Planned
The modules below are planned to be implemented in our roadmap. Please contact us if you need a payment to be supported.

Stripe

TODO Document configuration
Magento2 supported modules
The Magento2 modules below are supported by Front-Commerce’s core. Configuration is the same than for a standard Magento installation.
Production ready
The modules below are used in production and ready for use.

PayPal Express (Magento2 core feature)
PayZen
Ingenico ePayments Ogone

Working
The modules below have been developed and are ready for use, but not yet used in production by customers.

Adyen - HPP mode only

Stripe
// .env
+# Stripe payment
+# API Keys from https://dashboard.stripe.com/account/apikeys
+FRONT_COMMERCE_WEB_STRIPE_PUBLISHABLE_KEY=pk_xxxxxx
+FRONT_COMMERCE_STRIPE_SECRET_KEY=sk_xxxxxx

// .front-commerce.js
   modules: [],
   serverModules: [
     { name: "FrontCommerceCore", path: "server/modules/front-commerce-core" },
-    { name: "Magento2", path: "server/modules/magento2" }
+    { name: "Magento2", path: "server/modules/magento2" },
+    { name: "Stripe", path: "server/modules/payment-stripe" }
   ]

PayZen Embedded
Configure your environment

WIP

Register the PayZen payment module
In your Front-Commerce application:
// .front-commerce.js
   modules: [],
   serverModules: [
     { name: "FrontCommerceCore", path: "server/modules/front-commerce-core" },
-    { name: "Magento2", path: "server/modules/magento2" }
+    { name: "Magento2", path: "server/modules/magento2" },
+    { name: "PayZen", path: "server/modules/payment-payzen" }
   ]

Register your PayZen payment component

Override the file that lets you register additional payments forms in Front-Commerce

mkdir -p my-module/web/theme/modules/Checkout/Payment/AdditionalPaymentInformation/
cp -u node_modules/front-commerce/src/web/theme/modules/Checkout/Payment/AdditionalPaymentInformation/getAdditionalDataComponent.js my-module/web/theme/modules/Checkout/Payment/AdditionalPaymentInformation/getAdditionalDataComponent.js

Register PayZen

+import PayZenEmbeddedForm from "./PayZenEmbeddedForm";

const ComponentMap = {
+  payzen_embedded: PayZenEmbeddedForm
};

Update your CSPs
To allow loading PayZen related remote resources:
// my-module/config/website.js
  contentSecurityPolicy: {
    directives: {
-      scriptSrc: [],
-      frameSrc: [],
-      styleSrc: [],
-      imgSrc: [],
+      scriptSrc: ["api.lyra.com", "api.payzen.eu"],
+      frameSrc: ["api.payzen.eu"],
+      styleSrc: ["api.lyra.com", "api.payzen.eu"],
+      imgSrc: ["api.payzen.eu"],
      styleSrc: [],
      imgSrc: [],
      connectSrc: [],
      baseUri: []
    }
  },

Ogone
Configure your environment

WIP

Register the Ogone payment module
In your Front-Commerce application:
// .front-commerce.js
   modules: [],
   serverModules: [
     { name: "FrontCommerceCore", path: "server/modules/front-commerce-core" },
-    { name: "Magento2", path: "server/modules/magento2" }
+    { name: "Magento2", path: "server/modules/magento2" },
+    { name: "Ogone", path: "server/modules/payment-ogone" }
   ]

Register your Ogone payment component

Override the file that lets you register additional payments forms in Front-Commerce

mkdir -p my-module/web/theme/modules/Checkout/Payment/AdditionalPaymentInformation/
cp -u node_modules/front-commerce/src/web/theme/modules/Checkout/Payment/AdditionalPaymentInformation/getAdditionalDataComponent.js my-module/web/theme/modules/Checkout/Payment/AdditionalPaymentInformation/getAdditionalDataComponent.js

Register Ogone

+import OgoneFlexCheckoutForm from "./OgoneFlexCheckoutForm";

const ComponentMap = {
+  ogone_flexcheckout: OgoneFlexCheckoutForm
};

Update your CSPs
To allow loading Ogone related remote resources:
// my-module/config/website.js
  contentSecurityPolicy: {
    directives: {
      scriptSrc: [],
-      frameSrc: [],
+      frameSrc: ["secure.ogone.com", "ogone.test.v-psp.com"],
      styleSrc: [],
      imgSrc: [],
      connectSrc: [],
      baseUri: []
    }
  },

Paypal
Configure your environment

WIP

Register the Paypal payment module
In your Front-Commerce application:
// .front-commerce.js
   modules: [],
   serverModules: [
     { name: "FrontCommerceCore", path: "server/modules/front-commerce-core" },
-    { name: "Magento2", path: "server/modules/magento2" }
+    { name: "Magento2", path: "server/modules/magento2" },
+    { name: "Ogone", path: "server/modules/payment-paypal" }
   ]

Register your Ogone payment component

Override the file that lets you register additional payments forms in Front-Commerce

mkdir -p my-module/web/theme/modules/Checkout/Payment/AdditionalPaymentInformation/
cp -u node_modules/front-commerce/src/web/theme/modules/Checkout/Payment/AdditionalPaymentInformation/getAdditionalDataComponent.js my-module/web/theme/modules/Checkout/Payment/AdditionalPaymentInformation/getAdditionalDataComponent.js

Register Paypal

+import PaypalButton from "./PaypalButton";

const ComponentMap = {
+  paypal_button: PaypalButton
};

Update your CSPs

WIP

Data customization.
Stripe: see https://gitlab.com/front-commerce/front-commerce/issues/165#note_178152917
Paypal, Payzen: document data transforms available


stream.headers contains None

When reading the below file, the stream.headers contains a None field and the rows read in using stream.read(keyed=True, limit=chunksize) contain a None key in each dictionary:
http://www.acleddata.com/wp-content/uploads/2017/07/ACLED-All-Africa-File_20170101-to-20170708.xlsx
Is this correct behaviour and if it is, perhaps there should be an option to ignore headers with None?
Currently I have to do:
                for fieldname in stream.headers:
                    if fieldname is not None:
                        schema.append({'id': fieldname, 'type': 'text'})
                    else:
                        nonefieldname = True
...
            rowset = stream.read(keyed=True, limit=chunksize)
            while len(rowset) != 0:
                if nonefieldname:
                    for row in rowset:
                        del row[None]

@mcarans
Thanks. I'll check tomorrow.

@mcarans
Sorry for the late answer on such a easy question (just realized).
By default tabulator doesn't make assumptions about headers. You need to provide it explicitly (in this case row number of headers):
source = 'http://www.acleddata.com/wp-content/uploads/2017/07/ACLED-All-Africa-File_20170101-to-20170708.xlsx'
with tabulator.Stream(source, headers=1) as stream:
    stream.headers # ['GWNO',  'EVENT_ID_CNTY', 'EVENT_ID_NO_CNTY',..]

Please re-open if needed.

I see it's not so easy. There is a different problem. Re-opened to check it.

Yes I had put headers=1

I've added a feature issue for it - https://github.com/frictionlessdata/tabulator-py/issues/181. Also added a processors based workaround but also not so nice looking (because processors don't affect headers for now).


mapFacetSingleLightweight optimisation

Co-authors: @hebbeh @creativecreature
This is a proof of concept for optimising the mapFacetSingleLightweight implementation.
The only portion of the newly inlined mapIntoObserveSingle that has really changed is the final if block that handles custom equalityChecks.

Given what we've discussed, I'll close this PR for now and we can have new proposals in the future.
Thanks once again ❤


Tests Run When Swap Files (*.swp, *.swo, *.swn, ...) Change

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)
- [ ] new
- [ ] build
- [ ] serve
- [x] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

node: v8.11.3
npm: 5.6.0
Angular CLI: 6.0.8
Ubuntu Linux: 16.04.1
Repro steps

Run tests: ng test
Open any file with vim and the tests run: vi src/app/heroes/heroes.component.ts
Change the file without saving and the tests run.  Anything that causes a change in the vim-generated swap file triggers a test re-run.
The log given by the failure

Desired functionality

The tests should only run once.
Mention any other details that might be useful

Seems like a similar issue has already been reported here: https://github.com/angular/angular-cli/issues/4593  Being a vim user I really appreciate the fix; however, the issue is also present when running unit tests.

There's two parts to this problem:

Karma running the tests when nothing has changed
Webpack compiling when no source file has changed

The second point is by design actually. It happens because of this bit of src/test.ts:
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);

It means "find all the files under './' that end in '.spec.ts'", and part of that is watching the ./src/ dir. When anything under the ./src/ folder changes, Webpack recompiles to scoop up the source files again, because any new or changed files might actually included in the compilation.
The first point however, is something that we don't really do but makes sense. Even if webpack recompiled, we shouldn't rerun tests if nothing has changed. https://github.com/angular/angular-cli/pull/12402 should take care of that.

Indeed the regex only matches spec files. But the regex operates over the whole content of the folder. So the folder itself is a resource to be watched.
One could argue that webpack could do that better though. For me, since I am so used to the details of webpack, the question didn't really cross my mind. But it's a pertinent question.


change style to contenrContainerStyle to fix justifyContent style issue

Issue occurred when component used inside ScrollView.

By reverting (pull #19 ) the change from View to Flastlist added in 1.0.8, this shall not be an issue anymore. Can you please download version 1.0.10 and confirm that it’s working?!
Thanks!

fixed thanks
On Tue, Apr 28, 2020 at 3:11 PM Jimmy Bengtsson<EMAIL_ADDRESS>wrote:

By reverting (pull #19
https://github.com/jimmybengtsson/react-native-tags-input/pull/19 ) the
change from View to Flastlist added in 1.0.8, this shall not be an issue
anymore. Can you please download version 1.0.10 and confirm that it’s
working?!
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jimmybengtsson/react-native-tags-input/pull/20#issuecomment-620597474,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGKQTGIKKMMKVWUWFGCMQ4DRO3IZVANCNFSM4MIQH3KQ
.


SWC adds a redundant semicolon after export default function...

Describe the bug
SWC seems to be adding a redundant semicolon after all export default function...
It doesn't seem to happen when minify is enabled.
This is not a huge bug by any means, but it does influence the ability for SWC to format code. I know that it is not it's current objective, but it has potential.
Input code
export default function test(){
    return "hi"
};

Config
{
  "jsc": {
    "parser": {
      "syntax": "ecmascript",
      "jsx": false
    },
    "target": "es2021",
    "loose": false,
    "minify": {
      "compress": false,
      "mangle": false
    }
  },
  "module": {
    "type": "es6"
  },
  "minify": false,
  "isModule": true
}

Playground link
https://play.swc.rs/?version=1.3.0&code=H4sIAAAAAAAAA0utKMgvKlFISU1LLM0pUUgrzUsuyczPUyhJLS7R0KzmUgCCotSS0qI8BaWM1JycfCVrrlprAEdTyJM2AAAA&config=H4sIAAAAAAAAA0WMSwrDMAxE76K1F00WXeQOPYRwlODiH5ICNcZ3r11cshtm3rwKb7GwVcjIQjySlKj4gQ3IBhTLLiuYjvXqQC%2FUDCjySToQWR%2Fr0mefktAEDAQX3VGGzKaQmUTuCePp%2F2TrrpD2axQVtGT6OZ%2FQbsf8OXlNUPmi9gUibsF1uAAAAA%3D%3D
Expected behavior
SWC should not add a semicolon if one is already there.
Actual behavior
SWC adds a semicolon:
export default function test() {
    return "hello";
};
;

Version
1.3.0
Additional context
No response

Semicolon after block statement is not necessary.
Parser treats it as a empty statement.
Also, other parsers transform like that as well.
So it's not a bug.
You can test in other parser from here:
AST Explorer

Yes, it's empty statement.
see this example
function test(){
    return "hello";
};;;;;

function test() {
    return "hello";
}
;
;
;
;
;

https://play.swc.rs/?version=1.3.0&code=H4sIAAAAAAAAA0srzUsuyczPUyhJLS7R0KzmUgCCotSS0qI8BaWM1JycfCVrrlprEAAA9aeUfysAAAA%3D&config=H4sIAAAAAAAAAy2LQQ6AIAwE%2F9IzB8PBA3%2FwEQ1WgxElbUkkhL8LxttmZrbCIR5chYQsxGNJuRQfcEA%2BongOScH0rKMNT6FmQJF30pGInayFjuK95pPGX0uiT82DB1l%2Bo5ypvdeOdBRwAAAA


Create KubeApiServerLatency.md

Added new runbook for Kubernetes Api Server Latency alert calculating 99th percentile latency of $value in seconds for resource.
'histogram_quantile(0.99, sum(rate(apiserver_request_latencies_bucket{subresource!="log",verb!~"^(?:CONNECT|WATCHLIST|WATCH|PROXY)$"} [10m])) WITHOUT (instance, resource)) / 1e+06 > 1'

Would like to let you know that there is an issue with Netify
1:33:33 AM: ---------------------------------------------------------------------
UNSUPPORTED BUILD IMAGE
The build image for this site uses Ubuntu 16.04 Xenial Xerus, which is no longer supported.
To enable builds for this site, select a later build image at the following link:
https://app.netlify.com/sites/vigilant-brahmagupta-a94369/settings/deploys#build-image-selection
For more details, visit the build migration guide:
https://answers.netlify.com/t/please-read-end-of-support-for-xenial-build-image-everything-you-need-to-know/68239


[wip] suyu: init at 0.0.3

Closes  https://github.com/NixOS/nixpkgs/issues/293811
Still early and ugly.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Nice! lmk when you need a review

I think this needs hydraPlatforms = [ ]; at the very least. I don’t think we can risk having cache.nixos.org serve code that has been the subject of (multiple?) DMCA takedowns.

Here's the old update script that would likely be useful

Also theres a newer tag for 0.0.4, its a month newer but they didn't make a manual release for it.


Chrome timeline support on tensorflow

I've been looking at some profiling tools available, the chrome timeline from tensorflow looks super useful  this stackoverflow post, but its not documented and the only examples I can find to piece together how to run it are tensorflow models.
I am running keras with a tf backend, and my sequential models are all built in keras. For instance, this is how my model is being built:
   model.fit_generator( \
	    generator= data_gen(args, 1), \
 	    steps_per_epoch=tr_steps, \
 	    epochs=args.epochs, \
 	    validation_data=data_gen(args, 2), \
 	    validation_steps=val_steps, \
 	    verbose=1, \
 	    callbacks=[checkpointer])

I am at a loss for how I would try to generate a timeline trace for this model, and wanted to know if Keras supports this? And how would I generate a trace for this?

[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[x] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[x] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

I have never used it. But you could try something like this:
from keras import backend as K

# Run the graph with full trace option
with K.get_session()  as sess:
    run_options = tf.RunOptions(trace_level=tf.RunOptions.FULL_TRACE)
    run_metadata = tf.RunMetadata()

    model.fit_generator(...)

    # Create the Timeline object, and write it to a json
    tl = timeline.Timeline(run_metadata.step_stats)
    ctf = tl.generate_chrome_trace_format()
    with open('timeline.json', 'w') as f:
        f.write(ctf)

Thankd for the quick response! I tried that out but my timeline.json is not recording anything, this is all there is in the file:
{
"traceEvents": [
{
"ph": "M",
"args": {
"name": "Allocators"
},
"pid": 0,
"name": "process_name"
}
]
}

The issue is that run_options and run_metadata need to be passed into tf.Session.run. I've got some code which allows you to do this in Keras here

Is this feature in the latest release? I'm getting the same results as stalagmite7. timeline.json is not recording anything. Can anyone provide an example program? Thanks.

Sorry for the delay, something like the below should work:
import keras
from keras.layers.core import Dense
from keras.models import Sequential
import tensorflow as tf
from tensorflow.python.client import timeline

x = np.random.randn(10000, 2)
y = (x[:, 0] * x[:, 1]) > 0 # xor
run_options = tf.RunOptions(trace_level=tf.RunOptions.FULL_TRACE)
run_metadata = tf.RunMetadata()
model = Sequential()
model.add(Dense(units=64, activation='relu', input_dim=2))
model.add(Dense(units=2, activation='softmax'))
model.compile(loss='categorical_crossentropy',
              optimizer='sgd',
              options=run_options,
              run_metadata=run_metadata)
model.fit(x, keras.utils.to_categorical(y), epochs=1)
trace = timeline.Timeline(step_stats=run_metadata.step_stats)
with open('/tmp/timeline.ctf.json', 'w') as f:
    f.write(trace.generate_chrome_trace_format())

Then go to chrome://tracing in either Google Chrome or Chromium and open /tmp/timeline.ctf.json.
As far as I'm aware, the canonical documentation for how to use this is in this comment.

model.fit_generator  didn't save anything for trace.  Is this keras timeline only working on model.fit?

@shensheng27 thank you for this suggestion! fit_generator indeed doesnt seem to save anything, but fit() does. Nice catch


js syntax extension is broken?

It seems like the js_of_ocaml syntax extension isn't being interpreted anymore for me.
For example, I have merlin configured to use the extension in cohttp:
https://github.com/mirage/ocaml-cohttp/blob/master/.merlin#L10
Try loading the file in Vim:
https://github.com/mirage/ocaml-cohttp/blob/master/js/cohttp_lwt_xhr.ml#L32
I've recently upgraded to merlin master but I haven't opened that file in a while so perhaps this wasn't broken recently.

Yep, that's a problem, I will take a look at that.

Broken by 5f87f58bd82f2660d064cd6c82521b7eeaad9a67.

Fixed in HEAD (c7c6c581c76477f45dfdfb62f8361d76191baade). This will need more work to have proper support for 4.03, but we can take care of that later.

Well, in 4.03, everyone will use the ppx instead and there will be no issue anymore, right ?! :]

@Drup Any documented guidance to migrate ?

Not yet, I should indeed write one. The documentation is here.
The biggest change is that foo##bar(x) is now foo##bar x.
Not this all still in dev version of js_of_ocaml and needs ocaml 4.02+trunk.

And is precisely the reason why merlin broke, there was a conflict around meaning of '##' token.
The fix is to favor merlin implementation of js syntax over 4.02+trunk (and we will fix the fix later).


Created error messages in certain areas and fixed back tracking bug.

fixed back tracking bug
Fixed open file location bug
added error message when you do not upload enough images
added error message when you do not select output destination (could be removed, just thought it would be weird if it did not exist)

Looks like some good changes, though could you include some more info about the bugs you fixed (like how to reproduce them and what the expected behavior is?)

@keenanm500:
Back Tracking Bug:
Upload images -> Select "Next" to Output Destination page -> Select Output Destination and press Next -> Complete the Specify Role Images page and press Next: Skip Optional Formating -> Once on the Target Patch Selection page, press the back button until you are back at the Upload Images page where you see no images uploaded.  This update keeps the images there.  The progress bar stays highlighted to the furthest page you went to and this seems like it should remain the case.  This is an issue the Sponsors pointed out and wanted to be fixed.
Open File Location Bug:
Go through all the steps of processing images.  After it is done, a box appears with different options including the "Open File Location" button, which is currently disabled.  Chrome will not allow you to perform the action and per my last PR that got deleted, I do not think we are in a position to develop a workaround, so I deleted the button and associated logic code for it. We could accomplish this by calling the backend (python) and opening up the file system; however, I am not sure if this is a Windows-only behavior. This is an issue the Sponsors pointed out and wanted to be fixed.
Adding Error Message When You do not Upload Enough Images:
Pretty self-explanatory.   Currently, the system does nothing when you upload less than 6 images and press the next button leaving users confused.  Added a pop-up box to alert users and explain what is expected. This is not an issue the Sponsors pointed out; however, I believe it increases the user experience, particularly for new users.
Adding Error Message When You do not Select Output Destination:
This might be an unintended consequence of the above change, but users can move past selecting an output destination with no error being thrown.  I feel like this should not be the case so I added a check.  Can check with Sponsors to confirm. This is not an issue the Sponsors pointed out; however, I believe it increases the user experience, particularly for new users.


Document data for Northern Ireland in write-up

There are multiple data sources that are going to be used for Northern Ireland:

[x] stops data for trains and buses (data/stops/NI)
[x] Population estimates (data/KS101NI)

Any others that are sourced and included in the script should be mentioned in the list above.
The data sources used should be mentioned in the Data section of the write-up and any updates on data quality should be mentioned in the data quality section.

All data has been documented under #421 so closing this ticket


parallels: update support for Parallels Tools

Install Parallel Tools updated for version 17 of Parallels for macOS. This
fixes clipboard sharing, so that copy and paste works between the host
macOS and the guest NixOS VM. Support for guests on M1 Apple Silicon-based
Macs (aarch64-linux) is also added.

Is this good to merge?

I have been using this for last few months, it works great.

@voanhduy1512 can you please provide an example of how to use/apply this patch?

@Builditluc @voanhduy1512
Could you share how you got it working?

I used the modified files from @wegank and applied the patch from @paulsmith to enable clipboard sharing (found it in the issue, #31882, which led to this PR). Here's the patch in my config.

hi, could we merge this PR?

I used the modified files from @wegank and applied the patch from @paulsmith to enable clipboard sharing (found it in the issue, #31882, which led to this PR). Here's the patch in my config.

I'm using these files and having no issues.

I saw the parallel tools updated today. Will this patch still needed?

I checked, the new parallel version doesn't need that patch. but it only works on kernel 5.17 . I tried compiling with kernel 5.18 but failed

thanks for @wegank the prl-tools now updated and working with 17.1.3 and linux kernel 5.18

With wegank's 17.1.4 prl-tools (not tested 17.1.3), Im getting the following output from the prltoolsd service, along with missing functionality such as no dynamic resolution scaling:
Jun 23 07:40:53 dev systemd[1]: Started Parallels Tools' service.

I've created a PR: https://github.com/paulsmith/nixpkgs/pull/1 which

incorporated @wegank 's changes from https://github.com/wegank/nixos-config/tree/main/hardware/parallels-unfree
fixed a few remaining issues that @Strum355 mentored.

I just tested it on Version 17.1.4 (51567) with on Intel mac and it works fine with OpenGL (see screenshot):

A kind of related PR: https://github.com/NixOS/nixpkgs/pull/179487
@wegank / @abbradar  / @paulsmith / @SuperSandro2000 is it possible to merge this one?

Out of curiosity, does dynamic resolution work for others on i3, or is it universally not working for any DE on NixOS?  (AFK so I cant provide prlcc logs right now)

@SuperSandro2000 here the branch where I've addresed your comments: https://github.com/catap/nixpkgs/tree/prl-tools

@Strum355 It works for me on GNOME on Wayland.

@wegank / @SuperSandro2000 can I ask you to cherry-pick commits from my branch to this PR? Shall I open a new one and rebase it to the last master?

Out of curiosity, does dynamic resolution work for others on i3, or is it universally not working for any DE on NixOS? (AFK so I cant provide prlcc logs right now)

Dynamic resolution does not currently work for me with Xorg and dwm. (For what it’s worth, my workaround is to run xrandr --output Virtual-1 --preferred, which I have mapped to a keybinding.)

@dxmh I was able to get a udev rule to do the work for me, maybe itll work for your purposes too:
{ pkgs, ... }:

let
  xrandr-auto = (pkgs.writeShellScriptBin "xrandr-auto" ''
    ${pkgs.xorg.xrandr}/bin/xrandr --output Virtual-1 --preferred
  '');
in {
  # ...
  services.udev.extraRules = ''
    ACTION=="change", KERNEL=="card0", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/noah/.Xauthority", RUN+="${xrandr-auto}/bin/xrandr-auto"
  '';
  # ...
}

@Strum355 resize is working fine for me but I'm using unmerged PR :)

@catap I was using your changes from 1-2 days ago (diff here) but automatic resize wasn't working for me on i3wm.

@Strum355 interesting, I've tested it with gnome and pantheon and it works.

can we create another PR to nixpkgs master? It's hard to follow what changed on an unactive and closed PR

@sandangel already did: https://github.com/NixOS/nixpkgs/pull/179582

I guess we should move the conversation there then. thanks a lot for your fantastic work. @catap @wegank


[5287] Bulk recommend - accordion page

Context
https://trello.com/c/QTZ0f0VF/5287-m-bulk-recommend-accordion-page
Changes proposed in this pull request

Accordian logic that breaks the number of rows into chucks of 50 if there's more that 50 rows to display
New Javascript and CSS that allows the recommend button to remain visible at the bottom during scrolling

Guidance to review
Screenshot

Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?
[ ] Do we need to send any updates to DQT as part of the work in this PR?
[ ] Does this PR need an ADR?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 [M] Bulk recommend - accordion page


Stratux Disconnect during flight

Stratux version: v1.4r5

Stratux config:
SDR

[ ] single
[x] dual

GPS

[ ] yes
[x] no
type:

AHRS

[x] yes
[ ] no

power source: EasyAcc Powerbank PB6000CB w/built-in USB-micro
usb cable:

EFB app and version: (e.g., WingX Pro7 8.6.2) ForeFlight 11.0.1
EFB platform: (e.g., iOS 9.2) iOS 12.1.4
EFB hardware: (e.g., iPad Mini 2) 2017 iPadPro 10.5"

Description of your issue:

So apologies for my naivete, I'm a flight instructor who uses the Stratux build paired with ForeFlight. As such I use it quite a bit (anytime I leave the traffic pattern), recently I have encountered an issue where I get an aural warning that "Stratux has disconnected" and visually all traffic has been removed from ForeFlight. If I click on settings, the unit still shows connected and typically within 20-40 seconds all traffic is repopulated and the system works as intended.
Over the past 36 hours and the course of 3 flights, I had numerous disconnects some mere seconds apart. Any help would be greatly greatly appreciated.
Attached is the device log and master log from ForeFlight.

145 Stratux disconnected. Reason: No longer receiving messages.

203 PANEL_CONNECTION_STATE_CHANGED: Stratux disconnected. Reason: No longer receiving messages.
203 PANEL_CONNECTION_STATE_CHANGED: No devices connected.
203 PANEL_CONNECTION_STATE_CHANGED: Stratux connected. Reason: Device just connected.
203 PANEL_CONNECTION_STATE_CHANGED: v1.4r5-991f48eaa is connected

DeviceDiagnostic-Nick_s_iPad-7Days (1).zip
-Nick

Hi Nick, could you update to v1.5b2 and see how it does?

Chris,
Updated to v1.5b2 this past Friday, two flights on Saturday, no disconnects. I did start to shutdown the unit from the Stratux menu, before I was unplugging the power before. Don't know if it was causing corruption??
Installed the new v3 UAT antenna yesterday, another flight tomorrow and Tuesday, both several hours long so I'll update with how it does.
Nick

Hi Nick, could you update to v1.5b2 and see how it does?

Two flights, and still have an issue. Had a singular disconnect on a 2.0 flight today. No disconnects last night on 2.5 hour flight.
Thoughts?

I am also an instructor flying out of the NYC area. I notice when very close to the hub airports, the saturation of traffic causes my Stratux to lock up and disconnect. I don't receive a message in my EFB however, WIFI stays connected to the device but I can't access the webgui. To solve the issue, I can disable the 1090 radio when flying around there and just rely on the 978 for the TIS-B traffic relays.

So this is STILL occurring, random disconnects sometimes hours apart, other times mere seconds apart. All temperature ranges, all time ranges, and all location ranges. Do we have any idea as as to what this might be? Has there been any new software updates?

This looks like it might be a recurrence of #631
I saw a few random drop outs on Foreflight during my trip to and from Oshkosh. I saw about 3 or 4 drop outs on my Stratux and a few times on my Flightstream 210. They never happened at the same time and neither required an app shutdown or Stratux reboot to fix.
I'll send them an email to see if they are aware of the issue.

Good to know, I do not lose WiFi connection to the Stratux unit and the traffic is repopulated on the screen within 5-10 seconds. Very odd.
I have talked to a few other instructors where I teach and the ones using Stratux's (6 of us) and ForeFlight's Scout (2) report random dropouts/disconnects, most of them reporting that it's to the west of KDVT within 4-10 miles... We are not sure if there is someone with high powered antenna's on the ground or if it's the nearby military base (KLUF)

@Nsalai On my way back from KHOU to KPHX, ForeFlight kept reporting that it had lost its connection from my stratux device. I don’t think it’s KLUF. Even on my way to. KHOU it kept dropping, so I don’t know.  It might be a bad solder joint on the WiFi module or something causing the PCB to flex and a trace breaking, might be heat if the PCBs flexing.

As Helno explained to me, it appears to be something in ForeFlight that is causing the disconnects...
Used a students Sentry this morning while banging around the 'stack' and then shot a few approaches at SDL and DVT, no issues whatsoever.

@Austinthemighty As Helno explained to me, it appears to be something in ForeFlight that is causing the disconnects...
Used a students Sentry this morning while banging around the 'stack' and then shot a few approaches at SDL and DVT, no issues whatsoever.

I don’t think it’s foreflight. I’m having the issue in fltplan go

It could also be an issue with iOS.

Hi,
This may be a dump1090 issue. I am currently doing some investigation into ADS-B handling and looking at issues. (Currently broadcasting on ISM frequencies and have Dump1090 to listen to ISM frequency (ISM is public non aviation frequency), using https://github.com/nzkarit/ADSB-Out, which is how I can correct the number of aircraft etc)
For instance if there are 1200-1300 aircraft received by dump1090, the list of aircraft sent to the web browser view (http://<IP_ADDRESS>:8080/dump1090/data.json), the JSON response is just truncated, in that it stops mid aircraft entry:
<snip>
{"hex":"003724", "squawk":"0000", "flight":"CC003724", "lat":12.340021, "lon":56.779994, "validposition":1, "altitude":9875,  "vert_rate":14784,"track":19, "validtrack":1,"speed":447, "messages":6, "seen":6},
{"hex":"003723", "squawk":"0000", "flight":"CC003723", "lat":12.340021, "lon":56.779994, "validposition":1, "altitude":9875,  "vert_rate":14784,"track":19, "validtrack":1,"speed":447, "messages":6, "seen":6},
{"hex":"003722", "squawk":"0000", "flight":"CC003722", "lat":12.340021, "lon":56.779994, "validposition":1, "altitude":9875,  "vert_rate":14784,"track":19, "vali

I have only thus far looked at the dump1090 webui and not at the other interfaces which dump1090 exposes, so I currently do not know if they get truncated as well. I have not fully researched the issue and thus have not submitted the issue to dump1090 yet.
For Stratux it may be worth ensuring that the ADS-B ingestion code is checked to see how it handles partial records and truncated data. Likewise the EFB application may not have the correct error handling in place for this situation and it showing a disconnected status when it receives partial records.
Hope that makes sense?
Or this may be totally unrelated.

Anyone still seeing random disconnects? I haven't seen any from Stratux in a while but saw one with a GTX345 this weekend.

I am having random disconnects.  Happens throughout a flight.  I have not been able to isolate it to certain areas or circumstances.  I am using ForeFlight.

I’m fortunate enough to have moved to the perspective plus setup which I believe has the flight stream 510. I have not had any disconnects with foreflight since I started working with Cirrus.

On Dec 15, 2019, at 20:54, kiltedpiper<EMAIL_ADDRESS>wrote:

I am having random disconnects. Happens throughout a flight. I have not been able to isolate it to certain areas or circumstances. I am using ForeFlight.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Anyone still seeing random disconnects? I haven't seen any from Stratux in a while but saw one with a GTX345 this weekend.

Yes, consistently inconsistent disconnects, primarily when around/over Bravo and near busy Delta airspace.
Also seeing different data being populated as compared to some of our G650s and G1000s w/ traffic. Sometimes more and sometimes less.

This happened to me multiple times yesterday - ( I'll need to update, and check configuration, etc )
I know it's been quite a while since my last software update, and for all I know it could have been an 'operator error'

Honestly, its been a constant issue with no resolution or update. So I've given up, I'm glad it works ok for the developers with their 2-3 flights a year in quiet airspace. But as someone who flys 4-5 times a day, sometimes up to 8 hours in and around a bravo and literally the busiest GA airport in the country (KDVT) I cant put up with this anymore. I'm moving on to Sentry, and so should you.

Honestly, its been a constant issue with no resolution or update. So I've given up, I'm glad it works ok for the developers with their 2-3 flights a year in quiet airspace. But as someone who flys 4-5 times a day, sometimes up to 8 hours in and around a bravo and literally the busiest GA airport in the country (KDVT) I cant put up with this anymore. I'm moving on to Sentry, and so should you.

Ive been flying out of KGEU (around 14nm from KDVT) twice a week for the last 3 weeks and I haven't had a problem, maybe it's a hardware issue and not a software issue, or maybe it's a compatible issue. I was using a iPad Air 1 and I was having disconnect issues when I flew into KPHX, since moving to a new iPad 6 gen I haven't had issues.

What version pi are you using? Also try changing the positions of the SDRs, and see if that makes a difference, it could also be that the battery bank is not supplying enough voltage or amps, and the pi then reboots. Or a PCB is damaged and when it heats up a trace expands and disconnects causing a short or no power.

I think you underestimate the number of people who use this... it’s enough that even Foreflight decided to support it without a basic hack...
It works great for me and I fly a lot... I’m not a developer and know proactively nothing about programing...
I did make sure to power it with an Anker power supply plugged into ships power, and run an external antenna for the lower frequency and the rubber ducky for the higher frequency...
Works amazing for me
Sent from my iPhone

On Sep 21, 2020, at 8:17 PM, Austin Chopra<EMAIL_ADDRESS>wrote:

Honestly, its been a constant issue with no resolution or update. So I've given up, I'm glad it works ok for the developers with their 2-3 flights a year in quiet airspace. But as someone who flys 4-5 times a day, sometimes up to 8 hours in and around a bravo and literally the busiest GA airport in the country (KDVT) I cant put up with this anymore. I'm moving on to Sentry, and so should you.
Ive been flying out of KGEU (around 14nm from KDVT) twice a week for the last 3 weeks and I haven't had a problem, maybe it's a hardware issue and not a software issue, or maybe it's a compatible issue. I was using a iPad Air 1 and I was having disconnect issues when I flew into KPHX, since moving to a new iPad 6 gen I haven't had issues.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

What version pi are you using? Also try changing the positions of the SDRs, and see if that makes a difference, it could also be that the battery bank is not supplying enough voltage or amps, and the pi then reboots. Or a PCB is damaged and when it heats up a trace expands and disconnects causing a short or no power.

Im using the exact parts list from the Stratux website, assembled per the video running the latest build. I am using an iPad Pro. I've even tried just plugging it straight into the wall, its not a power supply issue. As for a short in the PCB, that would require a complete system restart, something that does not happen. It will repopulate within 5-20 seconds.

@NSalai - what version of ForeFlight are you running?

I think you underestimate the number of people who use this... it’s enough that even Foreflight decided to support it without a basic hack... It works great for me and I fly a lot... I’m not a developer and know proactively nothing about programing... I did make sure to power it with an Anker power supply plugged into ships power, and run an external antenna for the lower frequency and the rubber ducky for the higher frequency... Works amazing for me

There were 6 of us instructors using it at our flight school, roughly 8000ish flight hours logged between us in the past 2 years, but we are the outliers?? We have all had issues, per my earlier comments, since very early on. Again, I bought everything right from the Stratux webpage links off of Amazon, assembled exactly using the guide. Two of the instructors bought pre-assembled units.
There is something in this airspace that is causing data loss whether it be traffic saturation, data dumps, or signal jamming. I can predict almost down to the exact spot where/when I lose Stratux and all traffic when I fly over KPHX actual.

@NSalai - what version of ForeFlight are you running?

12.7.2

If you're willing to experiment, there are a few things that could be tried. Changing the WiFi channel might be a start. "No longer receiving messages" seems to indicate that ForeFlight isn't even receiving heartbeat messages, so maybe there's some problem with the WiFi connection.
Did you test the other device (Sentry) with the same iPad in the same aircraft in the same area?

If you're willing to experiment, there are a few things that could be tried. Changing the WiFi channel might be a start. "No longer receiving messages" seems to indicate that ForeFlight isn't even receiving heartbeat messages, so maybe there's some problem with the WiFi connection.
Did you test the other device (Sentry) with the same iPad in the same aircraft in the same area?

Yes. I've tried Sentry and Scout. Both work with no issues.
If you want to try some new settings I'm willing.

I'd start with updating to v1.6r1 and using the new WiFi settings on the interface (http://<IP_ADDRESS>/, "Settings"). The default WiFi channel is 1. You can try running it on channel 6 or channel 11. Since you fly often, making a single change and testing it out might be the best thing. I appreciate your patience. You'd be surprised about the issues that even certified equipment has working together sometimes.

Could this be an antenna issue?  Perhaps placement is giving a dead zone.
Rick Hole
On Tue, Sep 22, 2020, 7:12 AM NSalai<EMAIL_ADDRESS>wrote:

If you're willing to experiment, there are a few things that could be
tried. Changing the WiFi channel might be a start. "No longer receiving
messages" seems to indicate that ForeFlight isn't even receiving heartbeat
messages, so maybe there's some problem with the WiFi connection.
Did you test the other device (Sentry) with the same iPad in the same
aircraft in the same area?
Yes. I've tried Sentry and Scout. Both work with no issues.
If you want to try some new settings I'm willing.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cyoung/stratux/issues/766#issuecomment-696703252, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEIIE7IK22NRVXYSSQM4N7TSHCNMZANCNFSM4GX5E46A
.

@rhole - It doesn't seem to be an ADS-B reception issue. It seems like a problem with ForeFlight and Stratux maintaining connectivity. That is, if ForeFlight is still throwing the same disconnect messages as in the original issue description.

I'd start with updating to v1.6r1 and using the new WiFi settings on the interface (http://<IP_ADDRESS>/, "Settings"). The default WiFi channel is 1. You can try running it on channel 6 or channel 11. Since you fly often, making a single change and testing it out might be the best thing. I appreciate your patience. You'd be surprised about the issues that even certified equipment has working together sometimes.

Ok. I'm walking out the door now, and have prog checks/flights all day so I wont be able to update and change settings until tonight/tomorrow at the soonest.
I will keep you informed. Thanks for replying, although I do wish we could have had this dialog sooner. 😖

@rhole - It doesn't seem to be an ADS-B reception issue. It seems like a problem with ForeFlight and Stratux maintaining connectivity. That is, if ForeFlight is still throwing the same disconnect messages as in the original issue description.

I fly 172s and pa44s, I've tried putting the stratux in every conceivable place and orientation over the past 18 months... Does not seem to matter.

Nice... can you provide th coordinates of that predictable location?
In the early 80's ford had a number of cars that would stall intermittently
due to ground based RFI. A special shielded ecu was the fix. If the emitter
in your case is messing with 978, or 1090 data, the FCC can fix it. If its
a 2.4ghz wifi signal, maybe not.
On Tue, Sep 22, 2020, 08:51 NSalai<EMAIL_ADDRESS>wrote:

I think you underestimate the number of people who use this... it’s enough
that even Foreflight decided to support it without a basic hack... It works
great for me and I fly a lot... I’m not a developer and know proactively
nothing about programing... I did make sure to power it with an Anker power
supply plugged into ships power, and run an external antenna for the lower
frequency and the rubber ducky for the higher frequency... Works amazing
for me
There were 6 of us instructors using it at our flight school, roughly
8000ish flight hours logged between us in the past 2 years, but we are
the outliers?? We have all had issues, per my earlier comments, since very
early on. Again, I bought everything right from the Stratux webpage
links off of Amazon, assembled exactly using the guide. Two of the
instructors bought pre-assembled units.
There is something in this airspace that is causing data loss whether it
be traffic saturation, data dumps, or signal jamming. I can predict almost
down to the exact spot where/when I lose Stratux and all traffic when I fly
over KPHX actual.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cyoung/stratux/issues/766#issuecomment-696699866, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHAT66BYOROFB2DYG4NEYUTSHCMU7ANCNFSM4GX5E46A
.

Does it happen with a different software product on the same Ipad? Get the
trial from Seattle avionix, and fly the same location. That should identify
a network interference issue.
On Wed, Sep 23, 2020, 14:31 John Schreiber<EMAIL_ADDRESS>wrote:

Nice... can you provide th coordinates of that predictable location?
In the early 80's ford had a number of cars that would stall
intermittently due to ground based RFI. A special shielded ecu was the fix.
If the emitter in your case is messing with 978, or 1090 data, the FCC can
fix it. If its a 2.4ghz wifi signal, maybe not.
On Tue, Sep 22, 2020, 08:51 NSalai<EMAIL_ADDRESS>wrote:

I think you underestimate the number of people who use this... it’s
enough that even Foreflight decided to support it without a basic hack...
It works great for me and I fly a lot... I’m not a developer and know
proactively nothing about programing... I did make sure to power it with an
Anker power supply plugged into ships power, and run an external antenna
for the lower frequency and the rubber ducky for the higher frequency...
Works amazing for me
There were 6 of us instructors using it at our flight school, roughly
8000ish flight hours logged between us in the past 2 years, but we are
the outliers?? We have all had issues, per my earlier comments, since very
early on. Again, I bought everything right from the Stratux webpage
links off of Amazon, assembled exactly using the guide. Two of the
instructors bought pre-assembled units.
There is something in this airspace that is causing data loss whether it
be traffic saturation, data dumps, or signal jamming. I can predict almost
down to the exact spot where/when I lose Stratux and all traffic when I fly
over KPHX actual.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cyoung/stratux/issues/766#issuecomment-696699866,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHAT66BYOROFB2DYG4NEYUTSHCMU7ANCNFSM4GX5E46A
.

I would be interested in seeing the flight logs and everywhere it disconnects

Without fail, over KPHX, everytime I do a bravo transition...

Could it be interference from shaw butte microwave relay station, about 8
NNW of KPHX?
On Wed, Sep 23, 2020 at 5:39 PM NSalai<EMAIL_ADDRESS>wrote:

Without fail, over KPHX, everytime I do a bravo transition...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cyoung/stratux/issues/766#issuecomment-697986654, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHAT66BKDAN2OVR6A357WJTSHJTHZANCNFSM4GX5E46A
.

Any update on this? I have this exact same issue.

I would also like an update on this issue. I have an external GPS and the new low power SDRs.  I have updated to 1.6r1 and I am still having traffic dropouts for 5+ minutes and when it comes back it does not stay.  The web interface indicates no connection to Stratux.  I tried switching to channel 7 on the Wifi.  I have a stratux logfile from yesterday.  I know I was seeing traffic at 2222 UTC but dropped out after that to the end of the flght at 2240.
2021-04-24-stratux.log
I use Avare (latest 10.0.5) on a new Samsung Tab A7 tablet.
Thanks,
Mark

While the last comment above is correct about the power LED.  That did not completely solve my problem. After using this for 4 different 4 hour banner tows in SoCal area the symptom seems to be that when over land, I lose the wifi connection to both my phone and tablet. When over the water at 500 feet, it works just fine. Seems like this could be more of a phone/tablet problem with wifi interference. It behaves the same on two different Stratux boxes with two different versions of 1.6r1 and different SDRs.  I just changed the location setting to en-US from en-GB suggested somewhere else.  I will test that this weekend on two more 4 hour flights.  Any suggestions for what to look for in the logs would be helpful.  I know close to exact times when the wifi turns off based on my GPS track.

Setting the country code in the file did not help.  Still had the wifi drop out over land at 1000 feet.


[Numpy] Boolean array bug

import mxnet as mx
import numpy as np
from mxnet.gluon import HybridBlock
mx.npx.set_np()

def gen_self_attn_mask(F, data, valid_length, dtype, attn_type='full'):
    """Generate the mask used for the encoder, i.e, self-attention

    Parameters
    ----------
    F
    data :
        Shape (batch_size, seq_length, C)
    valid_length :
        Shape (batch_size,)
    attn_type : str
        Can be 'full' or 'causal'

    Returns
    -------
    mask :
        Shape (batch_size, seq_length, seq_length)
    """
    valid_length = valid_length.astype(dtype)
    if attn_type == 'full':
        steps = F.npx.arange_like(data, axis=1)  # (seq_length,)
        # Need to cast to dtype first, see https://github.com/apache/incubator-mxnet/issues/16650
        mask1 = (F.npx.reshape(steps, (1, 1, -1)) < F.npx.reshape(valid_length, (-2, 1, 1))).astype(dtype)
        mask2 = (F.npx.reshape(steps, (1, -1, 1)) < F.npx.reshape(valid_length, (-2, 1, 1))).astype(dtype)
        mask = mask1 * mask2
    elif attn_type == 'causal':
        steps = F.npx.arange_like(data, axis=1)
        # mask shape = (seq_length, seq_length)
        # batch_mask shape = (batch_size, seq_length)
        mask = (F.np.expand_dims(steps, axis=0) <= F.np.expand_dims(steps, axis=1)).astype(dtype)
        batch_mask = (F.np.expand_dims(steps, axis=0) < F.np.expand_dims(valid_length.astype(dtype), axis=-1)).astype(dtype)
        mask = mask * F.np.expand_dims(batch_mask, axis=-1)
    else:
        raise NotImplementedError
    return mask

class GenSelfAttnMask(HybridBlock):
    def __init__(self, dtype, attn_type, prefix=None, params=None):
        super(GenSelfAttnMask, self).__init__(prefix=prefix, params=params)
        self._dtype = dtype
        self._attn_type = attn_type

    def hybrid_forward(self, F, data, valid_length):
        return gen_self_attn_mask(F, data, valid_length,
                                  dtype=self._dtype, attn_type=self._attn_type)

batch_size = 4
query_length = 8
mem_length = 6
nchannel = 5
data = mx.np.random.normal(0, 1, (batch_size, query_length, nchannel), dtype=np.float32)
valid_length = mx.np.random.randint(1, query_length + 1, (batch_size,))
mask_gen = GenSelfAttnMask(dtype=np.float32, attn_type='causal')
mask_gen.hybridize()
mask = mask_gen(data, valid_length)
print(mask)

MXNetError: [09:43:24] src/operator/tensor/elemwise_unary_op.h:461: Unknown type enum 7

The problem only occurs after I called hybridize.

After offline discussion with @haojin2, it could be solved by fixing this line https://github.com/apache/incubator-mxnet/blob/86ed5f5c0a72d1e34b29b0396432d04888274ce2/src/operator/tensor/elemwise_unary_op.h#L454 to add WITH_BOOL

boolean ndarrays are only supported in a few ops right now. We need to enable them gradually in more ops. Thanks for reporting this.

@reminisce I agree. At least we should fix cast, otherwise we cannot use >, <.

@sxjscience  astype should be working with boolean ndarrays. I think using cast is not as pythonic as using astype.

@reminisce In this case, .astype will not trigger the error if the block is not hybridized. However, once it's hybridized, it will report the error message.

@sxjscience I will investigate to see why there is a such difference.

In imperative mode, astype used copy operator which has fully supported boolean ndarrays, while in symbolic mode, astype calls cast, which has not been fully enabled to support boolean ndarrays.


Checkout Service

complete:  calling payment and email svc
consider: db2 worth the effort?  maybe MySQL or other RDBMS?
to do: Postgres db NEEDS wiring up, schema done

I have added these changes into my fork and will make a new PR when the checkout service is completed


Add support for Shiny Express in Quarto Dashboards, take 2

This PR supersedes #1212. It adds support for Shiny Express apps in Quarto Dashboards. Prior to this PR, it would throw an error if a Quarto document had an import from shiny.express.
For example:
---
title: "Palmer Penguins"
format: dashboard
server: shiny
---

```{python}
#| context: setup
import seaborn as sns
from shiny.express import render, ui, input
penguins = sns.load_dataset("penguins")
```

# {.sidebar}

```{python}
species = list(penguins["species"].value_counts().index)
ui.input_checkbox_group(
    "species", "Species:",
    species, selected = species
)
```

# Plots

```{python}
@render.plot
def depth():
    data = penguins[penguins["species"].isin(input.species())]
    return sns.displot(
        data, x = "bill_depth_mm",
        hue = "species", kind = "kde",
        fill = True
    )
```

This is what it looks like:

The generated app.py looks like this.
# This file generated by Quarto; do not edit by hand.

from __future__ import annotations

from pathlib import Path
from shiny import App, Inputs, Outputs, Session, ui
import shiny.express

shiny.express.allow_express_in_core = True

import seaborn as sns
from shiny import reactive
from shiny.express import render, ui
penguins = sns.load_dataset("penguins")

# ========================================================================

def server(input: Inputs, output: Outputs, session: Session) -> None:
    # from shiny.express import render, ui
    species = list(penguins["species"].value_counts().index)
    ui.input_checkbox_group(
        "species", "Species:",
        species, selected = species
    )

    # ========================================================================

    @render.plot
    def depth():
        data = penguins[penguins["species"].isin(input.species())]
        return sns.displot(
            data, x = "bill_depth_mm",
            hue = "species", kind = "kde",
            fill = True
        )

    # ========================================================================

    return None

_static_assets = ["simple_files"]
_static_assets = {"/" + sa: Path(__file__).parent / sa for sa in _static_assets}

app = App(
    Path(__file__).parent / "simple.html",
    server,
    static_assets=_static_assets,
)

A few things to note about this:

It uses the UI was generated by Quarto (in the form of a static .html file).
This change allows a shiny.express import to be used in a Shiny Core app, if the code contains shiny.express.allow_express_in_core = True at the top level. Note that this statement is used in two different ways:

Once when is_express_app() scans the AST of the app code. It looks for that specific statement at the top level.
Once when actually running the app -- it tells run_express() to not throw an error when it encounters the shiny.express import in a Shiny Core app.

The is_express_app() function has changed. There are other places where we use copies of this code, (Shiny Server and rsconnect-python), and the function will need to be updated in those places.

Use a magic comment to force app to be treated as Core or Express app.
Warn if page_opts() or app_opts() are called?


Arrays | C++

Title - Sum of two Arrays
what will change - Add C++ implementation to add two different arrays
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Happy Coding,

Please assign this issue to me

Hey @adyabansal please assign this issue to me if its still open.

I also want to contribute in this. Please assign me this. @Anurag-ak99

Please assign this issue to me


Add support for linking work items in PR title/body

In lieu of (or in addition to) enforcing work items to be linked to commits, support work items to be linked to PR title or body.

Closes #61 (thanks for the suggestion @bheemvennapureddy)
Closes #63
Closes #69
Closes #70
Closes #71
Closes #72
Closes #75

There are a few things left to do, but will merge this in and get v2 deployed.


Upgrade dependencies

Codecov Report

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

@@           Coverage Diff           @@
##           master   #7       +/-   ##
=======================================
- Coverage   95.65%   0%   -95.66%
=======================================
  Files           7    7
  Lines          46   46
  Branches        3    2        -1
=======================================
- Hits           44    0       -44
- Misses          2   46       +44

Impacted Files
Coverage Δ

...rc/main/scala/io/taig/lokal/operation/string.scala
0% <0%> (-100%)
:arrow_down:

shared/src/main/scala/io/taig/lokal/Country.scala
0% <0%> (-100%)
:arrow_down:

...ared/src/main/scala/io/taig/lokal/Identifier.scala
0% <0%> (-100%)
:arrow_down:

...ed/src/main/scala/io/taig/lokal/Localization.scala
0% <0%> (-100%)
:arrow_down:

...rc/main/scala/io/taig/lokal/extension/string.scala
0% <0%> (-100%)
:arrow_down:

shared/src/main/scala/io/taig/lokal/Language.scala
0% <0%> (-100%)
:arrow_down:

...red/src/main/scala/io/taig/lokal/Translation.scala
0% <0%> (-84.62%)
:arrow_down:

Continue to review full report at Codecov.

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


Order of code execution with method decorators and metaclasses

I'm using the current master branch ( 551c611366e0af6 ) and if I understand correctly this includes support for method decorators (introduced with 9a1f498cb2 19. Sep) and metaclasses ( 1d34a09ff822 5. Nov).  I'm trying to mark methods via decorators for further processing via metaclasses. But when the metaclass gets the attributes the decorators are not yet executed (but in cpython they are). This can be seen by the following code:
def log(msg):
    # __pragma__ ('ifndef', '__esv5__')
    print(msg)
    return
    # __pragma__ ('endif')
    console.log(msg)

def report(f):
    log("decorator")

class Meta:

    def __new__(cls, name, bases, namespace):
        log("metaclass")
        return type(name, bases, namespace)

class A(metaclass=Meta):

    @report
    def a():
        pass

In cpython this prints
decorator
metaclass

But in transcrypt this prints
metaclass
decorator

Is this working as intended?  If so is there any other way to process decorated methods?

While we would have preferred it to work just as in CPython, there are some differences. Transcrypt runs on top of JavaScript, and while it's possible to get close to CPython behaviour, adding method decorators proved a challenge. Only at a late stage a solution was found for this and while it comes a long way it does behave different from CPython at some points, among which this one you noticed.
@neriusmika This isn't easy to solve, a.f.a.i.k., right?

Of course transcrypt doesn't need to behave exactly the same as CPython but unfortunately this means that basically any interaction between decorators and metaclasses will not work. I wanted to use a metaclass to generate vue components and categorize methods based on decorators:
Class ViewModel(metaclass=VueMeta):
    data = {...}
    @method
    def mymethod() ...
    @computed
    def myproperty() ...

gets then translated to something like
new Vue({data:{...}, methods:{mymethod: ...}, computed:{myproperty: ...}})

I don't really know how common it is to use metaclasses and decorators in such a way, so maybe it's not worth to support this usecase.
I digged a bit into the code to change the generated js from
var A = __class__ ('A', [object], {
	__module__: __name__,
	__impl__a:  function () {...},
	get a () {return __get__ (this, this.__impl__a);}
}, Meta);
A.__impl__a = decorator(A.__impl__a);

to
var A = __class__ ('A', [object], {
	__module__: __name__,
	__impl__a:  decorator(function() {...}),
	get a () {return __get__ (this, this.__impl__a);}
}, Meta);

and for my code this seems to work fine, but I'm not really sure how that interacts with all the features transcrypt supports like the fcall mechanism. Is there a reason why it was not implemented like that?
Is there some command that runs all tests? I tried transcrypt/development/shipment/shipment_test.py but I think I used that wrong because the tests didn't run.

It's hard to really tell if metaclasses are used a lot. Decorators seem to be quite popular. Anyhow, if Transcrypt can approach CPython a little closer without sacrificing too much performance, that's always a good thing.

Method declarators were contributed by  @neriusmika, so he knows most about the implementation. Before making any definitive changes here I'd like to have his judgement on this.

Good that you discovered the shipment test, it's indeed the most complete one. For one thing the shipment test requires node.js to be installed, since it tests the node.js demo (line74):

       test ('demos/nodejs_demo', 'nodejs_demo', False, True, switches + '-p .none ')
The shipment test will start your browser and generate lots of tabs. Besides running all autotests it runs some interacive "eyeballing" tests.
Maybe I am overlooking something that may cause it not to work. Could  you show me which console output in generates?
Meanwhile I am inclined to experiment a little bit with your solution. At first sight it looks OK, but I'll adapt the code generator a bit and try the shipment_test myself.
Kind regards
Jacques


polysemy-plugin doc

This is meant to address issue #27
In addition to documenting where to add polysemy-plugin I also changed the second example to not require it. The motivation being that documentation for polysemy-plugin can be in one place and there'd be no need to add a caveat near the resource-effect example that polysemy-plugin must be installed.

Fantastic, thanks!