Provide plugin.type definition for fluent-bit config

Summary
Provide a means to help NR customer identify their salesforce logs
Desired Behavior
could we add plugin.type=salesforce as identifier for this integration? This will help customer to identify their salesforce logs
Possible Solution
could we add plugin.type=salesforce as identifier for this integration? This will help customer to identify their salesforce logs

@ricegi we already added some attributes to identify data generated by this integration:

intrumentation.name = salesforce-eventlogfile
intrumentation.version = integration version, current is 1.0.0
intrumentation.provider = newrelic-labs
collector.name = newrelic-logs-salesforce-eventlogfile

Is it enough?


Cannot use in-dexter v0.5.2 with typst v0.11.1

Appearently, the compiler field in the manifest.toml needs to include the patch version:
❯ < test.typ
#import "@preview/in-dexter:0.5.2": *
❯ typst compile test.typ
error: package manifest is malformed (version number is missing patch version)
  ┌─ test.typ:1:8
  │
1 │ #import "@preview/in-dexter:0.5.2": *
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^

❯ < ~/.cache/typst/packages/preview/in-dexter/0.5.2/typst.toml
[package]
name = "in-dexter"
version = "0.5.2"
authors = ["JKRB <https://github.com/RolfBremer>", "in-dexter Contributors"]
license = "Apache-2.0"
description = "Hand Picked Index for Typst."
entrypoint = "in-dexter.typ"
repository = "https://github.com/RolfBremer/in-dexter"
keywords = [ "index", "metadata" ]
categories = [ "components" ]
exclude = [ "gallery", "sample-usage.*", ".git*" ]
compiler = "0.11"

Manually changing the 0.11 to 0.11.1 is sufficient.

Fixed in 0.5.3 (main) and submitted to Typst Universe.


Sort on collection triggers an error

When I specify a sort on a text field, an error occurs and no result is shown:
An error occured while performing search: Fielddata is disabled on text fields by default. Set fielddata=true on [some] in order to load fielddata in memory by univerting the inverted indexs. Note that this can however use significant memory. Alternatively use a keyword field instead.
By the way, the error message wraps by cutting the word Alternatively which is weird.

This is a normal behavior


Fixed typo in docs/topics/logging.txt.

Fixed single grammatical error in logging documentation.

@Brad-Edwards Thanks :+1: Welcome aboard :boat:


KNETCore fails to locate "libjvm.so" on *NIX based systems

Describe the bug
KNETCore::CreateGlobalInstance() fails to locate the JVM on LINUX and other *NIX based systems.
To Reproduce

Set the JAVA_HOME environmental variable.
Invoke "KNetCore.CreateGlobalInstance()" from your code
Exception is thrown: jvm.so not found

Expected behavior
"KNetCore.CreateGlobalInstance()" should locate the JVM dynamic library (libjvm.so) correctly after browsing the entire folder structure. Currently, it only looks under $JAVA_HOME/bin/server. Also, the file to look for is libjvm.so and not jvm.so.
Works fine on WINDOWS with a standard OPENJDK installation and correctly set JAVA_HOME environment variable.
A possible workaround: Set a symbolic link under $JAVA_HOME/bin to $JAVA_HOME/lib/server/libjvm.so. Name the link as server/jvm.so.
Should be fine for DEV machines.
Screenshots
Not applicable.
Desktop (please complete the following information):

OS: [e.g. iOS]: Red Hat Enterprise LINUX
Version [e.g. 22]: 9

Additional context
See email to Support.

@JeetCXX On *nix systems: JCOBridge try to find an incorrect library name and location if JAVA_HOME points out to the JRE folder, this is an open issue. The common way of work is to use the command-line switch JVMPath. JCOBridge has multiple command-line switches and one of them is dedicated to set the JVM library location. Use JVMPath in any shell (Windows, bash, etc) to set-up the JVM library location:
--JVMPath:<full-path-to jvm.dll or libjvm.so>

other options under https://www.jcobridge.com/net-examples/command-line-options/.
If the developer/user cannot use the command-line switch, another way to overcome this behavior is to override the property JVMPath with a snippet like the following:
    class MyKNetCore : KNetCore
    {
        public override string JVMPath
        {
            get
            {
                string pathToJVM = "Set here the path to JVM library or use your own search method";
                return pathToJVM;
            }
        }
    }

#110 will cover an enhancement about usage and environment set-up.

I think I will use the symbolic link for now, because it does not require the C# developer using KNet to bother about JAVA infrastructure details. Of course, this is a matter of individual developer preference.
Thanks.

We delayed the answer due to JCOBridge porting finalization after official release of .NET 7.
The open issue related to *nix library load will be covered partially with JCOBridge 2.5.0, anyway still remain open the point related to path discovery. There is also a thread in https://stackoverflow.com/questions/6493856/how-to-programatically-get-all-java-jvm-installed-not-default-one-using-java which discuss this topic.
If you look at Dockerfile, KNet deploys a container which has everything it needs to run. The predefined ENTRYPOINT starts the KNet CLI, but you can override the container behavior with any program which use KNet.


Fix sorted map

Fix the wrong behavior when adding duplicate key.

Pull Request Test Coverage Report for Build 1975
Details

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 88.703%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sorted_map/map.mbt
2
3
66.67%

Totals

Change from base Build 1974:
-0.02%

Covered Lines:
3494

Relevant Lines:
3939

💛  - Coveralls

Pull Request Test Coverage Report for Build 1976
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 88.728%

Totals

Change from base Build 1974:
0.006%

Covered Lines:
3495

Relevant Lines:
3939

💛  - Coveralls


Various Intl-related constructors and methods reject Intl.Locale objects in locales parameter

lib Update Request
Various Intl-related constructors and methods reject Intl.Locale objects in their locales parameter.
Related to https://github.com/microsoft/TypeScript/issues/47802 (Signature for toLocale[X]String is missing Intl.Locale), but the updated signature is still missing for various other Intl-related constructors and methods.
Draft fix here:
https://github.com/microsoft/TypeScript/compare/main...lionel-rowe:TypeScript:fix/locales-argument
I can submit as a PR once this issue is accepted, or happy for someone else to pick it up otherwise.
Configuration Check
My compilation target is ES2022 and my lib is the default.
Missing/Incorrect Definition
Various, including but not limited to:

String#toLocaleUpperCase
Intl.Collator constructor
Intl.DateTimeFormat constructor
Intl.ListFormat constructor
Intl.Segmenter constructor

Sample Code
const locale = new Intl.Locale('es')

// these now work as expected, thanks to https://github.com/microsoft/TypeScript/pull/47811
0 .toLocaleString(locale)
new Date(0).toLocaleDateString(locale)

// ...but these all give `Argument of type 'Locale' is not assignable to parameter of type 'string | string[] | undefined'.`
// All function as expected without throwing in JS (browser/node/deno)
'x'.toLocaleUpperCase(locale)
new Intl.Collator(locale)
new Intl.DateTimeFormat(locale)
new Intl.ListFormat(locale)
new Intl.Segmenter(locale, { granularity: 'word' })

Documentation Link
https://tc39.es/ecma402/#sec-canonicalizelocalelist
CanonicalizeLocaleList is called on all such locales arguments, iterating through them as an array, checking for the [[InitializedLocale]] internal slot (used to identify Intl.Locale objects), and reading the [[Locale]] internal slot if it exists (for Intl.Locale objects, this is the string representation of the locale). Thus 'x'.toLocaleUpperCase('es') behaves identically to 'x'.toLocaleUpperCase(new Locale('es'))
🔎 Search Terms

locales
Intl.Locale
LocalesArgument
CanonicalizeLocaleList

A workaround
declare namespace Intl {
  type Key = 'calendar' | 'collation' | 'currency' | 'numberingSystem' | 'timeZone' | 'unit';

  type DateTimeFormatOptions = {
    localeMatcher?: "best fit" | "lookup";
    weekday?: "long" | "short" | "narrow";
    era?: "long" | "short" | "narrow";
    year?: "numeric" | "2-digit";
    month?: "numeric" | "2-digit" | "long" | "short" | "narrow";
    day?: "numeric" | "2-digit";
    hour?: "numeric" | "2-digit";
    minute?: "numeric" | "2-digit";
    second?: "numeric" | "2-digit";
    timeZoneName?: "long" | "short";
    formatMatcher?: "best fit" | "basic";
    hour12?: boolean;
    timeZone?: string;
  }

  function supportedValuesOf(input: Key): string[];

  class DateTimeFormat {
    constructor(locales?: string | string[], options?: DateTimeFormatOptions);
    format(date?: Date | number): string;
  }
}

A workaround

@singhBinary what's this a workaround for? This doesn't seem to be related to this issue, which concerns allowing Intl.Locale or Intl.Locale[] for locales parameters to various Intl-related web APIs.

If someone have facing that same problem as me with toLocaleDateString options, just type like:
const options: Intl.DateTimeFormatOptions = {
    weekday: "long",
    year: "numeric",
    month: "short",
    day: "numeric",
}

@lionel-rowe , sorry if that was inappropriate, feel free to remove my comment if that is the case. But this issue was the most "foundable" so I thought that someone with the same issue, would end up coming here. The issue is related with toLocaleDateString and the second arg options.
const options = {
    weekday: "long",
    year: "numeric",
    month: "short",
    day: "numeric",
}

date.toLocaleDateString('pt-br', options)

This generates the following error:
No overload matches this call.
  Overload 1 of 3, '(locales?: LocalesArgument, options?: DateTimeFormatOptions | undefined): string', gave the following error.
    Argument of type '{ weekday: string; year: string; month: string; day: string; }' is not assignable to parameter of type 'DateTimeFormatOptions'.
      Types of property 'weekday' are incompatible.
        Type 'string' is not assignable to type '"long" | "short" | "narrow" | undefined'.
  Overload 2 of 3, '(locales?: string | string[] | undefined, options?: DateTimeFormatOptions | undefined): string', gave the following error.
    Argument of type '{ weekday: string; year: string; month: string; day: string; }' is not assignable to parameter of type 'DateTimeFormatOptions'.

sorry if that was inappropriate, feel free to remove my comment if that is the case

No worries! I can't remove/hide comments as I'm not a maintainer of this repository (perhaps a maintainer can help tidy up this thread if they come across it), but in future, I recommend Reddit or Stack Overflow for this kind of question rather than posting in or opening an issue. GitHub issues are usually for reporting bugs or feature requests to do with the library itself, rather than debugging your own userland code.
I wrote up an explanation of your issue and how to fix it in this TypeScript playground.


Add admin respond cross cluster task completed API

What changed?

Add admin respond cross cluster task completed API
Fix isValid check for record child completion task
Fix invalid empty targetRunID uuid in cross cluster task

IDL change: https://github.com/uber/cadence-idl/pull/91

Why?
When the target cluster history service needs to respond cross-cluster task results back, it can't talk directly to the source cluster's history host and must call the admin client first to redirect the call.

How did you test it?

Unit test
Local sample for cross domain operations
Test should pass after idl change landed and submodule updated.

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 02616422-4e26-4748-b6af-ae5e810f8990

55 of 148 (37.16%)  changed or added relevant lines in 13 files are covered.
89 unchanged lines in 13 files lost coverage.
Overall coverage decreased (-0.07%) to 56.843%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

service/history/task/cross_cluster_task_processor.go
9
10
90.0%

client/admin/grpcClient.go
0
4
0.0%

client/admin/thriftClient.go
0
4
0.0%

service/frontend/adminGrpcHandler.go
0
4
0.0%

service/frontend/adminThriftHandler.go
0
4
0.0%

client/admin/client.go
0
6
0.0%

common/persistence/nosql/nosqlExecutionStoreUtil.go
0
7
0.0%

service/history/task/cross_cluster_task.go
12
19
63.16%

client/admin/retryableClient.go
0
9
0.0%

client/admin/metricClient.go
0
11
0.0%

Files with Coverage Reduction
New Missed Lines
%

common/persistence/taskManager.go
2
73.12%

common/task/weightedRoundRobinTaskScheduler.go
2
89.64%

service/history/execution/mutable_state_builder.go
2
69.71%

service/history/queue/timer_queue_processor.go
2
59.33%

common/persistence/nosql/nosqlplugin/cassandra/tasks.go
4
78.16%

common/persistence/nosql/nosqlTaskStore.go
5
64.59%

common/persistence/nosql/nosqlplugin/cassandra/db.go
6
62.5%

service/history/task/transfer_standby_task_executor.go
6
89.46%

common/persistence/nosql/utils.go
7
0%

common/persistence/nosql/nosqlplugin/cassandra/gocql/public/client.go
9
33.33%

Totals

Change from base Build 74e985f9-1db5-45ef-8cd3-c1b9a018dc07:
-0.07%

Covered Lines:
81526

Relevant Lines:
143424

💛  - Coveralls


It freezing in Huawei mate 10 pro

It freezing (stop to respond, not read) in Huawei mate 10 pro. Perhaps it has to do with Android oreo.

Failed to refresh, this is in addition to the above

when I'm scrolling to the bottom of the list,  most of the times not refresh the list and the message 'reading' stays permanently

Same here. I have excluded Calendar Widget app from the automated power-saving management but no help.
When it freezes, it keeps showing the past events and doesn't load new events (the "Loading..." line stays there). Clicking on past event opens a calendar though.

Please solve this problem because this calendar widget is the best of it's kind out there

@eleco2000 As the problem is certainly device-specific and doesn't occur on our devices, I think that you need to debug the cause yourself on your devices (granted the source code is opened). You may start from running automated test pack, then investigate actual place of freezing by addition of logging... or try to forward this issue to the device vendor - Huawei.

Hello, I have exactly the same problem on a different phone but also running Android 8 Oreo, I did not have this problem with a previous version of Android. I am not 100% sure that the problem is "device-specific" as yvolk is arguing because on the same phone I have other widgets from 3rd parties working and updating including a different calender widget. The thing is that I do prefer this "calendar widget" over all the others I have seen - it is the best -  so I would much apprecciate if someone could make a contribution to solve this problem described here in this thread.
Thank you

Hello,
Same at my device. After updating to Android 8.0 calendar widget is freezing and only does updates of calendars after restart the device.
So if Logfiles might help, I can provide these.
Best regards

Best help would be to debug the widget and see if the calendar content provider is getting called

Thanks for the quick supply. But as I have no idea with software development, I even have no idea how to do that. I'm a design engineer :-)
I found a thread at xda-developers about same problems with update in many widgets (even news widgets from BBC for example seem to have problems)  after update to Android 8 with Emui 8.0.0
So it might not be a problem with a specific device but with all huawei devices that use the new Emui.
I asked at the huawei support if they know about a specific problem, so let's see what they have to tell. I will keep you updated.

I got feedback from huawei support. There seem to be some issues since update so Android 8 and Emui 8.0.0 with all huawei devices and different calendars (and widgets).
They told me to reinstall the widgets and clear the cache. If this doesn't help, we should wait for the next update. As expected this didn't solve the problem.
Not very satisfying as the main function of my smartphone (calendar) is not usable any more. I have no idea how long it will take till the next update :-(

What I have found out is that with  Android 8 and Emui 8 there are no problems with the calendar widgets of "Google Calendar" and Huawei's calendar app, they work well. The widgets of other calendar apps have problems, including this "calendar-widget", when then have a window with scrolling of events; if you choose a widget that simply shows events without scrolling it works and refreshs without problem. I guess that if "Google Calendar" widget works without a problem whatsoever it means that this "calendar-widget" also could be changed to work without problems.

Thanks for the info. Please let us know when huawei releases an update that adresses the issue.

Same problem here.. I have a Huawei P9 Mate with Android 8.0.0. Everything with cache and data deletion, reinstallation, restart, system apps, etc. did not work. Since the update, this problem occurs. First I thought it could also be Nova launcher,.But tests with original Huawei launcher have been negative too. At beginning of this week Google Calendar worked. Now also same problems with Goggle calendar. It seems like the widget freezes after a certain time. The only calendar widget which works fine, is Smooth calendar.. Don't know why.

I have the same Problem with my huawei p20pro. Is there any solution or idea?

I'm still waiting for the update from huawei. The problem is reported and I hope huawei is working on this topic.
The support didn't tell me any date when they plan to release it.
Sometimes the widget works, sometimes it's freezing.

I test it. It seams to work if I don't use the scroll function. Is it possible to deactivate the scroll function in the settings? I can't find it.

Same issue. Would be nice to fix.

Bonjour ,
Même problème sur Honor 7X et depuis la mise à jour vers Android 8.0
Hello,
Same problem on Honor 7X and since the update to Android 8.0

The developer of the app "Your Calendar widget" which you can find in Google play store, solved the issue. Now I use it in my mate 10 pro and works fine. Sent from mobile device -------- Αρχικό μήνυμα --------Θέμα: Re: [plusonelabs/calendar-widget] It freezing in Huawei mate 10 pro (#279)Από: sogy Προς: plusonelabs/calendar-widget Κοιν.: Elias ,Mention Bonjour ,
Même problème sur Honor 7X et depuis la mise à jour vers Android 8.0
Hello,
Same problem on Honor 7X and since the update to Android 8.0
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
{"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/plusonelabs/calendar-widget/issues/279#issuecomment-390960718","url":"https://github.com/plusonelabs/calendar-widget/issues/279#issuecomment-390960718","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/plusonelabs/calendar-widget","title":"plusonelabs/calendar-widget","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/plusonelabs/calendar-widget"}},"updates":{"snippets":[{"icon":"PERSON","message":"@sogy in #279: Bonjour ,\r\nMême problème sur Honor 7X et depuis la mise à jour vers Android 8.0\r\n\r\nHello,\r\nSame problem on Honor 7X and since the update to Android 8.0"}],"action":{"name":"View Issue","url":"https://github.com/plusonelabs/calendar-widget/issues/279#issuecomment-390960718"}}}
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "37567f93-e2a7-4e2a-ad37-a9160fc62647",
"title": "Re: [plusonelabs/calendar-widget] It freezing in Huawei mate 10 pro (#279)",
"sections": [
{
"text": "",
"activityTitle": "sogy",
"activityImage": "https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png",
"activitySubtitle": "@sogy",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "IssueComment",\n"repositoryFullName": "plusonelabs/calendar-widget",\n"issueId": 279,\n"IssueComment": "{{IssueComment.value}}"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "IssueClose",\n"repositoryFullName": "plusonelabs/calendar-widget",\n"issueId": 279\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/plusonelabs/calendar-widget/issues/279#issuecomment-390960718"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "MuteNotification",\n"threadId": 284193218\n}"
}
],
"themeColor": "26292E"
}

The developer of the app "Your Calendar widget" which you can find in Google play store, solved the issue. Now I use it in my mate 10 pro and works fine.

I also tested the "your calendar widget" and it seems to work fine without any issues on my Huawei P10.
Looks like the developer has found a solution for the freezing problem without any update from Huawei EMUI (which is still not available).
Could Huawei users support the development team of calendars-widget to also find a solution?

With the newest update (B145) Huawei finally fixed this bug. No more freezing.

Wait for three or four days and let see

is that bug solution (B145) working? Because I might buy this device soon, hence the question

I have a Huawei P Smart with Android 8 and this calender-widget keeps freezing. I believe it is a problem with this software because all other calender widgets work without a problem whatsoever. I wish they could fix the problem with this calender-widget because it is the best software of its kind out there.
regards

@mysmaemi Yeah, it's working fine since the update. The widget updates correctly and doesn't freeze.
@aribeiro2018 I don't know the update cycle of the P Smart, but it is/was a common problem with EMUI 8 and it affects only scrollable widgets.

Same issue here on my Huawei P10. The firmware is to to date (<IP_ADDRESS> C605) but it's still freezing.
Other widgets have the same issue too


textureCache does not use name but url as key?

I can not access texture using provided name, but found it was saved using url as key in the textureCache.
in pixi.js
core.utils.BaseTextureCache[resource.url] = baseTexture;
core.utils.TextureCache[resource.url] = resource.texture;
Also, when is the new rc coming?

I agree. This is quite a pain.
The resources object passed to the complete function does contain the texture by the correct name, but in the texturecache it's only there by URL.

please don't use textureCache, use "loader.resources". That way you can have different loaders for different levels/stages, just forget old ones and that way memory will be freed.
If I'm not mistaken, @englercj wants to deprecate TextureCache.

You mean we should also not use Sprite.fromFrame  without proposed modification?
Because that's what I use all the time :)

Agreed! Sprite.fromFrame is super handy! Cache is staying. I agree that
more should be done to integrate them a little more smoothly. Also as an
FYI, you can also use Sprite.from() which intelligently figures out the
type of texture!
On Wed, Aug 10, 2016 at 11:02 AM Martijn Croezen<EMAIL_ADDRESS>wrote:

You mean we should also not use Sprite.fromFrame without proposed
modification?
Because that's what I use all the time :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pixijs/pixi.js/issues/2757#issuecomment-238821790,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC998oO6a9FITVSBGXv4ffB8FlpHecpQks5qeaGugaJpZM4JbMoX
.

I think things should mostly be using renderer.resolution and I just committed a fix to properly default that property to PIXI.RESOLUTION. Closing this for now.


Adjust JSONEditor state handling

Adjust the JSONEditor state handling to ensure the editor content properly updates if the internal data is different then the input data, even when the input data is the same as the initial input data. This change fixes an issue in which the JSONEditor didn't update if the input value was the same as the initial value.

feel free to merge it!


Is MITIE mandatory to run rasa ?

I installed rasa, spacy and sklearn. When i try to build a model below configuration generating exception as mitie module not found. From the docs i understand that rasa can work with any backend as per our choice. Is that correct ?
{
  "pipeline": "spacy_sklearn",
  "path" : "./models",
  "data" : "./data/sentiment/sentiment-data.json"
}

Exception is
python -m rasa_nlu.train -c sentiment-config.json
Traceback (most recent call last):
  File "/home/ubuntu/anaconda2/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/home/ubuntu/anaconda2/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/rasa_nlu/train.py", line 72, in <module>
    do_train(config)
  File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/rasa_nlu/train.py", line 60, in do_train
    trainer = create_trainer(config)
  File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/rasa_nlu/train.py", line 29, in create_trainer
    from trainers.mitie_trainer import MITIETrainer
  File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/rasa_nlu/trainers/mitie_trainer.py", line 4, in <module>
    from mitie import *
ImportError: No module named mitie

Its hitting rasa_nlu/train.py but why its looking for mittie ?
def create_trainer(config):
    backend = config.backend.lower()
    if backend == 'mitie':
        from trainers.mitie_trainer import MITIETrainer
        return MITIETrainer(config.mitie_file, config.language, config.num_threads)

But when i changed the configuration from "pipeline": "spacy_sklearn", to "backend": "spacy_sklearn", its creating the model with these comemnts
/home/ubuntu/anaconda2/lib/python2.7/site-packages/sklearn/metrics/classification.py:1113: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
  'precision', 'predicted', average, warn_for)
/home/ubuntu/anaconda2/lib/python2.7/site-packages/sklearn/metrics/classification.py:1115: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no true samples.
  'recall', 'true', average, warn_for)

When i deploy it , getting exceptions like ,
INFO:root:Configuration: {
    "num_threads": 1,
    "log_level": 20,
    "language": "en",
    "mitie_file": "data/total_word_feature_extractor.dat",
    "emulate": null,
    "config": "sentiment-config.json",
    "response_log": "/home/ubuntu/sree/rasa/logs",
    "server_model_dirs": "./model_20170508-122907",
    "fine_tune_spacy_ner": false,
    "token": null,
    "path": "./models",
    "log_file": null,
    "data": "./data/sentiment/sentiment-data.json",
    "port": 5000,
    "backend": "spacy_sklearn"
}
INFO:root:Logging requests to '/home/ubuntu/sree/rasa/logs/rasa_nlu_log-20170508-123854-5311.log'.
INFO:root:using spacy + sklearn backend
Traceback (most recent call last):
  File "/home/ubuntu/anaconda2/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/home/ubuntu/anaconda2/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/rasa_nlu/server.py", line 99, in <module>
    app = WSGIServer(('<IP_ADDRESS>', rasa_nlu_config['port']), create_app(rasa_nlu_config))
  File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/rasa_nlu/server.py", line 90, in create_app
    rasa_nlu_app.data_router = DataRouter(config)
  File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/rasa_nlu/data_router.py", line 29, in __init__
    self.model_store = self.__create_model_store()
  File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/rasa_nlu/data_router.py", line 112, in __create_model_store
    interpreter = DataRouter.create_interpreter(metadata, nlp, featurizer)
  File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/rasa_nlu/data_router.py", line 170, in create_interpreter
    return SpacySklearnInterpreter.load(metadata, nlp, featurizer)
  File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/rasa_nlu/interpreters/spacy_sklearn_interpreter.py", line 25, in load
    meta.metadata.get("should_fine_tune_spacy_ner"))
  File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/rasa_nlu/extractors/spacy_entity_extractor.py", line 15, in __init__
    self.ner = EntityRecognizer.load(pathlib.Path(extractor_file), nlp.vocab)
  File "spacy/syntax/parser.pyx", line 154, in spacy.syntax.parser.Parser.load (spacy/syntax/parser.cpp:6999)
  File "spacy/syntax/parser.pyx", line 177, in spacy.syntax.parser.Parser.__init__ (spacy/syntax/parser.cpp:7370)
  File "spacy/syntax/ner.pyx", line 71, in spacy.syntax.ner.BiluoPushDown.get_actions (spacy/syntax/ner.cpp:3906)
KeyError: 1

Hi @srijiths, would you mind sharing which rasa nlu version you are using? We fixed the dependency on unused modules recently, so your problem should be gone in the current version and on master.

this isn't relevant anymore due to the removal of spacy ner training ;) in the just released version.

@srijiths there will be a newly released version on pypi in a couple of minutes, please update to that one if possible. it should resolve your issue.

@tmbo @twerkmeister Thanks . I upgraded rasa version to rasa_nlu-0.8.0.tar.gz and its working perfectly. I am able to create model and successfully deploy it.


You should link to your demo :)

This is it, right? http://webrafter.com/opensource/react-responsive-mixin
Above the fold seems best - https://github.com/winkler1/rawgit_it/wiki/One-weird-trick...to-get-people-to-use-your-open-source-stuff

Thanks @winkler1
I added link to demo.


Validation Score

Hi You Mention in your readme that the originial paper results were

Mnemonic Reader (original paper)
71.8
81.2

But the paper references much higher results ?
https://arxiv.org/pdf/1705.02798.pdf
Could you shed some light on why this is different?

The link you provided is the latest paper. But this repo corresponds to the v3 version (https://arxiv.org/pdf/1705.02798v3.pdf) which was published on 5 Sep 2017. If I have free time, I will check the places that have been improved. Of course, welcome you to help to find the difference. Thanks!

Running the training right now on 2 GPUs. Epoch 21 - EM - 72.93 and F1 - 81.69. Looks like I might have already gotten better than published results.
Happy to help if you point me in some direction.

Hi Sean,
The following are the changes to the new paper vs V3. The embedding layers are the same as before as they aren't really mentioned in the new paper at all.
1.) Reattention Mechanism - In addition to Iterative Alignment and Self Alignment there is a proposed Alignment memory layer to address the problem that each alignment is not directly aware of previous alignments. The intuition is that two words should be correlated if their attentions about same texts are highly overlapped, and be less related vice versa. Suppose that we have access to previous attentions, and then we can compute their dot product to obtain a “similarity of attention”. This is the biggest addition to the model versus V3 and would be the main effort in coding.
2.) Dynamic-critical Reinforcement Learning - This is essentially a combination of previous Memory based Answer Pointer and Reinforcement Learning with changes. The changes are few and should be easy to implement.
Let me know what you think about the above.
Thanks in Advance
Muni

@muni2773 do you have any progress in the EM or F1 compared to V3 version?


delivery rate estimation: draft 01

Update delivery rate implementation to draft 01.
Major rework on delivery rate estimation.
estimate() is removed - it will be done in generate_rate_sample() after calling update_rate_sample() in each ack, as specified in the draft.
Rate estimation is only checked in Application packet number space.
Expose some functions for later use, such as
recovery.delivery_rate.app_limited() returns C.app_limited != 0,
recovery.delivery_rate._delivered() returns rs.delivered,
recovery.delivery_rate.sample_is_app_limited() returns rs.is_app_limited.
C.app_limited: now we use the packet number instead of the byte
range. largest_acked and last_sent_packet is added for
tracking packet number. This is used for rate sample and
separately from recovery.app_limited.
Custom debug fmt() is removed and use a default Debug trait.
Tests are rewritten.

TODOs

[x] fix app_limited
[x] update test

@lohith-bellad PTAL

Also need to rebase now, since the other PR was merged.

When pacing is not used in the application, this doesn't have an impact because the application will ignore the pacing rate.

Note that delivery rate is also exposed as part of Stats, so I guess if an application doesn't do pacing that value will be inaccurate? Probably not a big problem though, just want to clarify this.

Possibly yes -- if we want to be more accurate without pacing, I think it's better make an API (pacing on/off) controlling the behavior (recording Sent.time_sent with paced time or not).

I added a commit to tweak some commentrs slightly, and also to add a note to the Stats.delivery_rate documentation about pacing (I don't think it's worth adding a whole new configuration option just to make this more accurate, but it's good to at least document the potential problem).


https://graph.microsoft.com/v1.0/teams/{team-id}/members returns only owner role

The only role returned is owner. The member role is blank. Same result using PowerShell.

Hi @anthonyherring ,
This is the correct response as indicated in the documentation here

Please find more information here: https://learn.microsoft.com/en-us/graph/api/resources/conversationmember?view=graph-rest-1.0


Add a way to get container usage stats after exit

Goal: to be able to monitor resource usage for all containers, even those that do not run for very long (and can therefore be missed by traditional metrics collectors such as cadvisor, telegraf, etc…).
Way to achieve this: the rusage data is already available but dropped when waiting for the process to exit. This change makes containerd write a -stats.json file in the containerd workdir, and adds a way to retrieve it. A trivial use of this would be to parse the output of ctr events  to call the added ctr postmortem command and write the result elsewhere.
Caveat: it is now possible to fill the work directory of containerd (usually in /run, a tmpfs) by spawning millions/billions of containers, since there is no cleanup mechanism involved. A potential solution would
be to write those somewhere with more room, having a periodical cleanup of old stats, or disabling that feature by default.
Signed-off-by: Mathieu Pasquet<EMAIL_ADDRESS>

This should be done via prometheus, the library has a default retention period of 18mins I think.

This should be done via prometheus, the library has a default retention period of 18mins I think.

Agree. We can also change it update them one last time after the exit.

Closing this as prometheus does the retention for us.
Maybe we should add an option to containerd to allow specifying the retention time.


IconButton.constraints does not apply the default constraints

Steps to reproduce
As in the doc, IconButton.constraints is supposed to apply the BoxConstraints with the minWidth and minHeight set to the kMinInteractiveDimension  when the IconButton.constraints property is not specified.
This behavior has always resulted in the IconButton size being 48 in width and 48 in height when the other properties are not specified.
However, the default constraints is not applied in the Flutter SDK version 3.19.0 which resulted in the IconButton size being 40 in width and 40 in height.
Expected results
`IconButton size being 48 in width and 48 in height
Actual results
IconButton size being 40 in width and 40 in height
Code sample
Code sample
IconButton(
    icon: const Icon(Icons.menu),
    onPressed: () {},
) // 40 in width, 40 in height

IconButton(
    icon: const Icon(Icons.menu),
    constraints: const BoxConstraints(
        minWidth: kMinInteractiveDimension,
        minHeight: kMinInteractiveDimension,
    ),
    onPressed: () {},
) // Specifying the constraints resolves the issue, results in 48 in width and 48 in height

Flutter SDK version 3.19.0, Material3 is enabled by default.

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

Hey @jezsung, Thanks for filing this issue. This button behavior looks expected, as the guidelines mention it. For default implementation, Refer Container Size of m3. By applying constraints, I believe we're adjusting the interactable Container Size itself.
If you believe it's inaccurate, I'd be more than happy to dive into the codebase!
See more: https://m3.material.io/components/icon-buttons/specs#e8988ae0-50d6-4192-929e-c4558bcac4e1

@opxdelwin Thanks for your response!
I still have some confusion about what default behavior is expected when no other properties are specified except for the required ones.
Currently, the below code creates an IconButton with the size of 40w, 40h.
// Size 40w, 40h
IconButton(
    icon: const Icon(Icons.menu),
    onPressed: () {},
)

But as the doc says, if the constraints property is unspecified, it should default to:
const BoxConstraints(
  minWidth: kMinInteractiveDimension,
  minHeight: kMinInteractiveDimension,
)

If you were to specifiy the contraints with the above BoxConstraints, the size becomes 48w, 48h:
// Size 48w, 48h
IconButton(
    icon: const Icon(Icons.menu),
    onPressed: () {},
    constraints: const BoxConstraints(
        minWidth: kMinInteractiveDimension,
        minHeight: kMinInteractiveDimension,
    ),
)

The applied BoxConstraints must be the default value when the contraints is unspecified. But the above two IconButtons results in different sizes. I think either the doc has to be updated or the code needs to be fixed.

@jezsung I would like to confirm this again.

Currently, the below code creates an IconButton with the size of 40w, 40h.

I think you mean the constraint, right? Because I can see the rendered size is 48.0 from Devtools:

Whereas, its min size is 40.0 for BoxConstraints in the tree:

@huycozy I found it was due to the theme configuration materialTapTargetSize set to MaterialTapTargetSize.shrinkWrap. Is it supposed to shrink the IconButtons size too?  I've been using this setup for a quite long I have just noticed this change.

@jezsung On mobile platforms, it's MaterialTapTargetSize.padded which is corresponding to 48x48px:
https://github.com/flutter/flutter/blob/d3c274b25540de40e17693ce6800454b5f32ecb8/packages/flutter/lib/src/material/theme_data.dart#L382-L391

Is it supposed to shrink the IconButtons size too?

The default IconButton style (with M3 enabled) is getting tapTargetSize from Theme settings currently:
https://github.com/flutter/flutter/blob/d3c274b25540de40e17693ce6800454b5f32ecb8/packages/flutter/lib/src/material/icon_button.dart#L1193
So the solution is applying a style for your specific IconButton, for eg:
IconButton(
	icon: const Icon(Icons.menu),
	onPressed: () {},
	style: const ButtonStyle(
		tapTargetSize: MaterialTapTargetSize.padded,
	),
)

Then the button will has 48x48 size as expected.
I'm going to close this as solved with this solution. If you disagree, please write in the comments and I will reopen it. Thanks!


📖 update doc for cloudevents.

Summary
update doc for cloudevents.
Related issue(s)
Fixes #

LGTM


Move ServiceContext Provider to root

Adding ServiceContext.Provider from a plugin doesn't ensure that it is at the root of the tree. This context is special in that it should be accessible from other Providers that are added from plugin middleware

!merge


Support encrypted communication with HA

Just for that extra bit of security, we should implement encrypted communication with HA over the webhook like iOS supports.

Some notes on this:

We need to use an updated and peer reviewed library to do this. @JBassett says he looked at https://github.com/terl/lazysodium-android, one option I suggested. The other option is https://github.com/joshjdevl/libsodium-jni. Sadly, both are Java. The only Kotlin option hasn't been updated in 2+ years.
Initial support has been added to HA Core to enable encryption on existing registrations (at https://github.com/home-assistant/home-assistant/pull/31743). Call webhook action enable_encryption on HA Core 0.106+, receive a JSON body with secret as the response. HA version can be derived via get_config webhook action. The logic in app should look like this (psuedocode):if app_has_no_encryption_key and ha_version > 0.106:
    attempt_to_enable_encryption()

If enabling encryption fails due to older HA version, then we should either keep doing that check every so often (whenever app starts?) or have a button in settings to allow users to manually enable encryption.

Do we know the HA version that we talk to ? Seems like something we should know in the app to be able to enable/disable functionality.

@balloob We can get that info from the get_config webhook action.

Initial work https://github.com/home-assistant/home-assistant-android/tree/feature/webhookEncryption
I am running into issues with HA decrypting my requests...  If anyone wants to take a crack at it please do!


Sometimes it refuses to input capital letters

Windows Terminal version (or Windows build number)
1.7.572.0
Other Software
No response
Steps to reproduce
Launch terminal application, start typing command, once in a while it doesn't let you input any capital letters. This issue persists during the session. Restart of terminal fixes that.
Expected Behavior
No response
Actual Behavior
Pressing shift+letter does not input that capital letter.

Okay, so this is bizarre. We've seen this intermittently twice before, over in #7087 and #8450. From that thread:https://github.com/microsoft/terminal/issues/7087#issuecomment-676782357

Found a fix. If you have the same problem as me, then updating PSReadLine to the latest preview version can help you. Check out this PowerShell/PowerShell#10794 and this PowerShell/PSReadLine for more information.

@chyvonomys Could you try that, and see if that resolves the issue?


synthetic methods in hasMethods

Check List:

Fixes #949
Unit tests : YES
Javadoc with a code example (API only) : NA

synthetic methods are filtered now.

Thanks! :+1:

Thanks to this change we can now use the jacoco plugin again. :) Thanks again!


Update Google.Cloud.Container.V1 to use the microgenerator

Added a commit addressing review comments - PTAL.


GEODE-2832: Fixing the link of README.md

Fixed an error in Markdown link notation of README.md.

Delete the space between the display name and the destination URL.
Fixed link destination of native-client-intro.html
Fixed link of BUILDING.md

@masaki-yamakawa For future reference, please rebase your branch before pull requests and include the GEODE-XX:  prefix in your first line commit statement.

@pivotal-jbarrett Thank you for your advice. Next time I'll rebase before PR.


Fix for missing translation for QRLoader/Await

Summary
QRLoader and Await components were using invalid translation key.
This PR reuses the <ContentSeparator /> component which has the proper translation in place for 'qrCodeOrApp' scenario
Tested scenarios

Manual testing checking that proper translation shows up

Fixed issue: #1769

A lot of styling has been removed from both the Await.scss and the QRLoader.scss to be replaced by the much simpler set of rules in the ContentSeparator. All of which is good if it simplifies things - but I just wanted to check that everything still looks as it should?

And... where's the translation?

A lot of styling has been removed from both the Await.scss and the QRLoader.scss to be replaced by the much simpler set of rules in the ContentSeparator. All of which is good if it simplifies things - but I just wanted to check that everything still looks as it should?

Looks better actually :)

And... where's the translation? Or was the "qrCodeOrApp" always present in the translation files?

'qrCodeOrApp' is present in the translation files. It is the default value in the ContentSeparator component


Use extracted google-discovery plugin

I have extracted the Discovery plugin here and made it work with 2.12, 2.13 and 3. (publishing of this plugin is still pending)
I have reimplemented the codegeneration using Paiges, but the initial code by @armanbilge  is still there.
I have also added a basic client generation as well. However with no google authentication, as I think that should be an http4s middleware, which I think this library has.

Hi, thanks for sharing!

I have also added a basic client generation as well.

Recently I've been experimenting with using Guardrail to generate clients.
There is a project that converts Google Discovery APIs to OpenAPI specs:
https://github.com/APIs-guru/openapi-directory/tree/main/APIs/googleapis.com
These can then be fed into Guardrail.
https://github.com/guardrail-dev/guardrail

However with no google authentication, as I think that should be an http4s middleware, which I think this library has.

Yes! Actually I've been working on extracting this into a new runtime library, that supports JVM/JS/Native.
https://github.com/davenverse/googleapis-http4s-runtime
Besides these Discovery APIs, the goal is to provided runtime support for the generated gRPC APIs published here:
https://github.com/davenverse/googleapis-http4s

I am not a fan of the guardrail generated code. So I would still do this.
But nice that someone has done the work to convert it into openapi specs.
I was thinking on going in that direction.
our end goal is to help build this in pure scala.
And that requires us to also look into the googleapis-http4s grpc stuff.
Maybe our goals are somewhat aligned here.

I am not a fan of the guardrail generated code. So I would still do this.

Perhaps I'm missing something, but aren't you unnecessary replicating that toolchain?
What I mean is, even if you don't like the Guardrail-generated code (I'm not crazy about it either), a better solution to that might be to build a new generator for Guardrail that generates code that you do like? Instead of building a new end-to-end codegen from scratch.
Unless we can do something better by working natively with Google Discovery format, but I'm not really convinced of that.

but aren't you unnecessary replicating that toolchain?

Perhaps, but its was easier for me to do this.
Not sure if its worth the effort to look into guardrail, since I tried to do that before and I had to step away because of the sheer complexity.

I had to step away because of the sheer complexity.

Yeah, that's fair enough. If Google is only using a subset of OpenAPI features then you may very well be right we don't need to deal with all that complexity.

Took a look at the generated code from your plugin. Very nice 👏

I have finally been able to publish the first version.
addSbtPlugin("net.hamnaberg" % "google-discovery-sbt" % "0.1.0")

So actually what I'd like to do is use your plugin to add more modules to our googleapis-http4s repo.
https://github.com/davenverse/googleapis-http4s


Write a GO program to find sum of n natural numbers

Description
Write a GO program to find sum of n natural numbers
Input  : 5
Output : 15

How to contribute

Save the solution in find_sum_of_n_natural_numbers.go file
Add find_sum_of_n_natural_numbers.go file in find-sum-of-n-natural-numbers folder

!assign

Hey @Chirag8023,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)

!assign


[CON-186] Remove objects with required QueryParams

#1225  👈 (View in Graphite)
main

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


Python crashes when running inference (interpreter.invoke()) on BERT (official.nlp.bert) converted saved model

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): YES
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NO
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.4.0-dev20200819
Python version: Python 3.7.6
CUDA/cuDNN version:
GPU model and memory: Quadro P2000 computeCapability: 6.1, 4Gb

Describe the current behavior
Basically I'm trying to quantize a BERT model (with a classifier head) using the dynamic range post training quantization technique in order to improve serving speed.
This is how I proceeded:

I use the BERT code of google official: I executed this  notebook to obtain a BERT Classifier model in the Saved Model format. It's easy to obtain just run all cells and save the model, I can also link mine if need be.
I am able to convert the model to a TFlite model (and serialize it to a FlatBuffer) (I get this log which kind of sounds like things are doing ok for the conversion part...:
INFO: TfLiteFlexDelegate delegate: 96 nodes delegated out of 620 nodes with 60 partitions.

and then when trying out the inference (following the basic TFLite inference tutorial in Python my program just crashes
Describe the expected behavior
I would like to be able to serve a TFLite model converted from a BERT Classifier of official.nlp.bert to be able to execute inference :D
Standalone code to reproduce the issue
These are the few lines that I try to run but just can't seem to make work:
import numpy as np
import tensorflow as tf

path_saved = "path\\to\\saved\\model"
converter = tf.lite.TFLiteConverter.from_saved_model(path_saved)
converter.target_spec.supported_ops = [tf.lite.OpsSet.SELECT_TF_OPS, tf.lite.OpsSet.TFLITE_BUILTINS]
converter.optimizations = [tf.lite.Optimize.DEFAULT]
tflite_quant_model = converter.convert()

interpreter = tf.lite.Interpreter(model_content=tflite_quant_model)
interpreter.allocate_tensors()

input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()

input_shape = input_details[0]['shape']
input_data = np.array(np.random.random_sample(input_shape), dtype=np.int32)

interpreter.set_tensor(input_details[0]['index'], input_data)
interpreter.invoke()
output_data = interpreter.get_tensor(output_details[0]['index'])
print(output_data)

Also I'm able to save the TFLite model to a FlatBuffer easily, I've tried loading it in a different process but I get the same crash.
Other info / logs
This is the full log I obtain:
2020-08-20 16:51:03.475275: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-20 16:51:05.781037: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2020-08-20 16:51:05.782856: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library nvcuda.dll
2020-08-20 16:51:06.621258: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: Quadro P2000 computeCapability: 6.1
coreClock: 1.468GHz coreCount: 6 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 89.53GiB/s
2020-08-20 16:51:06.621417: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-20 16:51:06.626743: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2020-08-20 16:51:06.630233: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cufft64_10.dll
2020-08-20 16:51:06.631445: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library curand64_10.dll
2020-08-20 16:51:06.635791: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusolver64_10.dll
2020-08-20 16:51:06.637905: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusparse64_10.dll
2020-08-20 16:51:06.646389: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudnn64_7.dll
2020-08-20 16:51:06.647139: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0
2020-08-20 16:51:06.647268: I tensorflow/compiler/jit/xla_gpu_device.cc:69] Not creating XLA devices, tf_xla_enable_xla_devices not set
2020-08-20 16:51:06.647593: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-08-20 16:51:06.648170: I tensorflow/compiler/jit/xla_cpu_device.cc:54] Not creating XLA devices, tf_xla_enable_xla_devices not set
2020-08-20 16:51:06.649130: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: Quadro P2000 computeCapability: 6.1
coreClock: 1.468GHz coreCount: 6 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 89.53GiB/s
2020-08-20 16:51:06.649270: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-20 16:51:06.649361: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2020-08-20 16:51:06.649436: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cufft64_10.dll
2020-08-20 16:51:06.649597: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library curand64_10.dll
2020-08-20 16:51:06.649683: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusolver64_10.dll
2020-08-20 16:51:06.649799: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusparse64_10.dll
2020-08-20 16:51:06.649901: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudnn64_7.dll
2020-08-20 16:51:06.650420: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0
2020-08-20 16:51:07.326160: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-20 16:51:07.326260: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]      0
2020-08-20 16:51:07.327667: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 0:   N
2020-08-20 16:51:07.328315: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1402] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2984 MB memory) -> physical GPU (device: 0, name: Quadro P2000, pci bus id: 0000:01:00.0, compute capability: 6.1)
2020-08-20 16:51:07.329077: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
2020-08-20 16:51:13.831685: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:315] Ignored output_format.
2020-08-20 16:51:13.831813: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:318] Ignored drop_control_dependency.
2020-08-20 16:51:13.835168: I tensorflow/cc/saved_model/reader.cc:32] Reading SavedModel from: C:\tensorflow\models-master\saved_model
2020-08-20 16:51:13.884559: I tensorflow/cc/saved_model/reader.cc:55] Reading meta graph with tags { serve }
2020-08-20 16:51:13.885104: I tensorflow/cc/saved_model/reader.cc:93] Reading SavedModel debug info (if present) from: C:\tensorflow\models-master\saved_model
2020-08-20 16:51:13.886647: I tensorflow/compiler/jit/xla_cpu_device.cc:54] Not creating XLA devices, tf_xla_enable_xla_devices not set
2020-08-20 16:51:13.886780: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-20 16:51:13.886911: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]
2020-08-20 16:51:13.887017: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
2020-08-20 16:51:14.027709: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:198] None of the MLIR optimization passes are enabled (registered 0 passes)
2020-08-20 16:51:14.046369: I tensorflow/cc/saved_model/loader.cc:190] Restoring SavedModel bundle.
2020-08-20 16:51:14.692613: I tensorflow/cc/saved_model/loader.cc:174] Running initialization op on SavedModel bundle at path: C:\tensorflow\models-master\saved_model
2020-08-20 16:51:14.805651: I tensorflow/cc/saved_model/loader.cc:261] SavedModel load for tags { serve }; Status: success: OK. Took 970481 microseconds.
2020-08-20 16:51:15.612211: I tensorflow/compiler/jit/xla_cpu_device.cc:54] Not creating XLA devices, tf_xla_enable_xla_devices not set
2020-08-20 16:51:15.612614: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: Quadro P2000 computeCapability: 6.1
coreClock: 1.468GHz coreCount: 6 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 89.53GiB/s
2020-08-20 16:51:15.614030: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-20 16:51:15.614146: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2020-08-20 16:51:15.614256: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cufft64_10.dll
2020-08-20 16:51:15.614370: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library curand64_10.dll
2020-08-20 16:51:15.614484: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusolver64_10.dll
2020-08-20 16:51:15.614595: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusparse64_10.dll
2020-08-20 16:51:15.614705: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudnn64_7.dll
2020-08-20 16:51:15.615136: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0
2020-08-20 16:51:15.615291: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-20 16:51:15.615398: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]      0
2020-08-20 16:51:15.615500: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 0:   N
2020-08-20 16:51:15.615944: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1402] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2984 MB memory) -> physical GPU (device: 0, name: Quadro P2000, pci bus id: 0000:01:00.0, compute capability: 6.1)
2020-08-20 16:51:15.616086: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
INFO: Created TensorFlow Lite delegate for select TF ops.
2020-08-20 16:51:20.577713: I tensorflow/compiler/jit/xla_cpu_device.cc:54] Not creating XLA devices, tf_xla_enable_xla_devices not set
2020-08-20 16:51:20.578074: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: Quadro P2000 computeCapability: 6.1
coreClock: 1.468GHz coreCount: 6 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 89.53GiB/s
2020-08-20 16:51:20.578209: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-20 16:51:20.578327: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2020-08-20 16:51:20.578447: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cufft64_10.dll
2020-08-20 16:51:20.578568: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library curand64_10.dll
2020-08-20 16:51:20.578695: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusolver64_10.dll
2020-08-20 16:51:20.578818: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusparse64_10.dll
2020-08-20 16:51:20.578939: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudnn64_7.dll
2020-08-20 16:51:20.579359: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0
2020-08-20 16:51:20.579508: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-20 16:51:20.579604: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]      0
2020-08-20 16:51:20.579694: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 0:   N
2020-08-20 16:51:20.580139: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1402] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2984 MB memory) -> physical GPU (device: 0, name: Quadro P2000, pci bus id: 0000:01:00.0, compute capability: 6.1)
2020-08-20 16:51:20.580258: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
INFO: TfLiteFlexDelegate delegate: 96 nodes delegated out of 620 nodes with 60 partitions.

2020-08-20 16:51:20.586343: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll

PS1: if that can help, when running it with PyCharm I get a weird exit code: Process finished with exit code -1073741819 (0xC0000005)
PS2: I've also linked the end of the logs when I activate CPP logging (with TF_CPP_MIN_VLOG_LEVEL=2) if that can help...
logs_cpp.txt
I guess my next step will be to try to run inference in CPP directly

Hello,
seems to work fine with the latest nightly 2.4.0-dev20200828
there's also was problem in my script: I didn't fill up all 3 input tensors (which might by why it crashed: when I tried the same using the C API I got an access violation so my wild guess would be at serving time the program tried to access the input tensors that were not filled yet and maybe the memory span that was allocated for it was used by something else, I'm not a c++ expert so I may be completely wrong)
any ways sorry and thanks for the help!


Your package relies on older versions of dbt-utils, which means our project is stuck on an older version

Is there an existing feature request for this?

[X] I have searched the existing issues

Describe the Feature
Your package relies on older versions of dbt-utils, which means ours is stuck on an older version.
Describe alternatives you've considered
No response
Are you interested in contributing this feature?

[ ] Yes.
[ ] Yes, but I will need assistance and will schedule time during your office hours for guidance.
[X] No.

Anything else?
No response

Closing this as PR #48 has been merged and released. The package is now using the latest version of dbt-utils


Multiple columns

Does not work on multiple columns/loops

Sorry to hear you're having trouble with Infinite Scroll.
Infinite Scroll v3 is out!. It's an all new re-write, so take a look at how to upgrade from v2.
Infinite Scroll v3 supports multiple instances. I recommend upgrading to v3. Please open a new issue if you run into trouble with Infinite Scroll v3. 🌈🐻


ModuleConcatenationPlugin option to disable name scoping

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
Currently ModuleConcatenationPlugin keeps the scope for exports by adding an identifier in front of the variables (the name of the file).
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
Add an option to disable this behavior, so that the name of the exports remain the same.
If this is a feature request, what is motivation or use case for changing the behavior?
In our project the names of the classes are generated and it is not possible that name clashes exist. But we rely on the names of the classes at some points (e.g. de/serialization with type hints) and need the names not to be changed.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
I already created a fork with the changes I would suggest. Please see https://github.com/webpack/webpack/compare/master...unblu:feature/module-concatenation-disable-name-scoping

Fixed in webpack@5, big sorry for delay


Merge source_map_stack_trace package

Import package:source_map_stack_trace

[x] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

Contribution guidelines:

See our contributor guide for general expectations for PRs.
Larger or significant changes should be discussed in an issue before creating a PR.
Contributions to our repos should follow the Dart style guide and use dart format.
Most changes should add an entry to the changelog and may need to rev the pubspec package version.
Changes to packages require corresponding tests.

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

@devoncarew Could you enable non-squash merging on this repo?


Test Python 3.12 beta

Blockers:

[ ] https://github.com/aio-libs/aiohttp/pull/7315
[ ] https://github.com/sumerc/yappi/pull/139

Closing as we're stuck until dependencies add support.


Bash environment variable setting of 'HOME' returns "pyenv: no such command `sh-activate'"

Dear Yamashita,
Thank you very much for your great effort toward this amazing application.
I would like to ask you about a bash environment variable setting.
I have been running a bash script to run multiple dropbox account on my Ubuntu system. (reference link: http://askubuntu.com/a/475420 )

After I set up pyenv and autoenv, I found out a command in my bash script return a error message as below.
command)  HOME="$HOME/.dropbox-alt"
returns)      pyenv: no such command `sh-activate'

The environment variable above seems work well.
when I run a command, echo $HOME, it returns as below.
command) echo $HOME
returns)
/home/myname/.dropbox-alt
pyenv: no such command `sh-activate'

And this error message comes along with all bash commands such as,
commandexport, ls, cd, mkdir, ...

Here is my ~/.bashrc ends with,
# Load pyenv automatically by adding
# the following to ~/.bash_profile:

export PATH="/home/june/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
export PYENV_VIRTUALENV_DISABLE_PROMPT=1
source ~/.autoenv/activate.sh

I am wondering what makes this error message and am wondering whether if this error affect any of my system.
Thank you very much.
Kind regards,
June.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34108703-bash-environment-variable-setting-of-home-returns-pyenv-no-such-command-sh-activate?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).

This is not related to pyenv. The sh-activate command is part of the pyenv-virtualenv plugin. Read the setup instructions for the plugin and verify that you have installed it correctly. If you continue to have issues, raise an issue on pyenv-virtualenv.


Mask the backup password

Currently the backup password is visible to the user as it is input (both at backup and at restore).
The field should mask the password with asterisks.

Closing as duplicate of #1370

Reopening to track resolving one of the two components needed to reimplement masking securely.
The second component is addressed here.


F# values display badly in default formatting, esp plaintext

Therer are lots of cases where default formatting for F# values is way off.  I'll document a few here and try and make progress on this.

Evaluate a method info, e..d
match <@ display("") @> with Quotations.Patterns.Call(_,mi,_) -> mi

Expect: something reasonable
Actual: a big mess

Evaluate "<@ 1 @>" in a notebook.
Expect: Some reasonable of the quotation.
Actual, a big mess, see image at bottom
Best would really be just the ToString() I think:
Value (1)

For reference FSI shows this, which is not great but not awful.
    val it : Quotations.Expr<int> =
  Value (1)
 {CustomAttributes = [NewTuple (Value ("DebugRange"),
       NewTuple (Value ("stdin"), Value (1), Value (3), Value (1), Value (4)))];
  Raw = ...;
  Type = System.Int32;}

Quotation image:

@brettfo @KevinRansom I'd like to iterate on the design here.
I know we have extensible type-direct formatting through Formatter<_>.Register(f) but we need to get the basic default printing of a whole swathe of F# data values to be decent without use customization.
Here's a full list of values we need to consider, I'll update these as I think of more, and start to cross them off as I check current status

[x] Constants (integers, floating point, strings, decimal)
[ ] Constants from .NET libraries (bigint, DateTime, TimeSpan)
[ ] Tuples
[ ] Struct tuples
[ ] Records
[ ] Single case unions without data
[ ] Single case unions with data
[ ] Multi case unions all without data
[ ] Multi case unions some with data
[ ] Enums
[ ] .NET Object values from core libraries (e.g. Type, MethodInfo, Assembly)
[ ] Lists of all of the above
[ ] Arrays of all of the above
[ ] Sequences of all of the above
[ ] Sequences that are slow to compute
[ ] Nested cases of the above (where applicable)
[ ] Quotations (raw and typed)
[ ] Function values (unapplied and partially applied)
[ ] Async values
[ ] Task values
[ ] Lazy values
[ ] IDictionary values
[ ] ICollection values
[ ] Map values
[ ] Set values
[ ] dict values
[ ] values returned by List.groupBy, Seq.groupBy and so on

Then a set of things from important libraries which will need customization

[ ] Data Frames
[ ] Charting
[ ] Tensors
many other examples

FWIW I think the best approach here in the short term would be "revert to printing plain text of F# values unless we are sure the result is going to look nice"
And use https://github.com/dotnet/interactive/issues/646 to control printing in plain text.
Exactly what this means in detail I'm not sure

@jonsequitur and I had an adhoc chat mostly about plaintext formats and went through the existing structured plaintext formattting mechanisms in F#.  Here are the notes
Plaintext formatting in mechanisms in F#
x.ToString()
enough said
sprintf "%A" x

nice block indentation on lists, tuples, arrays, multi-dim arrays
uses structure of public records and unions.  good for data, bad for compiler-like data structures
uses StructuredFormatDisplay --> recursive structured printing on property
depth limit of 4 on sequences
depth limit of 99 on lists
prints numbers using F#-invertible displays, e.g. 1.0, 1.0f, 1L
NIT: cascading record values
NIT: strings always get quotes, ok ut a PITA when just printing a string
NIT: strings are not inverted, e.g. no triple quote, no verbatim strings etc.

Just a few tweaks available:
sprintf "%128A" x   // try to fit into width 128
sprintf "%0A" x   // single-line output
sprintf "%+A" x  // also reveal structure of non-public things
F# [<StructuredFormatDisplay("tensor {AsMultiArray}")>]
Union type --> uses sprintf "%A" as StructuredFormatDisplay and ToString
Record type --> uses sprintf "%A" as StructuredFormatDisplay and ToString
Samples
[<StructuredFormatDisplay("tensor {Data}")>] type Tensor(data: int[,]) = member x.Data = data
[ for i in 0 .. 3 -> Tensor(array2D [ for i in 0 .. 9 -> [ for j in 0 .. 9 -> i+j ] ]) ]
array2D [ for i in 0 .. 9 -> [ for j in 0 .. 9 -> i+j ] ]
sprintf "%A" [ for i in 0 .. 10 -> { X=3; Y=4 } ]

DegbuggerDisplay attributes etc., DebuggerTypeProxy

great but not 100% suited to generating text output
assume object displayer as ultimate display vehicle
nothing in %A or dotnet fsi looks at these

dotnet fsi structured printing
F# dotnet FSI uses an extended version of "sprintf %A-like printing" that exposes some additional options

fsi.PrintDepth

fsi.PrintLength

fsi.ShowProperties

fsi.ShowIEnumerable  ..

fsi.AddPrinter  ..

fsi.AddPrintTransformer(fun (x: TYPE) -> proxy object)

in the same category as Formatter<_>.Register

uses a separate copy of the structured formatting code (src\utils\sformat.fs)

NIT: doesn't do anything nice with dictionaries
> dict [ (1,2) ];;
 val it : System.Collections.Generic.IDictionary<int,int> =
  seq [[1, 2] {Key = 1;
              Value = 2;}]

Questions for us about plaintext

What is the gesture for plaintext?

Current: mimetype
F# has other options like sprintf "%A"
Could add "display_text(x)"

What are the defaults for plaintext?

What is the extension author viewpoint for F#?

Typical case study: XPlot, nteract data explorer

We would really like the extension author not to have to think about F#

Equally if their extension needs to resort plaintext at "tips", then it may be sensible to allow them to get consistency of plaintext display at those tips.  (So encourage extenstion authors to recurse rather than calling ToString at the tips)

What is the library author's viewpoint? Do they implement StructuredDisplayFormat attribute? ToString? DebuggerProxy etc?  What's a "good" library look like that gives good structured plain text.  Case study: DiffSharp tensors

Questions that came up about HTML display

How many columns maximum?

How to populate the properties by default?  Only .NET metadata?  Which special cases? PropertyBag cases?

How about heterogeneous data?

When do we know the HTML is actually better or at least no worse?

Is what happens for leaf data consistent with plain text?  e..g numeric formats?  Do we care if there are differences?

When do we use plaintext at tips of the HTML structure?  How are those values formatted?
 e.g. sprintf "%A" is an option, but we can also add tweaks to this

Don also had a question about How to set the default mimetype

@jonsequitur @KevinRansom @cartermp I have added a page to the F# docs on F# structured plaintext formatting, see

Pull request: https://github.com/dotnet/docs/pull/19632

New doc page

Additions to F# Interactive docs

As part of looking at this issue I'm doing a deep dive on what the current spec for Formatting actually is, see  https://github.com/dotnet/interactive/issues/692#issuecomment-670918750 for my mini-spec

I've been starting to work with build where F# notebooks default to F# Interactive structured plaintext formatting, building on #694
Here's an example:

This is definitely the correct default for F# for when plain text formatting is selected (even if HTML is the default mime type)
One thing I just noticed is the left/right justification diference with HTML formatting.  Interesting how different the visuals are

I'm now going to go through the big list of items up above and check that the F# defaults are good for these, both in HTML and plain text.

As a daily Jupyter user working mainly with Python (and now F# thanks to all this awesome work in dotnet interactive!), I would like to provide my feedback.
I think that just having the simple string representation of objects (the result of .ToString()) is all we need for anything except images. For example, I'm not used to seeing some html table representation when I have a simple tuple or a basic data type. I would be very happy to see a simple string. The second option below is much more familiar and more comfortable.

I think things you may consider a nice layout and visual aid when looking at simplistic examples end up looking unfamiliar and intrusive in practice.

I especially think the idea of printing object properties is a bad idea. A notebook user is not interested in seeing the list of properties of a given object. They just need a quick glance at the string representation (.ToString()) which will cover the essential information. If the string representation is not very useful, this is also fine.
Here's the default behavior in Python:

Thanks, @gbaydin. For the most part these simpler outputs are our goal, so you can expect to see changes here to use the F# printers by default.
The current defaults are based on having wanted to provide something useful for the more complex objects and data structures. Your Tensor.ToString() example works because the method was written to accommodate this use case, but typically .NET collection types don't expose their data via ToString.
Another goal is to have formatter functionality able to provide defaults for types that apply across languages. But since F# has a powerful printer infrastructure which C# lacks, our next step is to allow the defaults to differentiate until explicitly overridden.

The current defaults are based on having wanted to provide something useful for the more complex objects and data structures. Your Tensor.ToString() example works because the method was written to accommodate this use case, but typically .NET collection types don't expose their data via ToString.

The problem is, showing properties by default doen't succeed at the stated goal either - it's just too often not useful and very cognitively overloading.  It's a good aim but it's not the answer.
I believe .NET objects (unqualified) simply don't have a good default for revealing their expanded structure, either internal or external, besides ToString() (with some expansions for known types like dictionary, IEnumerable).  This is partly because the whole object paradigm is so often used for relational data, using properties to create links to other very large objects.
Anyway we can think this over again for F#, and perhaps for C# too

My current thinking is that we can allow this decision to be different per subkernel by adding support for subkernels specifying their own formatting rules, so for example the FSharpKernel could prefer FSI-style printing. C# doesn't have a comparable mechanism and perhaps because of that, the feedback has been that the tabular output is more useful than ToString for most types.
In the short term this should make the F# experience better and more familiar while decoupling from the timeline for finding a better set of defaults for C#.

I believe .NET objects (unqualified) simply don't have a good default for revealing their expanded structure, either internal or external, besides ToString() (with some expansions for known types like dictionary, IEnumerable). This is partly because the whole object paradigm is so often used for relational data, using properties to create links to other very large objects.

@dsyme Thoughts on #1233 as an approach to object graphs generally?

Anyway we can think this over again for F#, and perhaps for C# too

I've seen that there are a few different use cases for printing output. At the risk of overthinking things, these deserve some discussion. @dsyme, when you and I talked about this last year, we realized that our current display gestures (via return value or the IPythonesque display helper) don't express intent. We're dealing with a few different intents. Lets try to make them explicit.
@gbaydin, what I understand by the following comment is that you understand the domain well and so only need a summary:

When I just have the string, I get to see a tuple and the tensor value within:
image

This is feeling much more at home for me as a Juypter user and it is definitely more productive and easier to work with. I hope we can have this as the default for everything.

For the sake of discussion, let's call this use case Summarize. ToString incidentally suffices, but only because the library author's intent for ToString happened to match yours.
When someone is doing more exploratory work (debugging, learning) they might want a more expansive view. We see this in Visual Studio watches (though they're text only and not moldable for types you haven't defined).

In .NET Interactive, we have examples like these:

We referred to this set of use cases as Explore, though there are probably different sub-cases.
Here are examples of Summarize and Explore for System.Type:

Notice that while this Explore gesture (ExploreWithUmlClassDiagram) is intention-revealing and explicit, when we display return values we have to make assumptions about intent. I'm inclined to agree with you @gbaydin that this should default to the minimalistic Summarize. But maybe there's also a default intent at the notebook level. Is it a data science notebook that's describing a model to expert users, or is it a documentation notebook that's explaining new concepts to learners, or is it a troubleshooting or performance analysis notebook that's trying to capture a high level of detail for engineers? The MIME types "text/plain" and "text/html" don't capture these nuances.

When someone is doing more exploratory work (debugging, learning) they might want a more expansive view.

Do we have any evidence about how often users want more expansive/structured views?
It feels to me a safer route is to follow the example of Python and other REPLs and have a simple and easy way to default to plaintext.  #plaintext would do nicely for example, or make it the default, and require an explicit view action.

@dsyme we should create a backlog item for this.  I particularly like the categorization of types, it's very helpful.  I think though this applies to more than just F#, although printf "%A" might make F# developers expect better than we currently produce.

@jonsequitur thank you for the summary above. I understand what you're trying to achieve and coming up with a good design is important for the long term.
I think the current defaults in F# notebooks are very close to a GUI debugger experience,  Explore in your description above, and very far from a conventional notebook experience in ecosystems like Python/Jupyter. I think it should instead default to plaintext Summarize as you and @dsyme were talking about above.
The typical experience in Python/Jupyter/Colab etc is actually very close to a console script execution experience, but you get the benefit of cell-based execution and ordering. Html formatters are almost never seen in practice. The user expects to see a very easy-to-look-at and simple output to get the essential information in the most compact way possible (as I was trying to explain here). If they need debugging, they would also do this via plaintext by the way, printing various properties of the object, etc. Non-plaintext things are seldomly seen and the most typical examples are images (including plots) and some libraries like Pandas that use an html formatter to show tabular database objects (data with column names, row ids, etc.)
This Colab notebook is an example of the typical experience I'm describing above: https://colab.research.google.com/github/jckantor/CBE30338/blob/master/docs/01.01-Getting-Started-with-Python-and-Jupyter-Notebooks.ipynb (also a video here https://www.youtube.com/watch?v=HW29067qVWk )
I would like to bring these two screenshots from the issue #1282 I opened in a moment of frustration yesterday. Please note this is affecting very simple F# types like lists and tuples, not it's not just about specialized libraries with a useful ToString implementation.
Screenshot with bad user experience (the current default)

Screenshot with acceptable user experience (after manually having to change the default F# formatter)

Do we have any evidence about how often users want more expansive/structured views?

Yes, though not yet in a formal user study. In both the educational and developer productivity spaces, this feature has gotten a lot of positive feedback. A common theme from users is that this moldable HTML output is a reason to use notebooks over the existing REPL experiences. People working in education and documentation, going back to Try .NET, have asked for these capabilities in order to create more engaging experiences than what's possible with plain text.
That said, the goal is to be adaptable to different workflows. I don't think there's a one size fits all answer, so we'd like to figure out how to make it easy for people to adapt the tool to their needs.

In general, I am also very supportive of the idea that the default fsi text printers are preferable for people coming to notebooks from a data science background.
However, I do prefer the .net interactive printing for things like arrays of (simple) records, where the html printer does a better job making the collection of records look like a "data frame". When working with an F# script i often do  array |> Array.iter (printfn "%A") because the default printer goes side to side across the terminal which makes it hard for me to read when the collection and/or number of fields in the record is big. In these 3 examples, I think that default fsi is the worst:

Also, @gbaydin 's workaround for text printing breaks Plotly.NET's custom plot printer. It makes it impossible to include Plotly plots in a .net notebook. Whomever is working on moving to the fsi printer as default, please be mindful that custom printers do not get overwritten.


fix #122 fix #69 deal with chevrons, remove bootstrap css dependency,…

Update to icons to have default arrows without relying on bootstrap.css
Also changed the class names to be less bootstrap specific and allow for simpler css customizations. Overriding .ui-splitbar > a font-size and color will change icon size and color.

Excellent!  Good to remove implicit deps.  Also like the very specific CSS so we don't accidentally run over someone else's.  This may cause specificity problems in the future but I'm not too worried right now.

Yes I tried to keep a balance between avoiding conflicts and ease of customizability. Hopefully this suffices for most use cases.

Landed in 72da419f0b40ea7d9630a61148191925e9a30daa


Laravel Updater

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v7.16.1 branch.
Before merging, you need to:

Checkout the shift-ci-v7.16.1 branch
Review all pull request comments for additional changes
Run composer update
Test your application (no tests?)

:warning: You are running version 5.3.4 of guzzlehttp/guzzle. The latest version is 6.5.4. You should review this dependency to see if you can upgrade to the latest version.

:warning: You are running version 1.0.10 of laravel/tinker. The latest version is 2.4.0. You should review this dependency to see if you can upgrade to the latest version.

:information_source: You are running an older version of Laravel. The latest version is 7.16.1. Run the Laravel 7.x Shift to upgrade to the latest version of Laravel.

:warning: You are running version 0.14.0 of league/fractal. The latest version is 0.19.2. You should review this dependency to see if you can upgrade to the latest version.

:warning: You are running version 3.9.3 of ramsey/uuid. The latest version is 4.0.1. You should review this dependency to see if you can upgrade to the latest version.


true private members & symbols ?

Hi,
Is there any reason you don't use symbols for private properties on classes ? I'm really interested on what you have done with typescript and try something similar so I'm maybe missing something.
Best Regards,
Ioan

BTW, I've read all thread on Stackoverflow http://stackoverflow.com/questions/12713659/typescript-private-members and Codeplex https://typescript.codeplex.com/discussions/397651 but they don't speak about symbols so maybe they are too old as symbols were introduced lately.

We once got a PR from @Arnavion (see #684), however, the emit causes issues.
At the time, @NoelAbrahams noted:

Class instantiation is about 60% slower when using symbols.
Property and method access is about 90% slower when using symbols.
The codegen when using symbols is not minification-friendly; even advanced optimisation will not minify string literals such as __symbol("_property_p");

Things might have changed in terms of speed, but at this point I'd rather we didn't change our private emit until we see the direction ECMAScript takes with the private slots proposal. In fact, I don't think our public, private, or protected modifiers should have any sort of impact on emit.

Hi @DanielRosenwasser,
Many thanks, it's very helpfull all these links. Finger crossed for private slots, anyway they already reserved the private keyword http://www.ecma-international.org/ecma-262/6.0/#sec-future-reserved-words

Class instantiation is about 60% slower when using symbols.
Property and method access is about 90% slower when using symbols.

Seems no longer to be true, property access is 2% slower and instanciation performance is equal for me (Chrome 56). By the private slot proposal, do you mean the tc39 proposal-private-fields?

Sadly, symbols will not be a guarantee to make things fully private : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertySymbols


"Limited to max 100 threads limit earlier" unclear wording

Hi,
The following sentence is weird and unclear:

Limited to max 100 threads limit earlier.

(under the availability section next to "Improved availability groups")
It needs to be reworded to make it more clear what this means.

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

ID: fc0aab2f-c69c-e80c-6ed3-9f5957b5cb90
Version Independent ID: fc0aab2f-c69c-e80c-6ed3-9f5957b5cb90
Content: What's new in SQL Server 2022 - SQL Server
Content Source: docs/sql-server/what-s-new-in-sql-server-2022.md
Product: sql
Technology: release-landing
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@EitanBlumin -- Eitan, thank you for your feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@MikeRayMSFT -- Mike, please look into this issue.

Thank you @EitanBlumin  - reviewing.
Mike

Resolving in https://github.com/MicrosoftDocs/sql-docs-pr/pull/27471
#please-close


confusing error message for parseFloat() failures

parseFloat(2.7182818284590452354) on the JVM results in:
ceylon compile-dart:<PHONE_NUMBER>880900738 cannot be coerced into a 64 bit floating point value
ceylon.language.OverflowException "8736074210880900738 cannot be coerced into a 64 bit floating point value"
    at ceylon.language.Integer.getFloat(Integer.java:442)
    at ceylon.language.parseFloat_.parseFloat(parseFloat.ceylon:86)

which complicates troubleshooting (trying to find source data that aligns with<PHONE_NUMBER>880900738). I'm guessing this is an unintended consequence of https://github.com/ceylon/ceylon.language/pull/756.
cc @ePaul

@jvasileff do you agree with @c8d4ddf?

Oh, yeah, I forgot about nearestFloat. But the patch doesn't look good:
shared void run() {
    print(parseFloat("3.14159265358979323846")); // <null>
    print(parseFloat("2.7182818284590452354")); // 0.8736074210880901
}

and <null>, <null> on JS.

BTW - I guess I hastily read the stack trace before. The error in Integer isn't confusing as long as you notice it's coming from Integer.getFloat and not parseFloat.

Pfffff.
public class Java {

    public static void main(String[] args) {
        System.out.println(Double.parseDouble("2.7182818284590452354"));
    }

}

Output:
 2.718281828459045

Fixed!
This implementation is much better :-)


Consistently getting an error that "transformDevelopmentFabric.jar" is locked.

Error looks like this and generally occurs when trying to build multiple times consecutively:
Execution failed for task ':common:transformDevelopmentFabric'.
> java.nio.file.FileSystemException: C:\Users\Admin\Documents\Code\Physics-AndShips\common\build\libs\valkyrienskies-116-1.0.0-transformDevelopmentFabric.jar: The process cannot access the file because it is being used by another process.

It's resolved by killing all the background java processes on my PC. (but not gradlew --stop, make what you will of that)

Seems to no longer occur in v3


Brackets in ontology names

Fixes #306
Added a function for checking if a string is compliant with the Neo4j naming rules. When writing the node and edge files it is checked, whether the file name is compliant with the Neo4j naming rules. If not the file name is adapted accordingly by removing the characters in question.

Should we replace dots with underscores categorically?

From my point of view, there is nothing that speaks against it.
To get it right: Would this mean to

adapt the source code for the implicit inheritance to already produce compliant names e.g. KEGG_pathway
or would this mean to replace the dot with an underscore in the parse_label method?

Good question. I think since this is also a Neo4j-specific problem, for now the less deleterious way would be to change it at the latest possible moment, which is the parsing.
Something to keep in mind: if we do that, we need to update the docs again to explain and replace the dots in the examples.

Sounds good. I would propose to create an issue for this and implement it in a separate PR (then code and docs can be changed at the same time). Otherwise we first need to get the changes from the other branch.

OK, I'll merge this one after the current merge has completed. You can go ahead and do the separate issue / PR.


ubuntu minimal image_description creates dysfunctional link path

https://github.com/pluscloudopen/openstack-image-crawler/blob/main/templates/ubuntu_minimal.yml.j2#L34
creates no functional link. better use image_description: {{ metadata['baseURL'] }}{{ metadata['releasepath'] }} as it links to the page containing all recurring builds

Which generates:
https://cloud-images.ubuntu.com/minimal/releases/jammy/release
for example? Not much help. There is no release_notes.txt with details anymore. So it should better point statical to the release wiki
https://wiki.ubuntu.com/Releases
as it seems.


adopt versioning cadl ranch specs

Adopt the versioning tests from cadl ranch in our emitter.
https://github.com/Azure/cadl-ranch/tree/main/packages/cadl-ranch-specs/http/versioning

This needs design work to implement the various Typespec versioning decorators.


Create a sign up page for the patient.

Please assign me this issue

would you elaborate its layout? is it open?

Hey, these issues are for the participants of the Student Code-in Competition. But if you still want to take up the issue, you can. Currently, my main aim is to set up a google oAuth for the signup of both doctor and patient. I have added a separate signup form but the authentication is not there. So, the option of 'Sign up with Google' is left to add in the front-end. The backend is still left to set-up.

anagha i can help you with this! where do you want this sign up with google
option? on the sign up page ? if yes please tell the position ? i would put
up the option then you can link it to a google account and carry on:)
On Thu, Jul 30, 2020 at 7:02 PM Anagha-2000<EMAIL_ADDRESS>wrote:

Hey, these issues are for the participants of the Student Code-in
Competition. But if you still want to take up the issue, you can.
Currently, my main aim is to set up a google oAuth for the signup of both
doctor and patient. I have added a separate signup form but the
authentication is not there. So, the option of 'Sign up with Google' is
left to add in the front-end. The backend is still left to set-up.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Anagha-2000/PsychHelp/issues/2#issuecomment-666366480,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKIVCXDNSMRYOYONTGDS4DDR6FY5RANCNFSM4ODHM7WQ
.

Hey Palak, here's the issue for the same https://github.com/Anagha-2000/PsychHelp/issues/15
I was trying to work on it.


etcd default port is 2379

etcd client has register port 2379 at
https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt
So, we should change default port to 2379.

Thanks @RobberPhex!


Adds DAPR_GRPC_ENPOINT support to client

PR adds DAPR_GRPC_ENPOINT environment variable support to client.
Address parser respects http[s] schemes, and TLS query options, as per 0008-S-sidecar-endpoint-tls.md.
DAPR_GRPC_ENDPONT takes precedence over DAPR_GRPC_PORT.

Are the grpc and grpcs schemas intentional?

@mikeee cpuld you elaborate?
The schema should be (hopefully!) following https://github.com/dapr/proposals/blob/main/0008-S-sidecar-endpoint-tls.md

In the parser lines #168-169 the grpc/s schemas are permitted yet not parsed as there is no handling for those schemas e.g. grpcs://localhost:443 would result in no target. (I understand this is not what the proposal includes - reading this I would be slightly confused if not for the switch statement not explicitly catching tbe rest of the valid schemas)


WIP: Plugin Config Validation

refs #21

Pull Request Test Coverage Report for Build 156

41 of 46 (89.13%) changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.4%) to 87.429%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/coffee/synyx/frontpage/PluginsController.java
15
20
75.0%

Totals

Change from base Build 154:
0.4%

Covered Lines:
153

Relevant Lines:
175

💛  - Coveralls

Looks good, when the todo is done, and all jars were build.


add docker script

I hate typing ;-) so I added a script (with a menu) to create the docker, run the docker etc.

Maybe useful?

Thx


do not write empty tests to disk

Some tests are empty:
eg https://github.com/castor-software/pankti-experiments/blob/master/jitsi-jicofo/src/test/java/org/jitsi/jicofo/TestBridgeSessionPanktiGen.java

PR merged, thanks @gluckzhang. Closing this issue.