[WIP] h1 page title has parent group title instead of parent path element

When referencing documents from shared folder, h1 title parent is derived from parent path element:

Use parent group title from navigation like this:

Signed-off-by: Daniel Kec<EMAIL_ADDRESS>

Your first screenshot does not show the route, but based on your changes seems that you are changing the routes.
I'm guessing that you are including a .adoc file from something like shared/.

Is this file supposed to be included in place in the navigation multiple times ?
Or is is supposed to be included using an include directive in two documents that have different titles and routes ?

The route in your screenshot like this: #/se/reactivestreams/02_engine/Reactive+Streams.
Why is there an extra slash between engine and reactive ?
The current way of computing the routes based on path has some major flaws, (e.g. the nav order based on filename), however the routes should still be based on the file path.
It seems that you are trying to base the route of the navigation hierarchy because you are including something for shared/ directly in the navigation under Reactive Streams. Can you try instead to have a document under reactivestreams/ that uses an includes directive to include content from shared/ ?

@romain-grecourt I've been trying to avoid an extra doc with includes by smuggling parent group title as a path param(Reactive+Streams is escaped goup.title from navigation), so I can use it in h1 title. It almost worked, but assciidoc internal links got broken horribly so I'm going back to the intermediate adoc with include reference as you suggest.

Yeah, the current implementation is far from perfect, and touching the routes will have tons of side effects.


Not correctly generating output link in Internet Explorer 11

In Internet Explorer 11, when clicking on "Try it out", as response generated link. When you click on it, you can download output file. But in Internet Explorer 11 link generated not correctly. Link generated with relative path, not full in Chrome working correctly
my question is.... is all Swagger functionality tested in Internet Explorer 11? Or it counted on browsers like Chrome?
Can you fix it, please. Because we using it in our project.
Example: blob:http://some.site.com/81923-ab1-12123     is correct link, generated in Google Chrome
blob:81923-ab1-12123     is incorrect link, generated in Internet Explorer 11.

I suspect this issue should be filed in the Swagger-UI repo.  This repo is for just the OpenAPI specification.

It's either that or swagger-editor. Please open the ticket on the relevant project.


feat: enable arm64 builds

This supersedes #88
The emulator package in sdkmanager does not support arm64 therefore the sdkmanager "tools" command fails on arm64 builds.
It might be possible to work around this by looking at the following:
https://developer.android.com/studio/releases/emulator#emulator_for_arm64_hosts
Working branch for arm64: https://github.com/CircleCI-Public/cimg-android/tree/arm64-support

ARM runner comes with generous memory, I'm trying to switch from AMD to ARM, for testing & bundling AAB and uploading to PlayStore
But it seems ARM cimg/android doens't support for now.
WARNING: docker image cimg/android:2023.10-node targets wrong architecture (found amd64 but need [arm64 arm64v8 arm32v7 arm32v6])


Allow multiple urls to send the webhook notification

Resolves #2
On this PR:

Added feature to allow multiple URLs to send the webhook notification. URLs should be comma separated (included in the field description)

@cturla

Resolves #2

It should be #3 not #2, shouldn't it?

@cturla

Resolves #2

It should be #3 not #2, shouldn't it?

Right! I've updated the comment


Add files in fixture utility system

File in fixtures management
In some cases you will want to add UI elements to your content fixtures which are Rich Editor fields. If you need files in your UI elements, you can use a dedicated fixture. It is used as follows.
sylius_fixtures:
    suites:
        my_project:
            fixtures:
                my_files:
                    name: monsieurbiz_rich_editor_file
                    options:
                        files:
                            -   source_path: 'src/Resources/fixtures/bar1.png'
                                target_path: 'image/foo/bar1.png'
                            -   source_path: 'src/Resources/fixtures/file.pdf'
                                target_path: 'baz/file.pdf'

The exemple below will copy files to public/media/image/foo/bar1.png and public/media/foo/file.pdf.
Now you can use files in your content fixtures:
description: |
    [{
        "code": "app.my_ui_element",
        "data": {
          "title": "My title",
          "image": "/media/image/foo/bar1.png",
          "file": "/media/baz/file.pdf"
        }
    }]

Big up! Great improvement, it'll help a lot.
Thank you @lanfisis !


[SPARK-20680][SQL] Spark-sql do not support for void column datatype …

What changes were proposed in this pull request?
Spark-sql do not support for void column datatype of view
Create a HIVE view:

hive> create table bad as select 1 x, null z from dual;

Because there's no type, Hive gives it the VOID type:

hive> describe bad;
OK
x	int
z	void

In Spark2.0.x, the behaviour to read this view is normal:

spark-sql> describe bad;
x       int     NULL
z       void    NULL
Time taken: 4.431 seconds, Fetched 2 row(s)

But in Spark2.1.x, it failed with SparkException: Cannot recognize hive type string: void

spark-sql> describe bad;
17/05/09 03:12:08 INFO execution.SparkSqlParser: Parsing command: describe bad
17/05/09 03:12:08 INFO parser.CatalystSqlParser: Parsing command: int
17/05/09 03:12:08 INFO parser.CatalystSqlParser: Parsing command: void
17/05/09 03:12:08 ERROR thriftserver.SparkSQLDriver: Failed in [describe bad]
org.apache.spark.SparkException: Cannot recognize hive type string: void
at org.apache.spark.sql.hive.client.HiveClientImpl.org$apache$spark$sql$hive$client$HiveClientImpl$$fromHiveColumn(HiveClientImpl.scala:789)
at org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$getTableOption$1$$anonfun$apply$11$$anonfun$7.apply(HiveClientImpl.scala:365)
at org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$getTableOption$1$$anonfun$apply$11$$anonfun$7.apply(HiveClientImpl.scala:365)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
at scala.collection.Iterator$class.foreach(Iterator.scala:893)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
at scala.collection.AbstractTraversable.map(Traversable.scala:104)
at org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$getTableOption$1$$anonfun$apply$11.apply(HiveClientImpl.scala:365)
at org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$getTableOption$1$$anonfun$apply$11.apply(HiveClientImpl.scala:361)
Caused by: org.apache.spark.sql.catalyst.parser.ParseException:
DataType void() is not supported.(line 1, pos 0)
== SQL ==
void
^^^
... 61 more
org.apache.spark.SparkException: Cannot recognize hive type string: void

How was this patch tested?
Add tests
Also can manual tests

spark-sql> describe bad;
x int NULL
z null NULL
Time taken: 0.486 seconds, Fetched 2 row(s)

Can one of the admins verify this patch?

ok to test

Test build #76834 has started for PR 17953 at commit d14fc41.

Test build #76834 has finished for PR 17953 at commit d14fc41.

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

Merged build finished. Test PASSed.

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

@LantaoJin Can you add a description and a test case for this? You can take a look at the OrcSourceSuite to get an idea how to work with Hive.

Test build #76866 has started for PR 17953 at commit 2fee1e0.

Test build #76866 has finished for PR 17953 at commit 2fee1e0.

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

Merged build finished. Test PASSed.

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

Are your test scenario is like?
    withTable("t", "tabNullType") {
      val client = spark.sharedState.externalCatalog.asInstanceOf[HiveExternalCatalog].client
      client.runSqlHive("CREATE TABLE t (t1 int)")
      client.runSqlHive("INSERT INTO t VALUES (3)")
      client.runSqlHive("CREATE TABLE tabNullType AS SELECT NULL AS col FROM t")
      spark.table("tabNullType").show()
      spark.table("tabNullType").printSchema()
    }

Is this what you want?

@gatorsmile Yes, it's the right test scenario. Which class should I add to?

Maybe HiveDDLSuite?

Add a test in HiveDDLSuite. Please review, thanks.

Test build #76968 has started for PR 17953 at commit 4dd5f54.

Test build #76968 has finished for PR 17953 at commit 4dd5f54.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

After this PR, we can describe it, but the query results are still empty.

Test build #77000 has started for PR 17953 at commit efb07df.

Test build #77001 has started for PR 17953 at commit 524b8b5.

Thanks, I add a row to the table t and now we can do nonEmpty check on table tabNullType.

Test build #77001 has finished for PR 17953 at commit 524b8b5.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #77002 has started for PR 17953 at commit a56787d.

Test build #77000 has finished for PR 17953 at commit efb07df.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #77002 has finished for PR 17953 at commit a56787d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

I don't think we should support void type in the parser, CREATE TABLE t(a void) should still be illegal.

Test build #77115 has started for PR 17953 at commit 07713a9.

Thanks @cloud-fan . Hi @hvanhovell  and @gatorsmile , any ideas?

Merged build finished. Test FAILed.

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

retest this please

Test build #77150 has started for PR 17953 at commit 07713a9.

Test build #77150 has finished for PR 17953 at commit 07713a9.

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

Merged build finished. Test PASSed.

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

LGTM except two comments.

Can one of the admins verify this patch?

ping @LantaoJin

Thanks @gatorsmile , I took a vacation last week. Will update it ASAP.

retest this commit please

Retest this please

retest this please

ok to test

Test build #77723 has started for PR 17953 at commit fda353f.

shall we add a test case for CREATE TABLE t(a void) to make sure it still fails?

I think a safer fix is to just handle "void" specially in HiveClientImpl.fromHiveColumn

oh actually users can still create a table with null type column via Catalog.createTable, seems it's ok to support "void" in our parser, but add a new rule to throw exception if users wanna create a table with null type column(exclude CTAS).

Test build #77723 has finished for PR 17953 at commit fda353f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

All failed tests due to mis-match of *.sql.out with the new "void" simple string of NullType.
How to re-generate them again?

Ahh, found it. Re-generated the golden files.

Test build #77766 has started for PR 17953 at commit 1e86674.

@cloud-fan Do you think it should be done in this pull? And where should add the filter, CalalogImpl.createTable() or ExternalCatalog.createTable()

Test build #77766 has finished for PR 17953 at commit 1e86674.

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

Merged build finished. Test PASSed.

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

@LantaoJin do you have some time to address the review comment above?

@HyukjinKwon Sure. Thank you for reminding me. I almost forgot it.

@LantaoJin Maybe close it now? You can reopen it when the comment is resolved?

Sure, please close it as you wish. I will reopen it when it is ready for up to date.
Sent from Mail Master
On 10/28/2017 07:39, Xiao Li wrote: @LantaoJin Maybe close it now? You can reopen it when the comment is resolved?
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/apache/spark","title":"apache/spark","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/apache/spark"}},"updates":{"snippets":[{"icon":"PERSON","message":"@gatorsmile in #17953: @LantaoJin Maybe close it now? You can reopen it when the comment is resolved?"}],"action":{"name":"View Pull Request","url":"https://github.com/apache/spark/pull/17953#issuecomment-340121623"}}}

@LantaoJin @gatorsmile
Any plans to merge this fix?

@amit-hitachi I think we don't have any plan for this work. But, you could revive this discussion in the corresponding jira side.

Yeah .. I personally support this change FWIW.

Emmm. How to reopen it?

I open a new one #28833


Adding pre- post-market zone

There are "before-" and "after-market" sessions in the US stock market. And it will be good to mark it some color.
For example YAHOO chart:

name :   pre-market |    main session    | post-market
time:          to9:29     | from9:30 to15:59 | from16:00
You can base it as in VolumeProfileSeries
change: sessionStart: ({ d, i, plotData }) => d.idx.startOfMonth
to: sessionStart: ({ d, i, plotData }) => d.idx.startOfDay

how can I get free data for pre / post market trading for say the last 10 days? If you can PR some sample data I can implement this. I am thinking this can be accomplished with a new component.

SPY, time frame 1min, period 10days, pre/post market include, format JSON:
spy_1min_10day.txt

and I can add this to the documentation right? please confirm that there is no legal implications for adding this data to the data folder

Yes, you can add this quotes to data folder, if you want.
And I mean to make more flexible configuration, for marking time zones on the chart. Not only pre/post market. For example to make two versions

the Session time zone which is repeated each trading day, and you can set the color, transparency.
Configurable time zones are set where the period for discharge, and you can set the color, transparency.

No plans to add an example.
I am confident this is possible even now, but not readily apparent, any one interested in implementing an example and sharing a PR, show me your work in progress and I can guide you through any problems you may face

Hey @rrag, here's my implementation of Zone component, with configurable zones. I used plotData to calculate the boundaries, maybe there's a better way to do it. Feel free to refactor/use it in your project or as an example. Also SVG is not implemented since I'm not using it.
Zone.js
Cheers, Alex


Sidebar updates

should always show categories
FD Logo should sit at bottom better

should always show categories - home page shows latest posts, but should show categories, just as interior pages do now.

@budparr For this one, do we need to keep the Latest Posts on the homepage, in addition to showing the categories?

I don't think so. I think cleaner is better, don't you?

Definitely cleaner, and works much better with the logo. Will get this updated this morning

Cool. Did we do something with the logo (i.e. did I include that in the things to-do) to fix the overlap?

That was for when the screen height is shorter, right? So the logo doesn't overlap the text? Still need to look at a fix for that.

Okay. I think a flex-box might work. Wrap the outer nav div in display:flex, then add an empty div with a flex-auto class before the logo (and obviously get rid of the absolute positioning:
.flex-auto
.flex-auto {   flex: 1 1 auto; }
you might have to fool around with it, but that's something that's helped me.

Hey, @AdamChlan client just wrote me that the sidebar is bonking on Firefox. I'm attaching the screenshot she sent.

Bud, I think this is a caching issue. I cleared the site cache again, and tested back pretty far in Firefox and all is good on my end. They may need to hit F5/hard refresh a few times to get the new css?

I let her know, thank you.

@budparr I tried a number of different flexbox options here without luck. I will say my flexbox game is not strong, so this is likely the issue. If you have an example where you've done this please feel free to share.

No worries, @adamChlan . I'll see what I can find for you.


backups command hangs after doing a backup of one game only.

Hi, I'm having a problem where every time there is something to backup (save file was updated) a full system backup is triggered trashing all the hdds freezing the system up to 10min while is re hashes 15 plus years of save history.
This is a snippet from the extension logs when i do manual backup from playnite (when there is something new to backup), happens with any game, custom or default:
31-03 02:44:21.341|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Running Ludusavi: find --api --path "G:\Data\ludusavi-backup" --backup -- "Return of the Obra Dinn"
31-03 02:44:22.849|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Ludusavi exited with 0 and valid JSON content
31-03 02:44:22.849|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Running Ludusavi: backup --force --merge --try-update --api --path "G:\Data\ludusavi-backup" -- "Return of the Obra Dinn"
31-03 02:44:24.384|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Ludusavi exited with 0 and valid JSON content
31-03 02:44:24.384|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Running Ludusavi: backups --api --path "G:\Data\ludusavi-backup"

In the first and second command the correct backup argument is sent to ludusavi,
The third time is for a full system backup, i have to manually terminate the process to protect the system.
If i do it again (nothing updated in the saves), full system backup does not trigger.
31-03 02:54:06.728|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Running Ludusavi: find --api --path "G:\Data\ludusavi-backup" --backup -- "Return of the Obra Dinn"
31-03 02:54:08.199|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Ludusavi exited with 0 and valid JSON content
31-03 02:54:08.199|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Running Ludusavi: backup --force --merge --try-update --api --path "G:\Data\ludusavi-backup" -- "Return of the Obra Dinn"
31-03 02:54:09.962|DEBUG|LudusaviPlaynite#LudusaviPlaynite:Ludusavi exited with 0 and valid JSON content

Using the latest version of the extension with ludusavi 0.16

The third time is for a full system backup, i have to manually terminate the process to protect the system.

The third command is backups, not backup. The backups command returns a list of all your existing backups, but doesn't create any new ones. It does this by reading the mapping.yaml files from the backup directory (one per game).
The plugin also runs the backups command on startup, so I'm not sure why it would only have a problem specifically after making a new backup. Some questions for you:

Is G: Google Drive?
How much disk space does G:\Data\ludusavi-backup take?
How many games are backed up?

Hi, oh you are right, didn't notice, the thing is that command alone is what causes a rehash of everything inside G:\Data\ludusavi-backup

G: is a normal 6TB HDD drive, the folder ludusavi-backup is currently hooked to sync with MEGA
3.4GB
377 games

You're absolutely right; the backups command is needlessly doing a full restoration preview. This was an oversight on my part after a series of changes:

Originally, a restoration preview was very cheap because it was strictly based on the mapping.yaml content.
When I added the backups command, I reused the restoration preview code to get the list of available backups.
I added the change detection code (for new/updated saves), which made restoration previews more costly.
I didn't think to revise the backups command (it's much faster on my system, so I didn't notice any symptoms).

On my system (367 games, 3.14 GB, only one drive), fixing this drops the backups execution time from 2.949s to 1.474s.
Here's a 64-bit preview build with the issue fixed. You can also check the other changes since 0.16.0, which are included in this build as well: ludusavi-v0.16.0-post.38+65c8e98-win64.zip . Please let me know how it performs for you with the fix.

That was fast fix, yes i was using the latest commit before to check if this was fixed there :blush:
Tested commit 65c8e98,  All fixed, tested from playnite and with a direct command on the terminal.
Thanks, any help i can provide just pm me.
We can close this if everything is done :+1:

Glad to hear it! Thanks for testing it out :)


Update rasp python.md

1、修改树莓派文档中错误的地方

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


Broken link

Hi, the ApplicationInisghts-Home link doesn't work --> https://github.com/Microsoft/ApplicationInsights-Home/labels/schema   . The result is "No results matched your search." Please, fixe it.
Thanks a lot.

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

ID: abec1591-e1ef-dcae-9cb7-8a6afd7de947
Version Independent ID: f6119b02-ee1a-6bdd-dc0a-c33a632c9546
Content: Azure Application Insights Telemetry Data Model
Content Source: articles/azure-monitor/app/data-model.md
Service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@lpozo16 Thank you for bringing this to our notice, we will further look into this and get back to you shortly. Thanks

@BharathNimmala-MSFT I can take care of this one right now, thank you!

The link is now updated internally. It now points to here. The change will go-live in the public docs between 10-11 AM (UTC-7) later today.
@lpozo16 Thanks again for letting us know about this and helping us to improve our docs.
I am now going to close out this issue.

#please-close


create_parameter_simulation with multiple measures failed with unclear message

Steps to reproduce
Initially I created the simulation with points defaulted to None:
pointssystem_sim = f1cube.create_parameter_simulation(
    "pointssystem_sim4",
    measures={"Best results": 1000, "points": None},
    levels=[l["positionText"], l["resultId"]],
)

However, an error was thrown. Hence I retried by setting the default value to -1. It still throw an error as follows:

I don't observe any obvious error in the server.log. However, if I renamed points to y with default value -1, I can create the simulation successfully. Default None also worked when the measure name is not points.
pointssystem_sim = f1cube.create_parameter_simulation(
    "pointssystem_sim4",
    measures={"Best results": 1000, "pointsx": None},
    levels=[l["positionText"], l["resultId"]],
)

main.zip
Environment

atoti: 0.6.1
Python: 3.9.6
Operating System: win32

Logs (if relevant)
server.log

Hi, the error occurs because another table contains a column with the name points, atoti wrongly tries to create a reference between the column in the simulation table with the same name as the measure and the existing one, which inevitably creates problems.
This will be fixed in the next release, in the mean time choosing unique measure names should solver the issue.


Update schema form

Issue
N.A.
Description

Update entrypoints and endpoints schema form according to what is returned by APIM management API
Allow schema form banner to include html content

🧪  Gravitee.io Automatic Prerelease
npm install<EMAIL_ADDRESS>
yarn add<EMAIL_ADDRESS>

📚  View the storybook of this branch here

:tada: This PR is included in version 5.7.1 :tada:
The release is available on:

npm package (@latest dist-tag)
npm package (@latest dist-tag)
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Default coverage ignore regex should not include spec_helper

Related to #401

Hey Andrés, thanks so much for your efforts clarifying this issue. We've decided that the best default behavior is to exclude spec_helper from coverage as it remains today, and recommend that people avoid requiring application from within spec_helper. We've updated the README to reflect this caveat and provide the desired workaround: https://github.com/modeset/teaspoon#caveats


Drag-dropping a file onto terminal both quoted and escaped

Issue Type: Bug
Working remotely, when dragging a file from the integrated explorer to the integrated terminal, the filename is both quoted and escaped.
So a name like path/to/folder with spaces/file.txt becomes 'path/to/folder\ with\ spaces/file.txt' in the terminal.
Whereas, IMHO, it should only be quoted to work properly.
Extension version: 0.65.1
VS Code version: Code 1.54.1 (f30a9b73e8ffc278e71575118b6bf568f04587c8, 2021-03-04T22:42:18.719Z)
OS version: Darwin x64 19.6.0
Remote OS version: Linux x64 5.4.0-1040-azure

Unconfirmed, might only be an issue in remotes.

I can't reproduce either... No idea what caused it.
Never mind 😇


Add new canonical name for Neodelf

Hi, Xavier!
Please check my code.
p.s. it is your name, not surname, right?

Hi Andrew! Yes, Xavier is my first name. It is a Catalan name.
Thanks for the patch!

In production http://contributors.rubyonrails.org/contributors/andrey-molchanov/commits.

Nice to meet you!)
Looks excellent. Thanks


Add keyboard shortcut to insert from middle-click buffer in Linux

OS version and name: Ubuntu 16.04
Hyper version: Hyper 1.0.0
Link of a Gist with the contents of your .hyper.js: Default contents
Relevent information from devtools (CMD+SHIFT+I on Mac OS, CTRL+SHIFT+I elsewhere): NA
The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue
Coming from gnome-terminal, I expected Shift+Insert to paste from middle-click buffer but instead it does exactly the same as Ctrl+Shift+V and inserts the contents of the clipboard.
I couldn't find another keyboard shortcut to do it either. Is there a way to edit keyboard shortcuts?
At least I can perform this action using the mouse (middle click) for now but that's inconvenient since I like to do most things without leaving the keyboard.
Anyway, I would like it if Shift+Insert would paste from middle-click buffer (also called primary or selection buffer) like it does in gnome-terminal. See for example http://unix.stackexchange.com/questions/178070/why-does-shiftinsert-paste-from-clipboard-in-some-applications-and-primary-in-o#answer-178401

Likewise, on Mac, Terminal.app has a shortcut Cmd+Shift+V that pastes the last selected text, without needing to copy it to the clipboard. Similar to the select buffer in X Windows, but it only works in Terminal.app (also between terminal windows).
I know there is the copyOnSelect option, but that actually copies into the clipboard, something I like to avoid so I have 2 buffers to work with…
Is implementing something like this possible with the Hyper architecture?


Use isArray

I've recently run into a bug in the newer versions of babel where instanceof Array was returning false. After a bit of research, it turns out using Array.isArray is a much better alternative.
This replaces the usage of array instanceof Array with Array.isArray(array)

Hello, is there any news about this pull request ? Do you know if it's going to be merged soon?

hi, any update on this ?

hi @arnaudlewis,
We really need this to be merged. We're struggling with this issue and can't upgrade our other dependencies just because of this, causing build errors.
Could you please give us an update ?

Ping here from Nuxt.js author, people need this as it's breaking the server-side rendering part.
Current patch: https://github.com/prismicio/prismic-javascript/issues/77#issuecomment-473966443

Sorry for the delay, it's available in 2.0.2


Please remove text length > 0 into onSubmitQuery

I cannot intercept when the use clear all text and close query.
I try with onSubmitQuery but if the text is empty the event will not fired.
Please can you change the if into onSubmitQuery:
from
if(query != null && TextUtils.getTrimmedLength(query) > 0 && (this.mOnQueryChangeListener == null || !this.mOnQueryChangeListener.onQueryTextSubmit(query.toString()))) {
to
if(query != null && (this.mOnQueryChangeListener == null || !this.mOnQueryChangeListener.onQueryTextSubmit(query.toString()))) {
regards.

It's here: https://github.com/MiguelCatalan/MaterialSearchView/issues/20


[Documentation] Hint to clear config cache before publishing the config

Add a hint to run $ php artisan config:clear before calling $ php artisan vendor:publish.

@Konafets Wasn't aware an issue existed where you needed to clear the config cache before publishing a vendors config. What was the issue you ran into?


OrderBook in Sandbox

Did anybody have any luck getting the OrderBook working in the sandbox? I keep getting IndexError: list index out of range, no matter how I try to pass the correct URL. What is the correct implementation, if there is one?

Sandbox is hit-or-miss.  It's unofficially unsupported.

Ha - thank you. I find that it works perfectly fine with an authenticated sandbox client, it's just the OrderBook that keeps failing. I guess it's time to debug with real money!

If it works in production, then we should assume it's an issue with the sandbox api endpoints rather than this package.
Thank you for raising your concern! I'll leave this here to give others an opportunity to chime in

I'm not sure what URL you are injecting or how, but to make this work you need to inject both the WebSocket URL and the Public API URL.
I think this could be an issue with the implementation. I haven't done a massive amount of testing but in v1.12 the WebsocketClient has a default url argument which points to the real coinbase pro WebSocket. Additionally, the PublicClient also has a default url argument pointing to the real public api endpoint. The OrderBook starts by taking a snapshot of the orderbook and then applying further messages to the order book state.
I've slapped together some code which seems to work, I'm going to go forward with it this afternoon and see if I run into any issues. If this might be of interest to others I can prepare a PR with the changes I made.

So I did a bit more investigation. Because of the low number of orders that are submitted to the sandboxes, the set up code as is didn't work if you didn't place your own orders between order_book.start() and performing some other action.
I dug into the code and I'm not sure that the code as is strictly follows CBP API spec. When the space between consecutive messages is big enough, then errors can and do occur.
I now seem to have a version of this library which works with the sandbox, I can prepare a PR with everything if anyone else is interested in this. I think this fix could also reduce the possibility of spurious errors in weird market conditions on real markets too.

Good job. I think anything that improves the OrderBook reliability would be
most useful - having a replicated order-book locally speeds up any algo by
orders of magnitude.
On 9 September 2018 at 13:48, James Prince<EMAIL_ADDRESS>wrote:

So I did a bit more investigation. Because of the low number of orders
that are submitted to the sandboxes, the set up code as is didn't work if
you didn't place your own orders between order_book.start() and performing
some other action.
I dug into the code and I'm not sure that the code as is strictly follows
CBP API spec. When the space between consecutive messages is big enough,
then errors can and do occur.
I now seem to have a version of this library which works with the sandbox,
I can prepare a PR with everything if anyone else is interested in this. I
think this fix could also reduce the possibility of spurious errors in
weird market conditions on real markets too.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/danpaquin/coinbasepro-python/issues/328#issuecomment-419713639,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Af38buzMNigERsYgrfxXsq-FvbODPm4wks5uZQ4bgaJpZM4WbEaE
.

The no data error isn't a big issue, you can load and start the orderbook in a while loop like this :
def runOrderBook(self):
        while self.is_running:
            self.orderbook.start()
            try:
                while not self.orderbook.stop:
                    time.sleep(1)
            except KeyboardInterrupt:
                pass

When it restart you still have previous replicated orderbook, it just up to date when reconnecting if any order is passed.
You can see more use case in my own cbpro wrapper


String updates

Critical fixes and enhancements to String code

@swift-ci Please test

@swift-ci Please test source compatibility

@swift-ci Please benchmark

@swift-ci Please test

@swift-ci Please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 87366508a27cc64675e7a42fd5cef671c99b096a
Test requested by - @dabrahams

@swift-ci Please benchmark

@swift-ci Please benchmark

@swift-ci Please test source compatibility

@swift-ci Please test source compatibility

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 87366508a27cc64675e7a42fd5cef671c99b096a
Test requested by - @dabrahams

Build comment file:
Build failed before running benchmark.

@airspeedswift @dabrahams Benchmarking results are available if you go to the details of the job.  The job failed because it expects to get results back for master.  Do the results look like what you expect?

I think these are the results:
(StringHasPrefix/Suffix can be ignored)

Regression (6)

TEST
OLD
NEW
DELTA
SPEEDUP

StringHasPrefix
16
33
+106.2%
0.48x

StringHasSuffix
16
33
+106.2%
0.48x

StringFromLongWholeSubstring
15594
19842
+27.2%
0.79x

BitCount
12
14
+16.7%
0.86x (?)

IterateData
706
755
+6.9%
0.94x

Calculator
31
33
+6.5%
0.94x

Improvement (9)

TEST
OLD
NEW
DELTA
SPEEDUP

SubstringFromLongString
158
10
-93.7%
15.80x

SubstringFromLongStringGeneric
340
77
-77.4%
4.42x

StringFromLongWholeSubstringGeneric
218
133
-39.0%
1.64x

StringWithCString
189695
137287
-27.6%
1.38x

DictionaryRemove
2781
2430
-12.6%
1.14x

ObjectiveCBridgeStubNSDateRefAccess
344
315
-8.4%
1.09x

ArrayAppendAscii
24031
22072
-8.2%
1.09x

StringMatch
9059
8373
-7.6%
1.08x

NopDeinit
28948
27429
-5.2%
1.06x

AFAICT when I got to the details I don't get anything I can compare to.  I see one set of results for O and O_none.  I'm not even sure these are the results for the branch under test, as AFAIK Mishal has the baseline tests run first.

This was reverted in:
https://github.com/apple/swift/pull/9813
pending investigation if SR-4955 is related to this change.

Given my current understanding of the problem, I'd say the risk here is quite low, FWIW.  I'll keep the bug updated, though.


Documentation inconsistent

The documentation for COSMO is talking about Families in one tab and then jumps to food groups.
I think if our customers were following the documentation for guidance it will get confusing as it is not consistent. I suggest we make some consistencies and I am happy to help with that.

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

ID: c1053c8e-5ce2-c3b4-0aae-576823d19186
Version Independent ID: aa7efcaf-f0fe-34e5-e43b-324e5f3d6432
Content: GROUP BY clause in Azure Cosmos DB
Content Source: articles/cosmos-db/sql-query-group-by.md
Service: cosmos-db
Sub-service: cosmosdb-sql
GitHub Login: @timsander1
Microsoft Alias: tisande

@ciph3rwoman We are checking this and will get back to you.

@ciph3rwoman We agree with your feedback but the Cosmos playground - Azure Cosmos DB Query Playground work with food groups so the example is presented that way.

@ciph3rwoman Please let us know if you need further help.


Add instructions.

I was confused on how to complete this challenge after looking up through the forum. They mentioned using the link I proposed.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Closes #XXXXX

Never mind i found in the beginning instructions, the link.


build script is wrong

The build script in this repository is wrong in many ways.
https://github.com/ogxd/gxhash/blob/c9c9f61f202be9a5b3261913f2a4c2f8c883caa6/build.rs#L5-L6
Checking for nightly to enable features should not be done. If the feature ever changes, builds using old versions of this library on new nightlies will break, which is highly undesirable. Not everyone that uses nightly wants to use unstable features, and they should never be implicitly enabled behind the users back. Use a feature that can be enabled by the user or some global cfg instead.
https://github.com/ogxd/gxhash/blob/c9c9f61f202be9a5b3261913f2a4c2f8c883caa6/build.rs#L7-L9
This checks the feature of the build script, so the host. This makes no sense, the host bears no resemblance to the target.
https://github.com/ogxd/gxhash/blob/c9c9f61f202be9a5b3261913f2a4c2f8c883caa6/build.rs#L13-L15
While this attempts to handle cross compilation (unlike the previous check), it does not handle it correctly. By default, this works. But when using cargo cross compilation mode, even for the same target as the host (by passing --target explicitly, which is done by Miri and also required for -Zbuild-std), then RUSTFLAGS only apply to the target binaries, not programs on the host. Using cfg in the build script to attempt to detect whether the target feature is enabled does not work. Instead, check the cfg in the code and compile_error! when it is not enabled.

Hello @Nilstrieb !
Thanks a lot for filling this issue, I agree with everything you've said. I did not know about compile_error!, it seems things can be made a lot more simpler this way.
I have made a branch for experimenting and added a Github action to perform cross-compilation tests. For some reason it does not build in some scenarios and need further investigation: https://github.com/ogxd/gxhash/actions/runs/9134920082


Save List of XYCharts to PNG or PDF

Hi.
It seems I cannot save to PNG (or also PDF would be good) a matrix of charts. I have used BitmapEncoder.saveBitmap(chart, "whatever", BitmapFormat.PNG) to save a single XYChart chart, but how do I save a List of charts?
Thanks
Alberto

@adallolio
Look at the method of this PdfboxGraphicsEncoder class.
org.knowm.xchart.PdfboxGraphicsEncoder.savePdfboxGraphics(List<Chart>, String)

Hi. This will not work because that class implements List whereas the list I have is for XYChart: List.
Indeed I get the error: no suitable method found for savePdfboxGraphics(List,String)
Alberto

@adallolio
XYChart extends Chart, List  can be List , List , etc.
List  can add all extends Chart classes, you can add different types of Chart.

@adallolio
You try like this:
    List<Chart> charts = new ArrayList<>();
    charts.add(new XYChart(800, 600));
    charts.add(new XYChart(800, 600));
    charts.add(new XYChart(800, 600));
    try {
      PdfboxGraphicsEncoder.savePdfboxGraphics(charts, "filePath");
    } catch (IOException e) {
      e.printStackTrace();
    }

@adallolio
This method parameter, I will optimize it later.
savePdfboxGraphics(List< ? extends Chart> charts, String fileName)

List charts = new ArrayList<>();
charts.add(new XYChart(800, 600));
charts.add(new XYChart(800, 600));
charts.add(new XYChart(800, 600));
try {
PdfboxGraphicsEncoder.savePdfboxGraphics(charts, "filePath");
} catch (IOException e) {
e.printStackTrace();
}
this compiles yes. I will test it later.
Thanks

Hi. I have cloned the last version and run mvn clean package  and mvn javadoc:aggregate. Then I moved the jar target/xchart-3.6.3-SNAPSHOT.jar into my application and recompiled my application (with ant). It compiles fine, but when it comes to use PdfboxGraphicsEncoder.savePdfboxGraphics I get this error: java.lang.ClassNotFoundException: de.rototor.pdfbox.graphics2d.PdfBoxGraphics2D
This is a bit strange since I have included "import org.knowm.xchart.PdfboxGraphicsEncoder;" in my java file and I see that rotor.pdfbox should be downloaded when I build xchart:

de.rototor.pdfbox
graphics2d
0.25

So the jar xchart-3.6.3-SNAPSHOT.jar should have the package.
Am I using the wrong package in my application?
Could you help?
Thanks
Alberto

Is it possible to save for example 2 (or more) XYcharts into a single PNG, instead of PDF?
Thanks
Alberto

Hi. I have cloned the last version and run mvn clean package and mvn javadoc:aggregate. Then I moved the jar target/xchart-3.6.3-SNAPSHOT.jar into my application and recompiled my application (with ant). It compiles fine, but when it comes to use PdfboxGraphicsEncoder.savePdfboxGraphics I get this error: java.lang.ClassNotFoundException: de.rototor.pdfbox.graphics2d.PdfBoxGraphics2D
This is a bit strange since I have included "import org.knowm.xchart.PdfboxGraphicsEncoder;" in my java file and I see that rotor.pdfbox should be downloaded when I build xchart:

de.rototor.pdfbox
graphics2d
0.25

So the jar xchart-3.6.3-SNAPSHOT.jar should have the package.
Am I using the wrong package in my application?
Could you help?
Thanks
Alberto

xchart-3.6.3-SNAPSHOT.jar does not contain dependencies jars (eg graphics2d-0.25.jar), unlike springboot.jar, package dependencies jars.
You can manually add graphics2d-0.25.jar.

Is it possible to save for example 2 (or more) XYcharts into a single PNG, instead of PDF?
Thanks
Alberto

You can look at the Example2 class of the xchart-demo project.
https://github.com/knowm/XChart/blob/develop/xchart-demo/src/main/java/org/knowm/xchart/standalone/Example2.java


find alternative to Rekognition

The Rekognition API (which is what mustachio uses for face detection) is shutting down on Dec 2 :cry:
https://news.ycombinator.com/item?id=10497743
Need to find an alternative API, or finally move to local detection.
/cc https://github.com/shiffman/Rekognition-for-Processing/issues/16

[ ] Add note to homepage saying that the image API won't be functional until this is done

Any of these http://blog.mashape.com/list-of-10-face-detection-recognition-apis/ of interest?

That's a relatively old article, and these companies seem to go out of business pretty quickly. I would love to figure out local detection if we can.

You can probably use flandmark (face landmark detection algorithm).
There is a ruby-binding gem for that library: https://github.com/ssowonny/ultra-face
Original article/description: http://cmp.felk.cvut.cz/~uricamic/flandmark/
Original C++ code: https://github.com/biometrics/flandmark/tree/master/libflandmark
Note: it's GPLv3 code

Would love some help experimenting with the different options!

Just got an email from someone interested in helping out – pasting here to keep all of the information in one place.

It looks like in mustachio.rb there is some hints at the concept of modular-ability by defining @@face_detection_proc (line 39, 64) and also the face_span function thats commented out (line 83).
Anyways, any advice you have would be awesome. Im going to try to use face (https://github.com/rociiu/face) but we'll see if it can really do what needs to be done.

Response

in mustachio.rb there is some hints at the concept of modular-ability by defining @@face_detection_proc (line 39, 64)

Haven't looked at this code in a while...I think that can be removed. https://github.com/afeld/mustachio/issues/50

the face_span function thats commented out (line 83)

Hmm, not sure how that got left that way...I wouldn't worry about it for now.

Anyways, any advice you have would be awesome.

In short, the task here is to replace (the logic in) the Mustachio::Rekognition class. The trick is getting .face_detection to return the data in the same format (though I'm not opposed to other parts of the codebase changing to make the task easier).

Im going to try to use face (https://github.com/rociiu/face)

That's a wrapper for the face.com API, which is originally what mustachio was using. Unfortunately it shut down a few years ago :crying_cat_face:

That's a wrapper for the face.com API, which is originally what mustachio was using. Unfortunately it shut down a few years ago

@afeld about 10 minutes after i sent that email i realized that. I've done the "fun" part of demolishing all the rekognition code out of my fork. I'm currently looking at using ruby-opencv, but its non-trivial to get it configured correctly.
how / where is this application deployed? will it be possible to install / configure opencv in that environment?

It's deployed to Heroku. I wouldn't be opposed to Docker-izing the thing if installation of dependencies becomes a headache, which I imagine would be the case for something like OpenCV, which theoretically Heroku supports (though I haven't really tried it). We can cross that bridge when we come to it, I guess.

We can just use https://github.com/ddollar/heroku-buildpack-apt and include opencv packages there. Docker is not required for that.

One of the benefits of using docker is that it (could, maybe, sometimes) simplify development (not having to set up / install opencv dependencies, etc). But the buildpack is a simpler, lower overhead solution.

Yep yep. Let's figure out what works for detection first, then worry about how to make it easiest to set up / deploy.

I've been playing around with ruby-opencv all day and I'm not able to use any of the frontalface cascades, and  having a hard time getting consistent correct results with the mcs_mouth cascade. I seem to get pretty consistent and correct results with the mcs_nose cascade.
I'm wondering if we could change the algorithm to place the top-center of the stache right under the bottom-center of the nose. it looks like current implementation uses fixed-width mustaches, is that correct? (factories.rb:43)
in any case, I'm going to look more at implementing this without mouth coordinates tomorrow.

All of the positioning logic is here:
https://github.com/afeld/mustachio/blob/242b93a0b06c00df4cb76d5693394f8fd54eca19/lib/mustachio/factories.rb#L30-L50
The mustache image gets scaled to be the height of the nose to the middle of the mouth (plus any mouth_overlap), and is then positioned between the nose and mouth (plus any vert_offset).

Some of those variables could probably have better names...

If Rekognition.face_detect returns the data in the same format, though, none of that positioning logic should need to change.

just to chime in here. I am looking over your code and sort of lost how to plug in a custom face recognition alternatives. I'd love to add even local face recognition.
Can you point me at fork or particular point in the code where i can hook in something like opencv? I can see that this is sort of a painful issue for you guys.
Of note, it would be a nice crosssection of mustachio and this project:
https://github.com/ethanal/mustachify
overall logic is not too different from what you already have!
search for the query, download image, do some local processing, upload image, return URL.

I'd love to add even local face recognition

:+1:

particular point in the code where i can hook in something like opencv

See my comment above—that's all I've got. Maybe @brandonkirchner has some actual code for integrating with OpenCV?

it would be a nice crosssection of mustachio and this project: https://github.com/ethanal/mustachify

Yep! Could definitely look into how they are Based on the README, sounds like the main differences are that mustachio:

has a server
supports multiple faces
supports various mustaches

Ideas:
https://cloud.google.com/vision/
https://developers.google.com/vision/

Google Cloud Vision API seems promising! Wrote up a script to test it out:
https://gist.github.com/afeld/655e6e02bf085feb02193f468516fca5
Local face detection should still be faster, but this would work.

MS Face API give 30K faces per month for free too: https://www.microsoft.com/cognitive-services/en-us/face-api
I haven't personally tried it, but it looks like they give more landmarks than Google too.


Webview fails to open certain links, only in Production builds

Bug description:
Certain web pages, specifically those navigated to from a text field autocomplete, fail to render after clicking on the link, and only on production builds from TestFlight / the App Store.
This is a wild bug, and I've spent way too long trying to figure out what's going on. Hoping somebody reading this can point me in the right direction. I know I'm asking for free tech support here so if you want to close this issue & tell me to go elsewhere I'll understand.
To Reproduce:
Because this bug only seems to appear in production builds from the App Store, I'm not sure how to provide a repro. I'm mostly posting this issue in hopes that somebody else has seen and solved this problem before me.
Expected behavior:
When I search Google and tap on an autocomplete suggestion, I expect the search results to populate.
Screenshots/Videos:
I realize my description above is confusing to follow. Hopefully this video clears things up a bit.
The first 10 seconds of this video are in a local build of the app, installed to my phone. The latter 10 seconds are from the version of the app from the app store. Notice that tapping the "sephora" suggestion in the first app shows search results from sephora, whereas tapping "sephora" in the second one shows a blank screen. This is reproducible on Amazon as well.
https://user-images.githubusercontent.com/1130084/119392376-adff2900-bc9d-11eb-84f2-91950439f8cb.mov
Environment:

OS: iOS
OS version: 14.5
react-native version: 0.63.3
react-native-webview version: 11.3.1

Solved: We were finding ourselves in a weird situation where:

user clicks on auto-suggested search term in google
google pushes a new temporary url to navigation state while loading search results
onNavigationStateChange is called and we update our internal state's currentUrl param to be the temp url
new url is passed as a prop to the webview (source={{ uri: currentUrl }}), which should be fine because it's the URL we just got from the webview, but this causes google to stop loading the search results
wait forever in despair

@dickfickling it still looks like a bug IMO, specially if it only happens on production. What version are you on?
I think I'm facing the same issue.

@dickfickling it still looks like a bug IMO, specially if it only happens on production. What version are you on?
I think I'm facing the same issue.

any solution on this cousin?

it's really not a bug -- by updating the source URI for the webview, we were forcing it to reload the page, and due to the way Google loads search results async in the background, we were breaking their page. Perhaps the only bug is that it seemed to work in debug builds.

@dickfickling yeah, my bad.
@cokealmonacid it actually works fine, I just did a mistake. Sorry cousin 😆


Integration Test - Release - 2022/06/28 07:04:57

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign: PRMergerTest1

#assign: NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign: PRMergerTest2

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#unassign: PRMergerTest1

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign: NonAllowedUser


SignalK-Full.service data type error

Hi @mxtommy,
I've started using streams from other than demo site to test with Electrical and other types of telemetry. The following error pop's up but I'm not how to fix it as I don't yet fully understand the Kip SignalK framework.

TypeError: Cannot use 'in' operator to search for 'timestamp' in null
Setting self to: vessels.urn:mrn:signalk:uuid:6a59e3cd-7ce2-45a7-a156-0270e9be48d7
Error:  attribute d: Expected number, "M 250,250 L NaN,NaN A 160,16…".
Error:  attribute d: Expected number, "M 250,250 L NaN,NaN A 160,16…".

It comes from src\app\signalk-full.service.ts in findKey() function. Exception is thrown at line 34 else if ('timestamp' in data) { // is it a timestamped value?.
The reason is the data object is Null. data is actually http response.body and it can be Null if no body was returned, which is not required and is a valid http operation. I looked at the response.header and all is fine: 200, OK, etc...
From what I read, you can only use in on singletons, objects, parameters or any. Obviously Null is a problem but I think the logic needs to be looked at as a Null HTTP response.body is something that we need to expect in some cases. Here is the data in question attached as JSON maybe it will ring a bell!
data.json.txt

Already patched here:
https://github.com/mxtommy/Kip/blob/master/src/app/signalk-full.service.ts#L26
It's a recursive function to walk the full json tree, I hit the same thing with the notification branch.
What server are you using? There seems to be a lot of bad data in there?  Like right at the start I see design.length has both value and values keys, not sure that is valid

it's a file from sbender. It has auto-pilot, some Victron and battery info.
get from [(https://www.dropbox.com/s/wesky0kgqignrmh/signalk-rawdata.log.to.langford.bz2?dl=0)]
use Multiplex as fromat

Fixed


Add *.iml to .gitignore (IntelliJ file based conf)

Approvals testing PR.

Test complete! Thanks!


Preventing Sync Loops

Hey, I just wanted to say thank you for such a great Medium article and a super-helpful sample project. You really helped me a lot with this and I'm very grateful. 🙂
One quick question for you. I'm having an issue where I have a sync loop happening. It goes something like this:

I update a record in Realm.
The realm notification fires and it pushes the change to CloudKit
The CloudKit record changes and thus sends a subscription notification to my app.
My app sees the notification and updates Realm.

Fortunately it seems to stop after a single loop, but everything is happening twice.
I'm unclear on how you are preventing this in your app. Can you give me any pointers?
Thanks again!

You have to pass the notification token when you commit a write so that token doesn't get the notification: https://github.com/insidegui/NoteTaker/blob/7f58ddbc24cc92b0003ebf9cf810ff64cd3a9c54/NoteTakerCore/Source/NotesStorage.swift#L105

Cool, thanks!

Sorry to bother you about this again, but I'm still not quite getting it. :)
Let's say the following is the cycle of saving a record:
A) I change Realm object "Dog" and write it to the realm.
B) The change notification is fired and the record is pushed up to CloudKit.
C) CloudKit saves the record and sends a notification to all clients that "Dog" changed.
D) The client that just barely sent the change also gets the CloudKit notification and updates "Dog" again.
E) The cycle repeats.
In which step do you pass the token to not notify the Realm to update? What if I need the rest of my app to know about the change? Suppressing the notification would make my app not react to the change correctly.
Am I missing something?

The client that just barely sent the change also gets the CloudKit notification and updates "Dog" again.

The app that just sent the change to CloudKit should not be getting the notification, that's not the correct behavior. If you're seeing that in your app, there's either something wrong with your setup or a bug in CloudKit (in which case you should file a radar)

In which step do you pass the token to not notify the Realm to update?

When you call Realm.commitWrite() to persist a change caused by a CloudKit notification, in the withoutNotifying: parameter.

Suppressing the notification would make my app not react to the change correctly.

The SyncEngine has its own notification token and that's the only one that should not be notified when the SyncEngine performs a change caused by a CloudKit notification. Other sync tokens in your app will get the notification normally.

Thanks for your thorough reply. I think I figured it out.


Change ambiguous mappings to remove delay

Fix #171 #236.
I don't like changing these mappings without having some sort of deprecation warning first, but I can't think of a good alternative. The usual solution I've seen in other Vim plugins is to keep the old mapping but have it print a warning. But that doesn't really work here since the only way I see to remove the delay is to remove the ambiguous mappings.
I'll leave this open for a bit to see if anyone has any suggestions for a better option.
CC @tomtomjhj @ana-borges @j-hui

Thank you!
My two suggestions would be to:

Only make this change in a new release; and
Add a section to the README or somewhere linked from the README with code that someone can copy to their .vimrc to get the old functionality back.

Alternatively, add a new flag that someone can set to change this specific set of mappings and call it version-X-compat or something, so that it's even less work than copying something to .vimrc.


Little bug in TiledRenderer

Basically when the view is divided into tiles for saving to png, sometimes tiles will include the last row / column of pixels of the tile to the left or above it, and produce an overplotting artefact, almost like a grid. Here's a close-up of a horizontal line that appears in one of my images:

The trouble only seems to occur when anti-aliasing and when the height or width is odd (non-even). Say a tile was 1001 pixels wide and antialias = true, then the values for drawImage would be offset = floor(0/2) = 0, and width = ceil(1001/2) = 501. Then for the next tile, the offset = floor(1001/2) = 500 and thus the last column of pixels from the last tile would be picked up again in this tile
I've 'fixed' (i.e. works for me, no guarantees) it like so in TiledRenderer _renderTile, basically if the offset for a tile is odd and the width/height is odd, then add 1 to the offset and take 1 off the width/height for that tile:
if (this._antialias) {
	  const rx = (offsetX % 2) * (width % 2)
	  const ry = (offsetY % 2) * (height % 2)
      this._ctx.drawImage(
        viewer.renderer.domElement,
        Math.floor(offsetX / 2) + rx,
        Math.floor(offsetY / 2) + ry,
        Math.ceil(width / 2) - rx,
        Math.ceil(height / 2) - ry
      )
    } else {

I've got this in my fork at https://github.com/martingraham/ngl and it should be the only change if you want to pull, or ask me to make a pull request (or just cut'n'paste the above code, because that's all there is to it)

Thanks!


how can i collect media likers like media-comments

hi your library great sory my questions i am new in node js how i collect likers in feed media coments use method all sory my english

Learn node first then setup http proxy and then inspect what your device is actully doing. Find endpoint and implement this within this library...

i can use your media-comments for collect comenters but i cand find media -likes in your library

https://github.com/huttarichard/instagram-private-api/blob/master/client/v1/media.js#L91

yes i show that and i try yes its work but iwant to add in feed folder like media-comments but i cant how can i do it


[Bug]: Tags rendered twice in dataview tasks list

Bug Description
Hello hello, I've come across a visual bug. :eyes:
When appending tags to task items and then querying them with dataview, the tags somehow appear twice and overlap with other text (see below). I've confirmed that it doesn't happen in the default theme or any of the other themes I sometimes use.
At first I thought it only happens inside callouts, but as you can see, it also happens inside normal dataview query blocks.
Task format:
- [ ] Open Atlas lokal einrichten? #projekt/inova
Query:
TASK WHERE !completed
Related: I wanted to update the theme before reporting... but it seems your last update broke the theme completely: #154 Resolved.
Relevant Screenshot

To Reproduce

Enable Shimmering Focus
Create a todo (i.e. bullet with checkbox) item which includes a tag
Query for tasks with dataview
Tada, a bug 🐞

Obsidian Version
0.14.7
Installer Version
0.14.2
Font Size
16
Which editor are you using?

[X] New Editor
[ ] Legacy Editor

In which mode(s) does the problem occur? (if applicable)

[ ] Source (Edit)
[ ] Reading (Preview)
[X] Live Preview

Which operating system?

[ ] macOS
[X] Linux
[ ] Windows
[ ] iOS
[ ] Android

Plugin-Specific Problems

[X] I took note of the specific instructions regarding those plugins.

Checklist

[X] I updated to the latest version of the theme (Settings → Appearance → Themes - Manage → Update).
[X] I made sure that the issue is related to this theme by checking that the problem does not occur with the default theme.
[X] In case I am missing an UI element, I have checked that it cannot be re-enabled with the Style Settings plugin.
[X] If the bug occured after updating the theme, I read the last couple of entries in the changelog to make sure the bug is not an intentional change. (In that case, there will most likely be a style setting to turn it off again.)

it's an issue caused by the "tags-in-gutter" option paired with a gutter that is too narrow. You need a wider window, or zoom out, or turn off tags-in-gutter.
On the css side, there is unfortunately little I can do, I think :(
https://user-images.githubusercontent.com/73286100/166146105-6d6b25fe-0c79-47c1-ad20-17dcfbba8a77.mov

Ohhh, I see. Thanks for the quick reply, I didn't remember that feature. I just have to tweak my setup some more. :)


Doesn't clean up uc8.tv properly

Describe the bug
There is a large block of garbage inside the
https://uc8.tv/68437.js
script that seems to do operations on variable names.
Id assume that things like

        e = g + (d << 15 &<PHONE_NUMBER> | d >>> 17);
        d = b + (g ^ (e | ~a)) + f[13] +<PHONE_NUMBER> &<PHONE_NUMBER>;
        b = e + (d << 21 &<PHONE_NUMBER> | d >>> 11);
        d = a + (e ^ (b | ~g)) + f[4] +<PHONE_NUMBER> &<PHONE_NUMBER>;
        a = b + (d << 6 &<PHONE_NUMBER> | d >>> 26);
        d = g + (b ^ (a | ~e)) + f[11] +<PHONE_NUMBER> &<PHONE_NUMBER>;
        g = a + (d << 10 &<PHONE_NUMBER> | d >>> 22);
        d = e + (a ^ (g | ~b)) + f[2] + 718787259 &<PHONE_NUMBER>;
        e = g + (d << 15 &<PHONE_NUMBER> | d >>> 17);
        d = b + (g ^ (e | ~a)) + f[9] +<PHONE_NUMBER> &<PHONE_NUMBER>

are either replaced by something readable or , if it's dead code, be removed.
Mirrored on pastebin :
https://pastebin.com/PPMzLiQ3

I think it's a compressed version of the MD5 hash function:

https://github.com/brix/crypto-js/blob/develop/src/md5.js
https://github.com/pvorb/node-md5/blob/master/md5.js


"warning - The include file cannot be found" when using pedantic with a nested module

Not sure if the root cause is pedantic but I figured I would start here.
Issue
The following warning is returned by flutter analyze despite correctly adding pedantic as a dependency.
warning • The include file package:pedantic/analysis_options.yaml in /Users/jrai/git/pedantic_bug/analysis_options.yaml cannot be found • analysis_options.yaml:1:11 • include_file_not_found
Flutter Version
This is reproducible on Flutter Beta 1.17.0 but not on Flutter Stable v1.12.13+hotfix.9.
Reproduction Steps

Create a Flutter project.
Create a Dart package within the project from step 1's directory.
Add the Dart package as a dependency of the Flutter project.
Use the Dart package in the Flutter project.
Add pedantic in the Flutter project and create the analysis_options.yaml file.
flutter pub get in both projects
flutter analyze

Sample repo here: https://github.com/MisterJimson/pedantic-bug
This single commit introduces the issue: https://github.com/MisterJimson/pedantic-bug/commit/5ad95596cf4730398f42a07fba42013baff08de3
Notes
Step 4 is required, you need to use some code from the package
Able to reproduce with either pedantic 1.8.0+1 or 1.9.0
If you add pedantic to the Dart package, the issue goes away.
jrai@Jasons-MacBook-Pro pedantic_bug % flutter doctor -v
[✓] Flutter (Channel beta, v1.17.0, on Mac OS X 10.15.4 19E287, locale en-CA)
    • Flutter version 1.17.0 at /Users/jrai/dev/flutter
    • Framework revision d3ed9ec945 (10 days ago), 2020-04-06 14:07:34 -0700
    • Engine revision c9506cb8e9
    • Dart version 2.8.0 (build 2.8.0-dev.18.0 eea9717938)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/jrai/Library/Android/sdk
    • Platform android-29, build-tools 28.0.3
    • ANDROID_HOME = /Users/jrai/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1

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

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[!] Android Studio (version 3.5)
    • Android Studio at /Users/jrai/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5977832/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] IntelliJ IDEA Ultimate Edition (version 2020.1)
    • IntelliJ at /Users/jrai/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

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

[✓] Connected device (3 available)
    • iPhone 11 Pro • 592B3AFC-563B-4C91-AE69-E57A7F3E0C5C • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator)
    • Chrome        • chrome                               • web-javascript • Google Chrome 81.0.4044.113
    • Web Server    • web-server                           • web-javascript • Flutter Tools

I think the directory structure we're looking at looks like the following:
flutterProject
  analysis_options.yaml
  pubspec.haml
  dartPackage
    pubspec.yaml

Is that correct? And is it the case that the dependency on pedantic was added to the pubspec.yaml file in flutterProject but not the pubspec.yaml file in dartPackage?
If so, then the problem is the missing dependency in the pubspec.yaml file in dartPackage. The pubspec.yaml file determines how to resolve package: URIs, and the code in the dartPackage will "inherit" the analysis_options.yaml file from the parent directory, but will use it's local resolution of URIs to try to resolve the reference to package:pedantic and fail because there is no binding for it.

That I don't know.

Is https://github.com/dart-lang/sdk/commit/85e56848631b3d320d935dfb23bcc35c31204832 a factor here?
FWIW I've never seen this error show up when I invoke dartanalyzer, even with an invalid include:...

Same issue after upgrade flutter 1.17, any update on this?

This is very weird. I am on dev channel and I see warning in Dart Analysis tab in my IDE. To get rid of that warning, I first comment the line
include: package:pedantic/analysis_options.yaml

Save the file using cmd + s, then uncomment the line and again save with cmd + s, the warning shown by the tab is now gone.
However, this is not a full solution, because when I run flutter analyze command, I get the same error:
The include file package:pedantic/analysis_options.yaml in /project/analysis_options.yaml cannot be found • analysis_options.yaml:1:11 •
       include_file_not_found

For the record, I was using a different analysis package called lint https://pub.dev/packages/lint and I got the same error:
warning • The include file package:lint/analysis_options.yaml in /home/[redacted]/analysis_options.yaml cannot be found • analysis_options.yaml:1:11 • include_file_not_found

I switched to pedantic to see if the issue went await but I got the same.
This is running from terminal. The issue also appears on IntelliJ IDEA.


Backup method for loader in case requireid fails

Backup method for loader in case requireid fails

Isn't this literally what the fallback loader is for

Isn't this literally what the fallback module is for

What??

The fallback module. Yk the one that kicks in in case of the first module failing

The fallback module. Yk the one that kicks in in case of the first module failing

There is no fallback module

There is no fallback module

Yes there is


Varlink creates a new runtime for each API operation

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
Description
podman varlink can occasionally linger for a time accepting multiple requests, due to the default timeout. While it lingers, it services any new inbound API requests. Each new API request for every endpoint that is not podman version will initialize a new libpod Runtime. However, each Runtime will initialize a new ocicni CNI plugin manager, which will initiate inotify on a directory to search for new plugins. There is a max of 128 inotify sessions per user by default in Fedora, so if we receive 128 API requests before podman varlink times out and dies, we will begin throwing errors.
@jwhonce first noticed this in the Python tests.
Best solution is probably to initialize a single Runtime when podman varlink starts up and save it in the varlink API struct so that multiple API requests can share a runtime.
Steps to reproduce the issue:

Repeatedly barrage the varlink interface with requests without pause

Describe the results you received:
{'parameters': {'reason': 'error configuring CNI network plugin: could not create new watcher too many open files'}, 'error': 'io.projectatomic.podman.RuntimeError'}
Describe the results you expected:
No open files error
Additional information you deem important (e.g. issue happens only occasionally):

@baude PTAL

I'll look at it.

can someone provide a way for me to test this more easily so I can verify the new implementation actually works?


mouse leaving scroll thumb in explorer pane causes selection loss

Issue Type: Bug
when scrolling in the exporer pane (also in SCM), if the mouse leaves the the scroll thumb then when it is released the selection is lost. this makes shift-selecting many items in the list extremely fiddly.
to repro:

open a folder with many files (more than will fit on screen in the window, so the scrollbar appears in the explorer view
scroll to the top of the window
select the first file
drag the scroll thumb to the bottom, while scrolling (and holding the mouse button down) move the mouse cursor to the left of the thumb. release the mouse button.
shift-select the last item in the explorer view.

notice that the selection is not extended, this is because, when releasing the mouse button, the original selection was lost.
the selection should not be lost after dragging the thumb.
VS Code version: Code 1.46.0 (a5d1cc28bb5da32ec67e86cc50f84c67cc690321, 2020-06-10T09:03:20.462Z)
OS version: Windows_NT x64 10.0.18363
Remote OS version: Linux x64 3.10.0-1127.el7.x86_64
Remote OS version: Linux x64 3.10.0-1127.el7.x86_64

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz (6 x 2904)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.66GB (3.30GB free)

Process Argv

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: <IP_ADDRESS>:2222

OS
Linux x64 3.10.0-1127.el7.x86_64

CPUs
Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz (6 x 2904)

Memory (System)
3.70GB (1.59GB free)

VM
100%

Item
Value

Remote
SSH: <IP_ADDRESS>:2222

OS
Linux x64 3.10.0-1127.el7.x86_64

CPUs
Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz (6 x 2904)

Memory (System)
3.70GB (1.59GB free)

VM
100%

Extensions (9)

Extension
Author (truncated)
Version

vscode-intelephense-client
bme
1.4.1

vscode-markdownlint
Dav
0.36.0

gitlens
eam
10.2.2

php-debug
fel
1.13.0

cmake
twx
0.0.17

plsql-language
xyz
1.8.2

remote-ssh
ms-
0.51.0

remote-ssh-edit
ms-
0.51.0

remote-wsl
ms-
0.44.3

I can reproduce

simpler repro:

open directory with many files
select a file in explorer
mouse-down in explorer scrollbar thumbnail
mouse-over explorer tree
mouse-up

selection is lost.

@alexdima I need your wizardry 🧙♂
The click event fires on the list view element for the following sequence of events:

mousedown on the scrollbar handle
mouseup on the the list view element, which contains the scrollbar handle

This matches the MDN docs:

If the button is pressed on one element and the pointer is moved outside the element before the button is released, the event is fired on the most specific ancestor element that contained both elements.

I tried playing around with cancellation of events at the scrollbar layer but failed. I have a feeling we should simply cancel out any click event in here, if a scrollbar is being scrolled. What do you think?

@joaomoreno :+1: The GlobalMouseMoveMonitor is used a lot for click & drag kind of operations, like selection in the editor, or dragging the scrollbar slider, or the minimap slider. We could try to always cancel click events and then add a special option for the scrollbar slider case only if necessary.

it maybe worth noting that the main text editor doesn't exhibit this behavior, nor do the output/log windows (the teminal window clear selection on thumb-mouse-down for some reason).

@alexdima That strategy didn't work, since the click event comes after the monitoring stops... Can you maybe give it a try, see if you can come up with some better solution?

@joaomoreno So when you receive a click event, it is not possible to determine if the original mousedown occurred in the same element? What about e.relatedTarget? Maybe that one shows the element that received the initial mousedown? What other options do we have? Should we call e.preventDefault of the mouseup event? Would that prevent the click event from firing?

Really, this is expected behavior?

Not expected, just not fixing it. Sorry about that. You can read more about it here: https://github.com/microsoft/vscode/wiki/Issue-Grooming#wont-fix-bugs


Nav: support fill option

See http://getbootstrap.com/docs/4.1/components/navs/#fill-and-justify
justified is already supported. In a similar way fill=true should also be supported.

I can this a go!

Working on this one, should have a PR soon.

Closed by #684


Android: CardField component has limited width for card number on first focus

Describe the bug
On first focus, card number has a fixed width which is very small. If the user advances to zip/cvc and returns they have access to the "correct width"
To Reproduce
Steps to reproduce the behavior:

Render CardField on Android
Start typing card number
On first focus, card number has a fixed width. If the user advances to zip/cvc and returns they have access to the "correct width"

Screenshots
On first focus

After advancing and returning back to card number input

Smartphone (please complete the following information):

Android Simulator pixel 4

Additional context
Add any other context about the problem here.
          <CardField
            onCardChange={handleCardChange}
            style={{
              height: 56,
              width: '100%',
              alignItems: 'center',
            }}
            cardStyle={{
              backgroundColor: theme.BACKGROUND,
              textColor: theme.FOREGROUND,
              placeholderColor: theme.GREY3,
              borderColor: theme.GREY2,
              borderWidth: 1,
              borderRadius: 4,
              fontSize: 16,
            }}
            placeholder="Card"
            postalCodeEnabled={false}
          />

@michaelbayday are you on the latest version of master? And can you provide a screenrecording of this? It's looking fine on my end:
https://user-images.githubusercontent.com/23213994/118615336-32abfc00-b7f3-11eb-8f63-9600f849d090.mp4

i am using version 0.1.1
https://user-images.githubusercontent.com/35093298/118902936-825df680-b8cb-11eb-892c-035f6c7ee013.mov

https://user-images.githubusercontent.com/35093298/118903001-9e619800-b8cb-11eb-8ef2-a0c3ad6204f1.mov

Yes, definitely a bug, but not reproducible on a native android app and therefore must be related to some RN quirk and that will take time to debug I'm afraid. Can you live with the placeholder whitespace workaround for the time being?

Yep that’s fine. Thank you for the help. Should I submit another but for the asset?

On May 20, 2021, at 11:30 PM, Thor 雷神 @.***> wrote:

Yes, definitely a bug, but not reproducible on a native android app and therefore must be related to some RN quirk and that will take time to debug I'm afraid. Can you live with the placeholder whitespace workaround for the time being?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Should I submit another but for the asset?

Yes, please, ideally with some screenshots. Thanks.

The same happens to me, the card field is not fitting the screen width.

it seems like it's not reproducible within the latest version. Please reopen if anyone having this issue and provide steps to reproduce


Chat on display of Themes/datasets in new webRECO http://ices256:81/reco/

http://ices256:81/reco/

remove ICES from the VME description
add acronyms to the description, and remove dataset codes from the display.
review the codes mapped to BDFTS

ask Mehdi to remove dataset codes from the display.
Pending discussion on the codes mapped to BDFTS with @Osanna123

Done. Code removed from the list


This fixes the on click label sorting.

This fixes the sorting issue.
As it seems, newAxisNodes consisted our of n undefined.  This resulted in the wrong behaviour. Now the values are being properly pushed into newAxisNodes.

Hi @tschaka1904, any plans to move forward on this? Let me know if you need anything! I added you to this repo as a collaborator so you should be able to merge this PR once everything's resolved.

@moromis, I need approval :D

@tschaka1904 currently there is still a pending review, I think you'll need to resolve everything from that and then I'll take another look.


Add metrics-server as a requirement

To get kubernetes metrics about resource utilization the metrics-server needs to be installed.  This can be added as a dependency in the requirements.yaml file.
dependencies:
  - name: metrics-server
    version: 2.8.7
    repository: "@stable"

https://github.com/helm/charts/tree/master/stable/metrics-server

@JarredOlson what chart would this be a dependency on? the uberchart?


Discussion on data exploration functionalities across HoloViz

In this hvPlot issue Marc asked for adding a UI to the hvPlotExplorer to sort data. I thought that this made sense, after all the explorer is meant to be for data exploration, and sorting data can be useful in that context. However I also thought that this opens the door to adding more transforms to the explorer, and soon users will ask for filtering capabilities. In the end, the explorer would re-implement what was implemented in Lumen.
We recently discussed the features of HoloViz, and that there's a kind of separation between Panel and the HV tools, where Panel is used to create web apps and the HV tools to create plots. There's a natural intersection between these two worlds: data exploration dashboards. This kind of dashboard is defined by a pipeline, that starts with one or or more data sources, maybe internally alters them, and offers the users ways to explore the data, with indicators, tables and plots (often linked), and with widgets to transform the data even more (e.g. filters). People have built so many of this kind of dashboard to track COVID for instance.
HoloViz users can already create and share this sort of web app, there's everything they need in the ecosystem to do so. However I believe it's not as straightforward as it could be, as they have to gather the different bits they need from different sources (Panel/Param, and hvPlot or HoloViews/Geoviews or a combination of those). The best resource is actually the Tutorial hosted on holoviz.org, however I think it's not so easily discoverable and it's certainly quite long (its length is great for PyCon, probably not that great for the average internet visitor). I also believe HoloViz is one of the best options out there to produce this kind of dashboard.
HoloViz users are indeed offered many ways to create data exploration "pipelines" writing Python code:

hvPlot provides the explorer
hvPlot also provides .interactive, which also allows for loading data since support for function as input was added
Lumen has recently gained a Pipeline class
Combining Panel+HoloViews (or just pure HoloViews) it's also possible to create data exploration pipelines

I would like to see if it would be possible for us to document one way to create data exploration dashboards? Of course things can be composable, that's how HoloViz is designed, but I think it'd help users if we can guide them in a more opinionated way. A concrete realization of that would be a 30 min tutorial, starting from scratch and ending up with a deployed application. I don't know what API it would rely on (and it may require some additional work to get there), it might just be Lumen all the way (noting here that Lumen depends on panel of course but also on hvplot). And if this tutorial is successful, I guess it should be linked from every site (actually, the HoloViz tutorial could also be linked the same way) so that users can quickly assess the capabilities of HoloViz, and not just the library they're using.
And ultimately I'd hope this work would help me find out whether or not the hvplot explorer should gain transforming/filtering capabilities, or compose with Lumen, etc.

These are all important points for discussion. Thanks for raising them, and sorry it's taken me so long to dig down to this issue in my inbox!  I think we should make a distinction between "exploring data" and "building a data-exploration tool". Exploring data is an end in itself, directly producing insight, while building is about producing a tool that (later, we hope) will be used to gain insight.
hvPlot Explorer, as the name suggests, focuses on exploring, while Lumen Builder, as the name also suggests, focuses on building. I'm in favor of making Lumen Builder be a great environment for data-exploration as well, where we can expect someone to fire it up, select some data, and then spend the rest of their session in the Builder doing data transformations, filtering, and plotting as needed to draw conclusions, saving their work as an app but really just as a bookmark to what they were doing without necessarily expecting to give it to an external user. Despite that goal of mine,  (a) Lumen Builder isn't set up well for that just yet, because various building-related tools and interfaces don't get out of the way, and (b) the Builder is a fairly heavyweight and constrained environment for doing so, compared to e.g. the Jupyter cell that the Explorer runs in, so not everyone is going to want to do their exploring within Lumen Builder.
Conversely, if using the Explorer, the goal is for a user to be able to select what they want to see at that moment, with immediate feedback that can lead directly to insight. I don't think the Explorer should directly support complex, multi-step definitions of filters and transformations in general, but I do think that features supporting exploration do belong there, including an option for sorting a particular dimension if otherwise a Curve or Area plot will come out completely jumbled. I think the perspective viewer provides a good guide to the scope of such an explorer: directly control what you are able to see, but don't try to do complex data-manipulation pipelines. Provide immediate insight and/or design and configure a plot; don't try to build full apps.
Given those considerations, I think we should have documentation covering these very different use cases:

Want to explore a dataset? If you can figure out how to get ahold of the data somehow in a Jupyter notebook, then you can explore it immediately using the hvPlot Explorer, without any further coding needed. Here's how!
Have you built a Python data-processing and visualization pipeline that you'd like to make interactive, so that you or your users can see the effect of parameters that control it? That's really easy to do with hvPlot .interactive, letting you create custom, lightweight data-exploration apps "on the fly", whenever you need them. Here's how!
Are you more comfortable in a GUI application and would like to be able to design a data-transformation pipeline and data-exploration app? You can use Lumen Builder for that, and here's how!

And then separately there can be docs that explain how all these paths intersect and overlap, but none of that is needed for the individual topics here, each of which are self contained and important on their own.


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

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


Fix for multiple consequent spaces present in CSS selectors, fixes #2670

Fixes #2670 + corresponding test case

LGTM, manually fixed conflict.


I want to use my own domain for cognito user hosted UI

During amplify add auth it is asking about about oAuth flow and client ID & secret and creating a domain like this "https://xxxxxxxx-dev.auth.us-east-1.amazoncognito.com/".
I deleted the above domain in my user pool and used my own domain name "auth.mydomain.com" with my issued certificate.
It is showing a massage that:
Before you can use this domain, you must add the alias target to your domain’s DNS record. If you’reusing Amazon Route 53 to manage your domain, you can do that from the Route 53 console.
Alias target  xxxxxxxxxxx.cloudfront.net
So  added the above to my DNS record as type: CNAME , name: alias, value:xxxxxxxxxxx.cloudfront.net
But it is not working:
When I am clicking on signup button(in my app) it is loading a custom tab with url:"https://xxxxxxxx-dev.auth.us-east-1.amazoncognito.com"
with error: "DNS_PROBE_FINISHED_NXDOMAIN"
When I am clicking on LunchHostedUI(in user pool app client section) it loading a site with my domain url but error:"auth.mydomain.com’s DNS address could not be found. Diagnosing the problem.
DNS_PROBE_POSSIBLE"
I know I am missing something but I am unable to detect that.

Hey @AsitDixit :wave: thanks for raising this! Unfortunately we do not currently support custom domains for Cognito Hosted UI. Please subscribe to the following feature request for further updates and potential workarounds https://github.com/aws-amplify/amplify-cli/issues/1880

@josefaidt How you said that but I am able to use that in my userpool


Fix Sort and Suggest UG formatting

Rename .PNG to .png, as images are case-sensitive
Fix formatting issues with UG

Codecov Report

Merging #202 (1ac5a08) into master (8ca71ec) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #202   +/-   ##
=========================================
  Coverage     47.21%   47.21%
  Complexity      368      368
=========================================
  Files            91       91
  Lines          1724     1724
  Branches        193      193
=========================================
  Hits            814      814
  Misses          842      842
  Partials         68       68

Impacted Files
Coverage Δ

...edu/trackermon/logic/parser/SortCommandParser.java
0.00% <ø> (ø)

Continue to review full report at Codecov.

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


onRowClick and onCellClick fired when the cell text selected through click and drag

The click events are fired when a cell item simply selected for copy-pasting purposes.
Please see the below image. If a release the mouse then the click event will fired

yeah ! i too have the same issue on selecting the text data in the cell


Unable to let server set timestamps

Motivation
When working with the web SDK, it would be nice to allow the server to set the timestamps for the events. Based on the mParticle docs:

Thetimestamp_unixtime_ms represents the timestamp of event. The current server time will be used if not specified.

However, this is not currently possible with the web sdk.
Current State
From my understanding, as of now the event timestamps are set as follows in src/serverModel.ts:
First, the dateLastEventSent is set via new Date() (link):
if (event.messageType !== Types.MessageType.SessionEnd) {
    mpInstance._Store.dateLastEventSent = new Date();
}

Then, the event timestamp is set using this value (link):
uploadObject.Timestamp = mpInstance._Store.dateLastEventSent.getTime();

Because of this, manually setting timestamp_unixtime_ms in an event has no effect.
Suggested changes
The issue I have is that it's not possible to get a "ground truth" timestamp for when the event hit the server. If the user's system clock is off, then the timestamps will be off. To support this, it would be nice to have either

A config option for using client-based timestamps, or
The ability to manually set the timestamp_unixtime_ms value to null or undefined to ensure it's not overwritten by the SDK.

Thanks in advance for taking a look!

Closing this ticket as workaround has been identified.


Keyboard navigation not possible in new project/group creator

As in title of this issue. TAB navigation (and any other actually) not working in this view. Also, as a side note, clicking "CREATE" before filling any fields raises error, while it should rather be not possible (disabled button).

@Hibryda is it ok for you not having the keyboard on the groups list?

please validate this issue!


how create codepoint file?

I'm sorry but I'm not able to create a coidepoint file. Can you provide me a sample of configuration file and the right way to write the command line?
till now documentation is quite poor
thanks

@lknop added an example in the readme :) (thanks!)


Launch script code.cmd creates persistent console window

Type: Bug
When VSCode is launched from a Windows GUI application (e.g. TotalCommander) then the console window created by the launch script "%LOCALAPPDATA%\Programs\Microsoft VS Code\bin\code.cmd" remains open until VSCode is closed. This is cluttering the desktop and taskbar unnessarily.
To avoid that, the code.cmd script should use the 'start' command (https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/start) as follows:
start "" "%~dp0..\Code.exe" "%~dp0..\resources\app\out\cli.js" --ms-enable-electron-run-as-node %*
Steps to Reproduce:

Open Windows Explorer
in the address bar, enter %LOCALAPPDATA%\Programs\Microsoft VS Code\bin
double click code.cmd

Observed Behavior:

console window opens
VSCode runs
console window remains open until VSCode is closed

Expected Behavior:

console window opens
VSCode runs
console window disappears

Thanks
Udo
VS Code version: Code 1.76.1 (5e805b79fcb6ba4c2d23712967df89a089da575b, 2023-03-08T16:32:00.131Z)
OS version: Windows_NT x64 10.0.19045
Modes: Restricted
Sandboxed: No

System Info

Item
Value

CPUs
AMD Ryzen 7 5700G with Radeon Graphics          (16 x 3793)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.35GB (23.26GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

Bookmarks
ale
13.3.1

python
ms-
2023.4.1

vscode-pylance
ms-
2023.3.20

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Feature/mlt 30 create organization

Description
Please include a summary of the changes and the related issue.

Organization Creation
Minor ui fixes

Type of change
Please select type of issue addressed,

[ ] Bug fix (Mention Ticket numbers)

[x] New feature ( MLT-30)

Dependences / Libraries Installed
Please list the packages and libraries installed (if any)

[x] ( None)

How Has This Been Tested By The Developer?

Verified if user is able to create Organization.
Verified if ui is according to Figma.

Checklist:

[x] I have performed a self review of my code.

[x] I have removed consoles, debuggers and unnecessary code blocks.

[x] My code follows the style guidelines of this project

[x] My changes generate no new warnings or errors

[ ] I have commented my code, particularly in hard-to-understand areas

[ ] New and existing unit tests pass locally with my changes

[ ] Any dependent changes have been merged and published in downstream modules

[x] I understand that I am accountable for any code added in this PR, and any negative impact will effect my performance evaluation

@fawadmehmood1 Resolve conflicts


Setup monorepo

We need to setup the monorepo

We agreed we won't do a monorepo. It is premature.


Add continuous_with to the list of relationships to check

Related to https://github.com/obophenotype/asct-b_validation/issues/66

This new relationship doesn't validate any case for the Eye table.

Can it be because the author is using the wrong label?
UBERON:0006762 is lens of camera-type eye, lens is a synonym.

The validation is by the UBERON ID.

Do you have an example where it should validate?

suspensory ligament of lens (UBERON:0006762) is continuous with some lens of camera-type lens (UBERON:0006762)

However is not validated:

Fixed the issue, and now it validates. I'll run another release later.


Return response as class list

You'll have to merge master into this branch and push again

(since changes from the other branch appear in this PR)

I've another pull request that I'd like to send; It fixes issue #11
See this commit
What do you think?


Switch from hash-router to browser-router

Description
Currently we are using HashRouter as our React-Router option in Apps (and other solutions.)
The drawback of this is that we loose the ability to comply with modern accessibility requirements such as landmarks.
HashRouter is no longer recommended by the React-Router either.
Upgrade to React-Router v6
React Router 6 has changes that would require re-write of the changes required to switch to BrowserRouter.

[x] Therefore it makse sense to upgrade to v6 first:  #353

Related issues:

[x] #353
[ ] #446
[ ] #373
[ ] #225
[ ] Altinn/app-template-dotnet#121
[ ] #374

Requirements:
The applications no longer use HashRouter and the following App-Configurations work as expected (before):

[ ] State-full apps
[ ] State-less apps
[ ] Anonymous State-less apps

Additional tasks:

[ ] Edit the LandmarkShortcut component to make use of the router switch.
[x] Update to latest version of react-router

Additional Information
No response

Moved this issue out of current sprints as it's not prioritized for now. Some of the subtasks need to be done though.