Copying HTML to clipboard on Windows 8.1/IE11

Hey everyone.
I am trying to copy an html table to Excel. In testing I noticed that using ZeroClipboard via any method will not copy html to a clipboard in IE11 on Windows 8.1. It seems to work fine in Chrome 41. I have tried every method on this page. The issue seems to be originating from the fact IE (and it seems like Safari as well) does not support copying 'text/html' to the clipboard natively. Unfortunately, I really need text/html support.
Does anyone have a work around for this, or can offer me some advice on how to fix this? It's a very strange issue.

What's your ZeroClipboard version?
Offhand, your description makes it sound like your copy isn't even going through ZeroClipboard. Is the "ready" event triggering? Are any "error" events triggering?
Can you please provide a simple JSBin/JSFiddle/CodePen example that reproduces your problem? We have some starter snippets that you can fork: docs/instructions.md#starter-snippets-for-playground-sites
Also, when you mention Safari not working: which version and which OS?

@JamesMGreene
Hey, thanks for your reply. It looks like I am running ZeroClipboard 2.2.0. There are no error messages that are triggered, and it's definitely able to console.log from the ready event.
Even though for some reason the table html isn't being copied totally correctly (this)[http://fiddle.jshell.net/k9psq1da/69/show] JSfiddle demonstrates the problem. I've tested this fiddle in Windows 8.1/IE11 and it fails.
I have tried OS X/Yosemite and it seems to be working now. I will talk to the person who caught the OS X bug and see if I can get any more information.

The problem is your code. :blush:
Check out the updated JSFiddle: http://fiddle.jshell.net/k9psq1da/74/
I've fixed 3 problems, only 1 of which was the real issue:

You were setting a config option called moviePath, which does not exist. That was renamed to swfPath in v2.0.0
You were trying to set plain text with the MIME type "text/text" rather than "text/plain"
REAL PROBLEM: the data you were putting into the clipboard was the table element's innerHTML (via jQuery's $(el).html()), so it was missing the wrapping

 markup. Obviously that plays an important role in HTML portability for a pasting target.

I switched it to use el.outerHTML instead. If you want to go the jQuery-heavy route, by all means, use my jQuery outerHtml plugin: JamesMGreene/jquery.outerHtml. :wink:

With those changes, it worked just fine for me in IE11 and pasting into Word and Excel.

@JamesMGreene I'll give this a shot and see how it goes. Thanks for your help!

That sounds like a problem with the paste target/receiver (Google Sheets), yes.
Have you had any success manually copying an HTML table (just by selecting it and doing a browser/OS copy to the clipboard) and then pasting it into Google Sheets?


slowly navigate to produts

i had an issue and declared it in isuues section as a bug
my main issue was
slowly navigate to produts like 2 seconde to navigte
and carts section doesn't work well!
4 request has been made for navigation to a product and that's a lot

cart isn't working probably

401 status code for every navigate sometimes happens and sometimes not !

i'm working on
windows 10
latest node version
latest project version

Hi @Adamkaram
You are running the starter in dev mode, most of these requests aren't made in production, as pages a statically generated, but while Next is running in dev mode pages are generated on each navigation. Page navigations should not take 2 seconds, and do not in my case, but could be related to the specs of your computer. This would again also be improved greatly once you run everything in production. Generally, you shouldn't judge performance on a dev build, but instead on the production build, to test this you can try to build the project and serve the build output.
I am not sure what you mean by the cart isn't working, it works fine on my end. Please provide actual information (error logs) if you have an issue so that we are able to help you.
The 401 is expected, it checks if the user is logged in, and since you are not it returns a 401.
I am closing this, as I see no actual issues in what you describe, if you have issues with the cart not working, then please open another issue and provide us with some error logs. 🙂


Bug: startWeekOnSunday then change to following week breaks calendar

Example Reproduction:

https://jsfiddle.net/qu07c3st

Steps to reproduce:

Enable :startWeekOnSunday="true"
Change the view to go to the next upcoming week

Expected:

Days and events for the following week will be displayed accurately

Actual:

Days shift over by one day.
Clicking again shifts them over 7 days.
The day of the week is now wrong (Today is Monday the 25th, but it will now display as Sunday the 25th).
Events will be displayed on the wrong day

Hi @TheJaredWilcurt, thanks for reproduction link, I am fixing this asap.

Hi @TheJaredWilcurt, Fixed in version 1.44.1 (your link works now), sorry about that.


further information of quality measures

How can the quality measure be used. Are there some working examples to help share this element?
[Enter feedback here]

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

ID: 64e14cbc-9c22-61d8-fd69-067b46947510
Version Independent ID: af380751-d3b2-9b9e-73d2-a16256d4a336
Content: How to Create Routings - Business Central
Content Source: business-central/production-how-to-create-routings.md
Service: dynamics365-business-central
GitHub Login: @SorenGP
Microsoft Alias: edupont

Hi Ben,
We don't really have good guidance for how to apply quality control to your processes, be that routing in production or other processes. It depends in part on culture and local or industry-specific best practices, so you might want to check in with the community here for what people are doing: https://community.dynamics.com/business
Sorry that I can't be more helpful than that!

Hi Ben,
We don't really have good guidance for how to apply quality control to your processes, be that routing in production or other processes. It depends in part on culture and local or industry-specific best practices, so you might want to check in with the community here for what people are doing: https://community.dynamics.com/business
Sorry that I can't be more helpful than that!


Revert "DefaultMediaNotificationProvider: Fix missing comma in documentation."

Reverts androidx/media#149

Any particular reason you first merged and then reverted?

@vanniktech I merged the PR from Github instead of using our script to pass it through our internal checks as I was unaware about the process. Had to revert back and couldn't use the script anymore as the PR was already merged. I created a similar PR internally which contains these changes in documentation.  I hope you got the credit for your PR as it was merged.

Don't worry about my credit, as long as the change has landed!


Js sys promise arguments by shared ref

Not a breaking change because we haven't published js-sys with Promise bindings yet, thankfully.

💯


Cleanup IRepositoriesManager

This is WIP because it needs to redone after #691 is merged.
Also the methods on IRepositoryManager should not be suspendable.

Outdated


C# Code coloring glitches after method that returns Task of tuple

VSCode Version: Code 1.19.1 (0759f77bb8d86658bc935a10a64f6182c5a1eeba, 2017-12-19T09:35:14.671Z)
OS Version: Darwin x64 17.3.0
Extensions:

Extension
Author (truncated)
Version

swagger-viewer
Arj
1.5.0

csharp
ms-
1.13.1

Steps to Reproduce:

Have a c# code with a method that returns task of a tuple.
this happens (take a look at the coloring of lines 73 to 98):

Reproduces without extensions: Yes (the image above is taken with --disable-extensions flag)

Please file C# issues against the C# extension.

I disabled c# extension. this is just code doloring


Joselo

Reto 12

Hello @jlnc! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file reto-12/joselo/src/copy.py:

Line 36:24: E127 continuation line over-indented for visual indent


Feature cenik123 vpcvrr 1.1.1

This pull request shows the work done on using packer to build a system virtual machine. Also, using Vagrant boxes as a test platform for systemvm's. This is a work in progress and is posted here for review and comment.

Hi @KarlHarrisSungardAS,
Is there any update on this PR? It is quite behind current master and we're unable to merge it like this. I think it's probably best to close it, rebase with current master and send another PR once the work complete.
Could you please close the PR?
If you need help, let us know.
Thanks!


407 create dataset prefill

What this PR does / why we need it:
Fills Create Dataset form with info from the currently logged in user
Which issue(s) this PR closes:
Closes #407
Special notes for your reviewer:
Suggestions on how to test this:
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Is there a release notes update needed for this change?:
Additional documentation:

coverage: 98.403% (+0.6%) from 97.848%
when pulling f4dc332899776bf10c7b21c68ab66348d4a5e408 on 407-create-dataset-prefill
into f34e56a2ce56c9990b4df9e9965b4e5029e911fa on fix/393-match-api-email-validation2.

Thanks @GermanSaracca, I made the changes you suggested.


Valid Titanium Module

I´m not using additional modules and i get this error:
Could not find a valid Titanium module id=ti.goosh version=latest platform=android deploy-type=development.
[ERROR] :  Could not find all required Titanium Modules:
[ERROR] :     id: ti.goosh	 version: latest	 platform: android	 deploy-type: development

   <modules>
    <module platform="android">ti.goosh</module>
  </modules>

I installed the module using gittio and is located under modules/android/ti.goosh
Any ideas?
Thank you!

Youre probably using the latest ti.goosh version but not titanium sdk 6.0. Version 1.7.2 is compiled for sdk 6.0 and doesn't work on old sdks

That was the problem, thanks a lot!


Build fails on Flutter 3.24.0 (dart 3.5.0)

Describe the bug
Build of the flutter project fails on cbl package:
$ flutter build apk

You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply

Native libraries for Couchbase Lite for android are already installed
../../../.pub-cache/hosted/pub.dev/cbl-3.0.0/lib/src/document/blob.dart:212:22: Error: The method 'UnmodifiableUint8ListView' isn't defined for the class 'BlobImpl'.
 - 'BlobImpl' is from 'package:cbl/src/document/blob.dart' ('../../../.pub-cache/hosted/pub.dev/cbl-3.0.0/lib/src/document/blob.dart').
Try correcting the name to the name of an existing method, or defining a method named 'UnmodifiableUint8ListView'.
            sink.add(UnmodifiableUint8ListView(data));
                     ^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot_program failed: Exception

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/opt/homebrew/Caskroom/flutter/3.24.0/flutter/bin/flutter'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 28s
Running Gradle task 'assembleRelease'...                           28.9s
Gradle task assembleRelease failed with exit code 1

To Reproduce
Install flutter 3.24.0, ensure flutter --version shows dart 3.5.0:
$ flutter --version
Flutter 3.24.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 80c2e84975 (8 days ago) • 2024-07-30 23:06:49 +0700
Engine • revision b8800d88be
Tools • Dart 3.5.0 • DevTools 2.37.2

Expected behavior
Build should pass, as it does on version 3.22.3 (dart 3.4.4)
Environment (please complete the following information):

OS: MacOS 14.3
cbl: 3.0.0
cbl_flutter: 3.0.0
cbl_flutter_ce: 3.0.0

Additional context
This seems to be connected to deprecation of some types in dart 3.5.0, similar issue in a different project: https://github.com/jonataslaw/get_cli/issues/263

This error is occurring in the stable version that was released yesterday.
It is very difficult to waste time with the nonsense that the Flutter people do.
This error, so far, has no solution, and even if you are not using the Windows version, it gives this error.

Unfortunately, I can confirm this problem.
cbl: ^3.0.0
cbl_flutter: ^3.0.0
cbl_flutter_ce: ^3.0.0

$ flutter --version
Flutter 3.24.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 80c2e84975 (9 days ago) • 2024-07-30 23:06:49 +0700
Engine • revision b8800d88be
Tools • Dart 3.5.0 • DevTools 2.37.2

build error

../../../../.pub-cache/hosted/pub.dev/win32-5.2.0/lib/src/guid.dart:32:9: Error: Type 'UnmodifiableUint8ListView' not found.
  final UnmodifiableUint8ListView bytes;
        ^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/win32-5.2.0/lib/src/guid.dart:32:9: Error: 'UnmodifiableUint8ListView' isn't a type.
  final UnmodifiableUint8ListView bytes;
        ^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/win32-5.2.0/lib/src/guid.dart:52:17: Error: Method not found: 'UnmodifiableUint8ListView'.
    return Guid(UnmodifiableUint8ListView(guid));
                ^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/win32-5.2.0/lib/src/guid.dart:56:31: Error: Method not found: 'UnmodifiableUint8ListView'.
  factory Guid.zero() => Guid(UnmodifiableUint8ListView(Uint8List(16)));
                              ^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/win32-5.2.0/lib/src/guid.dart:100:17: Error: Method not found: 'UnmodifiableUint8ListView'.
    return Guid(UnmodifiableUint8ListView(Uint8List.fromList(guidAsBytes)));
                ^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/cbl-3.0.0/lib/src/document/blob.dart:212:22: Error: The method 'UnmodifiableUint8ListView' isn't defined for the class 'BlobImpl'.
 - 'BlobImpl' is from 'package:cbl/src/document/blob.dart' ('../../../../.pub-cache/hosted/pub.dev/cbl-3.0.0/lib/src/document/blob.dart').
Try correcting the name to the name of an existing method, or defining a method named 'UnmodifiableUint8ListView'.
            sink.add(UnmodifiableUint8ListView(data));
                     ^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot_program failed: Exception

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

I have just upgraded to Flutter 3.24.0 and I am getting the same issue.  I do not care for Windows whatsoever (developing on a Mac for Android and iOS only).

I have just upgraded to Flutter 3.24.0 and I am getting the same issue. I do not care for Windows whatsoever (developing on a Mac for Android and iOS only).

Just do it to fix.
flutter pub upgrade --major-versions

I have just upgraded to Flutter 3.24.0 and I am getting the same issue. I do not care for Windows whatsoever (developing on a Mac for Android and iOS only).

Just do it to fix. flutter pub upgrade --major-versions

This worked for me. Thanks

I've just released cbl 3.1.0 which contains the fix for this issue.


Support System Color Scheme Preference

Currently, Radix Colors does not easily support the concept of a machine's own preference for dark/light mode. This poses a problem when trying to write CSS for dark mode without copying a whole bunch of variable definitions around. Inspired by the way Pico CSS handles things, and allowing compatibility between the two, this commit changes how dark mode is enabled for the document element by using a data- theme attribute rather than a class name. This attribute can be set to either "dark" or "light", and uses some clever CSS trickery (inspired by @Zwyx's comment about Pico) to achieve automatically setting color variables to the right settings when the system preference for dark or light mode is set.
To maintain backwards compatibility, these new variants are built using a different file naming convention. The CSS with .dark-theme will still be available in ${scale}.css files, but the "classless" variants that use data-attributes are now available in ${scale}.classless.css files.
Resolves: #26

Thank you for doing this! I really like that it allows compatibility between Pico and Radix :100:

javascript rules.


How to change menu button?

I can't find the line with GetKeyState(VK_HOME)

I'm sorry. I found it. If anyone is wondering its at variables.h line 231 variable iMenuKey

nevermind. im sorry for opening this without thinking. its at variables.h line 231 variable iMenuKey


[FEATURE REQ] Communicataion Email : Allow setting attachment content disposition as inline

Is your feature request related to a problem? Please describe.
When using the EmailAttachment from the @azure/communication-email, we can attach files to the email by initialising this class with the following properties.

name (String)
contentType (String)
content (BinaryData)

While this woks for general attachments (like documents, etc), this class is quite limited if we want to use the attachments to display images inside our email.
To be able to send emails while avoiding loading external images (which are blocked by default in most email clients), it is a common pattern these days to add an image as attachment and display it using its content ID (eg:  <img src="cid:logo" alt="Company"/>)
For this to work, the Content-Disposition header should be set as inline, instead of the now default attachment. (eg: Content-Disposition: inline; filename="logo.png"; size=16864;)
And the Content-Id also seems to be randomly generated by Azure (eg. Content-Id: <961cf742-4ea9-445e-96e4-58e256928715>), which makes it impossible to properly reference the image by its own ID from the email body template.
Describe the solution you'd like
Would be really helpful to allow this properties/headers to be set when adding the attachment, by expanding the current EmailAttachment class.
This was an already asked request. Just want to make sure that this is extended for azure-java-sdk
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Description Added
[x] Expected solution specified

@joshfree looks like this got assigned to the wrong team, can you please route it correctly, thanks!

@acsdevx-msft as there isn't a CODEOWNER for email

@vcolin7 can you work with the communication team to get this routed properly and to get the CODEOWNER entry fixed this week?

@joshfree I wanted to follow up on this. Could you please let me know if we can expect this feature to be implemented soon, or if it might not be included in the near future?
If this feature is not going to be implemented, could you please direct me to any resources or guides on the best way to add images in the HTML body of an email to be sent via Azure Communication Servie? As far as I have tried, I could not find any docs.
Thanks!

Hey @Saurav-S-Purushothaman, sorry for the late reply.
@yogeshmo would you mind taking a look? Thanks!

@vcolin7 No problem!

@joshfree I am sorry to nag you. It's been a while this issue has been raised. Any sort of feedback is greatly appreciated. I would like to know whether this is going to be implemented or totally disregarded which is fine in either case.

Hi @Saurav-S-Purushothaman,
We now support sending Inline attachments using the Azure Communication Email SDKs. Please follow the instructions in this documentation.
https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/email/send-email-advanced/send-email-with-inline-attachments?tabs=connection-string&pivots=programming-language-java


Magva Yarrow crew issue

** Fly Casual Release Version**
Which version did the bug occur in?
After that the pop up gets onto the screen and no amount of clicking any of the options gets rid of it.
To Reproduce
Steps to reproduce the behavior:
1: have a ship equipped
2: have more than 1 enemy engage said ship.
3: watch the game crash after being shot for the second time.
Expected behavior
Should allow to lock the attacker whenever you are damaged after defending.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform/Device (please complete the following information):
-android
Additional context
Add any other context about the problem here.

I am not able to replicate this with the latest version that was released. Can you please confirm that it's still happening as well as which version of Android you are using?


[4631] Add hesa data mapping page

Context
Create new page of content 'Check the data mapping between HESA and Register trainee teachers'
This is because we are improving and expanding the guidance pages for Register.
Success

The Guidance index page has a link to the new page. The link should be called 'Check the data mapping between HESA and Register trainee teachers' - Guidance index page in the prototype: https://register-prototype.herokuapp.com/guidance
The Homepage has a link to the new page. The link should be called 'Check the data mapping between HESA and Register trainee teachers' - Homepage in the prototype: https://register-prototype.herokuapp.com/home
New page is created with URL: register-trainee-teachers.service.gov.uk/guidance/hesa-register-data-mapping
It has the content from the prototype: https://register-prototype.herokuapp.com/guidance/hesa-register-data-mapping/trainee-progress
It has a backlink to take them back to 'How to use this service': register-trainee-teachers.service.gov.uk/guidance

Changes proposed in this pull request
Guidance to review
Compare new pages (guidance/hesa-register-data-mapping/trainee-progress)  to prototype:https://register-prototype.herokuapp.com/guidance/hesa-register-data-mapping/trainee-progress
Important business

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

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

 Create page for HEIs to check how data maps from HESA to Register

When I click any of the links for 'How to use this service' it doesn't work in this deployment. It's working fine in prod currently. Any idea why?

It is also missing this part of the success criteria:
'The Homepage has a link to the new page. The link should be called 'Check the data mapping between HESA and Register trainee teachers' - Homepage in the prototype: https://register-prototype.herokuapp.com/home'

A minor thing: we should always use hyphens for separators in urls, not underscores.


[5.5][Sema] Use different solution vectors for ComponentSteps created by DependentComponentSplitterStep

Explanation:
Currently all ComponentSteps created by DependentComponentSplitterStep share the same Solutions vector. Because of this, the ComponentSteps might modify solutions created by previous ComponentSteps. Use different Solutions vectors for each ComponentStep to avoid sharing information between the ComponentSteps.
For example, in the added test case the qadding(bar:) overload gets added to Solutions, it’s score gets reduced by its ComponentStep original score, then the qadding(foo:) overload gets added to Solutions and both solutions have their score decreased by the OriginalScore of qadding(foo:)’s ComponentStep, causing qadding(bar:)’s score to underflow.
Scope: Result builder bodies where dependent expressions produce multiple solutions which need to be reconciled
Risk: Low
Testing: Added regression test
Issue: rdar://78780840
Reviewer: @xedin (Pavel Yaskevich) on original PR #37964

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha -<PHONE_NUMBER>3f209c1e3a5f0b507e265b9a52661d

@swift-ci Please test Linux

@swift-ci Please test Windows

@swift-ci Please nominate


Fail to download some files

Is it possible to ignore malware/spam check to download files who give following error?
Failed to download file: googleapi: got HTTP response code 403 with body: {
"error": {
"errors": [
{
"domain": "global",
"reason": "cannotDownloadAbusiveFile",
"message": "This file has been identified as malware or spam and cannot be downloaded."
}
],
"code": 403,
"message": "This file has been identified as malware or spam and cannot be downloaded."
}
}

Did you already find the solution? I've just run into the same problem...


Merging Swagger and resolve identical components

Hello togehter,
I'm merging a Swagger and my Swagger contains two objects (in components) that are complete the same.
I think the merger wont resolve those objects. Instead it adds those objects with "Name1" additionally.
Is it possible to set a flag that will result in a Swagger that doesn't create objects that already there?
Is there a way to do this with the current openapi-merge?
This would help me a lot!
Thanks for your answer in advance.
Best regards Paul

Duplicates should be merged already. Can you please share an example of your inputs and configuration file?

Hello,
@robertmassaioli  you are totally right, all identical objects in components are merged. Our “duplicated” objects are created because we have to endpoints which handles intentionally the response a little bit different.
Example
Swagger_v3_ public
openapi: 3.0.2
info:
  title: Sample API
  description: Optional multiline or single-line description in [CommonMark](http://commonmark.org/help/) or HTML.
  version: 0.1.9

paths:
  /users/{id}:
    get:
      summary: Get a user by ID
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: integer
          description: Numeric ID of the user to get

      responses:
        '200':
          description: A single user.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'

components:
  schemas:
    User:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string

Swagger_v3_intern
openapi: 3.0.2
info:
  title: Sample API
  description: Optional multiline or single-line description in [CommonMark](http://commonmark.org/help/) or HTML.
  version: 0.1.9

tags:
  - name: excluded

paths:
  /users:
    get:
      summary: Get all users
      responses:
        '200':
          description: A list of users.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/User'
components:
  schemas:
    User:
      type: object
      properties:
        id:
          type: integer
        age:
          type: integer
        name:
          type: string

Swagger_merged
{
  "openapi": "3.0.3",
  "info": {
    "title": "Sample API",
    "description": "Optional multiline or single-line description in [CommonMark](http://commonmark.org/help/) or HTML.",
    "version": "0.1.9"
  },
  "paths": {
    "/users/{id}": {
      "get": {
        "summary": "Get a user by ID",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "Numeric ID of the user to get"
          }
        ],
        "responses": {
          "200": {
            "description": "A single user.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        }
      }
    },
    "/users": {
      "get": {
        "summary": "Get all users",
        "responses": {
          "200": {
            "description": "A list of users.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/User1"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "User": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "User1": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "age": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        }
      }
    }
  }
}

Is there a way to ignore the schema from the endpoint public during the merge if they got the same name? So it looks like that:
Swagger_merged_expected
{
  "openapi": "3.0.3",
  "info": {
    "title": "Sample API",
    "description": "Optional multiline or single-line description in [CommonMark](http://commonmark.org/help/) or HTML.",
    "version": "0.1.9"
  },
  "paths": {
    "/users/{id}": {
      "get": {
        "summary": "Get a user by ID",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "Numeric ID of the user to get"
          }
        ],
        "responses": {
          "200": {
            "description": "A single user.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        }
      }
    },
    "/users": {
      "get": {
        "summary": "Get all users",
        "responses": {
          "200": {
            "description": "A list of users.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/User"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "User": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "age": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        }
      }
    }
  }
}

Thanks!
Best regards, Richard

There is no valid way for me to merge those two schemas together. Especially since additional properties is not set to false.
If they should be the same then I would recommend making them the same in both input files. If you can't do that, then I would recommend manual or automatic modification after this library does the merge.
Since this is not a problem with the merge behaviour, or a feature request that can be easily implemented, I'm going to close out this issue. Thanks for raising it though and I hope you like using this library!


Added generation 9 CFG-VALDEL, CFG-VALGET and CFG-VALSET messages

Added support for de generation 9 CFG-VALDEL, CFG-VALGET and CFG-VALSET messages, along with sample code.

wow! We were working on the same stuff at the same time!! 😅😅😅
I believe that your ubxtypes_poll.py  CFG-VALGET definition is incorrect (this message receives variable length fields)
I'll sugest to use "cfgData" for the group name instead of the content data, for me it's less confusing as de content is just data (again, variable length fields).
nice work!

FYI I've been using u-blox's NEO9 interface description https://www.u-blox.com/en/docs/UBX-19035940 for the CFG-VALGET, CFG-VALSET, CFG-VALDEL payload definitions. These appear to be consistent with your revised source.
In terms of payload naming conventions, the name of the repeating group is essentially arbitrary and is not actually used in the parsing routine, but I would prefer to keep the names of the actual individual repeating data items consistent with the documented u-blox specification.
But the worked examples are useful - thanks for these. We'll review and get back to you asap.

FYI I've been using u-blox's NEO9 interface description https://www.u-blox.com/en/docs/UBX-19035940 for the CFG-VALGET, CFG-VALSET, CFG-VALDEL payload definitions. These appear to be consistent with your revised source.

The protocol is the same for (I believe) all generation 9 devices. I've been using this other document: https://www.u-blox.com/en/docs/UBX-18010854

In terms of payload naming conventions, the name of the repeating group is essentially arbitrary and is not actually used in the parsing routine, but I would prefer to keep the names of the actual individual repeating data items consistent with the documented u-blox specification.

I agree.
The issue that I found was when trying to build a message based on these fields (e.g. cfgData=b"\xHH\xHH\xHH\xHH" vs group=b"\xHH\xHH\xHH\xHH"), but as you stated in your changes, "data must be set via payload". It would be nice to be able to construct the message using these fields, but that's a lot of work right now.

But the worked examples are useful - thanks for these. We'll review and get back to you asap.

you're wellcome!

Hi. As you may have seen, we're branching the UBX configuration database work with a view to providing dedicated parse and construct methods for the NEO-9+ generation CFG-VALGET, CFG-VALSET and CFG-VALDEL message types in due course. Currently a work in progress so please watch this space. Given that this area is something of a moving target at the moment, I'll close this PR for now but appreciate the input.


Add support for --system-default-registry

Add support for --system-default-registry flag so that K3s core images can be explicitly loaded from a different registry.
This is required to operate K3s in an environment where all images must be pulled from a registry that requires --image-credential-provider auth, as the images must be explicitly sourced from the cloud provider's registry instead of transparently pulled from a mirror endpoint by registries.yaml configuration. For example, an EC2-based airgap-like environment where images are required to be hosted on ECR.

Validated system-default-registry flag exists and is working correctly in v1.21.1-rc1+k3s1

system-default-registry exists as a flag for server and not agent
Can setup a private registry that uses TLS, trust the certs on the node, and then start k3s using this flag, which will pull its system-level images from the private registry. Validated this on airgapped nodes.
In order to run other images in the cluster, must also have a registries.yaml configured correctly. This is expected behavior as only the core images will come from the registry in this flag. (The registry in registries.yaml can be the same or different from this one).


Add commands for grabbing data from bibdataprod

Grab data from production and put it into your local environment

Coverage remained the same at 79.57% when pulling 72e872994363c267554f7aafc1fd65f90aae33fb on carolyncole-patch-3 into d0dc8ff3f91161b3a82a4765b5fd90cd64cb509b on master.


[New game]: Bird Game

🎮 Game Request
It is a notoriously difficult game that requires precise timing and reflexes.
Track bird, pipes, score, and game state.
Update bird based on gravity and user input.
Check collisions and update game state/score.
Point down the features
The player controls a bird, attempting to fly through a series of gaps between pipes without hitting them.
Tapping the screen makes the bird flap its wings and ascend slightly.
The bird constantly descends due to gravity.
If the bird hits a pipe or goes off the screen, the game ends.

Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @muskan42!
We are already having a similar game request in #4607 👀
Make sure you come up with a cool unique idea 😀
Waiting for your new game idea 💗.

\assign

Hey @muskan42 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

/assign


customButtons for android fix

add customButtons support for android

We are using the AlertDialog in Android

A dialog that can show a title, up to three buttons, a list of selectable items, or a custom layout.
http://developer.android.com/guide/topics/ui/dialogs.html

Are you sure it's working even when you have a photo and a library button ?

AlertDialog has support for "items" as list, for me this works nice

I choose #134 implementation since it was a bit more clear !
Still a great PR !


audio issues in lime 8.0.1

I've been experiencing an issue where audio will cut out for like half a second and then come back on with like a static noise in between
i downgraded my lime to 8.0.0 and it seemed to fix the issue.
anyone else having this problem?

Can you try undoing the changes from #1558 and see if that helps? (Don't forget to lime rebuild tools.)

yep that seemed to fix it

Since the PR #1639 wasn't a proper resolution, I'm reopening this. Copying some of the discussion for context:
@justin-espedal said:

[We can't go] back to the previous behavior, which was also buggy.
The only platform the previous behavior was definitively wrong for was iOS. If somebody can't figure out exactly what's going wrong here, perhaps some platform-specific code could be used as a crutch?
What platform are you experiencing issues on, @Vortex2Oblivion?

@ Vortex2Oblivion said:

im on windows c++

@Vortex2Oblivion Did you close this because you are happy with #1646?


Add lane highlight to Parking Restrictions tool

While not immediately obvious, a lane highlight still useful for this tool as it has an "apply to route" mode (Shift+Click) so good to highlight the affected route!
This is already done, by accident lol (see https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/682#issuecomment-586504886)... just creating issue to track it separtely and ensure it appears in the change notes.

@kianzarrin This would be a good time to check what's happening with #516 - seems one way roads, even if they have two parking lanes, only get one parking icon. As user I have no idea if it affects both lanes or just one, and ideally want separte control over each lane.
Also tagging #667

For the sake of thoroughness I tested roads with different prefab that do not produce junctions (because they have matching lanes):

I tested and confirmed that the overlay accurately shows what parking signs will be affected.

The latter screenshot is not right

Ref #33


Not sure how to use download_button

Hello, I like the idea of not to reload the page everytime you download something, but I just don't know how to use this feature.
So far I use this code to dowloand a csv, it works fine (if you ignore it realoads every single time):
    with open("file.csv", "rb") as file:
        st.download_button(
            label='CSV cash alt',
            data=file,
            file_name="file.csv",
            mime="text/csv")

Not sure how to implement this in download for a  'file.csv' that comes from an excel sheet (with variable sheet2)
with this code ste.download_button('CSV cash alt', sheet2, "file.csv") it sends an error page:

RuntimeError: Invalid binary data format: <class 'openpyxl.worksheet.worksheet.Worksheet'>

If I try something like this:
ste.download_button('CSV cash alt', "text/csv", "file.csv")
Gives me a file with literaly "text/csv" inside!
I hope you can guide me a bit, perhaps I'm not the only one lost in here.
Thank you for this breat idea, and not to reload the page again!

ste. download_button is implemented exactly the interface of st.download_button now, just replace any st.download_button to ste. download_button, that will make it works.


import { sql } from '@vercel/postgres'; will never work with create-react-app

I think it's a foregone conclusion but just want to make sure I did not miss anything. If using CRA, all environment variables must be prefaced with REACT_APP so the no config option will always fail to pick up the required variables i.e. POSTGRES_URL. Is this correct?

Yes that sounds correct. You'd need to explicitly pass the credentials in that case.


MFCMAPI x86 sometimes Logon Error

Logging on with "Session - Logon" sometimes results in the following error:
Error:
Code: MAPI_E_CALL_FAILED == 0x80004005
Function ::MAPILogonEx( reinterpret_cast<ULONG_PTR>(hwnd), szProfileName, nullptr, ulFlags, &m_lpMAPISession)
File MapiObjects.cpp
Line 72
A second try is then always successful.

Sometimes the error is also:
Error:
Code: MAPI_E_LOGON_FAILED == 0x80040111
Function ::MAPILogonEx( reinterpret_cast<ULONG_PTR>(hwnd), szProfileName, nullptr, ulFlags, &m_lpMAPISession)
File MAPI\MapiObjects.cpp
Line 72


Add bucket and object key to metadata in S3 loader

Description: this PR adds s3_object_key and s3_bucket to the doc metadata when loading an S3 file. This is particularly useful when using S3DirectoryLoader to remove the files from the dir once they have been processed (getting the object keys from the metadata source field seems brittle)
Dependencies: N/A
Tag maintainer: ?
Twitter handle: _cbornet

Ready to merge as soon as tests pass


Problem importing pylsl in Windows 10 (Python-3.8.5)

Hello, I'm trying to do some tests combining pygame and pylsl using Windows 10 for some simple neurofeedback demos.
I'm using Python 3.8.5

Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:43:08) [MSC v.1926 32 bit (Intel)] on win32

I installed pylsl using pip version 20.2.1 ( python3 -m pip install pylsl ). This seems to install pylsl successfully:

Name: pylsl
Version: 1.13.6
Summary: Python interface to the Lab Streaming Layer
Home-page: https://github.com/labstreaminglayer/liblsl-Python
Author: Christian Kothe
Author-email<EMAIL_ADDRESS>License: MIT
Location: c:\users\gganis\python38-32\lib\site-packages
Requires:
Required-by:

However, when I try to import pylsl within the Python3 shell I get this error:

Traceback (most recent call last):
File "", line 1, in
File "C:\Users\gganis\Python38-32\lib\site-packages\pylsl_init_.py", line 2, in
from .pylsl import IRREGULAR_RATE, DEDUCED_TIMESTAMP, FOREVER, cf_float32,
File "C:\Users\gganis\Python38-32\lib\site-packages\pylsl\pylsl.py", line 1222, in
lib.lsl_library_info.restype = c_char_p
File "C:\Users\gganis\Python38-32\lib\ctypes_init_.py", line 386, in getattr
func = self.getitem(name)
File "C:\Users\gganis\Python38-32\lib\ctypes_init_.py", line 391, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'lsl_library_info' not found

Any thoughts on what might be off? Thanks.

This is the 3rd such complaint in as many days, so there's something going on, but I don't know what it is and I haven't been able to replicate it.
What seemed to work in those other cases was to uninstall & reinstall pylsl or the whole python environment.
I wonder if pypi is having a bad week?
(by the way, I don't know if you intended to but you're using 32-bit python which is a little bit unusual these days. I used 32-bit below to check, but I also checked 64-bit which also works fine)
>set CONDA_FORCE_32BIT=1
>conda create -n py38_32 python=3.8
>conda activate py38_32
>pip install pylsl
>python

Python 3.8.5 (default, Aug  5 2020, 01:17:43) [MSC v.1916 32 bit (Intel)] :: Anaconda, Inc. on win32

>>> import pylsl
>>> pylsl.library_info()
'git:/branch:/build:/compiler:MSVC-16.0.40219.1/boost:1_69'

Where did you get your Python? (I notice MSC v.1926 for you vs 1916 for me).

I found the same version of Python --> no error
I then updated pip --> error!
I'll work on it.

When I try to force pip to install the correct wheel that I download manually from pypi -- this is the same wheel that gets installed properly in conda when it is set to force 32bit -- pip reports the following:

ERROR: pylsl-1.13.6-py2.py3-none-win32.whl is not a supported wheel on this platform.

Worse yet, it's totally happy to install the amd64 wheel.
Somehow pip coupled with Python 3.8 32-bit (the default downloaded from python.org) is trying to install 64-bit wheels and refuses to install 32-bit wheels. I confirmed this with another package. I even tried another package (numba) and same thing: wouldn't install 32-bit wheel but would install 64-bit wheel.
You can hack around this by replacing the -win32 in the filename with -any, then pip will happily install it.
This is a problem with Python and pip. I can't do anything about it. But I do suggest that you stop using 32-bit python if you can. Some packages don't even support 32-bit Python anymore so you're limiting yourself. Unfortunately, Python.org's default download link gives you 32-bit Python but that's mostly for historical reasons. You should pass the button and follow through to the link: https://www.python.org/downloads/windows/
Or, better yet, use miniconda: https://docs.conda.io/en/latest/miniconda.html


ENH: Mitutoyo excel spread sheet reader

Reads file at once. Extracts acquisition date and a few standard roughness metrics. No tests, no documentation yet.
Would produce some hypothetical output
List of channels:
[<SurfaceTopography.IO.Reader.ChannelInfo object at 0x7f6a62fcbaf0>]

Channel name:
default

Physical sizes:
(0.48,)

Number of grid points:
(960,)

Dimensions:
1

Info:
{'channel_name': 'default', 'roughness_metrics': 0     {'key': 'Ra', 'value': 0.078, 'unit': 'µm'}
1     {'key': 'Rq', 'value': 0.096, 'unit': 'µm'}
2     {'key': 'Rz', 'value': 0.392, 'unit': 'µm'}
3    {'key': 'Rpk', 'value': 0.155, 'unit': 'µm'}
4    {'key': 'Rvk', 'value': 0.084, 'unit': 'µm'}
Name: 0, dtype: object, 'acquisition_time': '2020-07-26 00:00:00', 'unit': 'um'}

Topography physical sizes:
(0.48,)

Topography rms height:
0.10166847079311534

when
from SurfaceTopography import open_topography

# get a handle to the file ("reader")
reader = open_topography("mitutoyo.xlsx", format='mitutoyo')   # you can find this file in the folder 'tests/file_format_examples'

# each file has a list of channels (one or more)
print("List of channels:")
print(reader.channels)  # returns list of channels
ch = reader.channels[0]  # first channel, alternatively use ..
ch = reader.default_channel  # .. - one of the channels is the "default" channel

# each channel has some defined meta data
print("")
print("Channel name:")
print(ch.name)  # channel name
print("")
print("Physical sizes:")
print(ch.physical_sizes)  # lateral dimensions
print("")
print("Number of grid points:")
print(ch.nb_grid_pts)  # number of grid points
print("")
print("Dimensions:")
print(ch.dim)  # number of dimensions (1 or 2)
print("")
print("Info:")
print(ch.info)  # more metadata, e.g. 'unit' if unit was given in file

# you can get a topography from a channel
topo = ch.topography()   # here meta data from the file is taken

# each topography has a rich set of methods and properties for meta data and analysis
print("")
print("Topography physical sizes:")
print(topo.physical_sizes)  # lateral dimension
print("")
print("Topography rms height:")
print(topo.rms_height_from_area())  # Root mean square of heights

run  on some arbitrary Mitutoyo excel spread sheet file

If no WIP qualifier, how to mark a pull request that's there for discussion and not finalized yet?
A few notes:

Stitched together from bits and pieces of other readers and tests. Do we have some specs documentation somewhere on how a reader should look like?
Reads whole excel file in constructor
Any exception in constructor reraised as IOError
Always assumes um as unit, does not try to determine unit from file (the format does not offer a unique location to look up the units), should likely assume mm for positions and um for heights per default
For now, assumes uniform line scan from zero to maximum position, although the excel format would hypothetically allow for nonuniform positions.
Constructs such info object:

{'acquisition_time': '2022-10-10 00:00:00',
 'channel_name': 'default',
 'roughness_metrics': [{'key': 'Ra', 'unit': 'µm', 'value': 0.018},
                       {'key': 'Rq', 'unit': 'µm', 'value': 0.027},
                       {'key': 'Rz', 'unit': 'µm', 'value': 0.191},
                       {'key': 'Rpk', 'unit': 'µm', 'value': 0.052},
                       {'key': 'Rvk', 'unit': 'µm', 'value': 0.489}],
 'unit': 'um'}

Test uses minimal mock xlsx file with randomly generated values

That said, let's just assume for the units are fixed and correct as implemented.

If no WIP qualifier, how to mark a pull request that's there for discussion and not finalized yet?

If not yet finalized, keep WIP. I thought it was finalized since you requested a review.

Inserted again

A few notes:

Stitched together from bits and pieces of other readers and tests. Do we have some specs documentation somewhere on how a reader should look like?

It is not formally documented, but feel free to add that documentation to the code. (I think it should go into Reader.py.)

Put a few open questions as comments in the mitutoyo reader code at every point where I just copied bits without really understanding whether these are needed or what they do. Answering those would lead to such documentation :)

Reads whole excel file in constructor

That is fine. I think there is no way to avoid this. Text parser do the same thing.

Any exception in constructor reraised as IOError

Okay. What type of exception may occur? We should make sure only actual I/O error are raised as IOErrors. Otherwise debugging becomes a mess.

I don't know what kind of exceptions pandas read_excel might throw and could not find any documentation on that, but now catch exceptions from these pandas calls only.

Always assumes um as unit, does not try to determine unit from file (the format does not offer a unique location to look up the units), should likely assume mm for positions and um for heights per default

We should write to Mitutoyo to ask whether this is the always the case.

Tries to infer units from the little information found within the excel file now.

For now, assumes uniform line scan from zero to maximum position, although the excel format would hypothetically allow for nonuniform positions.

Please add a check that raises an exception if the position are nonuniform. You can simple check that np.diff on the x-position yields a constant.

Added that check and construct either uniform or nonuniform profile, but either I am doing something wrong in the construction of UniformLinescan vs NonuniformLinescan or there is something wrong in the rms_height_from_profile of one of them, see tests https://github.com/ContactEngineering/SurfaceTopography/blob/6ac93ead766f78b6b95a3337094d8c40d7993000/test/IO/test_mitutoyo.py#L37 vs https://github.com/ContactEngineering/SurfaceTopography/blob/6ac93ead766f78b6b95a3337094d8c40d7993000/test/IO/test_mitutoyo.py#L50
The mock xlsx input files are almost the same with a little modification to the position in row 100.

Constructs such info object:

{'acquisition_time': '2022-10-10 00:00:00',
 'channel_name': 'default',
 'roughness_metrics': [{'key': 'Ra', 'unit': 'µm', 'value': 0.018},
                       {'key': 'Rq', 'unit': 'µm', 'value': 0.027},
                       {'key': 'Rz', 'unit': 'µm', 'value': 0.191},
                       {'key': 'Rpk', 'unit': 'µm', 'value': 0.052},
                       {'key': 'Rvk', 'unit': 'µm', 'value': 0.489}],
 'unit': 'um'}

That looks good to me, except that I think channel name and unit do not need to be in that dictionary.
That's again just copied from some other reader, i.e. https://github.com/ContactEngineering/SurfaceTopography/blob/6ac93ead766f78b6b95a3337094d8c40d7993000/SurfaceTopography/IO/Text.py#L246-L250

Test uses minimal mock xlsx file with randomly generated values

Sounds good.

Stitched together from bits and pieces of other readers and tests. Do we have some specs documentation somewhere on how a reader should look like?

It is not formally documented, but feel free to add that documentation to the code. (I think it should go into Reader.py.)

Put a few open questions as comments in the mitutoyo reader code at every point where I just copied bits without really understanding whether these are needed or what they do. Answering those would lead to such documentation :)

I've updated the reader and added more documentation to the base class. Please check if that doc is clearer now.

Any exception in constructor reraised as IOError

Okay. What type of exception may occur? We should make sure only actual I/O error are raised as IOErrors. Otherwise debugging becomes a mess.

I don't know what kind of exceptions pandas read_excel might throw and could not find any documentation on that, but now catch exceptions from these pandas calls only.

The way it is handled now is good. Only reraise during actual read, not during parsing of the metadata.

Added that check and construct either uniform or nonuniform profile, but either I am doing something wrong in the construction of UniformLinescan vs NonuniformLinescan or there is something wrong in the rms_height_from_profile of one of them, see tests

The test works on my computer.

That looks good to me, except that I think channel name and unit do not need to be in that dictionary.
That's again just copied from some other reader, i.e. https://github.com/ContactEngineering/SurfaceTopography/blob/6ac93ead766f78b6b95a3337094d8c40d7993000/SurfaceTopography/IO/Text.py#L246-L250

The channel name is not part of the info dictionary. In those other readers, the name is actually removed before constructing the topography object.

Please have a look at it @jotelha - happy to have this merged
@mcrot - this introduces a pandas dependency

Added that check and construct either uniform or nonuniform profile, but either I am doing something wrong in the construction of UniformLinescan vs NonuniformLinescan or there is something wrong in the rms_height_from_profile of one of them, see tests

The test works on my computer.

The tests work, but only because they test against different values of rms_height_from_profile, 1.69 for UniformLineScan,
https://github.com/ContactEngineering/SurfaceTopography/blob/6ac93ead766f78b6b95a3337094d8c40d7993000/test/IO/test_mitutoyo.py#L37 and 1.37 for NonuniformLineScan, https://github.com/ContactEngineering/SurfaceTopography/blob/6ac93ead766f78b6b95a3337094d8c40d7993000/test/IO/test_mitutoyo.py#L50
The data files are essentially the same with a slightly off-grid x position in row 100, 0.05 as uniform vs 0.0501 as nonuniform.
Looking at the implementations of https://github.com/ContactEngineering/SurfaceTopography/blob/34816d954c4886440ba10eadda4a4b8b721526f3/SurfaceTopography/Uniform/ScalarParameters.py#L39-L61 vs
https://github.com/ContactEngineering/SurfaceTopography/blob/34816d954c4886440ba10eadda4a4b8b721526f3/SurfaceTopography/Nonuniform/ScalarParameters.py#L37-L72 that discrepancy must somehow originate in the weighted contribution of segments approximated piece-wise linearly, is that possible?

How many grid points does the example file have?
There are a couple of differences between uniform and nonuniform:

For uniform topography, the code essentially assumes that the height is constant over the pixel width. If you have nx points, then the overall length of the scan is nx dx
Nonuniform topographies are interpreted as points connect by lines. The rms calculation actually makes use of this linear interpolation. The over length of the scan is then (nx-1) dx
If your file has small nx, you will get noticably different values

I see, it's 960 grid points, and the data series does not start at zero x, but at the first non-zero x value 0.005 and ends at 0.48 mm, i.e. height values are assigned to the "end" of each "pixel" in the format. I use random noise between ~ -0.24 um and 0.35 um as height test data, the source of the discrepancy will be here in the arbitrary jumps between one h_i and the other h_i+1.

Somehow the test stalls. This is annoying.

Sorry, what is still missing is adding the Mitutoyo reader to the binary file formats in test_io.py

Now, there are
FAILED test/IO/test_io.py::test_reader_topography_same[/mnt/dat2/git/ContactEngineering/SurfaceTopography/test/file_format_examples/mitutoyo_nonuniform_mock.xlsx] - assert (480.0,) == (479.5,)
FAILED test/IO/test_io.py::test_periodic_flag[/mnt/dat2/git/ContactEngineering/SurfaceTopography/test/file_format_examples/mitutoyo_nonuniform_mock.xlsx] - AssertionError: /mnt/dat2/git/ContactEngineering/Sur...
FAILED test/IO/test_io.py::test_to_netcdf[/mnt/dat2/git/ContactEngineering/SurfaceTopography/test/file_format_examples/mitutoyo_mock.xlsx] - assert <SurfaceTopog...x7f3bb1232490> == <SurfaceTopog...x7f3bb3bda...
FAILED test/IO/test_io.py::test_to_netcdf[/mnt/dat2/git/ContactEngineering/SurfaceTopography/test/file_format_examples/mitutoyo_nonuniform_mock.xlsx] - assert <SurfaceTopog...x7f3bb7f9d430> == <SurfaceTopog.....

left failing, and my guess is these all have to do with the physical_size vs grid in the mitutoyo format,
____________________________________ test_reader_topography_same[/mnt/dat2/git/ContactEngineering/SurfaceTopography/test/file_format_examples/mitutoyo_nonuniform_mock.xlsx] _____________________________________

fn = '/mnt/dat2/git/ContactEngineering/SurfaceTopography/test/file_format_examples/mitutoyo_nonuniform_mock.xlsx'

    @pytest.mark.parametrize('fn', text_example_file_list + text_example_without_size_file_list + binary_example_file_list +
                             binary_without_stream_support_example_file_list)
    def test_reader_topography_same(fn):
        """
        Tests that properties like physical sizes, units and nb_grid_pts are
        the same in the ChannelInfo and the loaded topography.
        """

        reader = open_topography(fn)

        for channel in reader.channels:
            foo_str = reader.format() + "-%d" % (channel.index,)  # unique for each channel
            topography = channel.topography(
                physical_sizes=(1, 1) if channel.physical_sizes is None
                else None,
                info=dict(foo=foo_str))
            assert channel.nb_grid_pts == topography.nb_grid_pts

            # some checks on info dict in channel and topography
            assert topography.info['foo'] == foo_str
            if channel.unit is not None or topography.unit is not None:
                assert channel.unit == topography.unit
                assert channel.info['unit'] == topography.unit
                assert channel.unit == topography.info['unit']

            if channel.physical_sizes is not None:
>               assert channel.physical_sizes == topography.physical_sizes
E               assert (480.0,) == (479.5,)
E                 At index 0 diff: 480.0 != 479.5
E                 Use -v to get more diff

Why do I get those test errors locally, but they run through here?

With the last commit, all tests run locally as well, but that means a little modiication to the NonuniformLineScan class resolving https://github.com/ContactEngineering/SurfaceTopography/issues/230, do you want that?

I've pushed my changes.

Hi @jotelha - I saw that you added the periodic flag to NonuniformLineScan. Please remove it again. This requires further thinking.


Reading the delta lake table will occasionally report that the table does not exist[BUG]

When I indirectly read the data in the table, the reading fails occasionally, and the error is that the table does not exist.
But in fact, this table has always existed. When using the delta1.0.0 version, this problem often occurred when using the DeltaTable.isDeltaTable method. Later, this method was avoided from the business level, and the delta lake was upgraded to 1.0.1. However, when reading, the problem of unrecognized table still occurs occasionally.
The data is stored on azure datalake storage gen2, and a connection is established with delta lake through hadoop-azure. I don't know if it is an internal problem of delta lake, resulting in occasional unrecognized tables.
At present, through the spark.read().format("delta").load() method, will there be an error that the table cannot be recognized

Delta Lake version: 1.0.1
Spark version: 3.1.1
Scala version: 2.12.2

Are you able to try 1.1.0 or above? There is a fix for such issue https://github.com/delta-io/delta/commit/c424efad8b03c2dce6d988a927677a0e9c314a11
If you can provide the reproduction steps, we can help confirm if this is the root cause.

Are you able to try 1.1.0 or above? There is a fix for such issue c424efa
If you can provide the reproduction steps, we can help confirm if this is the root cause.

ok, I'll try a later version of delta lake and see if the issue is online


[dv/testplan] Move conn to a separate testplan

This PR moves connectivity test entries to the chip_conn_testplan.hjson.
Signed-off-by: Cindy Chen<EMAIL_ADDRESS>

LGTM, thanks. Can you also open an issue (and maybe assign yourself and some other DV folks) to create the connectivity tests?

sure!


some qustions?

Hi, I have some questions as belows:

Are the speaker encoder models of the base tts models and tone color converter model be the same model structure? Is there any connection between base tts models and tone color converter model？
During training, for text-audio pair <x, y>,  are the reference speaker audio, the output of tone color converter model (speech with
reference tone color and controlled styles) and g from both flow and reverse flow  all from y?
Would you plan to release the codes of the training parts, we still could not train a good model following your paper.
Thanks a lot

are you guys planning to release its code


⚠ PrivateHD has degraded performance

In bd7b775, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 1838 ms

Resolved: PrivateHD performance has improved in b44c344.


fix: articles/api-management/api-management-faq.md

Add code fence language

@nschonni : Thanks for your contribution! The author, @vladvino, has been notified to review your proposed change.

#sign-off


Complex number support

Currently, the Real trait pops up 846 times in a search. In the vast majority of those cases, there is no reason why a complex number would not work. Certain operations such as floor/ceil, inequalities, etc. only make sense on real numbers, but the vast majority of functions defined by the Real trait also apply to complex numbers. It seems to me that many, many parts of nalgebra rely on N being Real despite only relying on functions that also make sense for complex numbers. For example, it is impossible to get the norm of a matrix with complex numbers, which is almost a deal breaker for me for the entire library:
https://github.com/rustsim/nalgebra/blob/0f66403cbbe9eeac15cedd8a906c0d6a3d8841f2/src/base/matrix.rs#L1265-L1283
(As a workaround, I am currently just copy-pasting the above code into my project, which works just fine even for complex numbers).
This operation does not require a real number at all, nevertheless all of the numerous requirements of the Real trait, including the 'static lifetime. If I understand correctly, this means that any number put into a matrix will be leaked and never deallocated; and this is just one requirement of Real. The same goes for a number of other operations: the Real trait is overkill and overly restrictive. The solution to this seems to be mainly a change inside alga: separating Real into multiple traits and only requiring the needed traits in impl blocks. For example, if the traits were separated into Real, where Complex is the supertrait of Real, then taking the norm of a matrix would be constrained to Complex, allowing for both real and complex numbers. This would seem to fix #281 and a number of other problems with complex numbers.
This is no small task as it would require manually going through much of the library and updating trait constraints, but I believe that it is an important and necessary change. I think that this should at least be an RFC, both for whether making this change is important or not, and what exactly the new traits would be.
EDIT: That was a bad example, I just saw the rusty_machine branch and c531a34 in #499 😄. However this is still an issue until that is merged, and for many other algorithms and operations. But don't let this issue block #499 because this might require some discussion and work to implement for any changes that are agreed on.
EDIT 2: Actually, it's still not fixed on the rusty_machine branch, and now for some reason copy-pasting the code doesn't work with that branch because the dot product now requires the ClosedAdd and ClosedMul traits, which num_complex::Complex doesn't implement.

At least that method should work with any Field (which complex numbers are) as then the vector would be NormedSpace and the operations would still make sense. (In general I think that there are some stuff in nalgebra that aren't generic enough (which is funny as nalgebra is already quite generic))
Adding Complex trait to alga that has less requirements wouldn't be bad idea.
The 'static bound doesn't have anything directly to do with leaking (with leaking you can make any heap allocation 'static and that's about it) and more about not containing any non-static references.

Any progress with this? Complex number support would be huge for a lot of linear algebra applications (in my case, for simulating complex systems).

@kbarros Yes, I've started worked on it (see also https://github.com/rustsim/alga/issues/57#issuecomment-46666957). I'll probably have something operational within a couple of weeks.

@Coder-256 , @kbarros I'm almost done adding full complex number support to nalgebra in #567. This will be merged and released before this month ends.


add FeedForwardTrackingController and a few minor updates

Add a FeedForwardTrackingController that produces a feed-forward control signal for any actuator, based on a pid tracking of a model state.
Add interface LuaDof::muscle_moment.
Add a positive muscle work in EffortMeasure, however, this may not be needed and can be done with Lua script after LuaDof::muscle_moment is added.

Thank you! The code looks good and ready to merge. The name FeedForwardTrackingController is a bit confusing though, since it's not actually a feed-forward controller but a feedback controller. Could you perhaps rename it to just TrackingController?

Certainly, should I make the change from my side and send another pull request, or you can do it from your end?

Yes, could you do it from your end, please? You should be able to make the change without creating a new pull request.

Ok, changes were made. Thanks.


Upstream bufferoverrun changes

This pull request contains a part of the patches we wrote with the aim to make BO work on the SIL generated by the Infer Ada frontend (developed at AdaCore).
Focus on zero false-positive rate
The main goal was to provide false-positive free analysis (we have different, more heavy-weight analyses that aim at a low or even zero number of false-negatives). Thus, only messages where BO can prove that the problem occurs are reported. The consequence of that is that an imprecision cannot be a cause of a false positive while an unsoundness can. This can cause a clash between our use of BO and the use of BO at Facebook. In order to avoid this clash, we put changes making BO sound and introducing diffs in cost analysis into options.
New options
We put the changes introducing undesired diffs - in particular in cost analysis - under options. These options are:
--bo-sound-unknown-sets-join: join with an unknown set always result in an unknown set. When disabled, an unknown set behaves as bot.
--bo-top-as-default: use top as a default value instead of bot. Disabled by default.
--bo-assume-void: assume void type as a type of record fields not in type environment. Enabled by default.
--bo_unique_allocsites: Assumes that a single allocsite doesn't represent multiple allocated objects. This assumption is ensured by the Ada frontend and makes it possible to do strong updates of locations imported from callees to callers more often. Disabled by default.
Notation
Each commit causing diffs in tests output is followed by commits updating test baselines - one commit for each group of tests (c_bufferoverrun, cpp_bufferoverrun, java_bufferoverrun, cpp_performance, and java_performance). Commit messages of commits updating baselines contain an analysis of diffs.
Each commit is marked by one of the following:
Each commit causing diffs in tests output is followed by commits updating test baselines - one commit for each group of tests (c_bufferoverrun, cpp_bufferoverrun, java_bufferoverrun, cpp_performance, and java_performance). Commit messages of commits updating baselines contain an analysis of diffs.
Each commit is marked by one of the following:
[Arrays]: changes in handling of arrays
[Top]: make top default instead of bot
[F]: other fixes
[I]: other improvements

@dhauzar Thank you for revising PR to have less changes in the pre-existing tests/semantics, by adding some config parameters. I appreciate that. :purple_heart: (Sorry for somewhat verbose comments.)
Many places became clearer than before by the PR. Awesome!

@dhauzar I think all comments were addressed. Thank you for the updates. Let me import the PR!

Thank you very much for your insightful comments @skcho, it really improved the PR :)


Fix build error

Fixes #181 along errors in the tests. I also removed a few create_dir calls that I added in the last PR, because they were simply workarounds to a bug that has now been fixed in rust.

Great, thanks @oakes!


fix: sort and fix backend imports

Pull Request Checklist
Before submitting, make sure you've checked the following:

[x] Target branch: Please verify that the pull request targets the dev branch.
[x] Description: Provide a concise description of the changes made in this pull request.
[x] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[x] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[x] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[x] Testing: Have you written and run sufficient tests for validating the changes?
[x] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[x] Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:

Changelog Entry
Description

Fix imports by referencing to correct files. Sometimes imports are from different files and unused imports permit to make the whole application works but this is may break sometimes.

Changed

Refacto by sorting and removing unused imports
Light refacto on some files

Fixed

Points import to correct python files to avoid weird behaviors in the future.

@tjbck Do you think we can merge this soon? We will have a better base for backend python imports that will benefit all the other PRs ^^

Is this PR tested?

Is this PR tested?

Just rebased and tested again !

Merging this to dev but testing wanted again just in case! Thanks!


Handle multiple separate post list

@tlienart - It would be handy to be able to have the blog-post mechanism working independently in different pages of a Xranklin website.
In the following, assume I have a News and another Event section and I would like to be able to "drag and drop" .md files in one or another to have them listed as new entry in their respective website pages.
WIP here https://github.com/Unil-SGC/unil-sgc.github.io/blob/62a9541e5f87a2e32507d629f7a22261fd4f35a0/utils.jl#L69-L115
For now, I duplicated the hfun_list_posts function to have a second hfun_list_events, specifying the folder dir from where to get the posts from. 2 things:

Ideally, it would be elegant and handy to be able to specify the dir when calling a generic list_posts function from the markdown index file as e.g. {{list_posts posts}} and {{list_posts events}} (or even better, retrieve the post or event name from the dir name itself that contains the index.md file)
There is an issue with current duplicate function as the hfun_taglist function complains and would need a change to be able to accept dir, or multiple hfun_list_xx funtions

Any thoughts or hints welcome

Ideally, it would be elegant and handy to be able to specify the dir when calling a generic list_posts function from the markdown index file as e.g. {{list_posts posts}} and {{list_posts events}} (or even better, retrieve the post or event name from the dir name itself that contains the index.md file)

you can do this already can't you? or do you hit a bug when you try to do this?
if in utils.jl you have
def hfun_foo(p)
    # ...
end

p here is assumed to be a vector of string arguments that you pass so {{foo a b c}} --> hfun_foo("a", "b", "c"). So you could indeed pass a directory name to achieve exactly {{list_posts posts}}.
The one about retrieving post or event from the dir name itself can be done via the localcontext object:
def hfun_foo()
    relative_path_to_caller_page = get_lc().rpath  # e.g. foo/bar/index.md
    # ... here you can do dir stuff
end

I'm not sure I understand your second point, could you give a bit more details?

Thanks for your input. I am a bit confused about your def in code snippet.
Indeed, passing the folder as argument to hfun in utils.jl works. But the issue is then in
function hfun_taglist()
    return hfun_list_posts(getlvar(:tag_name))
end

as this would then also need to get the dir var passed along.
Also, it seems not to know what to do with get_lc().rpath.

I gave a try to this https://github.com/Unil-SGC/unil-sgc.github.io/blob/2d7c06d5eba3b4e104ff6afad6dcf8654c11ef72/utils.jl#L49-L63 which works as it can parse e.g. {{list_posts events}} or {{list_posts posts}}. However, I have still the issue on how to make it compatible for https://github.com/Unil-SGC/unil-sgc.github.io/blob/2d7c06d5eba3b4e104ff6afad6dcf8654c11ef72/utils.jl#L36-L38 (previously done by https://github.com/Unil-SGC/unil-sgc.github.io/blob/2d7c06d5eba3b4e104ff6afad6dcf8654c11ef72/utils.jl#L64)

Hahaha I did too much python for work recently sorry...
The cur_lc() returns the current context (from the page that calls the hfun), this has a field rpath which indicates the path to that caller page. You seemed to indicate in your initial post that you needed this?
I'll try to take a look at what you did tmrw morning!

ok cool, now using
dir = splitpath(cur_lc().rpath)[end-1]

indeed returns the folder where I have my posts and it seems to work.
What still fails is

having

function hfun_taglist()
    return hfun_list_posts(getlvar(:tag_name))
end

as it complains about not finding the tag defined in the md files within the non "posts" folder

The style of the listing in the secondary post-like page is not good.

Will take a look now

so if you put a @show dirname(cur_lc().rpath) in hfun_list_posts you'll see that it calls it with tags/event; I need to check something in Xranklin as the reason why this is happening may be that cur_lc does not get reset properly after adding tags; I'll check.
In any case if you do this:
function hfun_list_posts(t::String)
    dir = dirname(cur_lc().rpath)

    startswith(dir, "tags") && return ""
   # then rest of your function as you had it

things look like they work fine.

Cool, now it indeed works adding dir = dirname(cur_lc().rpath); startswith(dir, "tags") && return "".
However, there is a minor styling issue (applying CSS?) between "original" posts folder and "new" event folder:
Posts (News) - how it should be:

Events - the issue:

The remaining style issue comes from the fact the /posts is hard-coded in _layout/head.html: https://github.com/Unil-SGC/unil-sgc.github.io/blob/35f1511b0360aeb041d0e068487b40490f1871c9/_layout/head.html#L78-L87

Ispage accepts multiple inputs so just add news/* after posts

Yes, this works and what's currently implemented. I was just wondering if there would be a more generic way to achieve this. A minor thing though.

sorry not sure I understand, could you maybe write how you would like the logic to look like in a code sketch? would you like something like {{ispage (some logic here)}} ?

Yes. Ideally we could programmatically retrieve all folders with posts logic to apply the style. Unsure though it is feasible.

I might be a bit dense but I still don't get what you're trying to achieve in an ideal scenario. Would you mind giving me a step by step description of what you'd like?
The thing is that logic in ispage (to describe a set of pages that we want something to apply to) is doable via estrings e"Julia here". But you seem to describe something else which would be doable with hfun.
Basically hfun have virtually no limits so if you can write Julia code that does what you want, then you can write a hfun that does it. Now it might be convenient to leverage some convenience stuff like ispage etc, this is what I'm trying to get from your description.

Thanks for your patience and sorry for my poor explanation. I guess it is partly due to the fact I do not fully grasp the machine the way {{ispage ...}} works in the _layout/head. html.
First, the solution of manually adding the folders that contain blog posts after ispage works. In my specific case, having {{ispage posts/* news/*}} does the job as I have currently posts and news as folders where I add md files that should be listed as blog-post entries in the website.
The only "remaining" open question I thus have is to know if there would be a way to not have to specify manually the names of the blog-post hosting folders (here posts and news) in the {{ispage posts/* news/*}} call? In other words, would there be a way that _layout/head.html could figure out is called from a blog post entry (being in the posts or news folder) to apply the correct layout.

so if you put a @show dirname(cur_lc().rpath) in hfun_list_posts you'll see that it calls it with tags/event; I need to check something in Xranklin as the reason why this is happening may be that cur_lc does not get reset properly after adding tags; I'll check.
In any case if you do this:
function hfun_list_posts(t::String)
    dir = dirname(cur_lc().rpath)

    startswith(dir, "tags") && return ""
   # then rest of your function as you had it

things look like they work fine.

It seems that the current solution fails to list all posts having common tag  upon clicking on a tag.

I appreciate that this might be frustrating and there may very well be bugs for me to fix but it's very hard to work with that kind of message short of just cloning your repo and trying to reproduce all your work.
If you don't mind it would help to close this issue and open follow up issues that are more targeted. It seems that:

you have an issue with tags
there was an issue with hfun_list_posts being fired in the wrong context which was addressed for now with the startswith(..)
an imprecise feature request to have {{ispage}} figure out the type of page --> this should not be handled by ispage, it should be handled by you coding a hfun_if_is_list_posts_page and having your specific logic injecting whatever  needs to be injected if the directory meets your own constraints.

So it seems that (1) is your remaining issue, to help you with it, it would help a lot if you first verified that the __site/tags/ folder are appropriately filled upon site generation. I.e. do serve(clear=true, single=true) then go to __site/tags/ and check that there's everything there you might expect. If not, then that's the issue. If so, then the issue is with your hfun.
Each page has a tags field attached to its context which you can retrieve with tags = getlvar(:tags). You can also get all of the tags by querying the global context and going through each of the local ones that is attached to it:
all_local_contexts = cur_gc().children_contexts
for rp in keys(all_local_contexts)
    a_local_context = all_local_contexts[rp]
    its_tags = getvar(a_local_context, :tags)
end

Thanks for your help. Transferring the remaining into more specific issues #275 #276.


1.0 goals

Monorepo

chai-images
creevey
creevey-ui

Browser adapters

creevey-selenium
creevey-puppeteer

Storybook integration (Support all storybook frameworks)

creevey-react
creevey-vue

UI

Rewrite UI
Improve performance for large amount of tests

Allow use creevey without storybook

Reorganize issues and use milestones instead


Falcon web framework

** WORK IN PROGRESS **
Add support for the Falcon web framework as an alternative to Flask.
Falcon is a very fast, very minimal Python web framework.

Coverage decreased (-2.3%) to 97.676% when pulling 29cc2ba4f1dd1b77e271ef82d3aa490fad75726f on falcon into 93c06711ed02b453121818f65b25ac3c863aefdd on master.

Coverage decreased (-1.8%) to 98.192% when pulling 00cfa574d9266a732f3a09b4a36190521f757de7 on falcon into 93c06711ed02b453121818f65b25ac3c863aefdd on master.

Coverage decreased (-1.8%) to 98.192% when pulling 00cfa574d9266a732f3a09b4a36190521f757de7 on falcon into 93c06711ed02b453121818f65b25ac3c863aefdd on master.

Just wondering if this should be in the main repo.

Is it still alive?

I don't want to distract, but came across another promising framework that is "Flask-like" on the API level and also claims to be really fast: https://github.com/channelcat/sanic

On top of being Flask-like, Sanic supports async request handlers. This means you can use the new shiny async/await syntax from Python 3.5, making your code non-blocking and speedy.

Is this branch still active?

@thatrevguy no, honestly I won't get around working on this. It probably makes sense to close the PR.

Not working on this anymore.


[WIP] no merge

Build triggered. sha1 is merged.

Build started sha1 is merged.

Build finished.


Add log and debug for runtimes

Fix #235

That issue is ambiguous, we actually just wanna to add log! macro in staking module, or think about other networking or consensus part, we may need more logs to show the healthy or the common process in node-side.
https://github.com/paritytech/substrate/blob/38d5bb32c3064113f897cb8ec33eea0f8570981b/frame/staking/src/lib.rs#L2807-L2813


Fixes haddock documentation

Some strings were malformed and that caused evaluation errors on the
ouroboros-consensus CI, see this.

Thank you!


Dev

A lot of this still has remnants of the NEE_boilerplate and Gaidos bank projects. Please remove or repurpose any code from those projects and resubmit.


Please choose a single version for dependencies

Hi,
some dependencies reference a general branch:
grid-ray = { git = "https://github.com/bonsairobo/grid-ray-rs", branch = "main" }

Those dependencies mean that breaking changes in those crates will also break all previous revisions of this crare.
This makes it hard to include feldspar-map or feldspar-core as a dependency, because even if I say that I want revision X of feldspar-map, then grid-ray may change and break feldspar-map, as well as anything making use of it.
A solution would be to add "rev = abcdef".
I just hit that when trying to build baustein with an older feldspar, and it turns out it's impossible until I port it to the current version of feldspar, including Bevy 0.6 transition :(

OK I will just pin to the latest revisions.

I think I've got everything pinned now.

Thanks, this looks good. I won't be moving to Bevy 0.6 soon, but when I do, and encounter issues, I'll let you know.


Support for use in UWP Apps

Would love to be able to use this for the more modern UWP Apps.
Currently nuget install gives follwing error when used on UWP app:
install-package : Package TwitchLib 1.4.3 is not compatible with uap10.0 (UAP,Version=v10.0). Package TwitchLib 1.4.3 supports: net45 (.NETFramework,Version=v4.5)
install-package : Package WebSocketSharp-NonPreRelease 1.0.0 is not compatible with uap10.0 (UAP,Version=v10.0). Package WebSocketSharp-NonPreRelease 1.0.0 supports: net35 (.NETFramework,Version=v3.5)

Sorry about the delay ok this. I was not aware of this. What are the requirements to make this compatible with UWP Apps? Sorry I'm pretty new to it.

I'm not entirely sure yet, i'm about to take a look at source right now.
But i would think for a start, that the WebSocketSharp would have to be replaced.
What i that used for? cause it looks like you use System.Net.WebSockets for the websocket part?

Ya, so the websocket class that exists in the library was used shortly but because the library using that class is not compatible with mono (as far as I and a few others could tell), we needed to resort to using WebSocketSharp.

Ahh i see, but is this still an issue in Mono?
Or would a rewrite to use the WebSocketClient instead be okay?

Last I checked, mono is still broken with it. But, the websocket nuget package that TwitchLib uses is actually a build that I made (because I didn't want to flag the library as a prerelease, as the "official" version would require). I can make changes to websocketsharp for UWP compatibility, shouldn't be too much of a problem.
Here's the thread where I documented my research:
https://github.com/swiftyspiffy/TwitchLib/issues/126

I just did a quick rewrite to use the WebSocketClient instead.
Still got other issues with UWP, for example the TwitchApi class uses System.Drawing, which isn't available in UWP. Think the UWP thing to do is to use: Windows.UI.Xaml.Media.Imaging, but not 100% on that.
There is this project that might fix that: https://github.com/CoreCompat/CoreCompat
But it might now be the greates thing to start pulling in stuff like that?
I might be better of making a UWP fork of your project, if you dont want to break support on Mono?

Sorry about the delay on the response. I like the idea of forking to create compatibility with UWP. If possible, I'd like to wait until we can get the TwitchApi cleaned up and supporting the important endpoints of v5. I hope to get that during break next week.

Main issue with System.Drawing is that it uses specific features of GDI+ only available in Windows.
Because of this, I highly doubt that we will even see it included in .Net Core 2.0
I'd suggest looking into https://github.com/CoreCompat/CoreCompat as it's simply a port of the Mono version of System.Drawing

So I think we can close this now that the .NET Core 2.0 branch has been merged into the master branch. Feel free to reopen/comment though :D


Added IaC example page documentation

This PR includes quick-start example reproduced with Terraform using Liqo Provider.

If I might add my two cents after quickly looking through the text, I would personally avoid to replicate the parts concerning the deployment of the pods and the service connectivity checks also in this tutorial, as already present in the original quick start. Duplicating code (or text in this case) always leads to synchronization issues in the long run. You might just add a reference to that if you feel it might be helpful.
To me, the goal of this tutorial should be to make the reader aware that you can provision a Liqo-powered multi-cluster scenario also using Terraform. To this end, I would make this more clear since the beginning of the text, as well as I would emphasize that Kind is used here for the sake of simplicity (as well as because it does require neither accounts nor to pay for the resources), but everything can be trivially extended to the case in which the clusters are created on cloud provider infrastructures.
As a minor note, I would also avoid the --auto-approve flag of Terraform, to let the user better understand what it is going on under the hood.

Documentation changes have been made as suggested.
Other additions and/or changes will follow as soon as possible.

/hold Should not be merged until the liqo provider has been published, to check that everything works as expected.

/rebase test=true

/merge

/merge


Update hawk dependency to ~2.3.0

Follow up of #1189 where dependency upgrades were discussed.

Looks fine to me.  I'll merge this tomorrow if no one objects or beats me to it.


Export: Empty redundant odd pages

Versions

Fast Report:  Demos/FastReportWebCore.MVC fom the sources as is (Latest commit 664c4e9)
Browser: Google Chrome v. 70.0.3538.102 (64-bit), IE 11.407.17134.0, MS Edge 42.17134.1.0

What happened
Printed documents contain redundant empty odd pages with note "Generated by Fast Report.Net" only.
For example: when I want to print the demo report "Simple list" which contains 3 pages, I get printed 7 pages when pages 2, 4, 6 contain required content and extra empty pages 1, 3, 5, 7.
Steps to Reproduce
Steps to reproduce the behavior:

Run project "Demos/FastReportWebCore.MVC.csproj";
Select "Simple list" demo report;
Press "Print from browser" button;
See printed pages.

Expected behavior
Printed document should contains 3 pages with required content only.
Screenshots

What I try to print:

What I have as result:

@fediachov, yes, problem still persist by provided link too.  Print from PDF viewer option works fine, but Print from browser option has the problem described  below (checked on two different PC in different browsers).

The problem may be related to page size (A4 in example).

You are right 👍 - the reason of the issue is value Letter in the Paper size  parameter (the value by default) instead of A4. After changing Paper size to A4 the problem disappeared:

Paper size = Letter

Paper size = A4


Update base image and remove unneeded package installations - 119

[Auto generated]
Number: [#119]

qe-metrics(5NW7h)[PR 119]: Closing issue for PR: Update base image and remove unneeded package installations.
PR was closed.


Cosmetic error in MessageSend example?

I managed to send message via the MessageSend example in source code, all was well, Go sent, phone received...
but still this error appeared in golang console
/ERRO[2020-02-11T08:03:05-06:00]messagesend_app.go:129 main.main.func2() Could not send message

the example sends two messages, the second one got marked as Spam.


Returning CompletableFuture

How can I return a CompletableFuture? Is graphql-spqr capable of chaining futures in async manner?
Thank you.

Right now, it's unfortunately not possible as spqr doesn't yet support
graphql-java 4+. On the positive, adding support shouldn't be too difficult
and I plan to work on this once I'm back from vacation, which is in 2 weeks.
On Thu, Oct 12, 2017, 04:50 Pablo Marcel Parada<EMAIL_ADDRESS>wrote:

How can I return a CompletableFuture. Is graphql-spqr capable of chaining
futures in async manner?
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/leangen/graphql-spqr/issues/34, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAyuwyHgJwcsv_mUs0E6zn_uZvD5CsA2ks5srX53gaJpZM4P2ZTY
.

Thank you @kaqqao.


[unitaryHack] Intermediate representation of circuits and link to stim package for quantum error correction

To close this issue, one needs to design an intermediate representation of quantum circuit with pyclifford language. Users can use it to define quantum error correction code (repetition code, for example) and apply measurements and detectors (see stim for definition) for quantum error correction. Then this intermediate representation is transferred to stim's language and be able to use stim as a backend for simulation.

@AbdullahKazi500 Thanks. This issue is assigned to you. Please let us know if you need any help on PyClifford on our side. We will provide more information on this hack question shortly today. Have fun hacking!

Interested in this issue if still open @hongyehu

Hey everyone, just to clarify, commenting on an issue is to indicate you are interested! Until a PR has been merged by the maintainer (@hongyehu in this case), the bounty is still up for grabs! Anyone is welcome to work on the issue until it is closed.

Thanks for the clarification @natestemen. Then feel free to try to get PR merged @s-aldaihan @AbdullahKazi500 :)


Location requirements

Note: Please read "Additional context" first.  "Additional context" is at the bottom of this issue.
Is your feature request related to a problem? Please describe.
Locations are being used indiscriminately.  For example, a principal position can have a location assigned that is actually an advisor location.  An advisor position can have a location assigned that actually is a principal position.
Describe the solution you'd like
Only allow the correct type of location to be chosen for specific processes.
Requirements:
Use case 1: Creating/Editing an advisor position
A super user/admin should not be able to select a virtual location, a geographical location or a principal location when creating/editing an advisor position.  Only advisor locations should be available for selection.
Use case 2: Creating/Editing a principal position
A super user/admin should not be able to select a virtual location, a geographical location or an advisor location when creating/editing a principal position.  Only principal locations should be available for selection.
Use case 3: Selecting a location for an engagement report
When selecting an engagement location, a report author should be able to select a virtual location or a principal location or an advisor location.  The report author should not be able to select a geographical location.
Use case 4: Selecting a location for a principal's place of birth
When selecting a principal's place of birth, only geographical locations should be available for selection.  Virtual locations, advisor locations and principal locations should not be available for selection.
Use case 5: Selecting a location for a principal's residence
When selecting a principal's residence, only geographical locations should be available for selection.  Virtual locations, advisor locations and principal locations should not be available for selection.
Describe alternatives you've considered
None
Additional context
There are two types of locations:

Virtual
Physical

Virtual Locations:

ANET currently has eight virtual locations:
Email Communications
FaceTime
Signal App
Skype
Telephonic Engagement
VTC
WhatsApp
Zoom

Currently, virtual locations are only used as a location for engagement reports when the advisor and principal do not physically meet.  Virtual locations are only used with engagement reports.
Physical Locations:
Physical locations have two sub-types:

Geographical
Pinpoint

Geographical Locations:
A geographical location is a district and a province.  Note: A province has multiple districts.
Geographical locations have two uses:

Principal's place of birth
Principal's residence

Pinpoint Locations:
Pinpoint locations are a specific place, not a geographical area.  A pinpoint location can be a military base, camp, FOB or building.
Pinpoint locations have two sub-types:

Advisor Location
Principal Location

Advisor Locations:
Advisor locations are always a base, camp or FOB.  An advisor location is never a building.
An advisor location is where advisor's sleep and have their office.  Advisor locations are considered safe from principal insider attacks.
It goes without saying the advisors sleep at advisor locations and principals do not sleep at advisor locations.
When a principal is TAAed (Train-Advise-Assist) at an advisor location, the engagement is called a "host-to-advise" engagement.
Principal Locations:
Principal locations can be a base, camp FOB or a building on a base/camp/FOB.  A principal location is where principal's work and have their offices.  Advisors are subject to principal insider attacks at a principal location.
The significance of a building location is that if there is an emergency, the first place to look for the advisors would be at the building on the principal's base/camp/FOB.  This is a real-time use of ANET.
It goes without saying the advisors do not sleep at principal locations
When a principal is TAAed at a principal location, the engagement is called a "fly-to-advise" engagement.

I propose to categorize locations using hierarchical code:

Location type code
Description

P
Phyisical Location

PG
Geographical Location

PP
Pinpoint location

PPA
Pinpoint advisor location*

PPP
Pinpoint principle location*

V
Virtual location

*I am actually hesitating about PPA & PPP as these is more a usage then a location type.
The hierarchy allows easy filter, like give me all virtual locations:
SELECT * FROM locations WHERE locations.type LIKE  'V%';

or all pinpoint locations:
SELECT * FROM locations WHERE locations.type LIKE  'PP%';

The usage of a location is part of the many-to-may table holding location and people relations:
[table people] <= [table location-relation: relation-type] =>  [table location]

Where location type can be:

place-of-birth
residence
....

Plan of approach, first part of the plan addresses use cases 1, 2 and 3:

[ ] on the server side, add the data model to the database: new table locationTypes ( uuid?, code, description? )
[ ] on the server side, migrate existing locations: infer the location type by its usage, e.g. if the location has no coordinates, it is virtual; if the location is used for advisor postions, it is an advisor location, etc.
[ ] on the server side, add location type to the GraphQL schema (both for retrieving and for setting/updating)
[ ] on the client side, change the location model to show the type as part of the label, and add the location type to tables that show locations
[ ] on the client side, change the location screens to show/edit the location type
[ ] on the server side, extend GraphQL schema to allow to search for locations based on type
[ ] on the client side, add search filters for location types
[ ] on the client side, change the location filtering for a position's location to use the proper search filter (advisor or principal location)
[ ] on the client side, change the location filtering for a report's location to use the proper search filter (virtual, … etc.)

Second part of the plan addresses use cases 4 and 5:

[ ] in the dictionary, add custom fields for principal's place of birth and residence (anet_object of type Location), so now these fields are available for principals (but without restrictions on the location type)
[ ] in the dictionary/schema, allow for a way to define how this anet_object should be filtered
[ ] on the client side, use the defined filter(s) to restrict the search