Clashes with LWJGL on Linux

I have a very specific problem and may be related to #30? I'm unfortunately not very knowledgeable about how the JVM interacts with native system calls, so this is a little out of my league.
My application requires LWJGL to operate. I have a Compose application that launches a jMonkeyEngine application—this is dependent on LWJGL. When LWJGL2 is on the classpath, attempts to open the file picker open an old, legacy file chooser:

This is also printed to the console: A call to chooseDirectoryNative failed: 'org.lwjgl.system.CustomBuffer org.lwjgl.PointerBuffer.rewind()'

If I instead package LWJGL3, the true, native picker is opened:

However, the JVM will sometimes crash when selecting a file. (Seemingly randomly, it happens maybe half the time?) When it crashes the JVM does a memory dump, so I've attached that here.

I package LWJGL by adding either of these dependencies to my Gradle build script: implementation("org.jmonkeyengine:jme3-lwjgl:3.5.2-stable") or implementation("org.jmonkeyengine:jme3-lwjgl3:3.5.2-stable").

Therefore, I expect the file picker to load the native file picker (as seen in the second screenshot) without crashing. But—depending on the LWJGL version on the classpath—it either loads a legacy file picker, or randomly crashes.
If there's any other information I can provide, let me know.

thanks for the detailed report! I think we may have a fix for this in the next release.

My application is based on Java 11 so I can't currently upgrade to 2.0.2, currently at 1.2.0.
I'm not opposed to migrating my application to 17 (in fact I probably should) so I'll see if I can get that migrated and see if the issue persists.

On Java 17 now and version 2.0.2. Having LWJGL3 on the classpath produces no problems (at least, I can't get it to crash). LWJGL2 still produces the legacy file picker and a new message is printed to console. First launch of file picker: A call to chooseDirectoryNative failed: null and subsequent calls: A call to chooseDirectoryNative failed: Could not initialize class org.lwjgl.system.MemoryStack.
So my personal issue is resolved... don't know if this LWJGL2 issue is something you want to pursue or not...


[REVIEW] rukundob451

GitHub Profile Link
https://github.com/rukundob451

Thank you for giving me this opportunity and I will indeed contribute more and more

Great profile! I liked it! I have made a pull request in your README
profile for some improvements (they are shown in the Git diff). 🙂
Thank you for sharing your profile with the community! 😄👍

Thank you for sharing, we will review on a live stream soon 👍

Liked your profile 😀👍Your contributing graph is looking amazing!

Great profile! I liked it! I have made a pull request in your README
profile for some improvements (they are shown in the Git diff). 🙂
Thank you for sharing your profile with the community! 😄👍

Thank you indeed, I hope to learn more and more and be able to become a better contributor

Thank you for sharing, we will review on a live stream soon 👍

Thank you so much Eddie, extremely happy for it to be reviewed in the live stream. Super pumped for it.

Liked your profile 😀👍Your contributing graph is looking amazing!

Am glad you liked it, be sure to connect so that we can contribute more and more indeed.

Great profile! I liked it! I have made a pull request in your README
profile for some improvements (they are shown in the Git diff). 🙂
Thank you for sharing your profile with the community! 😄👍

Thank you indeed, I hope to learn more and more and be able to become a better contributor

You will have to merge my PR if you want to accept my changes. 🙂

Great profile! I liked it! I have made a pull request in your README
profile for some improvements (they are shown in the Git diff). 🙂
Thank you for sharing your profile with the community! 😄👍

Thank you indeed, I hope to learn more and more and be able to become a better contributor

You will have to merge my PR if you want to accept my changes. 🙂

I have finished merging your PR, thank you for the improvements made to my readMe.

At the point "How to reach me<EMAIL_ADDRESS>and benja_rukundo" maybe add a link to your twitter handle or say in text that this is your twitter handle.

I agree with @schmelto. Apart from what they said, all seems to be looking nice! Good job. 😄👍

I agree with @schmelto. Apart from what they said, all seems to be looking nice! Good job. 😄👍

Thank you so much, I want to learn about more feature on here and working with projects very well and being member of the Eddie Jaoude community indeed.

Reviewed on live stream https://www.youtube.com/watch?v=T14I0ECfPlU
Looks great some thoughts...

great clear and professional profile picture
great bio, love the open source enthusiast, I suggest removing upcoming
probably has too many widgets, suggest reducing them

Thanks for the profile review @eddiejaoude.


ASG removed and recreated when updating the launch template parameters

I'm a bit of a cloud formation noob but i have noticed that the iam role persists between stack updates. If i change values that have to do with the launch template, it destroys my launch template, my instances, and my asg. I noticed that the resources affected are usually the ones suffixed with the cf stack id. My iam role does not have this suffix.
In terraform, it would simply update the launch template version and assign the version to the existing asg. The instances could then be refreshed to get the latest changes from the template. If it works in terraform then this should be available in cf.
Edit: in the cloudformation stack

The LaunchTemplateName is unset so it must be auto generating that
The AutoScalingGroupName is also unset

If the above two parameters are hard coded like the iam role name, is there another parameter to set the asg or LT to use the latest version of the LT or is that the default in cloud formation?
Providing these values will allow us to update our stacks without having to check if our asg has a desired count greater than zero. If we update while the count is greater than zero then current builds are interrupted.

The launch template is part of the main stack yaml: https://github.com/buildkite/elastic-ci-stack-for-aws/blob/master/templates/aws-stack.yml#L814
The ASG itself is probably not being replaced, but CF will absolutely replace all the instances in the ASG because the template tell it to: https://github.com/buildkite/elastic-ci-stack-for-aws/blob/master/templates/aws-stack.yml#L971

If I change the security group, it will replace the asg and the launch template instead of reusing it.
Is there a relevant reason why those lines exist? Or can they be omitted so we can update the asg and lt instead of recreating?

I noticed that the resources affected are usually the ones suffixed with the cf stack id. My iam role does not have this suffix.

This is because we specify a name for the IAM role to allow it to be externally referenced:
https://github.com/buildkite/elastic-ci-stack-for-aws/blob/857e3f72aa0e002d9dcd113b4871f93327bc822a/templates/aws-stack.yml#L637

If I change the security group, it will replace the asg and the launch template instead of reusing it.

You can look in the Cloudformation docs for how updates are processed for resources:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html
It doesn't look to me like updating your security group will replace the LaunchTemplate, it should update in place. Are you certain that is happening? Can you show us an update plan?

Interesting. I haven't re-tested the security group but here's another example I saw today.
If I try to update the instance type, it will keep my iam roles, and it ends up creating a new ASG suffixed with the cloudformation ID, updating the AsgProcessSuspenderRole (cause of an inline policy that explicitly allowlists the ASG) and deleting the old ASG and its current instances that are running.
This seems like it could be avoided by setting the LaunchTemplateName and AutoScalingGroupName attributes.
Is there any reason to not set these?

For the ASG name, yes:

This name must be unique per Region per account

Getting that right with a pre-determined name isn't easy. Regardless, CF doesn't just replace an ASG because it feels like it. It replaces it because it needs to.
As for the Launch template, as it's specified in the same template, the Ref pointing to the ID is the correct way to reference this.
Can you show the CF update events that show that the resources are being replaced?

It looks like this decision was made in #272 and according to the UpdatePolicy docs the following conditions will cause a replacement of the ASG:

For AWS::AutoScaling::AutoScalingGroup resources, AWS CloudFormation invokes one of three update policies depending on the type of change you make or whether a scheduled action is associated with the Auto Scaling group.
The AutoScalingReplacingUpdate and AutoScalingRollingUpdate policies apply only when you do one or more of the following:

Change the Auto Scaling group's AWS::AutoScaling::LaunchConfiguration.
Change the Auto Scaling group's VPCZoneIdentifier property
Change the Auto Scaling group's LaunchTemplate property
Update an Auto Scaling group that contains instances that don't match the current LaunchConfiguration.
If both the AutoScalingReplacingUpdate and AutoScalingRollingUpdate policies are specified, setting the WillReplace property to true gives AutoScalingReplacingUpdate precedence.

Inside our LaunchTemplate, the security group is referenced like so:
https://github.com/buildkite/elastic-ci-stack-for-aws/blob/374bcc53a89b8c6c97404657f12af01caea4a886/templates/aws-stack.yml#L818-L821
LaunchTemplates are versioned, so changes to security groups should cascade to a new version of the LaunchTemplate and consequently an ASG replacement.
@lox any idea why we did this in #272? Is it worth considering changing it back to reduce ASG churn like this?

Sorry I missed that detail. Yes, this is a full replacement. I've has a number of bad rolling updates before this where the launch config was messed up but the stack rollback wasn't possible - replacing the whole ASG with a blue/green approach is better for stability.

WillReplace
Specifies whether an Auto Scaling group and the instances it contains are replaced during an update. During replacement, AWS CloudFormation retains the old group until it finishes creating the new one. If the update fails, AWS CloudFormation can roll back to the old Auto Scaling group and delete the new Auto Scaling group.

I see so it does do the replacement. Thank you for confirming.
Then would it be possible to have an additional input variable to prevent the replacement of the ASG?

@chloeruka I recall there being times when upgrades would hang due to graceful termination of old instances. The blue/green approach avoids that, but with the cost of rolling the new ASG.
I'm not sure I quite understand why it's a problem @nitrocode, could I trouble you to explain? The current design should be gracefully terminating instances and not interrupting builds, are you not seeing that?

@holmesjr
We could set the name to include the region so that it would still be unique per region per account.

@jamesholmes-linktree

I've had a number of bad rolling updates before this where the launch config was messed up but the stack rollback wasn't possible

I've updated a lot of stacks and I don't believe I've seen this issue before. Could you dive further into detail on this?

Existing jobs that are currently running will terminate as the asg needs to be recreated so every running ec2 instance will be terminated. This is annoying as we now have to check if there are any jobs running prior to updating which is difficult to enforce.

Does thus termination disruptive (does it kill running jobs), or does it wait for the jobs to finish before the instance shuts down?
One of the changes between v4.5.0 and v5.0.0 is we stopped using life cycle hooks (see #575). Maybe we still need them to keep stack upgrades minimally disruptive?

@yob yes the recreation can be disruptive however the easiest problem to solve would be to create the asg when the stack is created and prevent the asg from having to be recreated. I can't think of a reason why the asg should be destroyed unless the stack is destroyed.

Perhaps the easiest way to solve this is to override the WillReplace attribute with an input parameter.
What are your thoughts on this?

Hi all. I noticed that the enhancement label is on this issue. Any comments on the pr I'm proposing? I think a cloudformation param that will overwrite the WillReplace attribute is a best of both worlds solution.
We're thinking of cutting our own stack in the mean time but would prefer if this change made it in officially so we can get future updates without having to sync the changes.

Sorry about the delay @nitrocode — we're a small team so it can take some time for us to get around to items of this nature. Totally understand this would be a useful thing to have, but we're also generally pretty cautious with increasing our parameter count or introducing toggles that might have unexpected consequences, so I want to make sure it gets attention from all the right (very busy) people 😄

No problem, I believe the parameter count no longer has the previous limit. The new limit of parameters per stack is 200 as of recent if that helps loosen the restrictions 😁

It's true that the parameter count restriction has been increased, but we still want to consider the benefit/cost of new parameters carefully. The Elastic Stack is in a tricky place trying to support a wide range of users - some who are reasonably new to AWS and only want/need to modify 2 parameters to get going (Agent token, MaxSize, maybe InstanceType), and more experienced AWS users who legitimately want to make significant customisations to the stack behaviour.
At the extreme end, a stack with 200 knobs and dials would be very daunting to the new user who only needs 2.

That also presumes that all additional parameters need  to be set. I'd agree with this sentiment more if there wasn't an ability to set a default. Rightly so, most of the parameters in the stack have a default that the user will not need to override with the exception of the BuildkiteQueue.
I'd argue that adding additional parameters for further customization is a good thing provided the default of those parameters do not need to be changed and, of course, the current number of parameters are far from the limit.


Feature request: Save and Open local files

All the layers are in the browser. One can't get it back later once the browser is closed.
It will be great if one can save a file into their local drive and later retrieve it for editing and generating the GCODE.

Yes that can be a helpfull function +1

Yes, that would really, really be helpfull! +2 :-)

Added in #275


Verify that AF service can go away

Try out VEP and GRCh38 to make sure that AF service can be retired.

Seems to be working for me


Shipping methods not refreshed after country change in checkout

Current behavior
Shipping methods don't update in checkout whenever the shipping country is changed.
Expected behavior
Update shipping informaiton and download current shipping methods when the country is changed.

Repository
Occurs in stock VS, default theme.
Can you handle fixing this bug by yourself?

[ ] YES
[x] NO

Which Release Cycle state this refers to? Info for developer.
Pick one option.

[ ] This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
[ ] This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
[x] This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Environment details

Browser: Google Chrome Version 73.0.3683.86 (Official Build) (64-bit)
OS: macOS 10.14.3
Node: 8.15.0
Code Version: Up to this commit https://github.com/DivanteLtd/vue-storefront/commit/215aa17c3952c9c235dad2f5d5b757fcdfea7e9e

Additional information
Proposed fix: Based on https://vuejs.org/v2/guide/components-custom-events.html add a model key inside BaseSelect which remaps v-bind to emit change event instead of the default event (input) and $emit change instead of input.
Where to make the change: https://github.com/DivanteLtd/vue-storefront/blob/master/src/themes/default/components/core/blocks/Form/BaseSelect.vue#L33

Using @change.native works.

@revlis-x - thanks for You insight! Could You please prepare a Pull Request with a fix


404 on all the links on https://coreos.com/rkt/docs/0.10.0/commands.html

See $TOPIC.

Also: https://coreos.com/rkt/docs/0.11.0/ is missing

As this is coreos.com specific content, this isn't the right repository for this issue.


typo in README.md

i believe there's a small typo in README on Parallel section, where it's says "One thing to be aware of is that teach iteration..." i belive it should be  "One thing to be aware of is that each iteration..."

Fixed! ty


[Sema][Diagnostics] Avoid recording treat as rvalue fix if destination expr type is a type var

Don't record treats as rvalue fix in repairFailures for assignment when destination type is a type variable.

Resolves SR-14003.

Thanks @xedin!

Thanks @xedin!

@swift-ci Please smoke test

@swift-ci Please smoke test


Initial Pulze Provider

Draft of adding Pulze.ai as provider

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Fabian Baier seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for your review, I've updated the points. Let me know if there's anything else

Sorry for the delay on reviewing this, we're thinking about some redesigns to make things easier for users and plugin developers but we haven't forgotten!

Cool, no worries. We'll keep this PR up to date. Let us know if there's anything we can help you with.

Hey @fabianbaier, forgot to follow up on this one.
I think since we added support for model abstractions (e.g. custom model names) in https://github.com/grafana/grafana-llm-app/releases/tag/0.10.0, this PR is probably superseded and could be closed. Pulze should work out of the box now by specifying the URL and then setting the model abstractions (Base / Large) to the Pulze abstract model names (e.g. pulze).
wdyt?


nodelet_core: 1.9.14-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository nodelet_core to 1.9.14-0:

upstream repository: git://github.com/ros/nodelet_core.git
release repository: https://github.com/ros-gbp/nodelet_core-release.git
distro file: indigo/distribution.yaml
bloom version: 0.6.1
previous version for package: 1.9.10-0

nodelet
* declared_nodelets: continue on missing plugin xml (#70 <https://github.com/ros/nodelet_core/issues/70>)
* Contributors: Furushchev

nodelet_core

No changes

nodelet_topic_tools

No changes

holding for synchronized release..


Exclusion Sframe Error

Hi I'm trying to exclude some recommendations using 'exclude' in recommend() function but it shows this weird error   Exclusion SFrame must have both user and item columns.: ToolkitError Traceback (most recent call last): File "/var/task/lambda_function.py", line 53, in lambda_handler recommendations = model.recommend(user_id, k = int(size), exclude = exclude_pairs) File "/var/task/turicreate/toolkits/recommender/util.py", line 1315, in recommend response = _turicreate.extensions._recsys.recommend(opt) File "/var/task/turicreate/extensions.py", line 170, in <lambda> return lambda *args, **kwargs: _run_toolkit_function(fn, arguments, args, kwargs) File "/var/task/turicreate/extensions.py", line 159, in _run_toolkit_function raise _ToolkitError(ret[1]) ToolkitError: Exclusion SFrame must have both user and item columns.
so I tried to print the contents of sframe and it showed | item_id | user_id | +---------+-------------------------------+ | 17866 | 0ceefa422cb7df66e22643d211... | I'm assuming the sframe has all the contents, is there anything I'm missing ?

The exclude SFrame needs to contain two column, one for the id of the items and one for the id of the user. These columns must be named the same as those columns in your training data.
That should get you past the error, but in trying to give you a toy example I think I found a bug, see #1164

Ahh I see, I didn't use the same column name as my training data!

@TobyRoseman also help me understand if it is possible to  do something like {'item_id': ['c', 'b'], 'user_id': [1]} i.e. excluding multiple items or do I've to pass another dictionary to SFrame ?

If all of the rows in the exclude SFrame should have the same value for user_id you could do the following:
exclude = tc.SFrame({'item_id': ['c', 'b']})
exclude['user_id'] = 1


Isomorphic onEnter usage

I have a question about react-route hooks usage.
I'm writing an isomorphic react+redux application and I use onEnter hook to dispatch action that will fetch data from API like this:
<Router onEnter='fetchData(store)'>

And there's my hook function:
import {loadData} from 'path/to/data/actions';

export function fetchData(store) {
  return (nextState, replace, callback) => {
      store.dispatch(loadData())
        .then(() => callback())
        .catch(() => callback());
  };
}

When server side render my application it fetch data and then data fetched on client side.
How to avoid twice data fetching?

Presumably you'd need to rehydrate the store and check for the data on the client before rendering the router.


Added Dutch (NL-nl) translations.

Added some Dutch translations, as a thank you for some saved hours. 👍

LGTM, many thanks!


Fix "Script Create" dialog errors with metadata

Regression caused by the recent metadata refactor (#59452).
Actually, it seems that those metadata uses weren't really necessary, as I easily replaced them with local variables.

Thanks!

These metadatas WERE necessary, because they were saved with the EditorSettings resource. After this PR these information, i.e. state of disabled template checkbox and preferred templates per node type, are not saved anymore and go away with editor exit.


Module cache optimization with source maps

Generate source map data if source maps are enabled in aggregator options, regardless of whether or not they are asked for in the request.  This will avoid caching two version of the same built module (one with and one without source maps) in the module cache.

@ddumont - please review

OpenNTF » JavascriptAggregator #754 SUCCESS
This pull request looks good
(what's this?)

lgtm


[chore] Reduces amount of mocking by leveraging ops features

Description
This PR builds on what @benhoyt proposed in PR #55 and reduces the amount of mocking in unit tests. We remove need for mocking push, pull and exists alltogether.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that validate the behaviour of the software
[ ] I validated that new and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Nice! Looks like a good step in the right direction.


Add UserManagement feature flag

Summary
The following PR adds a feature flag for enabling User Management
Fixes: https://github.com/stacklok/minder/issues/3531
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[x] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 52.676% (-0.005%) from 52.681%
when pulling 7bcf30789543d7f04fd9e4e01536d3a124c37059 on feature-flag
into 15af232d49a54b01b893edc2bc6f36915277365f on main.

coverage: 52.681% (+0.005%) from 52.676%
when pulling 46a8f1f639366faf3dfbf52c501240bfddf5f8aa on feature-flag
into eedd6eeaab9486ce924e4e366b8c96d506efd1a1 on main.


Fix error caused by tabs in ENV

This commit replace '\t' with '\t' in the ENV command. This will allow
'export VAR=VAL' works properly when VAL contains '\t'.
Fixes #812.
Signed-off-by: WangJL<EMAIL_ADDRESS>

Just a simple replace here.
Replace
export JETTY_GPG_KEYS=AED5EE6C45D0FE8D5D1B164F27DED4BF6216DB8F\t2A684B57436A81FA8706B53C61C3351A438A3B7D
To
export JETTY_GPG_KEYS=AED5EE6C45D0FE8D5D1B164F27DED4BF6216DB8F\\t2A684B57436A81FA8706B53C61C3351A438A3B7D

Works. Thanks for the fix, @ForgetMe17! I will merge it.


Add more information to the /status endpoint

:white_check_mark: As soon as the application is up, the endpoint should respond with HTTP 200 containing information that:
connection to the database is stable
connection to the queue
connection to the middleware node is green - display version

@michele-franchi how do we wanna accommodate this to aeScan?

@janmichek for the context this was implemented purely for quick debugging purposes (quick check if the service dependencies are working fine). It wasn't requested by the aescan team


feat(auto-completion)

closes #107
Context-aware auto-completion features:

Gets suggestions for available type, block, and field names and also supported functions and attributes.
Suggest semantically correct attributes / types (i.e. don't display attributes that would be invalid in this context)

TODO

[ ] The auto-completion should also show inline docs (similar to JSDoc for Prisma Client JS)

WIP (this comment is being updated)
Awesome work 🎉, dropping some feedback here (some of these might just be not implemented features)
Note: I am on this commit: 3a0fd17585724

Should @@unique (and other @@) directives be suggested here? After a field line?

Probably a bug that I could reproduce at least for enum type. If I refer to an enum multiple times, it gets added to the suggesting list multiple times.

Bug: Suggestions have many @@s, if I press @@ multiple times without using the suggestions.

cmd + click aka jump to definition on a non-symbol or built in type should be a no-op. In current behavior, it jumps to the top of the file and yields an error.
I could do this for String type, @default directive and a field supplied to @@id.

Should be fixed now :)

Should @@unique (and other @@) directives be suggested here? After a field line?

According to the spec, block attributes can be placed anywhere inside a block.

Bug: Suggestions have many @@s, if I press @@ multiple times without using the suggestions.

should be fixed now

Bug: that I could reproduce at least for enum, model types. If I refer to an enum multiple times, it gets added to the suggesting list multiple times.

should be fixed now too

There is only one model Post in the schema that I am using, is it intentional that it lists two options for it on cmd+click as if there are multiple model Posts? IMO unambiguous jumps should just happen, without the selection dialog

I can't reproduce this using this schema:
generator db {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "windows"]
}

datasource db {
  provider = "postgresql"
  url      = env("AZURE_FUNCTIONS_WINDOWS_PG_URL")
}

enum UserType {
  CUSTOMER
  ADMIN
}

model User {
  email String   @unique
  name  String?
  posts  Post[]
  type  UserType

  @@id([email])
}

model Post {
  id        String   @default(cuid()) @id
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  published Boolean  @default(true)
  title     String
  content   String?
  authorId  String?
  User      User?    @relation(fields: [userEmail], references: [email])
  userEmail String?
}

Probably a bug, cmd+clicking on an unambiguous User model also lists enum UserType in jump targets, I think this happens with models that start with another model name too

Should be fixed now

Probably nitpick but this suggestion shouldn't come here

this is fixed now too :)

Nitpick - @@id when already used should not be in the suggestions

this is fixed now

Nitpick - @@id when already used should not be in the suggestions

done
2. Nitpick - Bug - cmd + hover yields an error message, if the schema is invalid (note the @@ in the schema). This should probably just work (error tolerant parser) or be a no-op.
https://www.loom.com/share/478c186e7e044f56aab0b34217ae83df
can not reproduce this
3. Nitpick - Bug (or feature) - cmd + click on the model yields two jump to options, one for itself and one for the usage
https://www.loom.com/share/70a40f5443be41a0a51eea52ea7a6ec9
can not reproduce this
4. Bug - jump to type definition has two fields even though it is not ambiguous. I am aware that you were not able to reproduce this, here is a video of what I observe though
https://www.loom.com/share/051510147592480f9bb84eaf3ada64f8
can not reproduce this
5. Bug - starting a directive autocompletion with a wrong character forbids future autocompletions
https://www.loom.com/share/5529ccdd80fd4f2ebf71440e8bea55b2
This only happens for field and block attributes - I'm working on that.

Based on: https://github.com/prisma/vscode/pull/129#pullrequestreview-417568091
2. Nitpick - Bug - cmd + hover yields an error message, if the schema is invalid (note the @@ in the schema). This should probably just work (error tolerant parser) or be a no-op.
I can confirm this behavior as well on OSX. I'm holding alt while hovering over User.
https://www.loom.com/share/c3415ec6d19f4d1d9672585aef5f7fa5

Re 2) Can confirm this on windows, Ctrl + Hover while schema is invalid:

Re 3) Can confirm on Windows with valid schema:

(Also interpret it the way Matt does though)
Re 4) This is actually 3 as well I think.

I think the issue does not lie in the current branch. I could reproduce all of your issues only in case there is another Prisma extension installed at the same time.


Updates to KitOps homepage

Updates to the texts and layout for the KitOps home page.

@amisevsk all these texts were created / editted by @Jwilliamsr i'll ask him to take a look to your comments. Thanks for the replies!
@Jwilliamsr can you please confirm what of these changes should i apply?


Debug symbols not being loaded in new Worker template project

Issue Description
Cannot debug projects. Symbols are not being loaded.
Steps to Reproduce
Clean install of Code-insiders and Omnisharp 1.23.16
create new directory and new console app or worker app
add default tasks
add breakpoint
press F5
Expected Behavior
Debugger should stop at breakpoint
Actual Behavior
Project runs and does not load debug symbols but files are created in build dir
Logs
OmniSharp log
Post the output from Output-->OmniSharp log here
C# log
Post the output from Output-->C# here
Environment information
VSCode version: 1.63.0-insider
C# Extension: 1.23.16
Mono Information
        OmniSharp using built-in mono
Dotnet Information
.NET SDK (reflecting any global.json):
 Version:   6.0.100
 Commit:    9e8b04bbff
Runtime Environment:
OS Name:     ubuntu
OS Version:  21.10
OS Platform: Linux
RID:         ubuntu.21.10-x64
Base Path:   /home/savaho/dotnet/sdk/6.0.100/
Host (useful for support):
Version: 6.0.0
Commit:  4822e3c3aa
.NET SDKs installed:
3.1.415 [/home/savaho/dotnet/sdk]
6.0.100 [/home/savaho/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.21 [/home/savaho/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0 [/home/savaho/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.21 [/home/savaho/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0 [/home/savaho/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-dotnettools
1.23.16

Please paste the output from your clipboard

Still the same after code update, can someone please advise some tips

Can you past the content of the debug console?

-------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (vsdbg) with
Visual Studio Code, Visual Studio or Visual Studio for Mac software
to help you develop and test your applications.
-------------------------------------------------------------------
info: ScraperSvc.Worker[0]
      Worker running at: 11/12/2021 13:30:41 -08:00
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /home/savaho/Documents/codex/ScraperSvc
The program '[18495] ScraperSvc.dll' has exited with code -1 (0xffffffff).

> Executing task: /home/savaho/dotnet/dotnet build /home/savaho/Documents/codex/ScraperSvc/ScraperSvc.csproj /property:GenerateFullPaths=true /consoleloggerparameters:NoSummary <

Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  All projects are up-to-date for restore.
  ScraperSvc -> /home/savaho/Documents/codex/ScraperSvc/bin/Debug/net6.0/ScraperSvc.dll

Terminal will be reused by tasks, press any key to close it.

What does your launch.json look like?

That is from an out of the box worker template. 2 breakpoints were set. Debug symbols were not loaded but the PDB files do exist in the build output. I have removed dotnet and code-insiders and re-installed clean. Not sure where to turn next
{
    "version": "0.2.0",
    "configurations": [
        {
            // Use IntelliSense to find out which attributes exist for C# debugging
            // Use hover for the description of the existing attributes
            // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
            "name": ".NET Core Launch (console)",
            "type": "coreclr",
            "request": "launch",
            "preLaunchTask": "build",
            // If you have changed target frameworks, make sure to update the program path.
            "program": "${workspaceFolder}/bin/Debug/net6.0/ScraperSvc.dll",
            "args": [],
            "cwd": "${workspaceFolder}",
            // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
            "console": "internalConsole",
            "stopAtEntry": false
        },
        {
            "name": ".NET Core Attach",
            "type": "coreclr",
            "request": "attach"
        }
    ]
}

{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "build",
            "command": "/home/savaho/dotnet/dotnet",
            "type": "process",
            "args": [
                "build",
                "${workspaceFolder}/ScraperSvc.csproj",
                "/property:GenerateFullPaths=true",
                "/consoleloggerparameters:NoSummary"
            ],
            "problemMatcher": "$msCompile"
        },
        {
            "label": "publish",
            "command": "dotnet",
            "type": "process",
            "args": [
                "publish",
                "${workspaceFolder}/ScraperSvc.csproj",
                "/property:GenerateFullPaths=true",
                "/consoleloggerparameters:NoSummary"
            ],
            "problemMatcher": "$msCompile"
        },
        {
            "label": "watch",
            "command": "dotnet",
            "type": "process",
            "args": [
                "watch",
                "run",
                "${workspaceFolder}/ScraperSvc.csproj",
                "/property:GenerateFullPaths=true",
                "/consoleloggerparameters:NoSummary"
            ],
            "problemMatcher": "$msCompile"
        }
    ]
}

I think maybe I misunderstood your initial comment. Are you saying you are ONLY seeing this problem for worker apps?

Also, can you:

Enable logging (instructions). The "Quick Method" should work fine.
Modify your program to add Console.WriteLine(Environment.ProcessId);
Try to debug and add the logs to this issue

No not just worker apps. that was just one test, I'm getting same results from a new console app and several of my other projects. I have even started code with a new user directory (--user-data-dir) and a fresh project same results..
-> (C) {"command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code - Insiders","adapterID":"coreclr","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true},"type":"request","seq":1}
-> (C) {"command":"launch","arguments":{"name":".NET Core Launch (console)","type":"coreclr","request":"launch","preLaunchTask":"build","program":"/home/savaho/Documents/codex/ScraperSvc/bin/Debug/net6.0/ScraperSvc.dll","args":[],"cwd":"/home/savaho/Documents/codex/ScraperSvc","console":"internalConsole","logging":{"engineLogging":false},"stopAtEntry":false,"__configurationTarget":5,"internalConsoleOptions":"openOnSessionStart","__sessionId":"06f97fcc-0188-4f25-9e2d-852075a37925"},"type":"request","seq":2}
<- (E) {"seq":4,"type":"event","event":"output","body":{"category":"console","output":"-------------------------------------------------------------------\nYou may only use the Microsoft .NET Core Debugger (vsdbg) with\nVisual Studio Code, Visual Studio or Visual Studio for Mac software\nto help you develop and test your applications.\n-------------------------------------------------------------------\n","severity":"ok"}}
-------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (vsdbg) with
Visual Studio Code, Visual Studio or Visual Studio for Mac software
to help you develop and test your applications.
-------------------------------------------------------------------
<- (R) {"seq":5,"type":"response","request_seq":2,"success":true,"command":"launch"}
<- (E) {"seq":6,"type":"event","event":"initialized","body":{}}
-> (C) {"command":"setBreakpoints","arguments":{"source":{"name":"Worker.cs","path":"/home/savaho/Documents/codex/ScraperSvc/Worker.cs","checksums":[{"algorithm":"SHA1","checksum":"4334059d5d2698c8edc327cbb3d7cb71be234599"},{"algorithm":"SHA256","checksum":"0eca3e4624596c8a2d0f4e7503b781da9d5dcc5b8f9652eec4d3912b99dcb4cb"},{"algorithm":"SHA1","checksum":"878651a35d283d9440166ecdb117c87d5278bfa4"},{"algorithm":"SHA256","checksum":"da5944d9cf75a12ea6abe7c56cc3d0ea2b174d131ed1fedc8334a9240ae9a62a"}]},"lines":[9,16,18],"breakpoints":[{"line":9},{"line":16},{"line":18}],"sourceModified":false},"type":"request","seq":3}
<- (R) {"seq":7,"type":"response","request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":9},{"id":2,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":16},{"id":3,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":18}]}}
-> (C) {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":4}
<- (R) {"seq":8,"type":"response","request_seq":4,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}}
-> (C) {"command":"setExceptionBreakpoints","arguments":{"filters":[],"filterOptions":[{"filterId":"all"},{"filterId":"user-unhandled"}]},"type":"request","seq":5}
<- (R) {"seq":9,"type":"response","request_seq":5,"success":true,"command":"setExceptionBreakpoints","body":{"breakpoints":[{"verified":true},{"verified":true}]}}
-> (C) {"command":"configurationDone","type":"request","seq":6}
<- (E) {"seq":10,"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/vsdbg/ProcessCreate","data":{"VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"21.10","VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"ubuntu","VS.Diagnostics.Debugger.vsdbg.OSFamily":"Linux","VS.Diagnostics.Debugger.vsdbg.Version":"17.0.10712.2 commit:70a83505117741ba30f92c713a4bb0d0395c3197"}}}
<- (E) {"seq":11,"type":"event","event":"process","body":{"name":"/home/savaho/Documents/codex/ScraperSvc/bin/Debug/net6.0/ScraperSvc.dll","systemProcessId":21015,"isLocalProcess":true,"startMethod":"launch"}}
<- (E) {"seq":12,"type":"event","event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":1,"verified":false,"message":"No symbols have been loaded for this document.","line":9}}}
<- (E) {"seq":13,"type":"event","event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":2,"verified":false,"message":"No symbols have been loaded for this document.","line":16}}}
<- (E) {"seq":14,"type":"event","event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":3,"verified":false,"message":"No symbols have been loaded for this document.","line":18}}}
<- (E) {"seq":15,"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/vsdbg/Launch","data":{"VS.Diagnostics.Debugger.vsdbg.Launch.Duration":248,"VS.Diagnostics.Debugger.vsdbg.SourceFileMappings":0,"VS.Diagnostics.Debugger.vsdbg.VisualizerFileUsed":false,"VS.Diagnostics.Debugger.vsdbg.TargetType":"Live","VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"21.10","VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"ubuntu","VS.Diagnostics.Debugger.vsdbg.OSFamily":"Linux","VS.Diagnostics.Debugger.vsdbg.Version":"17.0.10712.2 commit:70a83505117741ba30f92c713a4bb0d0395c3197"}}}
<- (R) {"seq":16,"type":"response","request_seq":6,"success":true,"command":"configurationDone"}
-> (C) {"command":"threads","type":"request","seq":7}
<- (R) {"seq":17,"type":"response","request_seq":7,"success":true,"command":"threads","body":{"threads":[]}}
<- (E) {"seq":18,"type":"event","event":"output","body":{"category":"stdout","output":"\u001B[40m\u001B[32minfo\u001B[39m\u001B[22m\u001B[49m: ScraperSvc.Worker[0]\n"}}
info: ScraperSvc.Worker[0]
<- (E) {"seq":19,"type":"event","event":"output","body":{"category":"stdout","output":"      Worker running at: 11/12/2021 15:45:16 -08:00\n"}}
      Worker running at: 11/12/2021 15:45:16 -08:00
<- (E) {"seq":20,"type":"event","event":"output","body":{"category":"stdout","output":"21015\n"}}
21015
<- (E) {"seq":21,"type":"event","event":"output","body":{"category":"stdout","output":"/home/savaho/Documents/codex/ScraperSvc/bin/Debug/net6.0/ScraperSvc.dll\n"}}
/home/savaho/Documents/codex/ScraperSvc/bin/Debug/net6.0/ScraperSvc.dll
<- (E) {"seq":22,"type":"event","event":"output","body":{"category":"stdout","output":"/home/savaho/dotnet/dotnet\n"}}
/home/savaho/dotnet/dotnet
<- (E) {"seq":23,"type":"event","event":"output","body":{"category":"stderr","output":"The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.\n"}}
The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.
<- (E) {"seq":24,"type":"event","event":"output","body":{"category":"console","output":"The program '[21015] ScraperSvc.dll' has exited with code 0 (0x0).\n"}}
The program '[21015] ScraperSvc.dll' has exited with code 0 (0x0).
<- (E) {"seq":25,"type":"event","event":"exited","body":{"exitCode":0}}
<- (E) {"seq":26,"type":"event","event":"terminated","body":{}}
-> (C) {"command":"disconnect","arguments":{"restart":false,"terminateDebuggee":false},"type":"request","seq":8}
<- (E) {"seq":27,"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/vsdbg/DebugCompleted","data":{"VS.Diagnostics.Debugger.vsdbg.DebugCompleted.BreakCounter":0,"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"21.10","VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"ubuntu","VS.Diagnostics.Debugger.vsdbg.OSFamily":"Linux","VS.Diagnostics.Debugger.vsdbg.Version":"17.0.10712.2 commit:70a83505117741ba30f92c713a4bb0d0395c3197"}}}
<- (R) {"seq":28,"type":"response","request_seq":8,"success":true,"command":"disconnect"}

I noticed that in the launch command that it says engineLogging is false although clearly it is.

Thanks. Here is the problem:
The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.
There is some sort of issue with the .NET debugging services on your computer. Do you have $TEMPDIR set? Can you create and read files in that directory (or /tmp if you don't have it set)?

I added an Environment.Exit in the Execute loop of the worker class. just to limit the output. If I don't immediatley exit and let the apps run that error does not appear

It is still the problem -- the debugger should have gotten a CoreCLR started event before any .NET code ran in your process. The debugger doesn't have any idea how long that might take, so it will only show the warning if the process exits without starting .NET Code (hence adding 'Environment.Exit' causes the warning to show up). But it the problem either way.

Ok do you have any suggestions on where to find the issue? I started with clean installs. here is my enviro
savaho@cuntz911:~/Documents/codex/ScraperSvc$ env
SHELL=/bin/bash
SESSION_MANAGER=local/cuntz911:@/tmp/.ICE-unix/2660,unix/cuntz911:/tmp/.ICE-unix/2660
QT_ACCESSIBILITY=1
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-wayland:/etc/xdg
SSH_AGENT_LAUNCHER=gnome-keyring
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_MENU_PREFIX=gnome-
TERM_PROGRAM_VERSION=1.63.0-insider
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LANGUAGE=en_US
GNOME_SHELL_SESSION_MODE=ubuntu
DOTNET_ROOT=/home/savaho/dotnet/
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
BREAKPAD_DUMP_LOCATION=/home/savaho/.config/Code - Insiders/exthost Crash Reports
XMODIFIERS=@im=ibus
DESKTOP_SESSION=ubuntu-wayland
GTK_MODULES=gail:atk-bridge
PWD=/home/savaho/Documents/codex/ScraperSvc
XDG_SESSION_DESKTOP=ubuntu-wayland
LOGNAME=savaho
XDG_SESSION_TYPE=wayland
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
SYSTEMD_EXEC_PID=2677
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.XK8OC1
VSCODE_GIT_ASKPASS_NODE=/usr/share/code-insiders/code-insiders
IM_CONFIG_CHECK_ENV=1
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/savaho
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GDM_LANG=en_US
HOME=/home/savaho
IM_CONFIG_PHASE=1
LANG=en_US.UTF-8
DOTNET_EnableDiagnostics=0
XDG_CURRENT_DESKTOP=Unity
WAYLAND_DISPLAY=wayland-0
GIT_ASKPASS=/usr/share/code-insiders/resources/app/extensions/git/dist/askpass.sh
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
INVOCATION_ID=68586a38a1394d5a8b97942ec33a831e
MANAGERPID=972
CHROME_DESKTOP=code-insiders-url-handler.desktop
GJS_DEBUG_OUTPUT=stderr
VSCODE_GIT_ASKPASS_EXTRA_ARGS=
GNOME_SETUP_DISPLAY=:1
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=savaho
VSCODE_GIT_IPC_HANDLE=/run/user/1000/vscode-git-29f1a1db97.sock
DISPLAY=:0
SHLVL=1
DOTNET_ROLL_FORWARD_TO_PRERELEASE=1
QT_IM_MODULE=ibus
XDG_RUNTIME_DIR=/run/user/1000
VSCODE_GIT_ASKPASS_MAIN=/usr/share/code-insiders/resources/app/extensions/git/dist/askpass-main.js
JOURNAL_STREAM=8:28832
XDG_DATA_DIRS=/usr/share/ubuntu-wayland:/usr/local/share/:/usr/share/
GDK_BACKEND=x11
PATH=/home/savaho/dotnet/:/home/savaho/dotnet/sdk/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr:/home/savaho/.dotnet/tools:/home/savaho/.dotnet/tools:/home/savaho/.dotnet/tools:/opt/mssql-tools/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr:/home/savaho/.dotnet/tools:/home/savaho/.dotnet/tools:/home/savaho/.dotnet/tools
GDMSESSION=ubuntu-wayland
ORIGINAL_XDG_CURRENT_DESKTOP=ubuntu:GNOME
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
GIO_LAUNCHED_DESKTOP_FILE_PID=21661
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/code-insiders.desktop
TERM_PROGRAM=vscode
_=/usr/bin/env
savaho@cuntz911:~/Documents/codex/ScraperSvc$

A few things to check:

Can you read and write to /tmp?
While the target process is running, what do you get from ls -l /tmp/clr-debug-pipe-<your-process-id-here>-*
What do you get from head -1 /proc/<your-process-id-here>/stat

The output from step 2 should look something like:
$ ls -l /tmp/clr-debug-pipe-407-*
prwx------ 1 greggm greggm 0 Nov 12 16:49 /tmp/clr-debug-pipe-407-109835-in
prwx------ 1 greggm greggm 0 Nov 12 16:49 /tmp/clr-debug-pipe-407-109835-out

The output from step 3 should look something like:
$ head -1 /proc/407/stat
407 (CsCon1) S 377 377 9 34816<PHONE_NUMBER> 1591 0 0 0 1 1 0 0 20 0 7 0<PHONE_NUMBER>149440 6520<PHONE_NUMBER>3709551615<PHONE_NUMBER>3264<PHONE_NUMBER>2781<PHONE_NUMBER>31952 0 0 0 0 4096 134431998 0 0 0 17 6 0 0 0 0 0<PHONE_NUMBER>8024<PHONE_NUMBER>1457<PHONE_NUMBER>7744<PHONE_NUMBER>37186<PHONE_NUMBER>37235<PHONE_NUMBER>37235<PHONE_NUMBER>40743 0

For reference, here is the code that is building up the pipe name: https://github.com/dotnet/runtime/blob/577a70afa472a2b7aa8e05947e185d920f42b23d/src/coreclr/pal/src/thread/process.cpp#L2267

I cleaned out the temp dir and all seems fine there. Attached is the temp dir after a run of an app.
tempdir.gz

prwx------ 1 savaho savaho 0 Nov 12 20:06 /tmp/clr-debug-pipe-26675-6803046-in
prwx------ 1 savaho savaho 0 Nov 12 20:06 /tmp/clr-debug-pipe-26675-6803046-out

:~$ head -1 /proc/26675/stat
26675 (vsdbg-ui) S 22671 22591 22591 0 -1<PHONE_NUMBER> 8159 0 0 0 85 8 0 0 20 0 16 0 6803046<PHONE_NUMBER> 17355<PHONE_NUMBER>3709551615 4194304 4207428<PHONE_NUMBER>60368 0 0 0 0 4096 17630 0 0 0 17 1 0 0 0 0 0 6307016 6308080 24207360<PHONE_NUMBER>62769<PHONE_NUMBER>62859<PHONE_NUMBER>62859<PHONE_NUMBER>66014 0

ok here is something... That PID referenced above is for the vsdbg-ui. 26693 is the pid for the actual app and there is no data in tmp for that pid.
head -1 /proc/26693/stat
26693 (dotnet) S 26675 22591 22591 0 -1<PHONE_NUMBER> 4347 0 0 0 87 15 0 0 20 0 10 0 6803109<PHONE_NUMBER> 10495<PHONE_NUMBER>3709551615<PHONE_NUMBER>2240<PHONE_NUMBER>7406<PHONE_NUMBER>44592 0 0 0 0 4096 17662 0 0 0 17 0 0 0 0 0 0<PHONE_NUMBER>6872<PHONE_NUMBER>0597<PHONE_NUMBER>3968<PHONE_NUMBER>50439<PHONE_NUMBER>50538<PHONE_NUMBER>50538<PHONE_NUMBER>53693 0

I have been able to get the debugger working again. Unfortunately I was unable to pin point the specific issue fix.. I removed all traces of omnisharp and code-insiders and nuget. Cleared all cache/temp files. Ran bleachbit and I was also missing a sticky bit on pkexec.  Thank you for your assistance Gregg. I have one last annoying issue that I have had for 2 weeks. Omnisharp complains when starting code from the menu, that it cannot find the sdk. when checking environment from integrated terminal all variables are correct. dotnet, tools, nuget etc run fine....  If I start code-insiders from an external terminal Omnisharp does not complain and it runs fine. Is there a  property I can set in the omnisharp.json or other file to hardcode the path to Sdk for Omnisharp?


Retrieve the number of votes from Trakt.tv and add it to the API

This way, by excluding content with low number of votes, a better sorting by ratings would be possible.
See issue 358 on popcorn-desktop.

This is already done.

Oh, I'm sorry, my mistake.


Plugin doesnt work in neovim 0.8.0

It definitely used to work just fine. There aren't any error messages so I'm sorry I dont have anything more useful to tell you.

Thanks for the report.
NeoVim 0.8.0 seems to be the development version as of 2022-09.
https://github.com/neovim/neovim/releases
I will use it too when it is released as a stable version.

#!/usr/bin/env -S vi requirements.txt -u
" $ uname -r
" 5.19.7-arch1-1
" $ has
" ✓ vi 0.7.2
" $ cat test.vim
set runtimepath=$VIMRUNTIME
set runtimepath+=~/.local/share/nvim/repos/github.com/raimon49/requirements.txt.vim
syntax on
" $ chmod +x test.vim
" $ ./test.vim

#!/usr/bin/env -S pip install -r
gpustat==1.0.0  # debug
ptpython  # debug
pudb  # debug
pytorch_lightning  # pl.seed_everything()
rich  # beautify
# thop  # profile(), clever_format()
tqdm  # https://github.com/Textualize/rich/issues/2445

Why the comment don't be highlighted?

It may be a bug in detecting file names.

No, the result of set ft is right requirements.

@johnmathews I have been using NeoVim 0.8 since it was officially released.It seems to be working fine.

$ nvim --version
NVIM v0.8.0-1210-gd367ed9b2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by runner@fv-az505-656

Also, this plugin has been updated. Please try the latest plugin as well.

I use neovim 0.72. I can guarantee it can work normally.


customization on the column's head

Firstly i'd like to thank-you for this awesome project.
I want to add code snippet beside the column name and sort icon (for eg. div tag) at thead>tr>th. How can i add this piece of code in each of the column's head ?
The image attached herewith describes more..

Thankyou in advance. :)

Ok I just published 2.0.0-beta-18 this will allow you to overwrite the column header and render whatever you like. I put some information in the README

Hey @gregnb,
Thankyou so much for the update. This looks awesome. 👍
Can you please add an example for customHeadRender like its there for the customBodyRender?


Added support for arrowfunction

Thought about adding this:
const assignmentOperatorReplacements = Object.freeze({
  '[^]*': { replacement: 'undefined', mutatorName: 'BodyToUndefined' },
} as const);

Which is a regex that matches everything, because right now, it doesn't matter what's actually in the body.
I rejected that idea, because:

There seems to be no way to get the body of the arrow expression as a string, so you cannot perform regular expressions over it;
This doesn't seem to be the approach they would want, given that they use functions to determine the type of thing that is in the body, not matching a string or something.

I also thought of using class names as keys, like this:
const assignmentOperatorReplacements = Object.freeze({
  Object: { replacement: 'undefined', mutatorName: 'AnyBodyToUndefined' },
} as const);

The above replacement would allow anything to be set to undefined. Alternatives might be BlockStatement. The idea is that I check the type of body or its contents against the key of the selected level using
return operations.some((op) => body instanceof Object.create(this.context[op].prototype));

However, I could not get this to work. Online threads suggest using this.context or window, both of which are not applicable here (this doesn't mean anything outside of a class and window doesn't work if the application does not run in a browser).
I'm also assuming here that the keys in this array must be strings and that we can't just use class names. Using the second code snippet (the one with Object:), I tried using this in isInMutationLevel:
  if (operations === undefined) {
    return true;
  }
  return operations.some((op: any) => body instanceof op);

Which seems like it should work, because body is always an instance of Object (anything is). It builds, but upon running tests I get the error TypeError: Right-hand side of 'instanceof' is not an object.
I'd be happy to discuss this further, but for now, I simply check whether there is anything in the level at all.

In my view, the map object that we have (Object.freeze()) can be seen as a tool, instead of something mandatory that needs to be present in each class. The purpose of this tool is to find the specific sub-operators of an mutator -- I have an ArithmeticOperator, but is this +To- or -To+, etc?
But in this case we either have ArrowFunctions or we don't, so I don't think there is any need to match anything extra because we don't have suboperators.
So, your final approach seems fine to me

In my view, the map object that we have (Object.freeze()) can be seen as a tool, instead of something mandatory that needs to be present in each class. The purpose of this tool is to find the specific sub-operators of an mutator -- I have an ArithmeticOperator, but is this +To- or -To+, etc?
But in this case we either have ArrowFunctions or we don't, so I don't think there is any need to match anything extra because we don't have suboperators.
So, your final approach seems fine to me

I agree that we should discuss it. Should we just leave this PR until our next meeting?

const assignmentOperatorReplacements = Object.freeze({
  '[^]*': { replacement: 'undefined', mutatorName: 'BodyToUndefined' },
} as const);

Yep, we can discuss this at our next meeting.


Sluggishness on Firefox

I'd fill in the template but I'm not entirely sure how I'd reproduce this. Been working on a site for a client (http://csgodiamonds.com if you have a Steam account and want to see the laggy slider in action) and no matter how much I try I cannot get the slider to not feel very sluggish in Firefox.
I've tried outright removing the onChange event to see if it was related, and while it sped it up slightly, it was nowhere near enough. A lot of the time spent seems to be on recalculation of styles and updating the DOM to move the handle which in turn recalculates styles.
Quick shot below of the profiling in Firefox 43.0.4, just from me sliding it back and forth a bit. As you can see lots of purple (recalculating styles) and most of the orange is down to moving the handle and other setTimeout/DOM Events relating to that.

I don't know if this is some obscure bug in the library or my fault, but either way I'd love a pointer on how I can resolve it.

I know that they are a lot of style recalculations and that this is not really cool but I had never noticed a really different behavior in Firefox compared to other browsers.
I should try to focus on optimisations like using transform properties instead of left/top...
Could you paste your slider config so I can tell you if I see something weird?

	this.slider_opts = {
		chance: {
			hideLimitLabels: true,
			floor: 0.01,
			ceil: sliderCeil,
			step: 0.25,
			showSelectionBar: true,
			precision: 2,
			onChange: ctrlr.onSliderChange,
		},
		speed: {
			hideLimitLabels: true,
			floor: 0,
			ceil: 100,
			step: 1,
			showSelectionBar: true,
		}
	}

Both are slow, but the first one especially.

Sorry for the delay, I forgot about this thread. Your options don't seem weird so I can't really give you more feedback. Generally, the slider is not directly responsible for lags but can feel laggy if another part of the code is slow.

Closing it as no update for more than a month.


ci: Disable caching

Total build time:
Before(master): 11 min 7 sec (https://travis-ci.com/taiki-e/futures-enum/builds/117999289)
After(this pr): 8 min 40 sec (https://travis-ci.com/taiki-e/futures-enum/builds/118001271)

bors r+


Dev UI page for testing of AI services

Currently we have a Chat model page in our Dev UI that injects and uses a raw chat model. That's nice but not extremely useful.
Users might want to test AI services, including the ability to use tools, and RAG, etc.
The main challenge with using AI services is creating a UI that allows working with generic Java objects.
Showing a POJO result should be relatively easy (serialize it into JSON, or call toString()?), but what if the service takes POJOs as arguments? We would need to invent a way to allow the user to describe the instance, serialize it, send it to the JSON-RPC endpoint, and then transform it into the real object...
It will probably be quite tricky to implement, but the potential usefulness is huge IMO.

I agree it would be useful, but I am very sceptical we could get it right because of the complication of serializing and deserializaing the input and output.

The easier option would be to generate at least a "dummy" AI Service that takes and produces only strings, but it still can have tools and a content retriever, so you can test tools and RAG with it.

@cescoffier WDYT?

@mkouba had the same challenges for gRPC. And we just asked the users to write the json object. Not great but good enough.
In the OSGi world, we had something named metatype that was allowing generating dedicated form for complex object. A possibility would be to see if we can do something similar based on an openapi / json schema descriptor. But the first approach is probably good enough for now.

The easier option would be to generate at least a "dummy" AI Service that takes and produces only strings, but it still can have tools and a content retriever, so you can test tools and RAG with it.

Just for the record, I've recently added that (the chat page now picks up retrieval augmentors and tools). Let's see if it's good enough, or if we get pushed to add support for full-blown AI services.


Cannot add bot as organization administrator

I think this somewhat recently started happening (I've created bots before) on the rust-lang instance (https://rust-lang.zulipchat.com).
I am seeing "Only organization administrators can add bots to this organization" despite, as best as I can tell, being an organization administrator. I've tried refreshing a couple times, but that didn't seem to help.
Happy to provide more information if it would be helpful!

Closing in favor of concrete improvements described in #24154 and #24157. Thanks for the report, @Mark-Simulacrum !


[ko] Enhance translation for assign-pod-node in dev-1.24-ko.1

Signed-off-by: seokho-son<EMAIL_ADDRESS>Supplement for #34758
Enhancement for ,,
`nodeName` is a more direct form of node selection than affinity or
`nodeSelector`. `nodeName` is a field in the Pod spec. If the `nodeName` field
is not empty, the scheduler ignores the Pod and the kubelet on the named node
tries to place the Pod on that node. Using `nodeName` overrules using
`nodeSelector` or affinity and anti-affinity rules.

/lgtm
(위 명령어와 같은 줄에 다른 말을 더 쓰면 원하는 대로 동작하지 않네요 😅)


Create mc2-histoqc-project

This PR creates a Tower project for the MC2 Digital Pathology QC supplement

@thomasyu888 by default this got created in the dev branch. Is that correct?

@adamjtaylor I will merge this into prod after it builds in dev.


Crashes after selecting Blazeborn, Enderian, Merling or Phatom.  To troubleshoot had one of the players try a offline world and it caused the game to crash. Tried some trouble shooting with rolling back Forge and such and same issue, might not be rolling back father enough. Thank you in advance for your time, and for the time maintaining this mod.
Log.txt
Update..
We tried unloading all mods but Origins, and it still was having the issue. Still using 1.18.2 and Forge 40.1.82 with the Origins <IP_ADDRESS> I think. My first guess would be we're missing a library maybe? as the Spider origin can't climb walls and the Feline sometimes loses the ability to scare off creepers( Which I read is more an issue with minecraft and not the mod though)
of note the Server its self dose not crash and only seems to boot the client.

the same thing is happening to me at first i thought it was my graphics driver being weird but i restarted everything and its still booting me out of the server

Having the Same Issue.

Having the same/similar issue. When I create a singeplayer game and go in for the first time and choose Enderian, the screen turns black and then it says "Connection Lost - Server Closed and gives me a Return to Server List button. Which takes me back to the multiplayer server list. Which is extrremely odd since it's a singleplayer world. Don't know if the issue consists with other Origins.
Using 1.182 - Forge 40.1.84

Same issues as this. I have added the crash reports for Blazeborn, Enderian, Merling, and Phantom from my testing in Singleplayer.
Enderian Crash.txt
Blazeborn Crash.txt
Merling Crash.txt
Phantom Crash.txt

I added this mod and dependent libraries to Better MC [FORGE] - BMC2, in 1.18.2 running forge version 40.1.69, and can confirm selecting these classes does immediately hard crash my entire game client.

same here, on forge 40.2.0 with mod version <IP_ADDRESS>
selecting merling gives this crash report:
Error: java.lang.ClassCastException: class net.minecraft.client.player.LocalPlayer cannot be cast to class io.github.apace100.apoli.mixin.EntityAccessor (net.minecraft.client.player.LocalPlayer is in module<EMAIL_ADDRESS>of loader 'TRANSFORMER' @2b1cd7bc; io.github.apace100.apoli.mixin.EntityAccessor is in module<EMAIL_ADDRESS>of loader 'TRANSFORMER' @2b1cd7bc)
selecting phantom gives this crash report:
java.lang.ClassCastException: class net.minecraft.server.level.ServerPlayer cannot be cast to class io.github.apace100.apoli.mixin.EntityAccessor (net.minecraft.server.level.ServerPlayer is in module<EMAIL_ADDRESS>of loader 'TRANSFORMER' @64deb58f; io.github.apace100.apoli.mixin.EntityAccessor is in module<EMAIL_ADDRESS>of loader 'TRANSFORMER' @64deb58f)
i should assume that the others are similar, though i didn't test blazeborn
to make it worse, it seems that the world crashes even when you load in if you are one of these origins


Make GraphEdit lines smoother and scale their width on hiDPI displays

This makes GraphEdit lines smoother by decreasing the error tolerance and makes them wider on hiDPI displays.
Before:

After:

Bugsquad edit : Fix #17471 ?

Thanks!


[IR] Add the Moshi runtime in the gradle plugin

To avoid minimum version issues

@ZacSweers Should this be an implementation dependency rather than api? As it is right now, this allows downstream modules to resolve Moshi annotations without generating the adapters.

Hide your models behind a separate project then as an implementation dependency. This generates public Moshi adapters so in terms of ABI it is correct to use api

Ah right - for anyone who stumbles upon this thread, that's due to the reasoning outlined here.
The models are already separated into their own projects that are implementation dependencies to other projects, but it doesn't prevent someone from adding Moshi-annotated classes in the downstream projects. Do you use a lint check and/or unit tests to ensure that the adapters actually get generated for every model?

We do not but not a bad idea!

Here's a simple instrumentation test I added in our codebase to check for missing adapters at runtime
/**
 * This test ensures that _all_ [JsonClass]-annotated classes with [JsonClass.generateAdapter] set
 * to true have a corresponding generated [JsonAdapter] on the classpath at the expected
 * location. This is a safety net to ensure that we didn't accidentally not run an appropriate
 * generator over the original source set.
 *
 * This is useful to run in our minified release builds too as it
 */
@SmallTest
class GeneratedJsonAdaptersTest : SlackAndroidTest() {

  @Test
  fun checkAdapters() {
    val context = InstrumentationRegistry.getInstrumentation().targetContext
    val classesWithMissingAdapters = context
      .classesSequence()
      .filter { fqcn ->
        fqcn.startsWith("slack.")
      }
      .mapNotNull { fqcn ->
        val clazz = try {
          context.classLoader.loadClass(fqcn)
        } catch (ignored: ClassNotFoundException) {
          // If we can't load it, we can't do anything else really either
          return@mapNotNull null
        }
        val hasGeneratedAdapter = clazz.getAnnotation(JsonClass::class.java)
          ?.generateAdapter == true
        if (hasGeneratedAdapter) {
          @Suppress("SwallowedException")
          try {
            Class.forName(Types.generatedJsonAdapterName(clazz))
            null
          } catch (e: ClassNotFoundException) {
            // Not found! Report it
            fqcn
          }
        } else {
          null
        }
      }
      .toSet()

    check(classesWithMissingAdapters.isEmpty()) {
      """
        Some @JsonClass-annotated classes are missing corresponding generated JsonAdapters. Please
        investigate these and ensure that Moshi code gen or moshi-sealed code gen is enabled for
        their subproject.
        ${classesWithMissingAdapters.joinToString("\n") { "- $it " }}
      """.trimIndent()
    }
  }

  // Borrowed from https://stackoverflow.com/a/52085095
  private fun Context.classesSequence(): Sequence<String> {
    // Here we do some reflection to access the dex files from the class loader. These
    // implementation details vary by platform version, so we have to be a little careful, but
    // not a huge deal since this is just for testing. It should work on 21+.
    // The source for reference is at:
    // https://android.googlesource.com/platform/libcore/+/oreo-release/dalvik/src/main/java/dalvik/system/BaseDexClassLoader.java
    val classLoader = classLoader as BaseDexClassLoader

    val pathListField = field("dalvik.system.BaseDexClassLoader", "pathList")

    // Type is DexPathList
    val pathList = pathListField.get(classLoader)

    val dexElementsField = field("dalvik.system.DexPathList", "dexElements")

    // Type is Array<DexPathList.Element>
    @Suppress("UNCHECKED_CAST")
    val dexElements = dexElementsField.get(pathList) as Array<Any>

    val dexFileField = field("dalvik.system.DexPathList\$Element", "dexFile")
    @Suppress("DEPRECATION")
    return dexElements
      .asSequence()
      .mapNotNull {
        dexFileField.get(it) as? dalvik.system.DexFile
      }
      .flatMap { it.entries().asSequence() }
  }

  private fun field(className: String, fieldName: String): Field {
    val clazz = Class.forName(className)
    val field = clazz.getDeclaredField(fieldName)
    field.isAccessible = true
    return field
  }
}


Local rn-cli.config.js is not loaded

Expected behaviour
When a file exists in the project root called rn-cli.config.js this should be loaded allowing it to override the defaults in default.config.js, as per a comment in that file.
Observed behaviour
The file is ignored unless explicitly pointed to with --config.
Additional Information
Since react-native/rn-cli.config.js was created by @davidaurelio  at https://github.com/facebook/react-native/commit/73f62e588e643a62e7522766bf85772cea4dd8ab , this takes precedence over the user's project's copy of rn-cli.config.js, because local-cli/util/Config.js finds the first such file crawling upwards from its own directory.
What is react-native/rn-cli.config.js for? Could it be called something else (so that it doesn't get in the way of project config) and loaded explicitly wherever it's needed? Could it be merged with default.config.js and removed?

React Native version: >=0.30
Platform: All
Operating System: All

Closing this issue because it has been inactive for a while. If you think it should still be opened let us know why.


[devicelab] CPU/GPU/memory metrics for iOS gallery transition tests

Closes #70438
This PR adds missing CPU/GPU/memory metrics for iOS gallery transition tests.
Pre-launch Checklist

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I read the Tree Hygiene wiki page, which explains my responsibilities.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I signed the CLA.
[X] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[X] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

test-exempt: is a test

Looks like this landed already as a separate PR.


Confusing instructions for WPF - .Net Core or Framework

Hi,
I find this a bit confusing. Step 3 part 6:

There is no Next here, it is Create:

Then step 8 tells you to select .Net Framework.

Are both Core and Framework supported, the flow of the instructions is a bit unclear, IMHO.
Thanks

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

ID: 99f63e2b-08f3-0123-0290-81ed8e9007a8
Version Independent ID: ddea56f8-1ea4-ac98-1a18-00b107f46a3e
Content: Get started with WebView2 in WPF apps - Microsoft Edge Development
Content Source: microsoft-edge/webview2/get-started/wpf.md
Product: microsoft-edge
Technology: webview
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Thanks a lot for reporting this. I've created a task on our backlog, and we'll try to address this as soon as we can.


[P1] Add additional columns to CAMERAS list table

For the columns of the CAMERAS list table, we should have the following (all except username and password):

ID
Model
SIM (5G)
Type
IP
RTSP uri
HTTP url (url instead of uri, since it's Http)

IMPORTANT: since the RTSP and HLS will be long, we'd show the beginning, but we'd need a way (por-up label or something) so when you hover with the mouse you see it. Or any other way to see the RTSP/HLS and importantly to be able to copy the URL/URI of the RTSP/HLS.

Closing this issue since we already have a way to see the RTSP and all the fields. :)


Add missing length check when reading label pointer

Fixes slice bounds out of range panic when parsing invalid DNS packet containing only first byte of label pointer.
Add unit test verifying that invalid label pointer is now detected and error is returned when it is being parsed.

many thanks for your fix.
Denis


Upload trained model

Hello,
Thanks for sharing the code ! Is this ok if you can share your trained model on Cityscapes ? I dont have enough GPU resource to run training.

I have uploaded the trained model parameters, see README.md and you can find the link.


The shortcut keys do not update when the root directory is modified.

I have configured a plugin for navigating to the root directory. When the root directory is changed, alpha will redraw the buffer, but the shortcut keys do not get updated.
The source code appears that only the start function updates the shortcut keys, whereas the root directory modification calls the redraw function.
I really appreciate this plugin, and if possible, I hope the issue can be resolved.

should be hotfixed in https://github.com/goolord/alpha-nvim/commit/29074eeb869a6cbac9ce1fbbd04f5f5940311b32
at some point i want to handle keymaps in a more robust way


Lua script is lost after Redis restart

The performance will be degrade after Redis restart, we should load the script again.

Fixed by b24ad05


Credentials and address for reward account

Context

As a stake pool operator,
I want an easy way to retrieve my assigned reward account credentials,
And its associated testnet address,
So that I can move funds to it using the wallet backend
And I can know what private key I should use for signing stake pool registration in jcli.
Decision

Given that I have a valid 15-word mnemonic sentence,
When I call cardano-wallet mnemonic reward-credentials,
And I provide my 15-word mnemonic sentence,
Then my reward account private key is printed on screen as a bech32 string prefixed with ed25519_sk
Acceptance Criteria

Given that I have a valid 15-word mnemonic sentence,
When I call cardano-wallet mnemonic reward-credentials,
And I provide my 15-word mnemonic sentence,
Then my reward account private key is printed on screen as a bech32 string prefixed with ed25519_sk

Development

I have added a command to our CLI to spit out the reward account extended private key from a given mnemonic. ==>  #1127

QA

Added an integration tests which uses jcli to create an account address from the key obtained from our command-line, comparing this to the same address generated by our core function from a given mnemonic! See  https://github.com/input-output-hk/cardano-wallet/blob/master/lib/jormungandr/test/integration/Test/Integration/Jormungandr/Scenario/CLI/Mnemonics.hs#L46-L56

Looks good.
I think this is not needed though:
(Enter a blank line if you didn't use a second factor.)
Please enter your 9–12 word mnemonic second factor:

but I guess that's because it's part of reused code. Is it possible to remove it easily?
Probably we could add some negative tests too. (I can add those)

I think this is not needed though:

Well, it is though. The second factor affects the seed generation. If a wallet has a second factor then it is needed to recover its root private key. And we allow settings those from the API and the command line, so it is indeed necessary.

Probably we could add some negative tests too. (I can add those)

:heart:

And we allow settings those from the API and the command line, so it is indeed necessary.

Then we have some inconsistency with our API, cause with the API we allow 1st mnemonics to be  [15 .. 24] words and here we can only provide 15. if we want to have consistent with the API then we should change that. If we aim for consistency with what Daedalus exposes (that was my impression) then we should remove the second step.

more tests -> #1142


Handle spaces in filenames

the filelist analyzer uses awk to extract file names and permissions
tar tvf $UNPACKDIR/squashed.tar | awk '{print $6, $1}' | sort -k 1 | uniq > $OUTPUTDIR/files.all
In cases where a filename contains spaces then only the first part of the filename, preceding the space, will be retrieved.

anchore 1.0.X queries and output formatting supports spaces in filenames


Sports centre

People who have made an app that is successful are needed on this job or people who are good at coding


How can I disable "retries" on failure?

Setting max_attempts to 0 means it will have infinite retries, no?
I noticed there is"ack_failures" setting, but I didn't quite understand how it works.

When set to True, also acknowledge unsuccessful tasks. This causes failed tasks to be considered as successful deliveries, thereby removing them from the task queue.

What does this mean "considered successful"? I want to know the task failed i just don't want to retry it...

Disabling retries for failed tasks is done via the ack_failures option.
Set it to true in your configuration:
Q_CLUSTER = {
    ...
    "ack_failures": True,  # do not restart failed tasks
}


Doc Feedback:

Location : https://apim.docs.wso2.com/en/latest/get-started/api-manager-quick-start-guide/
the response during the try out is 404 Error: Not Found

The problem is the mocky link, that doesn't work. You need to create a new mock and then use the new address in your api.


SessionCollectionExtensions.SetInt and GetInt don't follow the design guidelines

SessionCollectionExtensions has the following two methods:
public static class SessionCollectionExtensions
{
    public static void SetInt(this ISessionCollection session, string key, int value);
    public static int? GetInt(this ISessionCollection session, string key);

    ...
}

These method names do not follow the Framework Design Guidelines:

√ DO use a generic CLR type name, rather than a language-specific name, in the rare cases when an identifier has no semantic meaning beyond its type.
For example, a method converting to Int64 should be named ToInt64, not ToLong (because Int64 is a CLR name for the C#-specific alias long).

These methods should be named SetInt32 and GetInt32.
/cc @terrajobst

Agreed.

@justinvp you gonna send a PR ?

Sure. I'll get to it later this week.


Add Vega and Vega-Lite charts support

@DonJayamanne I noticed you have Vega plots on your roadmap: https://github.com/DonJayamanne/typescript-notebook#roadmap
Not sure you've seen it, but some time ago I created Vega Viewer vscode extension to load and render preview of Vega and Vega-Lite charts in vscode: https://github.com/RandomFractals/vscode-vega-viewer
That extension has a few integrations with online Vega Editor too and ships with built-in examples.
My extension is somewhat outdated, but I think you can peruse it for Vega and Vega-Lite chart rendering, theming, and data loading setup.
See: https://github.com/RandomFractals/vscode-vega-viewer/blob/master/web/scripts/vega-viewer.js
and Vega Viewer/Preview panel code here: https://github.com/RandomFractals/vscode-vega-viewer/blob/master/src/vega.preview.ts

Thanks, my plan is to generate vega output & let a renderer handle rendering the vega charts.
I know the Jupyter renderer extension supports vega today.
The plan is to ship that (https://github.com/microsoft/vscode-notebook-renderers) as a standalone renderer for the next release https://github.com/microsoft/vscode-jupyter/issues/1909
Once that happens, I'll defer rendering of Plotly plots to other extnsions as well (just as Jupyter notebook renderer or others that support plotly), i.e. lets VS Code extensions deal with rendering the outputs.

I like that. Having a separate extension pack of renderers that handles most popular charting libs and maybe maps later is a great idea.


[Bug]: NCCL locating mechanism in multi-user environment

Your current environment

18-node cluster running Ubuntu 20.04 LTS.
AMD Rome/Milan/Genoa CPUs. Mutliple GPUs on each node: A100/RTX 3090/RTX 3060.
Conda environment on shared NFS drive. vLLM 0.4.0.post1 + PyTorch 2.2 + CUDA 12.1 environment.
Job dispatched by Slurm.

🐛 Describe the bug
It seems that vLLM's NCCL detection mechanism is written with single user in mind. The vLLM-managed NCCL .so file is only installed for the user who installed vLLM. find_nccl_library is written such that if VLLM_NCCL_SO_PATH is not specified nor is the vLLM-managed version of NCCL found, it defaults to a hard-coded NCCL filename so_file, then reports to the user "Found nccl from library {so_file}".
I see two problems here:

[find_nccl_library] reports "Found nccl..." even when it has not. Perhaps it should say instead "Attempting to load nccl..."?
The vLLM-managed NCCL .so file is only installed to the home directory of the user who installed vLLM, meaning that it is inaccessible to other users. Why is it not installed along the package, which is accessible to all users?

The vLLM-managed NCCL .so file is only installed to the home directory of the user who installed vLLM, meaning that it is inaccessible to other users.

You can use VLLM_NCCL_SO_PATH to point to that file. Then all users can find it.

Why is it not installed along the package, which is accessible to all users?

Pypi package cannot exceed 100MB.

[find_nccl_library] reports "Found nccl..." even when it has not. Perhaps it should say instead "Attempting to load nccl..."?

Feel free to file a pr to improve it.

close as we don't ship nccl library now.


implement basename also in forms, redirects and routes

I had a little time to implement the missing functionalities for having a working reverse proxy (that can handle also the backend proxified, not only the static content)

Thank you again :+1:

Thank you again :+1:


Look into feasibility of GUI

We want to add a GUI and editor for our markdown processor.

[ ] Will look into how simple it is to create an Atom plugin with transpiled F#->Javascript code.

Doing VS Code, may do Atom after.


Should JAXB 3.0's ModuleUtil be referring to "com.sun.xml.internal.bind.v2.ContextFactory" RI class?

When pulling in the JAXB 3.0 implementation in Open Liberty, we ran into an issue where the ModuleUtil file still references the old com.sun.xml.internal.bind.v2.ContextFactory reference implementation (see https://github.com/eclipse-ee4j/jaxb-api/blob/b717e34080470d12dfdd2daf74c3100dddae7c2b/jaxb-api/src/main/java/jakarta/xml/bind/ModuleUtil.java#L37 ).  I believe that it should be referencing org.glassfish.jaxb.runtime.v2.ContextFactory instead.
If this was an oversight in the 3.0 release, I would be happy to update the classname in ModuleUtil.  In that case would it be possible to publish a 3.0.1 release that includes this change?  Thanks!

Yes, we are facing the same error in our project and then get the error:   [java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory]

fixed by #176


GH-13: Add checkstype and fix as much as possible

Fixes GH-13 (https://github.com/spring-projects/spring-kafka/issues/13)
Also upgrade to Gradle 2.11 to support the latest checkstyle

Rebased, merged as c7ad532fb2db7f431f061f685f82863f1d196eab
Thanks for doing the heavy lifting on this one!!

Yeah... That's not so hellish work...
Just take a look to the Checkstyle source code: https://github.com/checkstyle/checkstyle.
Gods are living there!


Doesn't look like you can $push into arrays

I have two sets of arrays inside my document entry
it appears $push behaves like $set when trying to push a single item into multiple arrays
DB.update({ _id: docId }, {$push: {"arrays.one": 1, "arrays.two":2}},{})
Update: it looks like I can't push items into Arrays with only 1 or no entry period.
STARTING ARRAY = []
DB.update({ _id: ID }, { $push: { "activity.Weekly": 0 } }, {});
DB.update({ _id: ID }, { $push: { "activity.Weekly": 1 } }, {});
DB.update({ _id: ID }, { $push: { "activity.Weekly": 2 } }, {});
DB.update({ _id: ID }, { $push: { "activity.Weekly": 4 } }, {});
DB.update({ _id: ID }, { $push: { "activity.Weekly": 2 } }, {});
DB.update({ _id: ID }, { $push: { "activity.Weekly": 3 } }, {});

Expected Results should be [0,1,2,4,2,3]
Actual Results [3]
attached is image, original array had [0] in first row, [0,1,1] & [0,1] respectfully

You want it to return an array, right? What you're doing now is UPDATING the "activity.Weekly". Basically, you're saying "take whatever value is in 'activity.Weekly' and $push(/update) a new value to it." If you want to store multiple int values, you would also have to turn it into a string, since something like "{ "activity.Weekly": 0, 1, 2 }," would be invalid and throw an error.
I would either, as said, turn it into a string "0,1,2,...," or turn the value into an array: [0,1,2,...].
So something like this:
DB.update({ _id: ID }, { $push: { "activity.Weekly": "0,1,2,4,2,3" } }, {});
Or something like this:
DB.update({ _id: ID }, { $push: { "activity.Weekly": [0,1,2,4,2,3] } }, {});

Return an array? Did you read that I was trying to push a value into an
array? Opposite of pop. You also have a bug where arrays with only 1 value
arnt arrays but an int. All arrays have to be padded with a 0 first
On Sat., 24 Aug. 2019, 7:37 am Felix Cervin<EMAIL_ADDRESS>wrote:

You want it to return an array, right? What you're doing now is UPDATING
the "activity.Weekly". Basically, you're saying "take whatever value is in
'activity.Weekly' and $push(/update) a new value to it." If you want to
store multiple int values, you would also have to turn it into a string,
since something like "{ "activity.Weekly": 0, 1, 2 }," would be invalid
and throw an error.
I would either, as said, turn it into a string "0,1,2,...," or turn the
value into an array: [0,1,2,...].
So something like this:
DB.update({ _id: ID }, { $push: { "activity.Weekly": "0,1,2,4,2,3" } },
{});
Or something like this:
DB.update({ _id: ID }, { $push: { "activity.Weekly": [0,1,2,4,2,3] } },
{});
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/louischatriot/nedb/issues/595?email_source=notifications&email_token=ABSWNFDGJZ5DG6BBF73GXR3QGBKBFA5CNFSM4HSAGNNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5BMQKA#issuecomment-524470312,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABSWNFFQHUT5GNMIIESZF4DQGBKBFANCNFSM4HSAGNNA
.

I was trying to push a value into an empty array per the documentation.
// $push inserts new elements at the end of the array
db.update({ _id: 'id6' }, { $push: { fruits: 'banana' } }, {}, function () {
  // Now the fruits array is ['apple', 'orange', 'pear', 'banana']
});

You have a bug where arrays with only 1 value don't work
All arrays have to be padded with a 2 item first
This code snippet was my work around, by forcing the document to have a min of 2 entries, else it would result in only the last entry being recorded.
if (docs[entry].activity.Weekly.length <= 1) {
                Database.update("Members", { _id: docs[entry]._id }, { $push: { "activity.Weekly": { $each: [0, 0], $slice: -7 } } }, {});
                Database.update("Members", { _id: docs[entry]._id }, { $push: { "activity.Monthly": { $each: [0, 0], $slice: -30 } } }, {});
            }

so the following would work
            Database.update("Members", { _id: docs[entry]._id }, { $push: { "activity.Weekly": { $each: [value], $slice: -7 } } }, {});
            Database.update("Members", { _id: docs[entry]._id }, { $push: { "activity.Monthly": { $each: [value], $slice: -30 } } }, {});


Better documentation?

Hi @platelk,
Great work on the library.
Was wondering if you have planned to generate some documentation on it.
For now, the readme example is all that there is.
Cheers,
Joel.

Hi !
I plan to improve the testing and the documentation, but some should be generate by pub automatically and available here : https://pub.dartlang.org/documentation/dcache/latest/
I plan to add more cache strategy and external storage too and I definitely and some documentation on how to this strategy works, pro and cons and provide more example.

Awesome. Thanks @platelk !


Upgrade to uw-editor v0.1.21

This has minor fixes for undo/redo/save and chapter numbering

unneeded. connected the pr to issue 30


aoslice ValueError for custom basis set with ghost atoms

from pyscf import gto

mol = gto.M(
    verbose = 4,
    symmetry= 0,
    spin = 0,
    atom = '''
C 0.0 0.0 -1
ghost_Mg 0.0 0.0 0.0
C 0.0 0.0 1
    ''',
    basis = {
        'C' : gto.basis.load('ugbs.nw', 'C'),
        'Mg' : gto.basis.load('ugbs.nw', 'Mg'),
    }
)
aoslice = mol.aoslice_by_atom()

fails with
Traceback (most recent call last):
  File "test.py", line 22, in <module>
    aoslice = mol.aoslice_by_atom()
  File "/home/work/pyscf/pyscf/gto/mole.py", line 1613, in aoslice_by_atom
    aorange[:,0] = shell_start = numpy.append(0, delimiter)
ValueError: could not broadcast input array from shape (2) into shape (3)

Fixed in commit 7bc880e8954c4ab3845b3efb686dd747aa3c52ef


Implement bindings to the @actions/github package

Right now this library does not expose bindings to the @actions/github package. In order to support the full actions toolkit, we will need bindings to that package.

I took a look at the @actions/github package and it seems like this one will be the most complicated to implement (with the oktokit stuff). If someone is interested in trying to write bindings.
However, it looks like we could write bindings around context pretty easily, which would be a great first step to getting this done.


feat: encode let_fun using a letFun function

Switches from encoding let_fun using an annotated (fun x : t => b) v expression to a function application letFun v (fun x : t => b).

@leodemoura I carried out your suggestion to re-encode let_fun, and hopefully it came out in the way you anticipated!

I'm not sure if you were expecting it to be for dependent or non-dependent lets.

It is for non-dependent lets.

I investigated making it be only for non-dependent lets, but I found that the first example in tests/lean/letFun.lean

I can encode all let_funs in this test file using the auxiliary letFun function.  Could you please clarify the issue you are having?
def letFun {α : Sort u} {β : α → Sort v} (v : α) (f : (x : α) → β x) : β v := f v

#check
  letFun (fun x => x * 2) fun f =>
  letFun 1 fun x =>
  letFun (x + 1) fun y =>
  f (y + x)

example (a b : Nat) (h1 : a = 0) (h2 : b = 0) : (letFun (a + 1) fun x => x + x) > b := by
  simp (config := { beta := false }) [h1]
  trace_state
  simp (config := { decide := true }) [h2]

@leodemoura I've used the wrong terminology -- using SimpLetCase for clarification, I mean to say I wasn't sure if you were expecting the nondepDepVar or nondep encoding.  I got the nondepDepVar encoding of letFun working in this PR, and it does exactly what you wrote in your code block.

@leodemoura I don't have any obstruction here, and I can handle non-constant type families. I just wanted to be sure that you weren't expecting this simplified letFun encoding that you had proposed in your original message since I instead used this "nonDepDepVar" encoding, which I switched to at the first sign of trouble. The latter was more obvious how to implement. In particular mkLetFun, to produce the simple encoding, would need to force β to not depend on the fvar x, even in the presence of metavariables.
Examples like this one definitely work with this PR's implementation:
#check let_fun n := 5
  (⟨[], Nat.zero_le n⟩ : { as : List Bool // as.length ≤ n })

I haven't evaluated whether these sorts of examples appear in the wild, but I would not be surprised if they do.
You are correct that it does not generalize the value in the expected type, so your examples with { as : List Bool // as.length ≤ 5 } do not work. I personally believe generalization would be a surprising feature for let_fun, and if that is at some point a requested feature, that it should be either an option (like let_fun (generalizing := true) n := 5; ...) or be a new binding syntax.

@kmill Let's move forward and merge.

@leodemoura Sounds good. Let me know if you need me to do anything. (Maybe I should rebase this onto the newest nightly and regenerate the stage0?)

(Maybe I should rebase this onto the newest nightly and regenerate the stage0?)

Yes please.

@semorrison Done.
By the way, this will take a small change to std. I don't have push access to that project, so didn't update the testing branch. Instead, I made my own branch and modified the mathlib testing branch to use that. It was an easy fix: https://github.com/kmill/std4/commit/7ca1c2c8232a72a10ba14e69869d1efc6666b043

@Kha, @kmill, I don't think we should have merged this while it had a breaks-mathlib label!
It has indeed broken both Std and Mathlib's nightly-testing branches, and without understanding this PR in detail I don't immediately know how to fix them.
(The discussion on zulip might be a better place for follow-up than here.)

@semorrison Did you see my message earlier, https://github.com/leanprover/lean4/pull/2973#issuecomment-1853065287 ?
I'll follow up on zulip too.


Upgrade to Glottolog 4.2.1

Trying to upgrade to Glottolog 4.2.1, there are two issues with dialects that have disappeared:

EA society Awuna is mapped to awun1244 - a dialect of Ewe, which isn't included in v4.2.1 anymore.

Kitchen's semitic phylogeny maps Geto to gyet1240 - a dialect of Sebat Bet Gurage, which isn't in v4.2.1.

@d97hah any ideas?

You mean there are associations that are no longer current?
Pada tanggal Kam, 16 Jul 2020 pukul 08.56 Robert Forkel <
<EMAIL_ADDRESS>menulis:

@d97hah https://github.com/d97hah any ideas?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/D-PLACE/dplace-data/issues/275#issuecomment-659198942,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2QHSF6WQXUXSQXDT6U6RDR32QC7ANCNFSM4O3VSZWA
.

Yep -- Geto which was gyet1240, and Awuna which was awun1244.
The Geto data are originally from here: https://glottolog.org/resource/reference/id/91520

I think Awuna should be Anlo (https://glottolog.org/resource/languoid/id/angl1262) based on this

Geto is Gyeta [gyet1241] in 4.2.1
Pada tanggal Kam, 16 Jul 2020 pukul 15.19 Simon J Greenhill <
<EMAIL_ADDRESS>menulis:

Yep -- Geto which was gyet1240, and Awuna which was awun1244.
The Geto data are originally from here:
https://glottolog.org/resource/reference/id/91520
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/D-PLACE/dplace-data/issues/275#issuecomment-659405876,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2QHSGFC4PN7LNNVFJLUBLR3345HANCNFSM4O3VSZWA
.

Yes Anlo [angl1262]
Pada tanggal Kam, 16 Jul 2020 pukul 15.24 Simon J Greenhill <
<EMAIL_ADDRESS>menulis:

I think Awuna should be Anlo (
https://glottolog.org/resource/languoid/id/angl1262) based on this
https://en.wikipedia.org/wiki/Anlo_Ewe
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/D-PLACE/dplace-data/issues/275#issuecomment-659408952,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2QHSCJ2ROMYXWJ7GNJ2ATR335P3ANCNFSM4O3VSZWA
.

great, thanks Harald!


Keep running preDeployTask "npm prune" more than 10 mins for JS project

OS: Windows , Mac
Build Version: 20200401.1
Node.js Version: v12.16.1
Repro Steps:

Create a JS project --> Click the Deploy button --> New a function app.
Deploy --> Check the progress.

Expect:
Succeed to deploy in time.
Actual:
Keep running preDeployTask "npm prune" more than 10 mins.

More Info:
Not reproduce for C#, TS, PS, Python.

Probably related to https://github.com/microsoft/vscode-azureappservice/issues/1428


Fixes kuttl test command typo

Signed-off-by: farhan5900<EMAIL_ADDRESS>
What this PR does / why we need it:
Fixes typo in one of the commands on the CLI Usage Page.
Which issue(s) this PR fixes:

Fixes #35
Special notes for your reviewer:
NA

yeah


Update 1126.json

Added two new (older) AC units that have been tested to work with this json file.

Sorry, not sure whether I needed to make a pull request or whether I just needed to edit the file.

Amazing. Thanks.