Fix resource_dir issue

Fixes #1143

I was thinking about some alternative solution. Maybe skipping the locations where the gcc intrinsics are and still adding the clang resource dir as resource dir? Does that make more sense? Maybe we should just keep this option in mind in case this solution is not working on some projects.


Improve on metric collections and distribution

Add new metrics to identify:

mean call pickup time
mean call length
max call length
max pickup time

Distribution should be configurable:

Should consider implementation into JMX
Database
JMS implementation
Live http streaming

JMX implemented in commit: 0e612e2db947dd66a4fe288ebabbdb548f73da67


Does not work with QUnit 2.17.0

I updated QUnit from 2.16.0 to 2.17.0 and my tests started to freeze. I think it's because of ember-cli-memory-leak-detector because my tests finish and then it freezes there - where I think memory leaks are detected.

Thanks for reporting. This may be related to https://github.com/steveszc/ember-cli-memory-leak-detector/issues/47
Seems like there are some changes in Qunit that break the fundamental way that this addon runs the leak detection and reports memory leaks.
I haven't had much time to work on this addon lately, but it will require some effort to get things working again with newer versions of Qunit.

Closing in favor of #49


Is it possible using monocular camera?

Hello
Thank you for releasing a great repo.
Is it possible using monocular camera?

We proposed our method targeting the LiDAR-based 3D object detection. But I think estimating the label uncertainty is also useful for monocular 3D object detection. But the input of network should be adaptively changed.


What shell features does Bash It require?

What shell options does Bash It require? Can I assume extglob is enabled (or turn it on without asking)?

I'm also interested into this. Especially extglob is useful (perhaps not irreplaceable, but useful).


[BUG] Autoinstall doesn't work when python already has a virtualenv set

Given the following .mise.toml:
[tools]
poetry = {version='latest', pyproject='pyproject.toml'}
python = {version="3.8", virtualenv="{{env.PROJECT}}/.venv"}

and having exported the following before navigating into my project:
export POETRY_VIRTUALENVS_CREATE=false
export MISE_POETRY_AUTO_INSTALL=1

My environment is correctly activated at ~/project/.venv/bin/python but when running python -m pip freeze, I receive empty output. Thus, poetry did not automatically install my project dependencies in my pyproject.toml.
I would like Poetry to use my given virtualenv within my project and not create its own buried in /Users/name/Library/Caches/pypoetry/virtualenvs/my-env-name
When I tried this without setting POETRY_VIRTUALENVS_CREATE=false, Poetry did install all of my dependencies from my pyproject.toml, but it created its own Poetry-managed venv, which I do not want.
How can I have poetry automatically install my dependencies into a venv located within my project directory (managed by me or Poetry, idc) when I navigate to the project root?

similar to my other thread, I'm just going to be very transparent. I don't work with python enough to be of that much help here.
If I find some time at some point I might be able to dig into this and figure out what to do. I just want to set expectations that this might be never. It also might be next wednesday when I have nothing better to do and feel particularly compelled and it turns out to be not that hard.
Dunno. Please help if you feel capable. I'm always in Discord if you want to chat about the mise side of things.


[CH] [Long Running] Update Clickhouse Version

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps developers understand the context and why for this feature, in addition to  the what)
Auto update clickhouse backend version so that gluten can use the newest Clickhouse to improve performence.
Describe the solution you'd like
Update clickhouse.version daily.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Compatible with current gluten

Run performanace test. no siginifant change.

Gluten Perf Test Pass, GlutenWithCHStandard tpch-data-sf100 total time 118871


Interesting Behaviour

First off, very cool. I am still playing with it, but it's looking gorgeous.
I'm not entirely certain about the Ambient node. I was stuck for a while trying to work out why everything was tinted blue (I added an invert color node to test what on earth was happening).

You can see that the result in the Add node does not match the final result. Which is very odd in of itself.
I found that if I removed the Ambient light node, everything worked as expected. So I had a bit of a hunt, and found that even though my Environmental Lighting (EL) was set to use the Skybox color, I had been playing with an ambient color a little while back. If I changed the EL to black, it resolved the problem also.

So even though I wasn't using the Ambient color in EL, this node still applied it. Why it didn't apply it to the result of the Add node, I do not know. But maybe an option to scale it in here is a solution (a multiply node to reduce the effect of the ambient light?)

It's odd that it is applied even though the Ambient light is not being used in the scene, and perhaps there is a way to prevent it from happening, but there are some pretty cool effects you can create by allowing scaling of the ambient lighting (perhaps not intuitive, but fun!)

Very cool seeing what you've been experimenting with, and scaling the ambient light pretty smart. I've noticed strange behavior with this myself, which is why I added the "Everything looks bright and washedout" section to the Readme. I've also modified this setup a bit in our own project to make it look right, but it seems to depend quite a bit on other configuration in the project like you mention.
No idea what's going on with the inverting node though. 😅


Improve FBFramebufferVideo robustness

I've been having difficulty with the reliability of the writing of video files when -[AVAssetWriter movieFragmentInterval] is set. The the following error will occur in -[AVAssetWriterInputPixelBufferAdaptor appendPixelBuffer: withPresentationTime:]
Jan 29 18:19:59  FBSimulatorControl[61710] <Error>: Failed to append frame at time 16.082559 seconds of pixel buffer with error Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSUnderlyingError=0x1095aa460 {Error Domain=NSOSStatusErrorDomain Code=-16341 "(null)"}, NSLocalizedFailureReason=An unknown error occurred (-16341), NSLocalizedDescription=The operation could not be completed}```

Once one error occurs, it'll keep happening for the rest of the recording session. I can't repro this when the `movieFragmentInterval` isn't set. By setting the interval to 5 seconds, it'll repro pretty consistently. You can switch on video recording in tests by launching them with the environment variable `FBSIMULATORCONTROL_RECORD_VIDEO` set to `YES`.

I've been unable to repro this with the interval set to 10s, even in `-[FBSimulatorLaunchTests testLaunchesMultipleSimulators]`, which should be particularly taxing since it launches three simulators and encodes them concurrently on separate queues. Perhaps setting the interval too low means that there isn't enough time to finish the write between intervals. I'll also create a radar to get better error reporting since `An unknown error occurred (-16341)` isn't very helpful.

Had a great deal of help with diagnosing the underlying cause of why setting a movieFragmentInterval could result in increased failure to write with @rfistman. Much of this comes down to the ordering and values of the CMTime passed to -[AVAssetWriterInputPixelBufferAdaptor appendPixelBuffer:withPresentationTime:]. I've documented some of @rfistman's advice in the implementation.
If media timing still proves to be troublesome then we can probably add some assertions or handling of inputs to ensure all timing is sequential.

@facebook-github-bot import

Merging for now, can follow up with further improvements in another PR.


Plugins API and documentation.

This is my current WIP API. I'm opening this PR to keep track of discussions and allow people to give their feedback on it. Maintainers with commit access feel free to push to this branch directly. Other people: feel free to create pull requests against the packages branch.
For now I only have created stubs for the basics, to show the general ideal. I will refine, move things around and make sure to order everything in a way that makes sense incrementally. This will likely require rewriting quite a few things for it to work, but it should be doable with a lot of copy-pasting action.
It might look a bit weird for now, but do keep in mind I have some kind of fancy RPC/data sharing between the client and the server planned, kind of like #275. I still haven't worked out the details of it. I am not planning on using EventEmitters at the moment (I will provide onXXX functions and methods to append/prepend to the function stack instead). I don't know how viable this is, but I love engineering new ways.
Design principle
My idea of a nice and powerful plugins API is to not restrict plugins at all. In order to provide plugins this, I suggest The Lounge and plugins share and run on top of the same core. Everything exposed by the core and plugins can be changed by other plugins through a practice known as monkey-patching. The idea behind this is very simple: assuming the core is sufficiently modular, most tasks that a plugin would want to achieve could be achieved by replacing or altering code in the core. Most of the currently most requested features would become relatively easy to implement in such an environment: for example, logging scrollback to a database could be accomplished by hooking the messages array and dynamically store and fetch back messages from the database backend. Another example: custom authentication and account provisionning would be achievable by replacing the current user loading function to fetch from however the backend works.
Additionally, specialized plugins will be able to provider higher level APIs which other plugins will be able to take advantage of. For example, custom command handlers could be handled by a command manager plugin that makes it easy to test/debug and change commands on a per-server/user/client basis.
Server-side and client-side plugins will run independantly, allowing users to install their own plugins without introducing a security risk on the server side. With the above point in mind, an abstraction layer could easily be made to allow running the same code on both the client and the server, dynamically using the best approach when available.
Data protection is handled by plugins by simply making variables and functions inaccessible outside of them by either not adding them to module.exports, or on the client-side by using closures.
Module installation and loading
The current plan is to load every modules on the server start, and to load every client-side modules when the page is loaded. Utility functions to support dynamic unloading of modules (by wrapping function replacements and hooking operations in a logged manner that allows restoring the original functions on unload). Unloading isn't an issue on the client (where dynamic unloading will be the most used) as the user can just reload the page.
Modules are responsible of turning themselves on and off in order to reduce the complexity of the plugins engine. If a user wishes to not use a module, said module should not be installed. The only exception to this rule will be a plugins blacklist configuration option that will allow to prevent a module from being loaded at all.
Client-side only modules, which will be installable by users, will be required to come in an archive format with all of its dependencies included as the server won't run npm or any other kind of package manager for security reasons. Server-side modules will have absolute freedom in the way they are distributed (git, npm, svn, zip archives). Their only requirement will be their availability in a specifically designated folder (either directly or through a symlink).
Client-side resources will automatically be mounted at /packages/$name/ and will point to a packages client/ directory. This is how plugins are expected to serve their client-side content.
Considerations and drawbacks
The monkey-patching method have obvious drawbacks:

Modules can easily take down an entire server. This particular issue can be avoided by the use of plugin wrappers running commonly used functions (custom commands, scrollback management, etc.) in try/catch blocks.

If API stability is not maintained, or plugins use undocumented internal APIs (which will be everything prefixed with _ in the code), then code will break.

It offers very limited access restriction. Client plugins will require an extra permission layer between data and the client to prevent changing internal variables.

Just to stick my oar in..
I've 3 modules/plugins I'd like to write for the current state of thelounge as my motivations are to have a more Slack like IRC experience:

replace <3 with the heart emoji

expand youtube and other linked media, e.g. instagram so they are playable inline

expand the /j shortcut to /join

my gut feeling is that 1 and 2 are probably extensions of the front end client as they effect presentation but 3 is probably an extension for the backend as it is similar to an additional command
these might be good example ideas instead of a hello world/dolly and i'm happy to dive in and work on them if someone gives me some pointers

@ruspow: it's not quite ready yet, it's more like a draft than anything else. But you can look at the eval plugin there: https://github.com/thelounge/lounge/blob/e15af1f7e1ff5217d815dbf9f934506c3126b483/packages/eval/index.js
It does not use the suggested API however, so it's still fairly limited and weird to work with.

Unsure if worth mentioning, but the way https://github.com/zeit/hyperterm has developed support for third party is interesting and quite powerful (using redux).

Unsure if worth mentioning, but the way https://github.com/zeit/hyperterm has developed support for plugins is interesting and quite powerful (using redux).

I haven't looked at their plugin API, but I noticed that they had more than 150 plugins a month after the project was created, so it seems indeed that they made it easy and powerful to write plugins!


Cannot pass instances of ProvidesSolution to SolutionProviderRepository::registerSolutionProviders

According to the SolutionProviderRepository contract, it should be possible to pass instances or class strings to registerSolutionProviders, but only class strings are supported by the contract implementation.

Hi @DieterHolvoet, good catch! Do you need to pass a ProvidesSolution instance for a specific reason? Otherwise I'll just fix the doc block. The singular registerSolutionProvider does seem to be correctly typed.

Passing instances would be useful. This way we can store solution providers in the dependency container. Some advantages: we can inject dependencies for more complex providers, we can provide a system for third-party modules to add solution providers, etc.

@AlexVanderbist any update on this? We could still really use this fix for the Drupal module.

@DieterHolvoet sorry about that! Lost track of this issue for a while. I'll look into it later this week.

I've merged the necessary changes for this to main. I'll tag a new version later today.
Just wanted to warn about the performance impact of adding instances to the SolutionProviderRepository. Depending on the solution provider, creating an instance of the provider and adding that to the provider repository every time the application boots, will add a bit more overhead compared to adding a class string and only initialising it when handling an exception.

Right, makes sense. Thanks for the effort! Will try it out in the Drupal module once you tag the new version.

I noticed you had to revert the contract change. Not a problem for me, I only need registerSolutionProviders and that one doesn't need a contract change. I updated the Drupal module. Thanks for your effort!


Empty set returned by a function with cardinality one, but not returned by an identical computed expression.

EdgeDB Version: 3.2+44862ed
EdgeDB CLI Version: 3.4.0+4d95a2c
OS Version: macOS 13.4.1

Steps to Reproduce:
Setup a database with the below schema.
Run the following query:
insert Challenge {
    visibility := "shown"
};

Execute the following query (note that test is a function identical to the computed's expression):
with
  challenge := (select Challenge limit 1),
  user := <User>{},
select {
  func := test(challenge, user),
  comp := (
    (user.is_admin ?? false)
    or (challenge.visibility = "shown")
    or (
      (challenge.visibility = "obfuscated")
      and ((user in challenge.solved_by_users) ?? false)
    )
  )
};

I get the following result:
{
  "func": null,
  "comp": true
}

Given that the expressions in the test function and the computed are identical, this doesn't make sense. The test function is also has a cardinality that requires a return value.
I have played around with modifying the expression (while keeping the computed and function identical) to find the minimal expression where this issue occurs and have found the following results:

Expression
 Result

(user.is_admin ?? false)
# or (challenge.visibility = "shown")
or (
  (challenge.visibility = "obfuscated")
  and ((user in challenge.solved_by_users) ?? false)
)

{
  "func": null,
  "comp": false
}

# (user.is_admin ?? false)
# or (challenge.visibility = "shown")
# or (
  (challenge.visibility = "obfuscated")
  and ((user in challenge.solved_by_users) ?? false)
# )

{
  "func": false,
  "comp": false
}

(user.is_admin ?? false)
# or (challenge.visibility = "shown")
# or (
  # challenge.visibility = "obfuscated"
  # and ((user in challenge.solved_by_users) ?? false)
# )

{
  "func": false,
  "comp": false
}

Schema:
module default {
    type User {
        required name: str {
            constraint exclusive;
        }
        required is_admin: bool {
            default := false;
        }
    }

    function test(challenge: Challenge, user: optional User) -> bool
        using (
            (user.is_admin ?? false)
            or (challenge.visibility = "shown")
            or (
                challenge.visibility = "obfuscated"
                and ((user in challenge.solved_by_users) ?? false)
            )
        );

    type Challenge {
        multi link solved_by_users: User;

        required property visibility: str;
    }
}

Testing further combinations:

# (user.is_admin ?? false)
# or
(challenge.visibility = "shown")
or (
  challenge.visibility = "obfuscated"
  and ((user in challenge.solved_by_users) ?? false)
)

{
  "func": true,
  "comp": true
}

(user.is_admin ?? false)
or (challenge.visibility = "shown")
# or (
#   challenge.visibility = "obfuscated"
#   and ((user in challenge.solved_by_users) ?? false)
# )

{
  "func": true,
  "comp": true
}

It seems to be the combination of the first and last conditions that cause the mismatch.
I have also tried replacing first condition ((user.is_admin ?? false)) with a variety of others (while keeping the final condition the same) and have not yet found another condition that causes this issue. I have tried the following (with notes in brackets about what I was testing):

1 + 1 = 2 (always true)
1 + 1 = 3 (always false)
<bool>{} ?? false (uses coalesce operator)
exists user (interacts with user)

This issue is bizarre.

Here's a reduced version:
create function test(user: optional Object) -> str using (
    (<str>user.id ?? "") ++ <str>(exists user)
);

scope> select test(<Object>{});
{}

Elvis spotted that the problem is that we are trying to fetch the User from the database at the top level of the function.
I think something is going wrong with the scoping when an optional argument is used both in an OPTIONAL (??) and a SET OF argument (IN in the original, EXISTS in my minimized version)

I can produce the issue without a function too:
edgedb> with user := array_unpack(<array<Object>>[])
....... select
.......     (<str>user.id ?? "") ++ <str>(exists user)
....... ;
{}

The issue is the same: when we ensure_source_rvar, it gets joined unconditionally, instead of using optional wrapping

It doesn't need to be an optional and a set of; having references in two separate optional arguments fails too:
scope> with c := array_unpack(<array<Card>>[])
...... select (c.name ?= c.element);
[]


Encode JWS messages with compact JSON

Currently, the JOSE header is encoded with unnecessary spaces. This makes the compact serialization larger than it needs to be. This requests compact JSON from Jansson.
Note that I have not run clang-format on this (see #98), but have run tests.

(I apologize, this PR included other PRs which wasn't intended.)


Update didn't run on specific time

The device configured to be updated at 3:00 was not updated, even a new version was available.
Update proceeded successfully on restart.

The problem is in low memory. Update check is started and it founds an update, but actual update download couldn't be started.


Custom Permissions Plugin?

The need for a custom permission plugin arises as the current permission plugin is incompatible to this plugin.

Maybe it will be compatible in the future 🤔🤫🤯

Good point, but i think we should try to make them both similar api(both being the two cache plugins) so permissionca can work with both

Good point, but i think we should try to make them both similar api(both being the two cache plugins) so permissionca can work with both

Getting data from the database is async so i dont think its possible
As getting from the old cache is sync


Sphinx cannot connect to my node anymore

I was using Sphinx Android for some months and suddenly it would no more connect to my node. It tries and always end up with the red bolt, disconnected.
What could I do? Can I hint my node IP or onion? By the way I have an hybrid node, can I force the connection over clear net?

Never figured out what was wrong but after restoring the account on a new phone it works again. I close for now.


M3-2355: fix SSL Certs and Private key updates (#4486)

Type of Change

Fix SSL Certs and Private key updates

Coverage decreased (-0.005%) to 34.969% when pulling fe06fd5cefdcd7f9abf28f879604822dceed3835 on rulikrulit:defect/M3-2355-ssl-field into eae0bb28f6e6082625a24bf25bb1b0967e0afde7 on linode:release-0.48.0.


feat: add fatima bio to about page

Changes

Add bio to about page

Preview

https://fatima-bio.firebaseapp.com/about/

merged and live!


EXPERIMENTAL_AUDIT Doc Update

Re: EXPERIMENTAL_AUDIT
Issue Description
file system permission for the file should be listed and/or modified.  The default has -rw-r--r-- which allows anyone access to the OS to read the audit log.
Suggested Resolution
recommended permission setting for the audit file

@robert-s-lee @rolandcrosby What should the file permissions be set to?

@a-entin for consideration for healthcheck


Couldn't build the application after adding the Plugin.FirebasePushNotification

I am getting following error after adding the Plugin.FirebasePushNotification.
project/iOS/clang: Error: no such file or directory: 'project/iOS/obj/iPhone/Release/mtouch-cache/FirebaseMessaging' (project.iOS)
project/iOS/clang: Error: no such file or directory: 'project/iOS/obj/iPhone/Release/mtouch-cache/FirebaseInstanceID' (project.iOS)
project/iOS/clang: Error: no such file or directory: 'project/iOS/obj/iPhone/Release/mtouch-cache/FirebaseCore' (project.iOS)
project/iOS/clang: Error: no such file or directory: 'project/iOS/obj/iPhone/Release/mtouch-cache/FirebaseCoreDiagnostics' (project.iOS)
project/iOS/clang: Error: no such file or directory: 'project/iOS/obj/iPhone/Release/mtouch-cache/FirebaseNanoPB' (project.iOS)
project/iOS/clang: Error: no such file or directory: 'project/iOS/obj/iPhone/Release/mtouch-cache/FirebaseAnalytics' (project.iOS)
project/iOS/error MT5209: Error: clang: error: no such file or directory: \

This seems more related to your local environment. Did you delete bin and obj folders?
Also clean the project and rebuild


moved adminrouter to the routes folder

Just moved the adminrouter to the router folder

Please make following changes

Made the changes as requested @yashodgayashan


Closed ms clone service issue

There is a bug with these lines:
https://github.com/Microsoft/botbuilder-tools/blob/08ff1fb1e2ef7b060549b57ee8189549556d04ce/packages/MSBot/src/msbot-clone-services.ts#L255
        command = `az account show `;
        if (args.subscriptionId) {
            command += `--subscription ${args.subscriptionId}`;
        }

The error is like this:

it should be
        command = `az account show `;
        if (args.subscriptionId) {
            command += ` --subscription ${args.subscriptionId}`;
        }
```.

Pull Request Test Coverage Report for Build 1529

0 of 0   changed or added relevant lines in 0 files are covered.
143 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-2.6%) to 64.67%

Files with Coverage Reduction
New Missed Lines
%

packages/Ludown/lib/ludown-translate.js
1
96.67%

packages/Ludown/lib/translate.js
15
55.06%

packages/Ludown/lib/translate-helpers.js
127
26.04%

Totals

Change from base Build 1528:
-2.6%

Covered Lines:
3819

Relevant Lines:
5607

💛  - Coveralls

This looks great to me. Assigned to @tomlm (the author of the code) to confirm before merge.

@Samurais Thanks for this fix! You're not the only one to hit this as @glennmusa beat you to it by a few days in #595
@tomlm is planning to publish a new version of this tool today. If you need it sooner (aka: right now) you can pull it from our daily build feed.


Added Prettier and ESLint

One of you can Push to Main. I added Prettier and ESLint. HTML and JS is inside this folder now. And i fixed the link between CSS and HTML so it should works fine. I tested it.

Bra


add january 28 2022 as autumnesque release date

note that the date is zero indexed. tried it locally to make sure it's correct

👍 LGTM

0 based index

Love it... FWIW, looks like ISO8601 would work too.


Issues deploying with mupx

When I tried to deploy with mupx I got the following error:
	-----------------------------------STDERR-----------------------------------
	j.target/fibers.node: Finished
	  COPY Release/fibers.node
	make: Leaving directory `/bundle/bundle/programs/server/node_modules/fibers/build'
	Installed in `/bundle/bundle/programs/server/node_modules/fibers/bin/linux-x64-v8-3.14/fibers.node`
<EMAIL_ADDRESS>node_modules/ansi-regex

<EMAIL_ADDRESS>node_modules/ansi-styles

<EMAIL_ADDRESS>node_modules/escape-string-regexp

<EMAIL_ADDRESS>node_modules/supports-color

<EMAIL_ADDRESS>node_modules/has-ansi

<EMAIL_ADDRESS>node_modules/strip-ansi

<EMAIL_ADDRESS>node_modules/type-of

<EMAIL_ADDRESS>node_modules/amdefine

<EMAIL_ADDRESS>node_modules/asap

<EMAIL_ADDRESS>node_modules/underscore

<EMAIL_ADDRESS>node_modules/meteor-promise

<EMAIL_ADDRESS>node_modules/promise

<EMAIL_ADDRESS>node_modules/source-map-support

<EMAIL_ADDRESS>node_modules/semver

<EMAIL_ADDRESS>node_modules/source-map

<EMAIL_ADDRESS>node_modules/fibers
	=> Starting meteor app on port:80

	=> Redeploying previous version of the app

	-----------------------------------STDOUT-----------------------------------

	To see more logs type 'mup logs --tail=50'

	----------------------------------------------------------------------------

The logs don't show anything out of the ordinary.
------------------------------------------------
Configuration file : mup.json
Settings file      : settings.json

[<IP_ADDRESS>]
><EMAIL_ADDRESS>install /bundle/bundle/programs/server/node_modules/fibers
> node build.js || nodejs build.js

make: Entering directory `/bundle/bundle/programs/server/node_modules/fibers/build'
  CXX(target) Release/obj.target/fibers/src/fibers.o
[<IP_ADDRESS>] npm WARN deprecated This version of npm lacks support for important features,
npm WARN deprecated such as scoped packages, offered by the primary npm
npm WARN deprecated registry. Consider upgrading to at least npm@2, if not the
npm WARN deprecated latest stable version. To upgrade to npm@2, run:
npm WARN deprecated
npm WARN deprecated   npm -g install npm@latest-2
npm WARN deprecated
npm WARN deprecated To upgrade to the latest stable version, run:
npm WARN deprecated
npm WARN deprecated   npm -g install npm@latest
npm WARN deprecated
npm WARN deprecated (Depending on how Node.js was installed on your system, you
npm WARN deprecated may need to prefix the preceding commands with `sudo`, or if
npm WARN deprecated on Windows, run them from an Administrator prompt.)
npm WARN deprecated
npm WARN deprecated If you're running the version of npm bundled with
npm WARN deprecated Node.js 0.10 LTS, be aware that the next version of 0.10 LTS
npm WARN deprecated will be bundled with a version of npm@2, which has some small
npm WARN deprecated backwards-incompatible changes made to `npm run-script` and
npm WARN deprecated semver behavior.
npm WARN package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
[<IP_ADDRESS>]   CXX(target) Release/obj.target/fibers/src/coroutine.o
[<IP_ADDRESS>]   CC(target) Release/obj.target/fibers/src/libcoro/coro.o
[<IP_ADDRESS>]   SOLINK_MODULE(target) Release/obj.target/fibers.node
[<IP_ADDRESS>]   SOLINK_MODULE(target) Release/obj.target/fibers.node: Finished
[<IP_ADDRESS>]   COPY Release/fibers.node
[<IP_ADDRESS>] make: Leaving directory `/bundle/bundle/programs/server/node_modules/fibers/build'
[<IP_ADDRESS>] Installed in `/bundle/bundle/programs/server/node_modules/fibers/bin/linux-x64-v8-3.14/fibers.node`
[<IP_ADDRESS>]<EMAIL_ADDRESS>node_modules/ansi-regex

<EMAIL_ADDRESS>node_modules/ansi-styles

<EMAIL_ADDRESS>node_modules/escape-string-regexp

<EMAIL_ADDRESS>node_modules/has-ansi

<EMAIL_ADDRESS>node_modules/strip-ansi

<EMAIL_ADDRESS>node_modules/supports-color

<EMAIL_ADDRESS>node_modules/type-of

<EMAIL_ADDRESS>node_modules/amdefine

<EMAIL_ADDRESS>node_modules/asap

<EMAIL_ADDRESS>node_modules/underscore

<EMAIL_ADDRESS>node_modules/meteor-promise

<EMAIL_ADDRESS>node_modules/promise

<EMAIL_ADDRESS>node_modules/source-map-support

<EMAIL_ADDRESS>node_modules/semver

<EMAIL_ADDRESS>node_modules/source-map

<EMAIL_ADDRESS>node_modules/fibers
[<IP_ADDRESS>] => Starting meteor app on port:80

Thanks.  I might only have a chance to look at this properly tomorrow.  In the meantime, can you confirm if your specific app still works/loads properly in meteor --production ?

The app runs fine with meteor --production

Thanks.  Can you remove any version info from gadicc:ecmascript-hot in your .meteor/packages file, run meteor update (it should update to v1.3.0_4), and see if this works now?

It's working! Thanks :)

Great stuff.  Thanks for the early report and for reporting back!


Removing the threaded Approval listener

This behavior will be handled by the minion.
Pulling it out here so there aren't 2 listeners vying for work.

Nice work @syncrou.  +0 −225  ✂ 🔥 ✂
Now to see if minion works.


El host de extensiones finalizó inesperadamente. Recargue la ventana para recuperarlo.

VSCode Version: Code 1.5.1 (07d663dc1bd848161edf4cd4ce30cce410d3d877, 2016-09-08T21:34:58.760Z)
OS Version: Linux x64 4.1.27-27-default

Steps to Reproduce:

@rvigia can you share more details in english please?

A number of days has past without answer on the questions asked. I am thereby going to close this issue to clean up our backlog of issues. Once you can answer on the questions, the issue can be reopened again. Thanks for understanding this process!

@bpasero I just installed Visual Studio Code today and I'm getting the same error regularly. In English it would say something like "The extension host terminated unexpectedly. Reload the window to recover it."
To reproduce it, just open a file and do some editing, reading, idling, whatever. Eventually the message appears at the top of the screen. The editor window is still usable while the message is visible.

VSCode version: Versión 1.11.0 (1.11.0)
OS version: macOS Sierra Versión 10.12.3

Here too

VSCode version: Version 1.11.0 (1.11.0)
OS version: macOS Sierra Version 10.12.4

@iainelder @BosioGerman
I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

I won't be able to check that until 2917-04-17 at the earliest. @BosioGerman , feel free to check it out in the meantime ;-)

VSCode Version: Code 1.11.1 (d9484d12b38879b7f4cdd1150efeb2fd2c1fbf39, 2017-04-06T14:00:34.044Z)
OS Version: Darwin x64 16.5.0
Extensions: the listing exceeds the lower minimum of browsers' URL characters limit

Steps to Reproduce:
Cant reproduce
code verbose output
[main 9:24:03] Starting VS Code in verbose mode
[main 9:24:03] from: /Applications/Visual Studio Code.app/Contents/Resources/app
[main 9:24:03] args: { _: [ '/Users/germanbosio/codigo/master/backupsql-api/tests/client_tasks' ],
help: false,
h: false,
version: false,
v: false,
wait: false,
w: false,
diff: false,
d: false,
goto: false,
g: false,
'new-window': false,
n: false,
'unity-launch': false,
'reuse-window': false,
r: false,
performance: false,
p: false,
'prof-startup': false,
verbose: true,
logExtensionHostCommunication: false,
'disable-extensions': false,
disableExtensions: false,
'list-extensions': false,
'show-versions': false,
nolazy: false }
[main 9:24:04] IPC#vscode-machineId
[39475:0407/092405:INFO:CONSOLE(28)] "Conflict detected, command workbench.action.terminal.clear cannot be triggered due to html.previewToSide", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[main 9:24:05] IPC#vscode-workbenchLoaded
[39475:0407/092406:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/092406:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/092407:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/092407:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/092407:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/092407:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/092407:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/092407:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/092407:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/092407:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/092504:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/092504:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/092531:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/092531:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
2017-04-07 09:30:50.065 Code Helper[39479:2448118] Couldn't set selectedTextBackgroundColor from default ()
[39475:0407/093104:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/093104:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/093116:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/093116:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/093152:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/093152:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/093214:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/093214:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/093222:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/093314:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/093314:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/093320:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/093320:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/093320:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/093320:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/093320:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/093321:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/093321:INFO:CONSOLE(29)] "TextEditor disposed", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/094343:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/094343:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/094513:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/094513:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/094652:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/094652:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1:
node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
2:
node::Environment::exports_string() const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
3: v8::Utils::ApiCheck(bool, char const*, char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
5: v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
6: v8::internal::String::SlowFlatten(v8::internal::Handlev8::internal::ConsString, v8::internal::PretenureFlag) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
7: v8::String::WriteUtf8(char*, int, int*, int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
8: node::StringBytes::Write(v8::Isolate*, char*, unsigned long, v8::Localv8::Value, node::encoding, int*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
9: node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
10: node::Buffer::CreateFromString(v8::FunctionCallbackInfov8::Value const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
11: 0x345b2a55df2f
[39475:0407/094708:INFO:CONSOLE(5)] "[uncaught exception]: Error: write EPIPE", source: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/bootstrap/index.js (5)
[39475:0407/094708:INFO:CONSOLE(5)] "Error: write EPIPE
at exports._errnoException (util.js:1026:11)
at WriteWrap.afterWrite (net.js:795:14)", source: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/bootstrap/index.js (5)
[39475:0407/094708:INFO:CONSOLE(160)] "Uncaught Error: write EPIPE", source: events.js (160)
[39475:0407/094708:INFO:CONSOLE(28)] "El host de extensiones finalizó inesperadamente. Recargue la ventana para recuperarlo.", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
<--- Last few GCs --->
1381093 ms: Mark-sweep 1344.5 (1480.6) -> 1344.5 (1487.6) MB, 489.4 / 0.0 ms [allocation failure] [GC in old space requested].
1381657 ms: Mark-sweep 1344.5 (1487.6) -> 1344.3 (1495.6) MB, 564.5 / 0.0 ms [allocation failure] [GC in old space requested].
1382232 ms: Mark-sweep 1344.3 (1495.6) -> 1344.3 (1456.6) MB, 574.6 / 0.0 ms [last resort gc].
1382794 ms: Mark-sweep 1344.3 (1456.6) -> 1344.3 (1452.6) MB, 561.8 / 0.0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x24cd009cc421
1: fromString(aka fromString) [buffer.js:~181] [pc=0x345b2af06867](this=0x24cd00904399 ,string=0x23ee911f4959 <Very long string[53035928]>,encoding=0x24cd00904399 )
2: t(aka t) [/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:~4] [pc=0x345b2afbe7fa](this=0x24cd00904399 )
3: _tickCallback(aka _...
[39475:0407/094708:INFO:CONSOLE(29)] "Extension host terminated unexpectedly. Code: ", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[39475:0407/094746:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[39475:0407/094746:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)

@BosioGerman
I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

Sorry, this is with --disable-extensions
germanbosio@MBP-2  ~/codigo/master/backupsql-api/tests/client_tasks   master  code --verbose --disable-extensions .                                                                                ([gone]|…)
[main 9:57:03] Starting VS Code in verbose mode
[main 9:57:03] from: /Applications/Visual Studio Code.app/Contents/Resources/app
[main 9:57:03] args: { _: [ '/Users/germanbosio/codigo/master/backupsql-api/tests/client_tasks' ],
help: false,
h: false,
version: false,
v: false,
wait: false,
w: false,
diff: false,
d: false,
goto: false,
g: false,
'new-window': false,
n: false,
'unity-launch': false,
'reuse-window': false,
r: false,
performance: false,
p: false,
'prof-startup': false,
verbose: true,
logExtensionHostCommunication: false,
'disable-extensions': true,
disableExtensions: true,
'list-extensions': false,
'show-versions': false,
nolazy: false }
[main 9:57:05] IPC#vscode-machineId
[main 9:57:06] IPC#vscode-workbenchLoaded
[42003:0407/095716:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[42003:0407/095812:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/095812:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/095946:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/095946:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100008:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100008:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[main 10:00:12] App#activate
[42003:0407/100020:INFO:CONSOLE(29)] "%c[Extension Host]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[42003:0407/100026:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100026:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100028:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100028:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100057:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100057:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100129:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100129:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100159:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100159:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100300:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100300:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100315:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100315:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100459:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100459:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100511:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100511:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100617:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/100617:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1:
node::Abort() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
2: node::Environment::exports_string() const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
3: v8::Utils::ApiCheck(bool, char const*, char const*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
5: v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
6: v8::internal::String::SlowFlatten(v8::internal::Handlev8::internal::ConsString, v8::internal::PretenureFlag) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
7: v8::String::WriteUtf8(char*, int, int*, int) const [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
8: node::StringBytes::Write(v8::Isolate*, char*, unsigned long, v8::Localv8::Value, node::encoding, int*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
9: node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
10: node::Buffer::CreateFromString(v8::FunctionCallbackInfov8::Value const&) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
11: v8::internal::FunctionCallbackArguments::Call(void ()(v8::FunctionCallbackInfov8::Value const&)) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
12: v8::internal::Builtins::InvokeApiFunction(v8::internal::Isolate, v8::internal::Handlev8::internal::HeapObject, v8::internal::Handlev8::internal::Object, int, v8::internal::Handlev8::internal::Object*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
13: v8::internal::PrototypeIterator::AdvanceFollowingProxiesIgnoringAccessChecks() [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
14: 0x3e2265606147
15: 0x3e22661712be
<--- Last few GCs --->
913581 ms: Mark-sweep 1334.4 (1427.5) -> 1333.9 (1430.5) MB, 541.7 / 0.0 ms [allocation failure] [GC in old space requested].
914142 ms: Mark-sweep 1333.9 (1430.5) -> 1333.8 (1392.5) MB, 561.0 / 0.0 ms [last resort gc].
914694 ms: Mark-sweep 1333.8 (1392.5) -> 1333.8 (1383.5) MB, 552.1 / 0.0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x3675dc7cc421
1: fromString(aka fromString) [buffer.js:194] [pc=0x3e22661712be](this=0x3675dc704399 ,string=0x3665d23c47d9 <Very long string[53036605]>,encoding=0x3675dc7d5ed1 <String[4]: utf8>)
2: from [buffer.js:94] [pc=0x3e22661c5c52](this=0x1dc2ebd20711 <JS Function Buffer (SharedFunctionInfo 0x137d3cbf63e9)>,value=0x3665d23c47d9 <Very long string[53036605]>,encodingOrOffset=0x3675dc70...
[42003:0407/101220:INFO:CONSOLE(28)] "El host de extensiones finalizó inesperadamente. Recargue la ventana para recuperarlo.", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/101220:INFO:CONSOLE(29)] "Extension host terminated unexpectedly. Code: ", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (29)
[42003:0407/101508:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[42003:0407/101508:INFO:CONSOLE(28)] "%c[IPC Library: Watcher]", source: file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[main 10:15:12] App#activate
[main 10:15:35] Lifecycle#unload() 1
[main 10:15:36] IPC#vscode-machineId
[main 10:15:37] IPC#vscode-workbenchLoaded

@BosioGerman can you add your voice to https://github.com/Microsoft/vscode/issues/23960 I think this is where others are also seeing it.

Same problem on 1.16.1
Windows 10 x64

I have the same problem with the new Version 1.18!!!


XxOoRr (July Long Challenge)

Aim

@ravikr126 Please assign this issue to me
Details

What the features will your script have

Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

Can I try in c++ or python


1.6 regression: "docker exec -i" hangs when process terminates

The 2nd command hangs forever on 1.6. Works fine on 1.5
$ id=$(docker run -d ubuntu:14.04 /bin/bash -c 'sleep 100000000')
$ docker exec -i $id /bin/bash -c 'exit 0'

When using -it it works fine.

Can you try on the latest 'master' ?  I was able to reproduce it on the 1.6 branch, but not on the latest so I suspect its been fixed

@duglin where do I grab the latest master from?

 What's the policy in such cases?

I don't think we backport fixes very often but I'll let @jfrazelle address that one.

Hi!
If you are reporting a new issue (that does not have any duplicates already open) we would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO

let me find what commit it was

but I think this could be closed for now

@jfrazelle any luck in spotting the commit? We can't upgrade to 1.6 unless this is addressed

@omribahumi Was fixed in #12659

@LK4D4 @jfrazelle any chance this will be backported?

I do not think so but it will be in 1.7 which is due out in June, hopefully
that is soon enough
On Sunday, May 10, 2015, Omri Bahumi<EMAIL_ADDRESS>wrote:

@LK4D4 https://github.com/LK4D4 @jfrazelle
https://github.com/jfrazelle any chance this will be backported?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/12871#issuecomment-100598338.


Bump Gloo

Latest version of Gloo takes care of MPI_Init/MPI_Finalize for us, so
this commit removes handling that from caffe2/contrib/gloo. It also
imports CMake NCCL module changes from Gloo to stay consistent and
allow setting NCCL_INCLUDE_DIR and NCCL_LIB_DIR separately.

cc @lukeyeager


Make reading of DB files async

Needed for fixing Home Assistant problems like
2024-06-16 21:44:01.785 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'bosch' at custom_components/bosch/__init__.py, line 303: await self.gateway.check_connection() (offender: /usr/local/lib/python3.12/site-packages/bosch_thermostat_client/db/__init__.py, line 35: with open(file, "r") as db_file:), please create a bug report at https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/issues
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
    result = await _async_setup_component(hass, domain, config)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 447, in _async_setup_component
    await asyncio.gather(
  File "/usr/src/homeassistant/homeassistant/setup.py", line 449, in <genexpr>
    create_eager_task(
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 37, in create_eager_task
    return Task(coro, loop=loop, name=name, eager_start=True)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 742, in async_setup_locked
    await self.async_setup(hass, integration=integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/bosch/__init__.py", line 149, in async_setup_entry
    _init_status: bool = await gateway_entry.async_init()
  File "/config/custom_components/bosch/__init__.py", line 246, in async_init
    if await self.async_init_bosch():
  File "/config/custom_components/bosch/__init__.py", line 303, in async_init_bosch
    await self.gateway.check_connection()

The get_*_errors methods in bosch_thermostat_client/db/__init__.py are unfortunately still not async friendly. I'm not sure how to make them async friendly, as the methods are called in field initializers. I suspect we may have to rethink it a bit to make it work fine in Home Assistant going forward.

The get_*_errors methods in bosch_thermostat_client/db/__init__.py are unfortunately still not async friendly. I'm not sure how to make them async friendly, as the methods are called in field initializers. I suspect we may have to rethink it a bit to make it work fine in Home Assistant going forward.

I would suggest loading the errors into the BaseGateway object and reference them from there. I'll have a look if I can implement this.

@rikroe nice, thank you!


Support for AWS elasticache auto discovery

I honestly do not know from the docs if this is actually supported with the correct settings or not. But it would be nice to have. As of now we are just going to run with a single instance because we are in a hurry to get our app out. But we did get bit by this as our session would renew every few mins as it bounced from one server to the other.
The issue is covered in general here
http://stackoverflow.com/questions/17046661/how-do-you-implement-aws-elasticache-auto-discovery-for-node-js

@andrewluetgers You can use the names for each node as shown in the ElastiCache console under "Nodes" for your cluster (eg. api.abcde12345.NNNN.apse2.cache.amazonaws.com where NNNN is 0001,0002,0003,etc) in your node-memcached server array. It won't update if you grow/shrink your cluster, but does prevent the bouncing issue.
Having said that, support for the config get cluster command would be awesomesauce :+1:

Any update on this?

https://github.com/3rd-Eden/memcached/pull/284

Hard to believe that this was never implemented from end to end.
The config command is nice to have but you still have to create two clients manually and do the interval polling on your own.  It would be nice if this library supported it natively.


Struggling with parameterizing type level scale

Hi, I'm trying to use the lib to round up decimals at different places past the decimal point without reducing the scale.
I.e. to have roundHalfUp that would take a decimal and an Integer that would specify at what place past the decimal point the decimal should be rounded.
e.g. (pseudocode)roundHalfUp  2.415  2 would return 2.42 (round at 2 places after the decimal point)
Code is looking something like this:
roundDecimalBy ::
  D.Round r UnderlyingIntegral =>
  KnownNat k =>
  KnownNat n =>
  Proxy k ->
  D.Decimal r (n + k) UnderlyingIntegral ->
  D.Decimal r n UnderlyingIntegral
roundDecimalBy _ d = D.roundDecimal d

roundHalfUp :: MyDecimal -> Integer -> Either SomeException MyDecimal
roundHalfUp (MyDecimal d) (someNatVal . naturalFromInteger -> (SomeNat n)) =
  map MyDecimal . D.scaleUpBounded $ roundDecimalBy n d

basically I'm trying to drive the scale change between scaleUpBounded and roundDecimal with an Integer value.
The hardship seems to be that scale is at the type level, so I need some dependently typed trickery to get this to work.
Would appreciate guidance on how to make this work.
Thank you

ok I got it working as follows, but would really like to avoid the magic case statement and make it work for full range of Nat.
type Drs r s = D.Decimal r s UnderlyingIntegral

type Dr r = Drs r Scale

type Ds s = forall r. D.Round r UnderlyingIntegral => Dr r -> Drs r s

roundBy :: Integer -> (forall r. D.Round r UnderlyingIntegral => Dr r -> Either SomeException (Dr r))
roundBy = \case
  0 -> D.scaleUpBounded . (D.roundDecimal :: Ds 0)
  1 -> D.scaleUpBounded . (D.roundDecimal :: Ds 1)
  2 -> D.scaleUpBounded . (D.roundDecimal :: Ds 2)
  3 -> D.scaleUpBounded . (D.roundDecimal :: Ds 3)
  4 -> D.scaleUpBounded . (D.roundDecimal :: Ds 4)
  5 -> D.scaleUpBounded . (D.roundDecimal :: Ds 5)
  6 -> D.scaleUpBounded . (D.roundDecimal :: Ds 6)
  7 -> D.scaleUpBounded . (D.roundDecimal :: Ds 7)
  8 -> D.scaleUpBounded . (D.roundDecimal :: Ds 8)
  9 -> D.scaleUpBounded . (D.roundDecimal :: Ds 9)
  _ -> const $ throwM RoundingSpotOutOfBounds

roundHalfUp :: MyDecimal -> Integer -> Either SomeException MyDecimal
roundHalfUp (MyDecimal d) i = MyDecimal <$> roundBy i d

@symbiont-alexey-babkin You are exactly right, the way it is implemented now it does need some depend typing.
However it doesn't have to be that way. I'll make sure next version of safe-decimal will have rounding functions that don't change scaling of the decimal.
I wanted to experiment with this and see if I can get  a solution for you by relying on the dependent types approach and I almost got it, but I hit a snag. Unfortunately, as far as GHC type checker is concerned, m ~ (n - k) is not the same as n ~ (m + k), so if we had this for roundDecimal's type signature:
roundDecimal' :: KnownNat k => Decimal r n p -> Decimal r (n - k) p

instead of this:
roundDecimal :: KnownNat k => Decimal r (n + k) p -> Decimal r n p

then I could use reflection package and its tricky reifyNat function to get what we want:

scaleUpProxy' :: forall k r n.  (Round r Integer, KnownNat n)
  => Integer
  -> Decimal r n Integer
  -> Decimal r n Integer
roundDecimalBy k d =
  reifyNat (getScale d - k) $ \ px -> scaleUpProxy' px (roundDecimalProxy' px d)

and then we get:
λ> n <- arithM (1.2343567 :: Arith (Decimal RoundHalfUp 7 Integer))
λ> roundDecimalBy 5 n
1.2343600
λ> roundDecimalBy 4 n
1.2344000

But without the ghc's ability to infer the nat type variable's equality I can't figure it out. Maybe I'll just add
  roundDecimal' :: KnownNat k => Decimal r n p -> Decimal r (n - k) p

to the Round type class, just so others will not get into similar problem.


sd_colors(with: returns nil

I'm trying to use sd_colors(with: )  and getting back nil.  Here's the code that I'm using and I've tried a few different CGRect values and I get the same thing. I know I'm getting an image back because I can see the image and I can successfully use image.sd_color(at: CGPoint(x: 50, y: 50)) and get back a color.
WebImage(url: URL(string: logURL))
    .onSuccess { image, _, _ in
        image.sd_colors(with: CGRect(x: 0, y: 50, width: 128, height: 128))
    }

hi, you need to force unwrap your URL, change URL(string: logURL) to URL(string: logURL)!

For this issue, a demo url is better to reproduce this and fix (maybe) bugs.
The unit test for sd_color runs coorectly. So this must be some rare case.

I forced unwrapped the URL and I'm still getting back nil.  Here's my sample code with a URL.
  var body: some View {
       VStack {
           GeometryReader { geo in
               let frame = geo.frame(in: CoordinateSpace.local)
           WebImage(url: URL(string: "https://logo.clearbit.com/google.com")!)
               .onSuccess { image, _, _ in
                   print("webImage \(String(describing: image.sd_color(at: CGPoint(x: frame.origin.x + 40, y: frame.origin.y + 40))))")
                   print("webImage \(String(describing: image.sd_colors(with: CGRect(x: frame.origin.x + 40, y: frame.origin.y + 40, width: geo.size.width, height: geo.size.height))))")
                 }
           Text("Hello, World!")
                   .position(x: frame.origin.x + 40, y: frame.origin.y + 40)
           }
       }
   }

Print console:
webImage Optional(UIExtendedSRGBColorSpace 0.980392 0.992157 0.984314 1)
webImage nil

I guess you misunderstand the API of sd_colors(at:) point.
The point is based on the Image itself resolution and space. So, you should use CGPoint(x: 40, y: 40), not the frame origin.

sd_colors(at:) has only image information, not know about the coordinate space of the container view. And actually 100 UIView can host single image at the same time :)


BLD: fix missing Python include for Homebrew builds.

Doesn't show up for older Homebrew installs because that didn't used to use
distutils.cfg.  Closes gh-5154.

Does numpy need something like this also?

Does numpy need something like this also?

Only npysort uses add_library, and as far as I can tell so quickly it doesn't use Python includes (but please double check that).

Rebased. I plan on merging this in a couple of days and backporting it to 0.16.x

lgtm


Add health-checking to Python

Adds the initial reference implementation for health-checking in gRPC
Python as a separate project (but within the same grpc package to keep
namespaces consistent).
If this looks good I'll flesh out the (rather malnourished-looking) comments and such.

n.b. this also adds a custom command currently unique to the health checking project, and thus to 'test' that command (meta-project testing? is that a thing we care about?) it's installed in build_python.sh.

This looks good; please flesh it out.

LGTM; waiting on test results.

The python-dbg test seems to be failing pretty consistently at the current revision point; please address.

I'd missed an opt hanging out in build_python.sh. The recent push should fix that.

I see green; merging.


MINOR: initialize Serdes with ProcessorContext

@guozhangwang

LGTM: for ProcessorContextImpl serdes are given by the configs anyways, for MockProcessorContext we use the specified serdes.


document may not be correct

3 issues:

About “Register the IdentityExperienceFramework application” and “Register the ProxyIdentityExperienceFramework application”, both have instruction for “Under Supported account types, select Accounts in this organizational directory only”. However if you do so, the application is not a B2C application and will not be available to choose in user flow. Please refer to this discussion.
About “Test the custom policy”, it should be “user flow”.
It asks to test webapp1 but there's no webapp1.

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

ID: bee63035-00ee-f7fd-97a1-69dae5f808ef
Version Independent ID: a3447928-73cc-0290-6d46-b89234757e3b
Content: Get started with custom policies - Azure AD B2C
Content Source: articles/active-directory-b2c/custom-policy-get-started.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@Calvin-Yuhui-Liu, Thanks for the feedback! We are taking a look into this and will get back to you soon.

@msmimart, Can you please look into this doc-update request.

#reassign:mmacy
Hi @Calvin-Yuhui-Liu, here are responses to your questions:

About “Register the IdentityExperienceFramework application” and “Register the ProxyIdentityExperienceFramework application”, both have instruction for “Under Supported account types, select Accounts in this organizational directory only”. However if you do so, the application is not a B2C application and will not be available to choose in user flow. Please refer to this discussion.

In this case, the application registrations should be configured as described in the article. These two applications are used by the Azure AD B2C back-end for manipulation of local user accounts. Your applications do not use these two registrations directly. Register them as described in the article.

About “Test the custom policy”, it should be “user flow”.

It is indeed custom policy. In the section above, Upload the policies, you upload the SignUpOrSignin.xml which contains the specified policy:
https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/blob/master/SocialAndLocalAccounts/SignUpOrSignin.xml#L8

It asks to test webapp1 but there's no webapp1.

As listed in the Prerequisites section, the second bullet specifies:

Register your application in the tenant that you created so that it can communicate with Azure AD B2C.

In that article, you register an application that you name webapp1. If you named it differently when completing the steps in that article, use the name you specified instead of webapp1.

Hi Marsh,
Thanks for following up. I knew I was wrong for the 2nd and 3rd issue. But I'm still confused about the 1st one. I'll check it again. Thanks.
Best regards,
Calvin

From: Marsh Macy<EMAIL_ADDRESS>Sent: Tuesday, May 26, 2020 10:24 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Calvin Liu<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] document may not be correct (#55576)
#reassign:mmacy
Hi @Calvin-Yuhui-Liuhttps://github.com/Calvin-Yuhui-Liu, here are responses to your questions:

About “Register the IdentityExperienceFramework application” and “Register the ProxyIdentityExperienceFramework application”, both have instruction for “Under Supported account types, select Accounts in this organizational directory only”. However if you do so, the application is not a B2C application and will not be available to choose in user flow. Please refer to this discussionhttps://github.com/MicrosoftDocs/azure-docs/issues/51826.

In this case, the application registrations should be configured as described in the article. These two applications are used by the Azure AD B2C back-end for manipulation of local user accounts. Your applications do not use these two registrations directly. Register them as described in the article.

About “Test the custom policy”, it should be “user flow”.

It is indeed custom policy. In the section above, Upload the policieshttps://docs.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-get-started?tabs=app-reg-preview#upload-the-policies, you upload the SignUpOrSignin.xml which contains the specified policy:
https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/blob/master/SocialAndLocalAccounts/SignUpOrSignin.xml#L8

It asks to test webapp1 but there's no webapp1.

As listed in the Prerequisiteshttps://docs.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-get-started?tabs=app-reg-preview#prerequisites section, the second bullet specifies:

Register your application<tutorial-register-applications.md> in the tenant that you created so that it can communicate with Azure AD B2C.

In that article, you register an application that you name webapp1. If you named it differently when completing the steps in that article, use the name you specified instead of webapp1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/55576#issuecomment-634163893, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKD27PTS4LCLOIJQYYRD2BTRTP3NXANCNFSM4NJKYFUA.

Only Microsoft employees can manage issues via commenting in this repo.

@Calvin-Yuhui-Liu This is indeed one of the more challenging things to set up in Azure AD B2C. The good news is that you only need to register those two applications once, so it's "set-it-and-forget-it" once you have them created (and assuming they're configured as described in the article).

Hi @Calvin-Yuhui-Liu, checking in to see how it's going on this issue. If you're all set, let us know and we can close it out. Otherwise, let us know what additional information you require and we can work through it.

Hi @Calvin-Yuhui-Liu, I'm going to request that this issue be closed as no doc updates are currently required. As mentioned in https://github.com/MicrosoftDocs/azure-docs/issues/55576#issuecomment-635457717, if you have further questions, please let us know.
#please-close

@mmacy  thanks for explanation. I think, that problem with this doc is that it is not implicite explained, that these 2 registrations (ProxyIdentityExperienceFramework  and IdentityExperienceFramework ) are for internal policies use, so I was thinking that these should be my e.g. front end and backend app. I suggest to add your explanation to document.

@jarekkoziol Agreed. I'll take a crack at better explaining the "for internal use only" nature of those app registrations. Will update here and in #57403 when it's live.
Cc: @msmimart

Now in my understanding the "for internal use only" actually means it's a set of configuration that Identity Experience Framework will use. But I'd suggest you share a diagram of architecture of B2C components. And it'll make everything easier to understand. Thanks.


error: use of undeclared identifier 'memset'

OS: Windows  Version 0.8.23
Hi:
When i user CppSharp,it show error like this " error: use of undeclared identifier 'memset'",how can i solved this error?Thanks!

Looks like you're missing some includes in the code you're trying to parse.
Try adding include to cstring.

Thanks,it's works


Convert - Go Program Generated with Malformed Import Statements

What happened?
Generating a go program which includes non-Pulumi owned Provider Packages, results in malformed import statements sometimes. Eg- In the example below the eventstorecloud import statement incorrectly inserts pulumi as the repo, however, the grapl-security import statement is correctly generated.
Steps to reproduce
Install eventstorecloud and grapl-security plugins:
pulumi plugin install resource eventstorecloud v0.2.3 --server https://github.com/EventStore/pulumi-eventstorecloud/releases/download/v0.2.3
pulumi plugin install resource grapl-security [version] --server https://github.com/grapl-security/pulumi-hcp/releases/download/v[version]
Create new program:
pulumi new yaml
Replace Pulumi.yaml with:
name: yaml-config-convert
runtime: yaml
description: A minimal Pulumi YAML program

#configuration:
#variables:     {}
resources:
  eventStoreProvider:
    type: pulumi:providers:eventstorecloud
  graplProvider:
    type: pulumi:providers:hcp
#outputs:       {}

Convert to go:
pulumi convert --generate-only --language go --out ./go
Expected Behavior
Import statements are generated correctly for all providers.
Actual Behavior
grapl-security import statement is correctly generated, however, the eventstorecloud import statement is malformed (it's treated as if it's located in a Pulumi repo):
package main

import (
	"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
	"github.com/pulumi/pulumi-eventstorecloud/sdk/go/eventstorecloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := eventstorecloud.NewProvider(ctx, "eventStoreProvider", nil)
		if err != nil {
			return err
		}
		_, err = hcp.NewProvider(ctx, "graplProvider", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Output of pulumi about
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

https://github.com/EventStore/pulumi-eventstorecloud/blob/main/provider/cmd/pulumi-resource-eventstorecloud/schema.json#L1076
eventstores schema has the wrong go import path.

Closing as issue exists in provider package.