Add .editorconfig

Based on https://github.com/dotnet/roslyn/blob/master/.editorconfig with some AspNet specific tweaks

We could standardize this across our repos

Updated to provide 'suggestions' for things that we care about. This doesn't produce errors due to stylistic choices. warnings become errors when TreatWarningsAsErrors is enabled (which for some reason isn't on in our projects by default - need to investigate).


README.md outline cleanup

Changes:

Fixed anchor links (some links were not pointing to correct headings).
Updated headings (some headings in outline didn't match the content).
Fixed heading level for "Integrate with History" (was 2 should be 3).

Thanks!


Expose a default JSON.net serializer with optional settings

Pull Request Template
Description
This allows users to easily migrate from v2 to v3 by only needing to specify the settings rather than duplicating the entire class to set just one property.
Renamed CosmosJsonSerializerCore -> CosmosJsonDotNetSerializer. Made it public sealed and added a constructor with optional settings. This will allow users to easily override a single JSON.net value.
CosmosClientOptions options = new CosmosClientOptions()
{
    Serializer = new CosmosCosmosJsonDotNetSerializer(jsonSettings)
};

new CosmosClient("endpoint", "key", options);

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Closing issues
Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).
Assignee
Please add yourself as the assignee
Porjects
Please add relevant projects so this issue can be properly tracked.

Update CosmosClientOptions.Serializer documentation with details


Windows thinks its a virus

I'm trying to use the latest development version and I cant use it because Windows thinks it's a virus
0x800700E1 "File contains virus and cannot be copied"
Last build date: 2023-07-05 19:48:43+00:00

This is a duplicate of #217. You'll have to use an antivirus that's more intelligent with it's detections, or build the dev version yourself.


Table: Add aria-sort to header

Description

Added aria-sort to table header
References
Fixes: #1977

Type of change

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

How Has This Been Tested?

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

It isn't working as expected yet. Columns which are not sorted are being announced as aria-sort="ascending". Columns should only have that if they are sorted ascendingly.
For example here- the first name column is not sorted so it shouldn't have aria-sort attribute at all.

Updated logic


Facebook Connector on August 2020 Power BI Desktop Version not available

[Enter feedback here]
The Facebook Connector is not visibile in the Power BI Desktop August 2020 update. Any timeline by when it will be available?

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

ID: 121b33bb-7721-3f2e-e863-ad5ef222b71f
Version Independent ID: 023070b1-753a-f9c2-7924-a350d7480a22
Content: Tutorial: Analyze Facebook data by using Power BI Desktop - Power BI
Content Source: powerbi-docs/connect-data/desktop-tutorial-facebook-analytics.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Hi @miragliag - I see a note in the article that the connector isn't working properly, but you're right - I don't see it all in the August 2020 release. I'm adding the article author to see if there's an updated timeline to bring that back.

Thanks for your comment, @miragliag . This looks like a support request or product question rather than documentation feedback. You might find a solution in the Power BI Community, at https://community.powerbi.com. If not, you can get support by going to https://support.powerbi.com.
All the best,
the DOCS team


python38Packages.pythondialog: 3.5.1 -> 3.5.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.pythondialog is: "A Python interface to the UNIX dialog utility and mostly-compatible programs"
meta.homepage for python38Packages.pythondialog is: "http://pythondialog.sourceforge.net/"
meta.changelog for python38Packages.pythondialog is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.5.2 with grep in /nix/store/4nmn2h5iywhr805yvx38nry5vfl3j5kf-python3.8-pythondialog-3.5.2

found 3.5.2 in filename of file in /nix/store/4nmn2h5iywhr805yvx38nry5vfl3j5kf-python3.8-pythondialog-3.5.2

directory tree listing: https://gist.github.com/5ac94403c415da03d077fbd70dcd00c8

du listing: https://gist.github.com/c4e26805650d06f0e940c1a4de7eb049

Rebuild report (if merged into master) (click to expand)

14 total rebuild path(s)

4 package rebuild(s)

4 x86_64-linux rebuild(s)
4 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
4 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
protonvpn-cli
protonvpn-gui
python38Packages.pythondialog
python39Packages.pythondialog

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4nmn2h5iywhr805yvx38nry5vfl3j5kf-python3.8-pythondialog-3.5.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python38Packages.pythondialog https://github.com/r-ryantm/nixpkgs/archive/b2911425b37f89c750da9f06c4f39f4071bf1b0f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4nmn2h5iywhr805yvx38nry5vfl3j5kf-python3.8-pythondialog-3.5.2
ls -la /nix/store/4nmn2h5iywhr805yvx38nry5vfl3j5kf-python3.8-pythondialog-3.5.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

protonvpn-cli
protonvpn-gui
python38Packages.pythondialog
python39Packages.pythondialog

Maintainer pings

Result of nixpkgs-review pr 135388 at b2911425 run on x86_64-linux 1

4 packages built successfully:

protonvpn-cli
protonvpn-gui
python38Packages.pythondialog
python39Packages.pythondialog

4 suggestions:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/development/python-modules/pythondialog/default.nix:21:3:
   |
21 |   meta = with lib; {
   |   ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern ':/bin:/usr/bin' doesn't match anything in file 'dialog.py'
Near pkgs/development/python-modules/pythondialog/default.nix:22:0:
   |
22 |     description = "A Python interface to the UNIX dialog utility and mostly-compatible programs";
   | ^

warning: unclear-gpl
lgpl3 is a deprecated license, please check if project uses lgpl3Plus or lgpl3Only and change meta.license accordingly.
Near pkgs/development/python-modules/pythondialog/default.nix:24:5:
   |
24 |     license = licenses.lgpl3;
   |     ^

warning: no-python-tests
Test runner could not discover any test cases: ‘Ran 0 tests in 0.000s’
Near pkgs/development/python-modules/pythondialog/default.nix:22:0:
   |
22 |     description = "A Python interface to the UNIX dialog utility and mostly-compatible programs";
   | ^


refresh pivot tables

Hi,
I have this situation: Users have Excel files with pivot tables, which it takes a long time to refresh. In addition, refreshing them kills OLAP cubes. To streamline this process, we have an application that every night updates each file.
We would like to get rid of this application and replace it with something else.
Is it possible to write a script using the ImportExcel module to go through each file in the network location and refresh the pivot tables in it and save the files with new data?

Thx for the quick reply.
Is there a way of manipulating COM object model without installing Excel?

No. You need Excel installed to either

Fetch data from an external source defined in sheet (you can write the data to the cells of the sheet from the module).
Re-calculate the pivoted data.
And you can control Excel using COM
If it is fetching the data that is slow, and doing the pivot when the file is loaded is fast enough you could update the data using the module. But if the pivot operation is slow then the best you can do is to run a task on a machine with Excel on it to load the file, do the update and save the file. (Which you seem to be doing already).
Sorry .
James.


Fix nodeBuds paragraph alignment, turnback class

Fix nodeBuds paragraph alignment, turnback class

This commit fixes the second paragraph's alignment in mobile view to
render properly. It also fixes a minor capitalization error ("nodebuds"
to "nodeBuds").

This commit also adds the groundwork for potential future refactoring:
the CSS variables --fluid-font-size, --p-font-size and --h-font-size-med
were introduced to slowly replace the previous fluidSize mixin.

The --fluid-font-size uses the CSS clamp() math function to achieve
smoothly scalable font sizes across all viewports unlike setting manual
font-sizes over @media. This behavior is almost similar to the mixin.
Its intended use case is to be set at the parent container (or the
body). Note that this affects the margins and paddings if they use em as
well.

The two new font size variables, --p-font-size and --h-font-size-med,
are in em units to properly utilize the above --fluid-font-size set in
the parent container. The em units will scale accordingly. This is
different from using px, which is scaled absolutely (as opposed to
relatively to the parent's font-size).

This PR closes #49.
Certain note-worthy things:

The old
 that wraps everything is removed.

 is only used to wrap the text paragraph now.
.turnback CSS code should be OK to be copy-pasted into global.css once other components remove its own (probably).

Relevant issue: https://github.com/EthanThatOneKid/acmcsuf.com/issues/13, also to do with the fluidSize mixin refactor.


crashing game no reason its clean gta sa

i start during loading game it shows error and game just crashed

can you post error that you get ?


"Click to play" button doesn't work until initial volume adjustment

This is a mild inconvenience if anything, but took a few minutes to figure out as a new user; it's not deal-breaking in any way.
When a new actions is created, the Alarm Volume slider on the UI is set to 100 by default.  Even if the Alarm Sound option is changed from None to one of the available sounds, the "Click to play" button won't work until the Alarm Volume is adjusted away from its initial position.
To reproduce:

Drag a new timer onto a button
Select an Alarm Sound that isn't None
Press "Click to play" button (nothing happens) <-- this is the issue
Slide Alarm Volume slider to any position other than 100 <-- this is the workaround
Press "Click to play" button (button toggles to "Click to stop" and sound plays)
Slide Alarm Volume slider back to 100
Press "Click to play" button (button toggles to "Click to stop" and sound plays)

It seems that when a new action is created, the "Settings" object for the action is empty:
{           "ActionID": "ba0a9a95-9528-4f7b-9238-a52f39474837",           "Name": "Timer",           "Settings": {},           "State": 0,           "States": [             {}           ],           "UUID": "com.gallowaylabs.tomato.clock"         }
After the value of the slider has changed, the "Settings" object is populated with an "alarm_volume" key:
{           "ActionID": "ba0a9a95-9528-4f7b-9238-a52f39474837",           "Name": "Timer",           "Settings": {             "alarm_volume": 1           },           "State": 0,           "States": [             {}           ],           "UUID": "com.gallowaylabs.tomato.clock"         }
Possibly the same issue as the one reported in issue #2

Fascinating, I'm unable to replicate this issue right now. Even on a brand new profile after restarting the stream deck application, setting the sound to 'digital' and clicking the play button works on the first try.
For some basic information gathering:

Windows or MacOS?
What model of Streamdeck do you have?
What version of the Streamdeck software are you running? <IP_ADDRESS>21 is the latest

Ah, in fairness, I should have checked the changelog; much appreciated.


Tests started to fail with error message 'window.location.toString' after updating to TC 0.21.1

Are you requesting a feature or reporting a bug?
BUG
What is the current behavior?
The tests are passing with TestCafe version 0.20.2 and 0.20.5.
With 0.21.1, the tests are failing
error log:
   Error: { type: 'uncaughtErrorOnPage',
     isTestCafeError: true,
     callsite:
      CallsiteRecord {
        filename: '/home/vijay_vedachalam/Vijay/crow/crow-ui-acceptance-tests/features/step_definitions/dashBoardStep.ts',
        lineNum: 20,
        callsiteFrameIdx: 6,
        stackFrames:
         [ [CallSite],
           [CallSite],
           [CallSite],
           [CallSite],
           [CallSite],
           [CallSite],
           [CallSite],
           [CallSite],
           [CallSite],
           [CallSite] ],
        isV8Frames: true },
     errMsg: 'Uncaught TypeError: window.location.toString is not a function',
     pageDestUrl: 'http://localhost/cart-reminders' }

What is the expected behavior?
The tests should pass with 0.21.1 version of TC like how they were passing with 0.20.2 & 0.20.5
How would you reproduce the current behavior (if this is a bug)?
All tests are failing. Not sure whether it is compatibility issue with Cucumber-js
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
`import { Selector } from 'testcafe'
`import { testController } from '../../support/testControllerHolder'
`
`const DASHBOARDHEADLINETEXT = Selector('div[name=dashboard--heading--txt]');
`const CARTREMINDERURL = 'http://localhost/cart-reminders';
`
`export class DashboardPage {
`    getCartReminderURL() {
`        return CARTREMINDERURL;
`    }
`    getDashboardHeadlineText() {
`        return DASHBOARDHEADLINETEXTu
`    }
`}

```-----steps.ts
`import { Given, When, Then } from 'cucumber';
`import { testController } from '../support/testControllerHolder';
`const dashboardpage: DashboardPage = new DashboardPage();

`Given(/^I am in Dashboard page$/, async () => {
`    await testController.navigateTo(dashboardpage.getCartReminderURL());
`}

`Then(/^I should see the Dashboard heading$/, async () => {
`    await testController.expect(dashboardpage.getDashboardHeadlineText().visible).ok();
`})

`------scen.feature
`Feature: Verifying Dashboard page
`  Scenario: Dashbaord heading is present
`    Given I am in Dashboard page
`    Then I should see the Dashboard heading

### Specify your

* operating system: Ubuntu
* testcafe version: 0.21.1
* node.js version: 10.1.0

Hi @vvedachalam! Could you please check the folowing things:

That this error is not shown when visiting the problematic page with TestCafe. If it's shown there is an error on your page, and it's better to find and fix it on your side or turn on the Skip JS Errors mode.

That this error doesn't come after changes in your tested site: install and try to run tests with different TestCafe versions. I think testing v0.20.5, v0.21.0 and finally v0.21.1 wll be enough as you say that the v0.20.5 worked fine.

That turning on the Skip JS Errors mode won't help TestCafe session won't be continued or finished properly even in this mode.

If the above steps don't help, I'm afraid we'll need access to the problematic page to investigate the problem.

@AndreyBelym Just to confirm, its not just one page. I tried all the tests which run against 3 different sites (not just env but totally different domains).
Same tests are passing when I revert to 0.20.2 and 0.20.5
Currently I settled with 0.20.5 upgrade.
I will try Skip JS errors step and keep you posted.
But why this change when my tests are getting executed succesfully with both 0.20.2 and 0.20.5 ?

Hi @vvedachalam,
I've reproduced this problem and created the issue in the testcafe-hammerhead repository.

@LavrovArtem Thanks for the update

Fixed in https://github.com/DevExpress/testcafe/pull/2743


dump command shall accept a filename argument to dump information there

Also, the format with which dump prints the information shall be compatible with what it's expected in load command.

Working now.


feat(cli): updated display format for multiarch images

What type of PR is this?
Feature

Which issue does this PR fix:
What does this PR do / Why do we need it:
This PR updates the way the CLI displays multi-arch images
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

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

Leave out the " N/A     " if no os/arch

Pls rebase and push again


Date format for files in streams

The create date for a file in a stream currently displays in the UI as "day month time".  Since some of the current streams have existed for over a year now, it would be useful to display the year as part of the create date.
(Screenshot attached.)

This relates to a larger issue with dates I was about to ticket. We currently display date/time values in several different formats:

There might end up being places we intentionally want to use a different format (maybe not, though), but in general I think we need to decide on a single date/time format we use consistently throughout the application. Considerations include:

Making the format more user-friendly (e.g., not the format used in the processing status output)
Decide how much precision we need in the time portion
Deciding if we can either a) drop the timezone designation, b) use a consistent timezone, or c) detect the user's timezone and use that for the session

Since all POD participating institutions (to my understanding) are US-based, it seems like we should be able to standardize on single timezone if we want to display it, either based on the user's connection or just picking EDT or PDT (or whatever).

1 - Please drop seconds
2 - In some places the number has a Z at the end. Please drop
3 - LOVE the idea of making it responsive to user's time zone
4 - I prefer the 3-char month usage for if/when international partners join. That will help disambiguate from the Euro usage of day/month vs. month/day
5 - Agree that year would be helpful

@bobpersing @ggeisler @cbaksik I think the easiest way to fix this consistently throughout the application will be to use one of the built-in date formats in Rails.
The 'long' format appears to meet the requirements, e.g.:
April 13, 2022 18:10
Another option would be to add a configuration value for custom date string formats which would be more work but allow more flexibility.

@bobpersing @ggeisler @cbaksik I've installed a library that converts the server's UTC time into the user's local timezone automatically. Also it has formatting options for display. I'll work on making this consistent throughout the application and open a PR.
2022-04-26 14:41:49 UTC => April 26, 2022 10:41am

I'm concerned that changing the timezone to display based on the user's location will make it difficult to debug problems, such as if a user reports that they see a problem with a file uploaded at a specific time, but I see a different time associated with the file when I view the app. At the very least, we should indicate the timezone to make it easier to understand what is being displayed.

@corylown I was able to add the client-side local time zone to the display using the date formatting options in the local_time module.
2022-04-26 14:41:49 UTC => April 26, 2022 10:41am EDT

@ktamaral I like this solution. The final feedback maybe should come from real POD users who would reference dates on a regular basis, but this seems worth implementing consistently throughout the application. Worst case, if we get feedback that this format is difficult for users to scan for their tasks or whatever (not really expecting to hear this), we could try another format then. But at least we'll have a consistent solution in place that should be relatively easy to change if necessary.


[TW#26162] wifi: Connect attempt only with first AP on network with multiple APs

Environment

Development Kit:      [none]
Kit version (for WroverKit/PicoKit/DevKitC): [-]
Core (if using chip or module): [ESP32]
IDF version: 30545f4
Development Env:		[Make]
Operating System:		[Ubuntu]
Power Supply:         [external 5V]

Problem Description
When connecting to ESS networks, i.e. enterprise networks with multiple APs a connection attempt is only done towards the first found AP. I have tried both wifi_config.sta.scan_method:s (SCAN_FAST and SCAN_ALL) but both have the same problem.
When using the SCAN_ALL method all channels are scanned and the one AP with best RSSI is selected. If the connect attempt fails for any reason there's no new connection attempt towards the second, third, ... best APs. This is a problem as enterprise networks might block connection attempts towards a certain AP due to load balancing (or other reasons). In such cases ESP32 never succeed to connect.
Expected Behavior

Scan all channels to find all APs/BSSes
Select the one with best RSSI and try to connect to it
If connection attempt fail, mark AP as temporarily unavailable and retry with next best AP
Repeat from 3 until all APs have been checked.

Actual Behavior

Scan all channels to find all APs/BSSes
Select the one with best RSSI and try to connect to it
If connection attempt fail ESP32 is just stuck without wifi connection

Steps to reproduce

Setup a simple test network with hostapd consisting of at least two APs/BSSes with same SSID
Make sure the APs have significantly different RSSI level. This can be done for example by lowering the tx power of one of the APs with:
iwconfig txpower command
Limit the number of STAs allowed to 0 on the AP with best RSSI. This can be done with `max_num_sta=0' in hostapd.conf file.
Modify the wpa2_enterprise example code setting scan_method to SCAN_ALL
Connect to the network using the wpa2_enterprise example code.
Notice that ESP32 never connects to AP with lower RSSI

Code to reproduce this issue
esp-idf wpa2_enterprise example code with the only modification to set SCAN_ALL scan_method.
Debug Logs
I (251) example: Setting WiFi configuration SSID Kanstrup...
I (261) wpa: WPA2 ENTERPRISE VERSION: [v2.0] enable

I (331) phy: phy_version: 3960, 5211945, Jul 18 2018, 10:40:07, 0, 0
I (331) wifi: mode : sta (30:ae:a4:56:f1:c8)
I (2751) wifi: n:3 0, o:1 0, ap:255 255, sta:3 0, prof:1
I (3731) wifi: state: init -> auth (b0)
I (3731) wifi: state: auth -> init (1100)
I (3731) wifi: n:3 0, o:3 0, ap:255 255, sta:3 0, prof:1
I (4341) example: ~~~~~~~~~~~
I (4341) example: IP:<IP_ADDRESS>
I (4341) example: MASK:<IP_ADDRESS>
I (4341) example: GW:<IP_ADDRESS>
I (4341) example: ~~~~~~~~~~~
I (6341) example: ~~~~~~~~~~~
I (6341) example: IP:<IP_ADDRESS>
I (6341) example: MASK:<IP_ADDRESS>
I (6341) example: GW:<IP_ADDRESS>
I (6341) example: ~~~~~~~~~~~
I (8341) example: ~~~~~~~~~~~
I (8341) example: IP:<IP_ADDRESS>
I (8341) example: MASK:<IP_ADDRESS>
I (8341) example: GW:<IP_ADDRESS>
I (8341) example: ~~~~~~~~~~~
I (10341) example: ~~~~~~~~~~~
I (10341) example: IP:<IP_ADDRESS>
I (10341) example: MASK:<IP_ADDRESS>
I (10341) example: GW:<IP_ADDRESS>
I (10341) example: ~~~~~~~~~~~
I (12341) example: ~~~~~~~~~~~
I (12341) example: IP:<IP_ADDRESS>
I (12341) example: MASK:<IP_ADDRESS>
I (12341) example: GW:<IP_ADDRESS>
I (12341) example: ~~~~~~~~~~~
I (14341) example: ~~~~~~~~~~~
I (14341) example: IP:<IP_ADDRESS>
I (14341) example: MASK:<IP_ADDRESS>
I (14341) example: GW:<IP_ADDRESS>
I (14341) example: ~~~~~~~~~~~
I (16341) example: ~~~~~~~~~~~
I (16341) example: IP:<IP_ADDRESS>
I (16341) example: MASK:<IP_ADDRESS>
I (16341) example: GW:<IP_ADDRESS>
I (16341) example: ~~~~~~~~~~~
I (18341) example: ~~~~~~~~~~~
I (18341) example: IP:<IP_ADDRESS>
I (18341) example: MASK:<IP_ADDRESS>
I (18341) example: GW:<IP_ADDRESS>

Other items if possible
Air sniffer log showing packets from/to the two APs and ESP32:
trace.pcapng.tar.gz

@mikaelkanstrup If first connection fails, you can call esp_wifi_connect to connect again.

@TimXia Well the example code already calls esp_wifi_connect on SYSTEM_EVENT_STA_DISCONNECTED so the problem is not really about a missing call to the connect function. I tried adding this block of code to the wpa2_enterprise_example_task just see if it had any effect:
if (xEventGroupWaitBits(wifi_event_group, CONNECTED_BIT, 0, 1, 1) != CONNECTED_BIT) {     ESP_LOGI(TAG, "DISCONNECTED. Calling esp_wifi_connect again");     esp_wifi_connect(); }
But the behavior is still the same. Even rebooting the system won't solve this scenario. At each startup the same BSS will be selected as "best" AP, then fail and never try any of the other BSSes of the ESS network.
I guess one could implement the mechanism manually in the application code by scanning all channels, keeping a list of BSSes, call connect with bssid and channel set in the wifi_sta_config and repeat until all BSSes have been checked but for sure this feels like something the core implementation should handle instead.
As you are already familiar with wpa_supplicant (and integrate parts of the implementation) you could have a look at the blacklisting and perhaps the background scanning mechanism to see if something similar would be usable for ESP-IDF.

@mikaelkanstrup same reason I have explained in the https://github.com/espressif/esp-idf/issues/2324

@XinDeng11 I'm not so sure this same root cause. For this case the EAP procedure has not even started.
After calling esp_wifi_connect ESP-IDF internal code scans all channels and selects the best BSS to try connecting to. In this scenario this attempt fails already after the initial authentication frames where AP respond with an authentication frame with status code "Association defined because AP is unable to handle additional STAs (0x0011)".
After connect attempt fails with first BSS I would expect ESP-IDF internal code to go back to its list of valid BSSes and select the BSS with second best RSSI and make another connect attempt. If again this fails continue until all valid BSSes have been tried. If all fail then send a DISCONNECTED event to inform application code.
As it is right now there's no internal retry mechanism and there's no event sent to application code either.

hi @mikaelkanstrup sorry for later reply, I think why cause that happen is because some of APs are in the same channel, we have found the root cause, and will merge it later, if you are urgent, I will give you a lib to verify it before we merge the code

@mikaelkanstrup Please use the lib in the attachment, thanks
2018-09-19_155241.zip

@mikaelkanstrup How about the problem, is the patch can solve the problem?

@XinDeng11 Sorry for the delay. I've been testing with the libs provided in attachement 2018-09-19_155241.zip and unfortunately the problem is not solved.
I notice the following behavior:
Network with two APs:
When STA is rejected by first AP no SYSTEM_EVENT_STA_DISCONNECTED is sent to application and STA never tries to connect to second AP
Network with only one AP:
When STA is rejected by AP a SYSTEM_EVENT_STA_DISCONNECTED is sent to application. The         esp_wifi_connect call found in example code event_handler function trigger new connect attempts.
So there's something stopping ESP-IDF internals from sending the SYSTEM_EVENT_STA_DISCONNECTED event when more than one AP present on the network. I first tried having the two APs on same channel and then tried having them on different channels but behavior was same.

@mikaelkanstrup can you send me the log?

it should be work, because we have tried it, and we can see it connect to the second one, when they are in different channels, it need set use the all_channel_scan in scan_method

@XinDeng11 I was not able to capture an air sniffer log this time and from esp32 logs there's nothing of interest. It just keeps printing the status logs coming from example_task loop.
It's great that you're confident that you've found the root cause. I might have done something wrong when trying to use the libs you sent. I put them into components/esp32/libs folder, did a make clean before building the example code again so was pretty sure I used the provided libs. And I did set WIFI_ALL_CHANNEL_SCAN so that's not the problem.
But anyway I will unfortunately not have time to test further until after the weekend so feel free to continue the steps towards having your fix integrated on master. On Monday I'll either make another attempt with the libs or if fix is already integrated I'll use that instead. Will make sure to capture and send you all the logs.

Hi@mikaelkanstrup, actullay the status code is 17, it is mean the connected station number has reached the limitation,  but it still a problem of us, we lost the case may happen in a same ssid enviroment, may be you can try with the lib in the attachment, thanks
2018-09-25_204842.tar.gz

@XinDeng11 The fix you've done in the latest libs attached solves this issue. ESP now successfully retries with the second AP if first one fails. Thanks a lot for your time spent investigating and solving this problem!

@mikaelkanstrup OK， got it. We will merge the fix to master later, after it merge, we will let you know


feat(interactive-mode): Added option to enable support of inquirer plugins

Main changes

Added option to enable support of inquirer plugins, which defaults to false when not provided. As the result, this PR preserves  backward-compatibility.

Pinging @nanovazquez just in case, as it seems I cannot request a review :)

I was just about to create a PR with something like this in it.  Our use case is that we use various Inquirer plugins such as inquirer-fuzzy-path, etc. -- and because the existing code calls createPromptModule, any questions processed by Inquirer that were defined using yargs-interactive cannot use any modules that we have registered with Inquirer, even if we register them at the very top of the first file we load.
As far as backwards compatibility -- there's actually not even any real reason to use createPromptModule() at all in yargs-interactive, because yargs-interactive doesn't even call registerModule().  Even if it did. you only really need to use createPromptModule() if you are about to register other modules against inquirer and you don't want any other consumers of inquirer to be effected by your registerModule() call.  In practice, this only matters if you are about to override an existing inquirer prompt with something that has a different API than the original did.  If all you're doing is adding new modules, that would not be a breaking change anyway.
So IMO it would be perfectly safe to just remove L9 entirely (const prompt = inquirer.createPromptModule();) and just call inquirer.promp() directly.
@nanovazquez Is this project maintained anymore?


Bug: AppHeader menu not disappearing on click

Info
Issue reported by Caleb Daramola and Sergey Emelianov in private DMs. Requirement for not actually reloading the page provided by Melissa Ror-Chao.
If you prevent the default action of an a tag in the AppHeader menu and load content on your own without actually reloading the page, the AppHeader menu stays open after a link is clicked. The below code gives an example:
<goa-app-header-menu heading="User Name" leadingIcon="person-circle">
   navigateToMyProfile(e)}>
    My Profile

   navigateToMyPrograms(e)}>
    My Programs

</goa-app-header-menu>

Acceptance Criteria:

The AppHeader menu will close when any element inside is clicked, regardless of how that click is handled

:tada: This issue has been resolved in version 1.17.0-alpha.26 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 3.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.20.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.20.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.17.0-alpha.19 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 3.0.0-alpha.4 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


alias_method_chain is deprecated

Similar to https://github.com/nov/fb_graph2/issues/102
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <class:Request> at /.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-oauth2-1.2.1/lib/rack/oauth2/server/abstract/request.rb:24)

v1.2.2 doesn't use alias_method_chain.
Thanks


App uses way too much CPU on M1 MacBook Air.

Can you share your Tuneful settings (menu bar, popover and mini player)? I am using M1 Air as well but couldn't reproduce this CPU usage, it's typically near 1% of CPU usage and 50 MB of RAM.

I couldn't reproduce it

i have the same issue on a 2017 touchbar MBP, tuneful is using over 50% CPU

I'm having the same issue on my M2 Mac mini

It is definitely caused by the scrolling song info, when I expand the song info width (so that the number of pixels is high enough for scrolling not to be needed) the CPU usage drops back to more reasonable levels (and increases when reducing it so that it has to start scrolling again).


Force unwrap optional for forced without timeout

AsyncType.forced() without a timeout is guaranteed to return a non-nil value, so it would be helpful to not require unwrapping at the call site.

Thanks for the PR, it looks great! :star2:
Since CI is broken, I'll have to run the tests locally before I merge it in. Probably this weekend.
Thanks again!

I've merged it in. There were some errors in the tests that I had to fix first. Thanks!

Thanks. Sorry about the tests, forgot to push that change (and then CI fell over).


Updated docs. Solving #2434

Updated docs. Solving #2434

I am a bit confused as to why the macos-latest 14,14 test fails as I only have changed the docs. The coverage seems to be 100% as well, could it be a hickup?

That's odd indeed. When in doubt, re-run the jobs to be sure. It might as well be a glitch in the matrix.

Merged manually. Thank you! 👏


renameutils: fix package on darwin

Description of changes
Fixed the compilation of renameutils on aarch64 darwin, and since renameutils requires gnu ls, mv, cp at runtime, I have adapted a patch from homebrew,  and a postPatch to put the correct paths in place.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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


psa: MAX_PRICE default in .env-example uses incorrect quotation marks

Description
For those wanting to use MAX_PRICE feature [commit  feat: max price filtering (#383)]
The following line in .env-example uses the incorrect quotation marks (curly quotes)

MAX_PRICE=“”

Please change this line to use normal quotes (straight quotes) around your supplied price

MAX_PRICE=""

eg. MAX_PRICE="1200"

Solution
Pull #426 will fix this in the repository

Fixed! Thanks @xninjax :heart:


Cannot create KCubeObject

Anytime I try to create a KCube object I get that the object refrence does not exist. This occurs even when running the example "Python/KCube/KIM101/kim101_pythonnet.py"
The line that is failing
"device = KCubeInertialMotor.CreateKCubeInertialMotor(serial_no)"
Object reference not set to an instance of an object.
at Thorlabs.MotionControl.PrivateInternal.Settings.DeviceConfigurationBase.VerifyDeviceSettingsName(Boolean replace)
at Thorlabs.MotionControl.PrivateInternal.Settings.DeviceConfigurationBase.ReadConfiguration(DeviceConfigurationNode node, GeneralSettings generalSettings)
at Thorlabs.MotionControl.PrivateInternal.Settings.DeviceConfigurationBase.LoadConfiguration(String serialNo, GeneralSettings generalSettings)
at Thorlabs.MotionControl.KCube.InertialMotorCLI.KCubeInertialMotor.InitializeDevice(String serialNumber)
at Thorlabs.MotionControl.KCube.InertialMotorCLI.KCubeInertialMotor._CreateKCubeInertialMotor(String serialNumber)
at Thorlabs.MotionControl.KCube.InertialMotorCLI.KCubeInertialMotor.CreateKCubeInertialMotor(String serialNumber)

Bad connection between controller and computer. Switched to cable delivered with device and the code ran just fine.


When training after replacing the activation function with the specified basic function, NaN appears.

i've met the same question

There are quite a number of people who have encountered this problem, yet they haven't found the correct solution so far.

There are quite a number of people who have encountered this problem, yet they haven't found the correct solution so far.

Perhaps you could directly contact the author via email


Make any CSS tweaks to the cards we want

A little more distinction between the card heds and body copy

Added  tags to first and last name


Improved rowReducer function to work with multiline output responses.

Related with Issue #1.
We had the same difficulty processing responses with multiple line outputs.
Improved the function 'rowReducer' in order to return all the output lines as a single string (concatenated with "\r\n").
Used an adapted version of the test created by @minoruta.

Coverage remained the same at 100.0% when pulling 7b99ce3e398d23d0621590eb8cfcc6ca269719df on vitor-vidal:multiple-output-responses into 0caf3a620663a25aadcbc9aacdd90fbbddcad746 on BelirafoN:master.

Ping


update dacpac and schema compare readme to remove preview text

Updating the dacpac and schema compare Readme to remove Preview test

@kburtram I will commit this to master and request for port. Apologies for short PR time.


Handle 'year' integer types in message_ix.Scenario

MESSAGEix expects parameter dimensions indexed by the set 'year' (including year_act, year_vtg, and others) to be handled as int, rather than str for all other dimensions.
This has been handled in ixmp: https://github.com/iiasa/ixmp/blob/c6ae2f74f8d8e1936203abdd79f1d403bb9477bc/ixmp/core.py#L930-L938
However, an ixmp.Scenario need not have any set named 'year'. 'year' could be an equation, parameter, or variable in a valid Scenario. So, that is the wrong place for such code.
Instead, message_ix.Scenario.par should override ixmp.Scenario.par, and then apply this conversion.
Filed via iiasa/message_ix#213.

Per iiasa/ixmp#218, the same conversion should be applied to equ and var, probably by a utility method.

@khaeru continuing discussion to first item of your comment https://github.com/iiasa/ixmp/pull/219#pullrequestreview-321954500
Do you think message_ix should override the implementation of item_get_elements OR item_get_elements should/can be parameterized (be flexible enough) to handle conversion of dimensions to specific dtypes? Wouldn't first lead to greater code duplication and leaking the abstraction of lower level API of ixmp package?

I agree about the first (message_ix overriding Backend or JDBCBackend methods)—clearly should not happen.
The second is a new feature in ixmp that would be nice. I agree it ‘could’ be parametrized; no opinion on whether it ‘should’; whether it ‘can’ depends on if someone has time to implement the new feature. I think it would be a lot of work, e.g. which types are supported; adding tests for all such types, defining an API, etc.
For the actual solution to this issue, see #269.

cc @OFR-IIASA.


Documentation updates: Support Chef versions for Cookbook

:ghost: Brief Description
Documentation and changelog do not indicate when the requirements changed for the cookbook.
Latest versions of the cookbook requires Chef >= 15.5
The README for the project still says v12+ supported.
Only by going through the Git Blame was it possible to see when support for Chef v12-v14 was removed.
This was removed 2 months ago in this PR between v3.12.4 -> v3.12.5 -> v4
:pancakes: Cookbook version
Anything greater than 3.12.4
:woman_cook:  Chef-Infra Version
14.10.9
:tophat: Platform details
Ubuntu 18.04 / AWS
Steps To Reproduce
Steps to reproduce the behavior:

Use older version of Chef
Install the cookbook

:police_car: Expected behavior
Documentation or changelog would indicate what version was supported and when support was removed for a specific Chef version

Thanks @damacus!


1.0.15 webpack/typescript breaking build error on Windows OS

When running a webpack/typescript build on a Windows OS system, the webpack build fails with errors related to aurelia-configuration 1.0.15:
[default] C:\Users\Pavel\Desktop\grid-command-v2\node_modules\aurelia-configuration\dist\system\index.d.ts:1:40
    Cannot find module 'aurelia-framework'.
[default] C:\Users\Pavel\Desktop\grid-command-v2\node_modules\aurelia-configuration\dist\system\index.d.ts:2:38
    Cannot find module './aurelia-configuration'.
[default] Checking finished with 2 errors

Apparently on Windows the imports at the top of index.d.ts are not being correctly resolved.  I don't have a specific idea of why this would be happening, but we have reproduced the problem on two different Windows OS systems.  Does not matter if an entry exits in custom.d.ts or not.
This did not occur with prior versions of aurelia-configuration, and does not occur with other npm packages.
Is this package supported on Windows OS?
Thanks,
Don

This should have been resolved in the latest release. Closing it as I could not replicate it with 1.0.17.


doesn't the key and password supposed to be displayed by sudo ros config get rancher?

RancherOS Version: (ros os version)
1.5.3
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
kvm-qemu, ubuntu 18.04.2
Hi,
sudo ros config get rancher doesn't display the keys in use besides the auto-generated keys from the system, does it suppose to do that? yes it is displayed in by ros config export
it doesn't display either a rancher.password field but still in your doc we are supposed to be able to set a field with ros config set rancher.password=... .Wouldn't be more logical to display it by the previous command ?

If you want to get the keys in use, you can try:
ros c get ssh_authorized_keys
rancher.password is a special case, it is a kernel parameter.
https://rancher.com/docs/os/v1.x/en/installation/configuration/adding-kernel-parameters/#useful-rancheros-kernel-boot-parameters


Fix for cfpb/hmda-pilot#387, msa name = false in Q595

Sneaking in some test reliability fixes as well even though they aren't related.

The mockAPI call gets held up by having to do the JSON.stringify (which btw, is expensive in time). This creates a timing issue because the engine call which uses that API endpoint fires before the mockAPI has the endpoint defined. If we do the stringify() synchronously first, we make sure that the mockAPI is setup before the engine call is made.

I had a feeling it was something like that. Thanks for the explanation.


Build chromium with clang

Sinec 2015 the upstream default is to use clang, even on linux.
I made a small diff, next step should be to tell chromium not to use third-party clang++
diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix
index 7802e1bf1b..b48f0f819e 100644
--- a/pkgs/applications/networking/browsers/chromium/common.nix
+++ b/pkgs/applications/networking/browsers/chromium/common.nix
@@ -187,7 +187,7 @@ let
       use_cups = cupsSupport;

       treat_warnings_as_errors = false;
-      is_clang = false;
+      is_clang = true;
       clang_use_chrome_plugins = false;
       remove_webcore_debug_symbols = true;
       use_gtk3 = true;
diff --git a/pkgs/applications/networking/browsers/chromium/default.nix b/pkgs/applications/networking/browsers/chromium/default.nix
index 7aa02e2c57..456fc198d4 100644
--- a/pkgs/applications/networking/browsers/chromium/default.nix
+++ b/pkgs/applications/networking/browsers/chromium/default.nix
@@ -19,6 +19,7 @@ let
   callPackage = newScope chromium;

   chromium = {
+    inherit stdenv;
     upstream-info = (callPackage ./update.nix {}).getChannel channel;

     mkChromiumDerivation = callPackage ./common.nix {
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 210d2bce43..547e82f20a 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -13660,6 +13660,7 @@ with pkgs;
   };

   chromium = callPackage ../applications/networking/browsers/chromium {
+    stdenv = libcxxStdenv;
     channel = "stable";
     pulseSupport = config.pulseaudio or true;
     enablePepperFlash = config.chromium.enablePepperFlash or false;

Quick and dirty but seems to work as far as using system clang - https://github.com/NixOS/nixpkgs/compare/master...pbogdan:chromium-clang So far a build is still going at ~ 70% complete.

@pbogdan can you make a PR?

ping @pbogdan

I think system clang could be used with this method: https://chromium.googlesource.com/chromium/src/+/lkcr/docs/clang.md#using-a-custom-clang-binary

We've been doing this for a while now ..


some confuse

Thank you for open this repo.
$A^S, A^C$  denote the spatial and channel attention mask of the teacher detector In formulate (9) , However $A^S_t , A^C_t $ is contrain in formulate (10). Why not fuse $A^S_t , A^C_t $ in formulate (9)?

In formulate (9), we mainly want to express the size of A^S of (H,W) and A^C of (C). So we describe it in the text.

it means fuse formulate (9) and (10), as follows example(or other fuse):

The purpose of two methods are different and the ways to process them are also different. I don't think it's meaningful to fuse them.


Testcases for dm vm template

Template: dm_vm

Add test cases to cover dm vm template.

unable to install dm_vm with robot (development_960)
https://github.com/threefoldtech/0-templates/issues/277

covered, but all are skipped


Add option to TemplateLibrary.getTemplateIndex to filter old versions

Addresses #152

Coverage increased (+0.06%) to 91.217% when pulling f0483b306984e24f57553d8e806195713dc3fda4 on dselman:master into 32210f01570de4a23be5c543c01dd8c7a3d78e8c on accordproject:master.


Catch \Throwable before \Exception

Related to #26
Some exceptions from PHP 7 are implementing \Throwable interface (see http://php.net/manual/en/language.errors.php7.php), so type/parse errors might not be caught with the current implementation.
Since this library supports PHP 5, we can implement multiple catch() blocks without breaking changes.
This PR makes sure that all kinds of errors & exceptions are caught, especially when getting authenticated user context from FieldProvider class.

@tzurbaev Thanks for the excellent pull request! 👍


Wrong address between case file and OCR read

The addresses are completely wrong between what's on the file and what's output on the fields. Attached is an example. Case number of interest is 09-2-13981.

Most likely it is an issue with the address extraction algorithm, not the app.


Unable to select template for a new function

Repro steps:

Action: azureFunctions.createNewProject
Error type: Error
Error Message: Failed to get latest templates: Command "dotnet "c:\Users\C37147.vscode\extensions\ms-azuretools.vscode-azurefunctions-0.20.2\resources\dotnetJsonCli\netcoreapp3.0\Microsoft.TemplateEngine.JsonCli.dll" --require "c:\Users\C37147\AppData\Roaming\Code\User\globalStorage\ms-azuretools.vscode-azurefunctions\dotnetTemplates\itemTemplates-~3.nupkg" --require "c:\Users\C37147\AppData\Roaming\Code\User\globalStorage\ms-azuretools.vscode-azurefunctions\dotnetTemplates\projectTemplates-~3.nupkg" --operation list" failed with exit code "2147516566":
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '3.0.0' was not found.

The following frameworks were found:
2.1.8 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
2.1.9 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
2.1.15 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
3.0.0-preview7-27912-14 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

You can resolve the problem by ...
Version: 0.20.2
OS: win32
Product: Visual Studio Code
Product Version: 1.42.1
Language: en

@ravishekharreddy based on the error message it seems like you need to install a non-preview version of .NET Core 3.x
If that doesn't help, please add more detailed repro steps


RuntimeError: output with shape [1, 1, 16, 16] doesn't match the broadcast shape [1, 8, 16, 16]

When I use alibi_pos_bias = True I get:
RuntimeError: output with shape [1, 1, 16, 16] doesn't match the broadcast shape [1, 8, 16, 16]
Code:
import torch
from x_transformers import ContinuousTransformerWrapper, Encoder

MAX_SEQ_LEN = 16
IN_DIM = 128 # dimension of the input
OUT_DIM = 128 # dimension of each codebook vector
ATTN_DIM = 128 # dimension of the transformer
ATTN_DEPTH = 6 # depth of the transformer
ATTN_DIM_HEAD = 16 # dimension of each head of the transformer

heads = ATTN_DIM // ATTN_DIM_HEAD
model = ContinuousTransformerWrapper(
    dim_in = IN_DIM,
    dim_out = OUT_DIM,
    max_seq_len = MAX_SEQ_LEN,
    attn_layers = Encoder(
        dim = ATTN_DIM,
        depth = ATTN_DEPTH,
        heads = heads,
        attn_flash = True, # just set this to True if you have pytorch 2.0 installed
        alibi_pos_bias = True, # turns on ALiBi positional embedding
    )
)

x = torch.randn((1, 16, 128))

model(x)

But it works if I remove alibi

@BMontens could you also show the full trace?
it runs on my machine

Traceback (most recent call last):
  File "/media/USRNAME/Storage/Code/AI/test.py", line 49, in <module>
    quantized, commit_loss = extractor(input)
  File "/home/USRNAME/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/media/USRNAME/Storage/Code/AI/test.py", line 33, in forward
    x = self.transformer(input)
  File "/home/USRNAME/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/USRNAME/.pyenv/versions/3.10.10/lib/python3.10/site-packages/x_transformers/x_transformers.py", line 1467, in forward
    x, intermediates = self.attn_layers(x, mask = mask, mems = mems, return_hiddens = True, **kwargs)
  File "/home/USRNAME/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/USRNAME/.pyenv/versions/3.10.10/lib/python3.10/site-packages/x_transformers/x_transformers.py", line 1124, in forward
    out, inter = block(x, mask = mask, context_mask = self_attn_context_mask, attn_mask = attn_mask, rel_pos = self.rel_pos, rotary_pos_emb = rotary_pos_emb, prev_attn = prev_attn, mem = layer_mem)
  File "/home/USRNAME/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/USRNAME/.pyenv/versions/3.10.10/lib/python3.10/site-packages/x_transformers/x_transformers.py", line 827, in forward
    out, intermediates = self.attend(
  File "/home/USRNAME/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/USRNAME/.pyenv/versions/3.10.10/lib/python3.10/site-packages/x_transformers/attend.py", line 299, in forward
    out, intermediates = self.attend(
  File "/home/USRNAME/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/USRNAME/.pyenv/versions/3.10.10/lib/python3.10/site-packages/x_transformers/attend.py", line 204, in forward
    return self.flash_attn(q, k, v, mask = mask, attn_bias = attn_bias)
  File "/home/USRNAME/.pyenv/versions/3.10.10/lib/python3.10/site-packages/x_transformers/attend.py", line 174, in flash_attn
    out = F.scaled_dot_product_attention(
RuntimeError: output with shape [1, 1, 16, 16] doesn't match the broadcast shape [1, 8, 16, 16]

which version of x-transformers are you on? can you try updating to the latest version? try the latest

alright, i'm closing, i think it should be fixed haha

Successfully installed vector_quantize_pytorch-1.6.28
Still not working on this version

@BMontens lol, an emoji response
ok, happy training!


1.18.2?

Is an update to the 1.18.2 version of this mod planned due to how broken it is?

Yea I need to do that at some point

why the mod in this version don't work?


Can I build normal TCP/UDP server and HTTP server and WebSocket in a single asp.net core application?

I've checked the document. HTTP and WebSocket in a single asp.net core is ready.
Can I add TCP/UDP server in it?
I want try Dotnetty + asp.net core.
Is this possiable?

PTAL @terrajobst @weshaggard

I want try Dotnetty + asp.net core.

I have the same question.  Theoretically it shall be possible.

@davidfowl @davidsh

Can I build normal TCP/UDP server

What does "normal" mean in this context?
In term of a .NET Core application, one can certainly combine the various networking APIs for TCP/UDP, HTTP and WebSocket in a single application.

Yes you can do it in a single application there's no single application model that encompasses that. ASP.NET doesn't interact with dotnetty but you can certainly use both of them in the same application.

I agree.  I just put a UDP listener and it works.

Closing as it seems we answered the question. @19317362 please free to reopen if we didn't.


RFB closing socket and ending playwright execution when handling multiple dialogs

Describe the bug
In case a dialog was already handled before, if you try to execute a command that required dialog handling, it closes the socket, kill playwright execution and ends up failing all the following tests.
To Reproduce
Steps to reproduce the behavior:

Go to any context that requires handling dialogs
Use "Handle Future Dialogs    action=accept"
Interact with the item where handling the dialog is necessary
Repeat the process

Expected behavior
In case the dialog was already handled, only a warning perhaps should be included
Screenshots

Desktop (please complete the following information):

OS: Windows 11 (but happens also on pipeline running Ubuntu)
Browser: Chrome
Version: Chrome: 128.0.6613.138 Robot Framework Browser: Latest (18.8.1)

Additional context
Even though I'm interacting with different element, they both seems to trigger the same alert dialog. After doing the first time, it works completely fine, but when getting to the second run, it logs "socket closed" and all the following keywords have the response "ConnectionError: Playwright process has been terminated with code 1". Could it be a different way to handle that? or at least not closing all the following executions for it.
Also, this could be related to https://github.com/MarketSquare/robotframework-browser/issues/3785

@allcontributors please add @henriquediassep for bugs

This is [most likely) same as #3785 In #3785 there is proposal for a fix, but the keywords syntax needs some thinking, would you have good ideas?
I am closing this issue, please post you comment in #3785


Langserver could not import module app.server

I am trying to use the tool lanchain and langserver, and create a api from a template. Steps I took:

create server template

langchain app new my-app --package rag-conversation

copy in the code provided in the cmd after the installation is ready

@app.get("/")
async def redirect_root_to_docs():
    return RedirectResponse("/docs")

add_routes(app, rag_conversation_chain, path="/rag-conversation")

cd into my-app folder and run langchain serve in the cmd.
After which the server cant seem to start and throws this error

INFO:     Will watch for changes in these directories:
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
INFO:     Started reloader process [10212] using WatchFiles
ERROR:    Error loading ASGI app. Could not import module "app.server".

Does anyone know how to aproach this issue. There is no -v command option so this is all the information I have to go by.

@ZsomborHajzer I think this might be wrong repository for Langchain / Langserve related issue. Closing as unrelated to OpenGPTs.
If you think this is wrong, please re-raise the issue.


Vidal Jarbeaux

text: if you see page 1 and 2 if i understand,ankha say cannot,but in page 6,ankha give like when one guy comment how him can,im confused,maybe bad english,can you check this what i wrote about ankha?
link: http://www.vekn.net/forum/rules-questions/43572-can-i-put-infernal-pact-on-vidal-jarbeaux?start=36

It's already included as

He can meet the requirements for his controller to play any card, including Master cards. [LSJ 20091015] [PIB 20130128]

This is a 2013 thread, Ankha was not Rules Director at the time, PIB was. His answer is consistent with an earlier answer from LSJ, also listed.


Fix Segment Upsert section

🚀 Deployed on https://6349b66c1589df00a7ea8714--cozy-fox-0defec.netlify.app


Table rendering is messed up

@hadley commented on Fri Jun 16 2017
e.g. https://www.rdocumentation.org/packages/magrittr/versions/1.5/topics/extract

Reparsed with new parser version, looks good now !


wg-stories Meeting 2020-10-28

Meeting date/time (UTC)
October 28, 2020 at 6:00PM GMT
Instructions for joining the meeting
https://meet.google.com/scx-nzie-dxn
Agenda
Note: Add a comment on this issue to propose items for the agenda.

amp-story-interactive - backend: Google hosted: coming soon - Plans, Roadmap?
To enable Web Stories to appear in desktop Google Search results, I need to add support for landscape displays?
https://developers.google.com/search/docs/guides/web-stories-creation-best-practices/?authuser=0#expandable-3
Feature: Type a question or submit an email form in amp-story-interactive
Feature: AMP FORM in amp-story-page-attachment roadmap? It will be possible?
Feature: Support for AMP-YOUTUBE roadmap? It will be possible?

Is there a component as shown in the amp fest update (https://youtu.be/-Dc6vj97jLM 1:22) which displays a grid/carousel of stories?

I've been working on generating stories in clojure, eg. https://pine.rip/meditate and I'd be happy to share some code   I think that it really shows how the format supports building tools around it.

I also have some ideas on how stories can be used in the data journalism around the pandemic.

Should we reconsider the amp story having to be self-canonical now that the amp-story-player is available?
Should we reconsider disallowing buttons on the first page? I know this is done to avoid single-page stories, but it makes picking a language on a story quite difficult. And some countries like Belgium have multiple official languages ;-)
Will the future audio component be compatible with Spotify only, or is it more generic?

Notes for WG meeting October 2020
Interactive components
Interactive components are released and ready to be used as of today! We’ll send an email to make it official. Google backend is still not finished so to use them, tools will need to set up a backend or wait until this is released.
Player
We’re looking forward to release a new version of the Story Player in the near future with more features and improvements, it’s a great way to embed multiple stories while building very customizable experiences. The player allows JS hooks to fetch stories programmatically on completion, swiping between stories, adding custom icons to the UI, and more!
We’re soon going to post demos of the new functionalities, code samples and more documentation for this. More info at https://github.com/ampproject/amphtml/issues/30461.
Future plans
We’re looking into how stories use CTAs.
We’re investigating how stories get cropped in different screen sizes to create more consistent stories.
If you want to receive the latest news (like the upcoming Story Player), join https://groups.google.com/a/amp.dev/g/web-stories-devpreview.
Questions
Do stories need to support for landscape displays to show on search results? Stories don’t need to do that in order to show in search results, but stories that can afford to support landscape formats are more engaging in general.
What about other types of interactive components (eg: text input)? We’ve prototyped various types of interactive components and we’re starting to discuss security, privacy and legal aspects. Check prototypes at https://github.com/ampproject/amphtml/issues/29838.
Are there plans to support amp-youtube videos in stories? There are various roadblocks on this, for instance ads and getting video events, working with the iframe, etc. We don’t have a roadmap but we’re looking into it.
Can we open page attachments with buttons on the page? Probably not in the near future since it breaks the UX consistency, but we’re hearing .
Can we reconsider stories being self-canonical now that the player exists? Open for feedback on use-cases. Removing the constraint, would allow having a canonical URL pointing to more custom experiences. We can iterate
Can we allow buttons on the first page, since it makes it hard to implement things like language picker (which we had to use swipe-ups) or shortcuts to other places in the story (eg: subsections for a menu)? This is meant to disallow single-page stories. A main use-case would be a language-picker, so this is a feature that can be implemented on the format level or player level. We will make a feature request on Github and followup on it. In terms of CTAs on the first page, we will file an issue to get feedback on it.
Will the future audio component be only available for Spotify or also other apps? We currently have a generic audio component but many people don’t have the files for the audio they want to embed. We’re thinking future components will need to integrate specifically to individual vendor APIs, but we’re open to get feedback into what platforms we can support. The API for the components is not designed yet.
How can we embed charts on stories? The best way currently is to render the charts as images since we don’t have chart support on the format.
Many features get dragged down because of privacy concerns. Why stories need to go through more privacy reviews than amp-html? While amp-html also goes through reviews, stories are a full-bleed experience that can be more suited to phishing or similar. We’re relying on experts to take these decisions, and the least we want is to have the format under scrutiny.
Is there a component to show a grid or carousel of stories? We’re working on it, but we encourage developers to make their own layouts that match their brand. We’ll be releasing sample code to make this happen when we send the email on the Player updates soon.


TailwindCSS importing colors within scss

In tailwind I'm able to get colors into scss like:
theme('colors.primary.500')

In some cases I could use @apply bg-primary-500, but in other I need to apply colors to props like fill or within a scss map.
Is there something similar?

PR welcome!


Feature/cache policy

It looks like caching caused some issues where we wouldn't show the update UI prompt. It makes sense not to have caching in PoV since we always want to use the latest results from the server.

What's new:
added cachePolicy parameter to checkForUpdates and checkForAppStoreUpdates
defaulted the value to ignore the local and remote cache and always check the server
updated the readme

I think this is much better default then we used to have, but I think we need to allow clients to configure behaviour that they want from this library.
In particular, I can see use cases where ignoring remote cache data might not be desirable.
Would it be possible to parametrise and provide default value?

@jcavar If you take a look at the new implementation of the checkForUpdates and checkForAppStoreUpdates, you can see that now the user can provide the desired cachePolicy but I defaulted it to ignore both remote and local cache data.
Do you think that only ignoring local cache data would be more desirable as a default value?

@jcavar I've set it to ignore local cache only since @goranbrl found out that the ignoring of the remote cache is only 13+...


PDFMiner does not parse more than 1 page

I'm using PDFMiner6 with Python 3.5. It's far better than PyPDF2 (slower, but more accurate and doesn't spit out a bunch of letters that are not separated by spaces). I tried to parse this document:
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2963791/ (You can download the PDF free from the NIH website).
I used this code (it's part of a larger spider, but the rest of the code is not relevant to this question):
import io
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter
from pdfminer.converter import TextConverter
from pdfminer.layout import LAParams
from pdfminer.pdfpage import PDFPage

class PDFMiner6(object):
    def __init__(self):
        pass

    def PdfFileReader(self, fp):
        text = []
        rsrcmgr = PDFResourceManager()
        retstr = io.StringIO()
        codec = 'utf-8'
        laparams = LAParams()
        device = TextConverter(rsrcmgr, retstr, codec=codec, laparams=laparams)
        interpreter = PDFPageInterpreter(rsrcmgr, device)
        password = ""
        maxpages = 0
        caching = True
        pagenos = set()

        for page in PDFPage.get_pages(fp, pagenos, maxpages=maxpages, password=password, caching=caching, check_extractable=True):
            interpreter.process_page(page)
            output = retstr.getvalue()
            text.append(output)

        fp.close()
        device.close()
        retstr.close()
        return text

It parses the first page perfectly, then stops. The rest of the document is not parsed.
I tested the same document using PyPDF2, it parses the entire document but outputs garbage without any spaces (hence I switched over to PDFMiner6). So I'm sure that it's not that the entire document is not being read but something wrong with the code that's parsing it. What is wrong?
EDIT: I went ahead and tested it on different PDF files with varying results - it parses some completely, whereas others, it stops at the first page. This is frustrating, as PDFMiner6 is a better parser compared to PyPDF2.
Could anybody help?

@MonkeyBot2020 Looks like you might need to adjust the maxpages parameter in the PDFPage.get_pages function call.
The get_pages function is a generator that yields pages while maxpages <= pagenum+1. This check happens after yielding the first page which guarantees one page is returned.
get_pages source can be found here https://github.com/pdfminer/pdfminer.six/blob/master/pdfminer/pdfpage.py
Hope this helps.

Using pdfminer.high_level.extract_text("nihms233215.pdf") on the pdf at https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2963791/pdf/nihms233215.pdf seems to work fine in version 20191110
I think you can close this issue

Indeed, you are right!


unexpected configuration type 'bool': valid types are String, List, Number, List, Boolean, List

What happened?
When trying to use a boolean configuration type the program fails with
    error: unexpected configuration type 'bool': valid types are String, List<String>, Number, List<Number>, Boolean, List<Boolean>

      on Pulumi.yaml line 6:
       6:     default: true

The program is
name: pulumitest-static-website
runtime: yaml

configuration:
  test:
    default: true

resources: {}

Steps to reproduce
Create the program as above and try pulumi up.
Expected Behavior
Should see "true" in output.
Actual Behavior
Error.
Versions used
CLI
Version      3.37.1
Go Version   go1.18.4
Go Compiler  gc
Plugins
NAME  VERSION
yaml  unknown
Host
OS       arch
Version
Arch     x86_64
This project is written in yaml
pulumi plugin ls | grep yaml
yaml          language  0.5.3    21 MB   14 seconds ago  14 seconds ago
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@aq17 Could you please take a look when you are back next week?

@aq17 Could you please take a look when you are back next week?

@mikhailshilkov 👀


Update keyboard.rs docs in bevy_input

Objective

Part of the splitting process of #3692.

Solution

Document keyboard.rs inside of bevy_input.

@bevyengine/docs-team can I get another set of eyes on this?

Not a fan of "__ key, next to __". Seems unnecessary, and it assumes the reader has a 'standard' keyboard layout.
It works out for my desktop's keyboard but, it does not match my laptop's keyboard.

Yeah, that's sensible. Perhaps "distinct from Num0" is more helpful?

bors r+


raise Error(f'Failed to import module "{module_name}"') from err (CON-937)

After updating the Matter environment, I encountered the following error upon reactivation. I attempted to reinstall the environment, but encountered a similar situation. The version of esp-idf being used is v5.1.2.
BOOTSTRAP! Bootstrap may take a few minutes; please be patient.

Downloading and installing packages into local source directory:

  Setting up CIPD package manager...done (4m17.8s)
  Setting up Project actions........skipped (0.4s)
  Setting up Python environment.....done (3m30.6s)
  Setting up pw packages............skipped (0.1s)
  Setting up Host tools.............done (0.1s)

Activating environment (setting environment variables):

  Setting environment variables for CIPD package manager...done
  Setting environment variables for Project actions........skipped
  Setting environment variables for Python environment.....done
  Setting environment variables for pw packages............skipped
  Setting environment variables for Host tools.............done

Checking the environment:

Traceback (most recent call last):
  File "/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pw_cli/plugins.py", line 96, in from_name
    module = importlib.import_module(module_name)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pw_watch/watch.py", line 93, in <module>
    import pw_console.python_logging
  File "/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pw_console/__init__.py", line 16, in <module>
    from pw_console.embed import PwConsoleEmbed
  File "/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pw_console/embed.py", line 23, in <module>
    from pw_console.console_app import ConsoleApp
  File "/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pw_console/console_app.py", line 59, in <module>
    from ptpython.layout import CompletionVisualisation  # type: ignore
  File "/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/ptpython/__init__.py", line 3, in <module>
    from .repl import embed
  File "/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/ptpython/repl.py", line 23, in <module>
    from prompt_toolkit.formatted_text import OneStyleAndTextTuple
ImportError: cannot import name 'OneStyleAndTextTuple' from 'prompt_toolkit.formatted_text' (/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/prompt_toolkit/formatted_text/__init__.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/bin/pw", line 8, in <module>
    sys.exit(main())
  File "/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pw_cli/__main__.py", line 43, in main
    pw_command_plugins.register()
  File "/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pw_cli/pw_command_plugins.py", line 65, in register
    _register_builtin_plugins(plugin_registry)
  File "/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pw_cli/pw_command_plugins.py", line 43, in _register_builtin_plugins
    registry.register_by_name('watch', 'pw_watch.watch', 'main')
  File "/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pw_cli/plugins.py", line 303, in register_by_name
    Plugin.from_name(name, module_name, member_name, source)
  File "/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pw_cli/plugins.py", line 104, in from_name
    raise Error(f'Failed to import module "{module_name}"') from err
pw_cli.plugins.Error: Failed to import module "pw_watch.watch" (ImportError: cannot import name 'OneStyleAndTextTuple' from 'prompt_toolkit.formatted_text' (/home/sk/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/prompt_toolkit/formatted_text/__init__.py))
Error during bootstrap--see messages above.
Installing pip requirements for all...

I have resolved my current issue by referencing the solution provided in this issues/772. I will now proceed to close this issue.


OOM Killed Allocations

Related to #396

Currently we observe some runners being OOM Killed (just) in the Poseidon logs (Lack of Error reporting or ok?). This leads to the runner being restarted and added to the idle runners again (even if it was used before the restart).

We expect that this leads to interfering runner management actions if the idle runner was re-assigned to a new user within the timeout of old executions.

I know that we might see an OOM killed message, when too much memory is consumed within a runner. One example to trigger this error might be the following: In an R script, just type the following:
table(airquality)

The difference between the two types of OOM Killed is:

For the known case (table(airquality)) the command is killed within the container.

The runner can be further used for the next allocation.

For the new case the whole allocation/container is OOM Killed.

The runner is restarted and re-added to the prewarming pool.
Existing WebSocket connections timeout.
Currently not reproducible
map[Allocation:map[ClientDescription:No tasks have started ClientStatus:pending DesiredStatus:run JobID:29-4dbd13a6-0acd-11ee-a4f7-fa163e079f19 NodeName:nomad-agent-terraform-1 Resources:map[CPU:20 MemoryMB:30 MemoryMaxMB:256 ] TaskStates:map[default-task:map[Events:[map[Details:map[exit_code:137 exit_message:OOM Killed oom_killed:true signal:0] Exit Message: "OOM Killed" Type:Terminated]]] ]]]]

Expected behaviour would be:

If this memory limit we defined is the root cause of those issues, the WebSocket connection to the browser should also be closed, but of course I don't know about the other WebSocket connection between Poseidon and CodeOcean. I have the feeling that in any case, we should also stop the WebSocket connection if a runner becomes unavailable (such in this case). Do you see any possibility to tackle this issue as well?

According to the Telegraf monitoring the (memory of the) Nomad cluster was barely used in the time of the observed occurrences. This strikes out the possibility that the Linux kernel of the host killed the allocations due to low available memory.

Thanks for creating a dedicated issue and summarizing the findings. It's also interesting to see that the existing case (user program takes too much RAM, such as with table(airquality)) is handled appropriately, but this case obviously is different.
With some further debugging, I saw that the following output was provided to a learner:
status: timeout
 stdout: waiting on pid 44: waiting on PID 44 in sandbox "aeb3d07ab278eab8024a3bb44c9bbaacac5d9eca870385db22a9ad41f68494cc": urpc method "containerManager.WaitPID" failed: EOF

 stderr: test_assess (r232.Assess) ... waiting on pid 48: waiting on PID 48 in sandbox "aeb3d07ab278eab8024a3bb44c9bbaacac5d9eca870385db22a9ad41f68494cc": urpc method "containerManager.WaitPID" failed: EOF

Based on this output, I probably was able to reproduce it. Check this exercise Python20 Aufgabe 2.3.2 with input:
verbleibende_Zeit = 100
while verbleibende_Zeit >= 17 :
    print("Wir spielen noch eine Runde.")
print("Nun ist Zeit zum Schlafen.")

Of course, this code will create an infinite loop. While doing so, it will also spam the output. In a regular "run" on CodeOcean, this is not a major issue, everything behaves as expected (including the browser, which is slowing down due to the massive output). However, the error is triggered when assessing this solution. In this case, weird things happen, for which I don't have an explanation yet...
Does this help you to reproduce the issue?

Thank you for this additional information! With it I was able to reproduce the error. It turns out that the program is just exceeding its memory limit. The difference between the two types of OOM Killed is the use/nonuse of gVisor. With gVisor enabled the whole container is OOM Killed, otherwise just the process.
The minimal reproducible example is dd if=/dev/zero of=/dev/null bs=500M or
import os

os.system("dd if=/dev/zero of=/dev/null bs=500M")

I guess we have to accept allocations being OOM Killed, but we should not wait for the execution timeout to exceed when we already know that the allocation has been stopped. So far, I could think of the following solutions.

Abort the WebSocket connection to Nomad Poseidon-side aka Destroy runner when the allocation is stopped. Implemented in #401
Abort the WebSocket connection to Nomad Nomad-side aka investigate why Nomad does not abort it

Awesome, thanks for identifying the cause for the two differences for OOM killed executions. It makes sense that gVisor is involved here, but it would have been better without it changing this behavior ;).
I also agree that we should not wait for the timeout to exceed before taking the appropriate actions. Therefore, I like the approach you chose and also think that, while Nomad should close the connection, it's also fine for Poseidon to clean up.


259 initial league page styling fixes

@euanwm can you run this locally and tell me what you think


skip_all option for operator_manifests in container.yaml

CLOUDBLD-2425

Signed-off-by: Robert Cerven<EMAIL_ADDRESS>Maintainers will complete the following section

[ ] Commit messages are descriptive enough
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request has a link to an osbs-docs PR for user documentation updates

related atomic-reactor part https://github.com/containerbuildsystem/atomic-reactor/pull/1555

rn updated: skip_all option for operator_manifests in container.yaml


MarkupSafe version in requirements file breaks with latest version of setuptools

Hello, I am following the course and in order to test the final project, I had the following error when installing the requirements:
from setuptools import setup, Extension, Feature
ImportError: cannot import name 'Feature' from 'setuptools'
Doing a bit of research, I found the version 46.0.0 of setuptools removed Feature which apparently was a long-deprecated class. This class is used by the MarkupSafe library, at least in version 1.0 specified in the requirements file. Also, it is known that in the version of the library MarkupSafe 1.1.1 it no longer requires this class.
Ways to deal with the inconvenience:

Specify a version of the setuptools library lower than 46.0.0 at the beginning of the requirements file. The closest version is 45.3.0.
Install the lower version of the library manually and then install the libraries from the requirements file.
pip install setuptools==45.3.0
pip install -r requirements.txt
This last way consists of updating the version specified in the MarkupSafe library requirements file from 1.0 to 1.1.1, because of it is no longer dependent on the class obtained from the setuptools library.

If there is anything to correct or further explain, please let us know.
I hope it will be of great help.
Greetings.
Source 1: https://github.com/pallets/markupsafe/issues/116
Source 2: https://bk.tencent.com/s-mart/community/question/909

I have updated the requirements to use version 1.1.1. Thanks.


Texture coordinates and GML 3.3 compact encoding

If you want to assign textures to city objects, then both CityGML 2.0 and the current 3.0 draft require that texture coordinates are provided for each boundary ring of a surface geometry. For this purpose, a app:TexCoordList element must reference its target rings by their gml:id.
GML 3.3 introduces compact encodings for (some) surface objects. Common to these compact encodings is that the gml:LinearRing element is omitted as shown in the following example:
    <gmlce:SimplePolygon>
      <gml:posList>1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0</gml:posList>
    </gmlce:SimplePolygon>

I do not see how the current texturing mechanism would work in this example. If texturing of SimplePolygons should be supported by CityGML 3.0, then I think the current Appearance module needs some rework. Otherwise, it should be made clear that texturing only works with the GML 3.2 encoding of surface geometries.

Wouldn't it be possible that we simply allow that the app:TexCoordList element either has to reference a ring (when using the GML 3.2 encoding of surface geometries) or can also reference the gml:id of a simplified geometry encoding from GML 3.3? This would work for the example given above (SimplePolygon). However, I have not checked, if this would be applicable to other types of surface encodings offered by GML 3.3.
This would not require any change to the Appearance UML model, because the rings are referenced by an URI. We only would have to write in the explanation that these URIs in a CityGML encoding need to unambigously point to the rings bounding the surface and that the first ring always is the outer boundary. In the CityGML GML encoding specification we would then explicitly list allowed target geometry encodings.

Well, currently TexCoordList is defined to point to a linear ring via its ring property, not to a surface geometry. The surface geometry is referenced by the uri property of TextureAssociation. So if we let TexCoordList point to the SimplePolygon itself, then this already is a change to the appearance module and would affect current implementations. The SimplePolygon would then be referenced by both TexCoordList and TextureAssociation. And it might get confusing if the target of the texture association is a gml:MultiSurface consisting of both simple and non-simple polygons. In this case, the uris of the TexCoordList would reference both rings and surface geometries at the same time.
Another solution could be to completely drop the uri property from TexCoordList . Then we would have to enforce in the specification that the textureCoordinates inside TexCoordList must be listed in exactly the same order as the rings in the surface geometry. I think almost all exisiting dataset already stick to this anyway. This also would simplify the current TexCoordList element. Because in its current form, it also implies an exact same order of the textureCoordinates and ring elements (this was different in CityGML 2.0, because ring was an attribute of textureCoordinates).

Ok, dropping the uri property from TexCoordList looks like a feasible solution. I also have not seen a CityGML 2.0.0 dataset, in which the set of texture coordinate lists are not ordered in the same way as the rings in the referenced geometry.
It can, however, create a problem when there is only one ParameterizedTexture feature pointing to a MultiSurface or CompositeSurface. I believe it is not safe to assume that the different surface members are always stored in the same order. Anyway, is this a practical problem, i.e. have you seen real world datasets with a single texture feature applied to a MultiSurface or CompositeSurface? If not, we could require that each surface (member) needs to get its own ParameterizedTexture feature. But that could increase the encoding size if one ParameterizedTexture should be applied e.g. to a TriangulatedSurface.

In datasets that I come across in practice, ParameterizedTexture features really just reference a single gml:Polygon. In this official CityGML 2.0 example dataset, a gml:CompositeSurface is referenced. And as you write, if you want to texturize a terrain given as triangulated surface, then this is also an example where you would have to provide texture coordinates for all the triangle members within on ParameterizedTexture feature.
Yes, the order of surface members is only fix for a given dataset. So you can make sure that the order of TexCoordList elements is identical within the same dataset. If, for instance, this dataset is loaded into a database and exported again, then the export tool would have to make sure that the ordering of the surface members and their texture coordinates do match.

What about making the usage of the ring property in TexCoordList optional? If ring is missing, it would mean that only the reference to the geometry object is provided by the uri property and that the order of the rings and the order of TexCoordList elements are / need to be the same. This would work for the compact GML 3.3 encodings. If values for ring are given, it has the same semantics as in CityGML 2.0.0. We would then include a hint in the specification, that when leaving out the ring property, one needs to be especially careful about keeping track of the order of rings and texture coordinate lists in the case of MultiSurfaces or CompositeSurfaces (incl. TriangulatedSurfaces).

In today's modelling subgroup meeting we agreed that the ring property should remain mandatory. We only need to allow that the ring property can have an empty value in case of compact geometries that lack the gml:LinearRing.
The benefit of this solution is that
a) it is simple,
b) the conceputal model doesn't need to be changed and
c) the conceputal model  remains backwards compatible with CityGML 2.0.
Here is an example:
    <gmlce:SimplePolygon gml:id="id01">
      <gml:posList>1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0</gml:posList>
    </gmlce:SimplePolygon>

    ...

    <app:Appearance>
      <app:surfaceData>
        <app:ParameterizedTexture>
          <app:imageURI>image.png</app:imageURI>
          <app:textureParameterization>
            <app:TextureAssociation>
              <app:uri>#id01</app:uri>
              <app:textureParameterization>
                <app:TexCoordList>
                  <app:textureCoordinates>1 1 2 2 3 3</app:textureCoordinates>
                  <app:ring/>  <-- ring is empty because there is no gml:LinearRing
                </app:TexCoordList>
              </app:textureParameterization>
            </app:TextureAssociation>
          </app:textureParameterization>
        </app:ParameterizedTexture>
     </app:surfaceData>
   </app:Appearance>


[FEATURE] flagD TLS support

Requirements
Implement server side TLS

https://github.com/open-feature/flagd/pull/100


Spike: can we use kube types protobuf annotations to generate our types (instead of maintaining them manually)?

Summary what I have:

A new git repo to build k8s proto into a buf.build repo.
A working experimental prototype repo using that buf.build repo.

That way we can add the k8s resources as a buf dependency:
version: v1beta1
name: buf.build/weaveworks/experiment
deps:
  - buf.build/googleapis/googleapis
  - buf.build/grpc-ecosystem/grpc-gateway
  - buf.build/efertone/k8s
build:
  roots:
    - ./
lint:
  except:
    # allow the proto file to be in a non-package directory structure.
    - PACKAGE_DIRECTORY_MATCH
    - PACKAGE_SAME_DIRECTORY

Use k8s resources in our messages:
syntax = "proto3";

package core.v1;

option go_package = "experiment/api/core";

import "k8s.io/api/core/v1/generated.proto";

service Core {
    rpc ListNamespaces(ListNamespacesRequest) returns (ListNamespacesResponse) {}
}

message ListNamespacesRequest {}

message ListNamespacesResponse {
  repeated k8s.io.api.core.v1.Namespace namespaces = 1;
}

And finally, use k8s resources in out api endpoints (dummy version):
package main

import (
	"fmt"

	v1 "k8s.io/api/core/v1"

	pb "experiment/api/core"
)

func main() {
	ns := v1.Namespace{}
	ns.SetName("something")

	resp := pb.ListNamespacesResponse{
		Namespaces: []*v1.Namespace{
			&ns,
		},
	}

	fmt.Printf("%+v", resp)
}

Output:
❯ go run ./core/api
{state:{NoUnkeyedLiterals:{} DoNotCompare:[] DoNotCopy:[] atomicMessageInfo:<nil>} sizeCache:0 unknownFields:[] Namespaces:[&Namespace{ObjectMeta:{something      0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] []  []},Spec:NamespaceSpec{Finalizers:[],},Status:NamespaceStatus{Phase:,Conditions:[]NamespaceCondition{},},}]}

I couldn't find a way to pull in flux resources, all options required a lot of changes on flux or duplicated code to maintain/keep in sync. (like generating proto files from existing go structs).
Hopefully someone will extract the go-to-proto workflow from the Kubernetes repo, I tried to reuse it, but it's deeply wired with the whole repo and its structure.


Hosts/Stacks/Containers temporally swapping environments

Rancher Version: 0.59.1
Docker Version: 1.10.3
OS: Ubuntu (server), Windows 10 (client)
Browser: Chrome
Steps to Reproduce:
Not 100% sure on these steps

Create a few environments (i have 10)
Add a few hosts to each environment
sit on hosts page, let access token expire (i think?) (~15-30min)

Results:
Hosts from other environments temporally appear in the list
Expected:
Only host for that environment appear in the list at all times
i have seen this happen with containers/stacks too.

@agalpin - This was previously reported and fixed in v1.0

https://github.com/rancher/rancher/issues/3639


onKeyboardResigned is not working

In the documentation, "onKeyboardResigned is a callback function that will be triggered once the keyboard has been closed".
but when i try to close(like onBlur) the keyboard this function is not triggering.
How do i solve this issue? Does anybody encountered with that?
Prop explanations in doc

same problem here


[api & email] Pass context with timeout

Close #9

Codecov Report

Merging #10 (95b32ef) into main (f8f16ca) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   66.66%   66.66%
=======================================
  Files           2        2
  Lines          42       42
=======================================
  Hits           28       28
  Misses         12       12
  Partials        2        2

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


antlr4: 4.7 -> 4.7.1

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
ran /nix/store/i4ipx4vd247inysxw0ygp7smcfx5yf05-antlr-4.7.1/bin/grun -h got 0 exit code
ran /nix/store/i4ipx4vd247inysxw0ygp7smcfx5yf05-antlr-4.7.1/bin/grun --help got 0 exit code
ran /nix/store/i4ipx4vd247inysxw0ygp7smcfx5yf05-antlr-4.7.1/bin/grun help got 0 exit code
found 4.7.1 with grep in /nix/store/i4ipx4vd247inysxw0ygp7smcfx5yf05-antlr-4.7.1

Success on x86_64-linux (full log)
Attempted: antlr4
Partial log (click to expand)
building
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/67gnlc8adbc3a0fgzm0mk3zjpyfw52ab-antlr-4.7.1
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/67gnlc8adbc3a0fgzm0mk3zjpyfw52ab-antlr-4.7.1/bin
patching script interpreter paths in /nix/store/67gnlc8adbc3a0fgzm0mk3zjpyfw52ab-antlr-4.7.1
checking for references to /tmp/nix-build-antlr-4.7.1.drv-0 in /nix/store/67gnlc8adbc3a0fgzm0mk3zjpyfw52ab-antlr-4.7.1...
/nix/store/67gnlc8adbc3a0fgzm0mk3zjpyfw52ab-antlr-4.7.1

No attempt on aarch64-linux
The following builds were skipped because they don't evaluate on aarch64-linux: antlr4
No log is available.


IJulia doesn't play nicely over ipc

Hi!
I've been hacking on a variant of the reference jupyter_client, and it seems that IJulia doesn't connect correctly to the ZMQ sockets when the MultiKernelManager is set to 'ipc' mode instead of TCP.  Any thoughts are appreciated, and it's not really critical, I just thought someone should know.
Julia version: 0.5.2
Jupyter Protocol 5.0

IJulia binds ZMQ sockets with the form bind(publish[], "$(profile["transport"])://$(profile["ip"]):$(profile["iopub_port"])") ... is this not correct for ipc?

That looks about right, but I couldn't really say definitively because I'm not super comfortable with the connection mechanics (pretty good on how the machinery works after a connection is established however).  I'm not sure what's going on, but my client's sockets are all initialized, so it would cause me to think that zmq is trying to bind to IJulia but not finding anything.  I'll also be testing a reference client later today so I'll let you know the results of that.  Here's the the traceback post my code.
File "/usr/local/lib/python3.6/site-packages/tornado/ioloop.py", line 453, in run_sync
    self.start()
  File "/usr/local/lib/python3.6/site-packages/zmq/eventloop/ioloop.py", line 177, in start
    super(ZMQIOLoop, self).start()
  File "/usr/local/lib/python3.6/site-packages/tornado/ioloop.py", line 863, in start
    event_pairs = self._impl.poll(poll_timeout)
  File "/usr/local/lib/python3.6/site-packages/zmq/eventloop/ioloop.py", line 122, in poll
    z_events = self._poller.poll(1000*timeout)
  File "/usr/local/lib/python3.6/site-packages/zmq/sugar/poll.py", line 99, in poll
    return zmq_poll(self.sockets, timeout=timeout)
  File "zmq/backend/cython/_poll.pyx", line 123, in zmq.backend.cython._poll.zmq_poll (zmq/backend/cython/_poll.c:2186)
  File "zmq/backend/cython/_poll.pyx", line 116, in zmq.backend.cython._poll.zmq_poll (zmq/backend/cython/_poll.c:2036)
  File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/_poll.c:2811)
zmq.error.ZMQError: Socket operation on non-socket

Thanks!

Socket operation on non-socket looks like an error on the Python side, not in Julia?

Yep, but it woks great with any kernels using a IPython or wrapper thereof, just not IJulia, which was why I thought it might be more of a Julia problem.

ie if IJulia doesn't initialize the sockets at the right time or the right port then the Python client will try to bind, but fail?

Closing unless this issue can be reproduced with modern versions.


scala 2.13.4+zinc 1.5.0 M3 bump

Bump Scala to 2.13.4
Bump zinc to 1.5.0-M3

Zinc 1.4.4 seems to conflict with Scala 2.13.4, at least on CI, Java 8, Ubuntu.

CI is unhappy. See also #1116

CI is unhappy. See also #1116