[+0-all-args] Update plus zero tests.

rdar://34222540

Caught a mistake. Sorry for the noise!

@swift-ci smoke test

Looks like I need to add module_names to more tests... I am going to merge this for now and then loop back once I finish.


GVFS Sparse - Extra folders outside of sparse list showing up

After successfully running "gvfs sparse -a folder1" and "gvfs sparse -l" shows folder1, I have a bunch of other folders still in my repo.
Response from @kewillford:
I’m guessing that you were using a previous repo and not a new clone and that there were modified files in the paths that continue to show up.  Right now there is not a way to clean up the modified files and the paths that have been affected until we have the dehydration of folders feature.  After we have that feature we can add an automatic cleanup after running a sparse command but this would also affect #2 because we would be removing all those files and would need to know they are not modified before that.
But my question is - git status was clean which means there were no uncommitted modified files - what exactly do you mean by "modified files?" - files in this repo that have ever been modified?

git status was clean which means there were no uncommitted modified files - what exactly do you mean by "modified files?" - files in this repo that have ever been modified?

Yes, because when you modify a files it is added to the ModifiedPaths.dat of VFSForGit and from that time on git is in control of keeping that file up to date and VFSForGit is out of the way and currently that list is additive only. PR  #1323 will change that with dehydrating folders and removing entries from the ModifiedPaths.dat.  Once that PR in merged we can look at using that feature here to clean up things outside the sparse list.

Sounds great - thanks! Will circle back to this when I get back from oof later this month.


Added CCMenu

Extra note, you also have trailing whitespace in some lines (which is what is causing the build to fail).

Thank you for the contribution. It needed some fixes, so they were made in fc763e6558f0d3fe6bdd59f73b7f4d2775b61b66. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.

@vitorgalvao btw your style fixer has problem. It goes infinity loop and adds same line to same line on todo comment problem

Oh, right, had already seen that but forgot to open the issue. Thank you.


Automatically convert CobiGen_Templates to a Maven project

Adresses #807.
This PR implements a way to automatically convert CobiGen_Templates to a Maven project. It works fine, though my implementation is indeed hackish:
I have really tried to find a way to execute the command configure -> to Maven project programmatically, but I did not find any good documentation explaining this.
The way I have implemented the solution is by directly calling the Eclipse Class that contains that logic (EnableNatureAction).
The drawback here is that the class is not API and I get the following warning:

If there is a better solution, I would like to hear it. From the Spy plug-in this is the information I have retrieved:
The active contribution item identifier:
org.eclipse.m2e.enableNatureAction

The active contribution location URI:
menu:org.eclipse.ui.projectConfigure?after=org.eclipse.m2e.enableNatureAction

The active contribution item class:
EnableNatureAction

The contributing plug-in:
org.eclipse.ui.workbench (3.107.1.v20160120-2131)

@devonfw/cobigen

There is an easier and more compliant way: http://www.vogella.com/tutorials/EclipseProjectNatures/article.html#get-and-set-a-project-natures
After that you have to trigger a refresh and rebuild most probably programmatically as well. The EnableNatureAction most probably does this in one go, but it is not defined as an official API, so the access to it is discouraged.


chore: moonshinelabs caps and cu host_mappings

PR blocked for merging because of this issue https://github.com/vercel/next.js/issues/40022
Also similar PR blocked https://github.com/cardinal-labs/cardinal-staking-ui/pull/146 https://github.com/cardinal-labs/cardinal-staking-ui/pull/154


docs: mention cog as example tool

The Grok project is archived, so I guess it is better to mention an actively maintained tool.

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


Update brocaar/lorawan to 4b356a0 to incorporate v1.1rb for AU (fixes #719)

See #719

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

The reason we had lorawan/band tagged at a64aca28516d1024d898a412b2657b35b3539329 were the breaking changes introduced in https://github.com/brocaar/lorawan/commit/aa09ef2fd7be6786b853675bb208c26ceeaf9bfd. The changes in this PR result in those breaking changes being applied, which you can see happening in the Travis build. I pushed 36761935d1867ce2cd70a80ceef197a124e2d276 which includes the complete lorawan vendor, instead of only the one Go file (which was causing those errors).


Support for autolayout?

Is it planned to support autolayout? Or how would you handle that the user can rotate the device?

Hi,
You can start with this: https://gist.github.com/i-schuetz/f6e285eb0c86bb831510
Here's a more complex use case (using multiple charts in a stack view) you may want to take a look into it for more details and some corrections of the gist https://github.com/i-schuetz/SwiftCharts/issues/98

Thanks for the faste response. Works like a charm!


Settings reworked and retainer overlay extended

Had this in the pipeline too. If don't you like it, screw it.
Settings:

Overlay:

I could add the gil undercut to the overlay as well.
And ImGuiHelpers.GlobalScale is always good to have.
But that would be added in, not merged.
also i forgot to give you credit for the gil undercut, gonna do that.
Have you looked at the new UI? what do you think?

I like it much better than my version, but please always show "the limit stack size" in the overlay or make an option for it.
Sometimes I want to limit the stack size and then it is quite nasty to have to go into the settings first.
It would be very nice if the gil undercut was in the overlay.
I also looked in the code and please don't forget to save the gil undercut
https://github.com/chalkos/Marketbuddy/blob/9752fd579184d357befa70a37986e3fc81ce061c/Marketbuddy/PluginUI.cs#L117

I like it much better than my version, but please always show "the limit stack size" in the overlay or make an option for it.
Sometimes I want to limit the stack size and then it is quite nasty to have to go into the settings first.

welp.. this was not intentional. it should have been as you described. i forgot that there was also a checkbox linked to the same bool in the overlay... and screwed that up because the overlay gets disabled when you're not limiting anymore :|

It would be very nice if the gil undercut was in the overlay.
ye I'll fix the above and add this in the same go

I also looked in the code and please don't forget to save the gil undercut
I clearly need to test this more before i release. good catch!

and done. hopefully I stopped breaking things now and managed to add a few cool things along the way 😅

Nice. I'm closing the PR now.
One note, maybe also allow 0 as a value for undercut gil.
I have heard from many people that they always set the price as low as possible without undercutting it.


Floating labels for form inputs

Would be really great to have floating labels as a feature of this UI kit/library.
Have just started to implement parts of it into a larger rewrite of an open-source app where I have currently built the feature myself.
Here is what I have built:
<template>

        <input :type="props.type" :name="props.inputId" :id="props.inputId" :aria-disabled="disabled" :disabled="disabled" class="block peer w-full border-0 p-0 text-gray-900 placeholder-transparent focus:ring-0 sm:text-sm" :class="{ 'cursor-not-allowed': disabled }" :value="props.modelValue" :placeholder="props.label" @input="emits('update:modelValue', $event.target.value)" />
        {{ props.label }}

</template>

It is quite simple so would need some adjustment to inside the exisiting form input, but usage could be something like this:
<UInput variant="outline" />
<UInput variant="floating" />
<UInput variant="none" />

Example of this using TailwindCSS can be found here: https://www.material-tailwind.com/docs/react/input
It is however for ReactJS

You can use the UInputGroup component: https://ui.nuxtlabs.com/forms/input#group

Just made this PR: https://github.com/nuxtlabs/ui/pull/234 which might open possiblities for this.

Closing this for now, feel free to reopen if the previous pr didn't fix your issue.

@benjamincanac - I'm not sure I'd want to reopen this, but I have the same use case. Looking at the structure of FormGroup, it doesn't look like we can use tailwind's whole "peer" approach for floating labels as the label doesn't follow the input. Do you have another suggestion for implementing?

Sorry for the late reply @benjamincanac
Seems the FormGroup stuff is getting partially there, but not entirely something that I can get to what is shown in the link that shared initially.
Seems others have showed interest in #514

Will look into it when I get the chance 😊

Hello
I made the request last August for this evolution, is there any progress? (#514)
Thx

I'm not 100% sure, but it seems to be solvable by either adding a property to switch the position of the label and input field, or adding an alternate label slot below the input field.

Closing this as I'm not sure it's relevant to implement it in Nuxt UI. I've just published an example on the Nuxt UI v3 docs on how to achieve that: https://ui3.nuxt.dev/components/input#with-floating-label
This will most likely work the same on v2 😊

@benjamincanac - very cool implementation there :)


VM: Adds -runas flag to qemu

To try and run as either lxd or nobody user.
Note: Do not merge this right now, it is known broken!
Signed-off-by: Thomas Parrott<EMAIL_ADDRESS>

@stgraber this PR successfully switches the qemu process to run as the lxd user, and the VM starts.
However the 9p mount cannot be established because the config folder on the host is not readable by the lxd user. Would it be OK to change the perms of the config folder and its contents on startup?

@tomponline we'll want the permissions to remain very tight, we absolutely don't want another user on the system being able to read the keys from it. But having some function which recursively changes ownership from root to the temporary user is fine.

@stgraber have updated as discussed thanks.

@tomponline done the changes I mentioned, will merge once Jenkins is happy

Testsuite passed


Getting different,, random IPs whenever checks are run

When I run a job to pull from icanhazip.com I'm getting crazy IPs that are not mine
Is my install using some sort of proxy? I'm so confused. I'm in the US yet ChangeDetection is requesting sites using IPs from all over the world.
What's going on??

ARGH there was a proxy. Sorry! Delete me.


Finalize Python 3.13 support

[ ] Update project classifiers and Requires-Python
[ ] Remove Python 3.13 prerelease patched Pip 24.0 hacks

Some things to undo here: https://github.com/pex-tool/pex/pull/2407


"Manage database roles and users" and SSDT

The title of this page is
"Manage database roles and users"
There are FOUR references to SSDT and no time does this page explain the acronym.
To be precise, THIS page.
https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-database-users
should state what SSDT is, before using the acronym.
You could even provide a link, such as
https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-server-2017
See #16798 where this was closed without addressing the Issue.

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

ID: 3f0e1195-b6a2-d789-a950-4454798f265e
Version Independent ID: d8ea7415-3b97-5985-44e7-1b89bf1196b6
Content: Manage database roles and users in Azure Analysis Services
Content Source: articles/analysis-services/analysis-services-database-users.md
Service: azure-analysis-services
GitHub Login: @Minewiskan
Microsoft Alias: owend

@Minewiskan the SSDT acronym is not spelled out anywhere in the document, could you take a look?
@lukeb1961 I see your point now with the last issue, sorry I was a bit hasty closing it.

@lukeb1961 There is no issue here. What SSDT is, how it's used, and how to install it is described in many articles you should read long before getting to this particular article on adding users and groups. For example, What is Analysis Services? or the data modeling tutorial ( roles is lesson 11). Please start with introductory articles.
#please-close

Any updates on this? I still cannot add the AAD group users, using obj:groupid@tenantid?

You people DO realise that one of the biggest issues with Azure is the LAME documentation?
sigh..

@Anmolgan81  - Please open a separate GitIssue regarding adding AAD group users, using obj:groupid@tenantid. This particular issue, #18267 is out of scope and closed.

Regarding obj:groupid@tenantid, where does one get the groupid?  Using the group name as the ID does not appear to work.  So, I'm assuming this is something like having to look up a tenant id ... is that right?


ignore json vulnerability prefix )]}',

if you look at JSON vulnerability here:
http://docs.angularjs.org/api/ng.$http
you see some websites will prefix their json output with
)]}',\n
it'd be super neat if JSONView ignore that if it was at the start of a reply.

:+1:

Please integrate pull request : https://github.com/gildas-lormeau/JSONView-for-Chrome/pull/22 :) !


Problem with unsafe equality of SomeViews

Currently, given these types:
import Pure

data A = A_
data B = B_

instance Pure A where view = ...
instance Pure B where view = ...

When diffing views A to B, nothing happens because isTrue# (reallyUnsafePtrEquality# A_ (unsafeCoerce B_)) == True.
The goal of the reallyUnsafePtrEquality# a (unsafeCoerce b) was to avoid a costly call to typeOf for every SomeView diff.
If there is a way to identify a typeclass instead of a TypeRep, we could avoid the issue and maintain safety. Something like:
data A = A
data B = B

class Typeable a => Pure a where
  ident :: a -> Int
  ident _ = hash (typeOf (undefined :: a))
  view :: a -> View

instance Pure A where view = ...
instance Pure B where view = ...

The thing I don't like about this approach is the added Typeable constraint that infects higher-order views.  This approach also adds overhead to un-optimized code; diffing of A with A will cause ident A to be fully evaluated twice.
I think the solution is something like the following:
data A = A
data B = B

class Pure a where
  ident :: a -> Int
  ident _ = unsafePerformIO (hashUnique <$> newUnique)
  view :: a -> View

instance Pure A where view = ...
instance Pure B where view = ...

This has the same drawbacks in terms of added overhead with -O0, but instead of succeeding in the worst case, it will always fail. That is, ident A /= ident A with -O0.  However, we no longer infect higher-order views with the Typeable constraint.
In either case, diffing will be slowed greatly.  I'm going to try the second variant since downstream code can remain unchanged.

Tentatively closed by 9a948b643.


Include page aliases in page search result

It's important to include page aliases within search result, otherwise we can't choose page aliases from page selector espacially for Big sites where isn't possible to find the page from Regular Sitemap

Is there reason why you'd want to choose a page alias instead of the original page?

Yes, we faced the problem on a multisites where we have  pages from site A aliased in site B

@aembler
one reason we have right now, is that we are using different themes within one site where the, the site got over 20.000 pages and something like 2000 aliases, the themes are for the different categories of the site where some of the categories got their own domain or subdomain! In a site like that pointing to the original will show the page with a different theme.
I´m also sure that there is some other scenarios where this would be useful.

This makes sense to me; do you think you might be able to amend something to this pull request?
Could you keep all the portions of the pull request that make aliases work in the results – but keep the default to search for page aliases disabled? Then, add a new search field that enables the aliases in advanced search?
I'm concerned about the default search performance for most sites, since doing page searches that include aliases can be slow. But I recognize what you're looking for and that it would be useful. Could we add a new field at Concrete\Core\Page\Search\Field\Field\IncludePageAliasesField that makes it possible to search for the page aliases? That way we could add it to the advanced search.
If you're curious as to how the fields in these searches get included as search fields in the advanced search interface; first you add a field in the namespace, and choose how it's going to be rendered and how it filters the page list, (see the Concrete\Core\Page\Search\Field\Field\PageTypeField class for a pretty simple example.) and then you register it in the search field manager, Concrete\Core\Page\Search\Field\Manager (just add it as a new field after the ThemeField or something like that.

Okay i'll update the PR

PR updated

Thanks! Nice job on the quick turnaround.


:bug: Fix condition error of ManifestApplied.

Summary
This PR is related to the https://github.com/open-cluster-management-io/addon-framework/pull/268
It turns out Manifests will always return objects, it's BuildDeployWorks to decide whether the objects is match to the current mode.
And this time I tested with a self-build image on the test env.

/assign @qiujian16
/assign @zhujian7

could you add an integration test on this?

could you add an integration test on this?

It turns out there are there are u-t cases that are related to this, I've the condition check step here.

could you also add some check in this https://github.com/open-cluster-management-io/addon-framework/blob/main/test/integration/kube/agent_hosting_deploy_test.go?

could you also add some check in this https://github.com/open-cluster-management-io/addon-framework/blob/main/test/integration/kube/agent_hosting_deploy_test.go?

Sure, check steps added.

@morvencao do you know when ce test failed?

@qiujian16 e2e flack passed, please take another look.

/approve
/lgtm

/cherry-pick release-0.9


Yarn support

Hello,
It would be really awesome to support yarn and update the yarn.lock in each PR.
I don't know if this is doable with a javascript api or if this is in the scope of renovate (maybe this should be done by another bot/binary).

Thanks for the suggestion. I haven't tried yarn yet but have been meaning to. I'll need to understand the relation between package.json versions and what's in yarn.lock before being able to confirm if there's a feasible way to support this.

From their docs:

Your yarn.lock file is auto-generated and should be handled entirely by Yarn. As you add/upgrade/remove dependencies with the Yarn CLI, it will automatically update your yarn.lock file. Do not edit this file directly as it is easy to break something.

So it says not to modify it in practice. In theory.. maybe
One question is: if you used this type of dependency updating service, would you still use ranges in package.json?
Although even if you pin all direct dependencies from your package.json, I think the yarn lock file will include dependencies those use too (second tier dependencies), which are typically unpinned.
Another concept: even if none of your direct dependencies have version updates, some of their second tier dependencies might have received updates since the last time you ran yarn - and maybe some of those would be a really important patch, too.

I think to do this we'd need to spawn yarn itself to see the updated yarn lock file. It's a change of current architecture (which is lightweight API calls only) but it's definitely achievable.

The yarn.lock is like an npm shrinkwrap and pin every dependencies.
If renovate is able to rebuild it on each PR, this will be a nice speed increase for devs ! The long part in yarn is when you have to rebuild the yarn.lock, otherwise its blazing fast.
Technically, the upgrade could be done with shelljs.

Do you mean the time spent manually pulling a branch locally to run yarn and then commit an updated yarn lock file?

The time to install packages will be reduced.

I've been trying to catch up on what yarn's exact behaviour is with its lock file. Seems there is/was confusion and bugs: https://github.com/yarnpkg/yarn/issues/570#issuecomment-257190341
My understanding from that is that yarn by default shouldn't rebuild the yarn.lock file unless a user performs an action that requires it (e.g. adding a new package, or forcing an update of packages).
Originally, I had thought your request in this issue was: "If renovate updates a repository's package.json, then you it should update the yarn.lock file too, if present". i.e. you were referring only to PRs that renovate creates. This requirement seems like something renovate should be doing, if it is to support repositories with yarn users.
A second requirement I then thought of was for renovate to force yarn to run update on the base branch of a repository and then submit a PR if anything has changed in yarn.lock. i.e. the {R is not changing anything in package.json, but checking if there any upstream updates for those dependencies' dependencies.
Are there any more yarn-related requirements you have in mind? e.g. renovate updating other PRs which it itself hasn't created?

My need was only for PR created by renovate of course.
In the futur, renovate could also check other PR, but this is out of the scope of the project ATM.
I don't know yarn very well too, my company use it in dev actually but the goal is to replace npm shrinkwrap for production builds.

Relevant: https://yarnpkg.com/en/docs/cli/generate-lock-entry

Seems we'd need to run yarn upgrade [package@version].

I believe the two scenarios outlined by @rarkins here cover the two cases I'm familiar with.
My yarn.lock file is updated when I manually add, remove, or upgrade a single dependency, and when I periodically run yarn upgrade (without any arguments) to upgrade dependency versions based on the existing semantic version ranges specified in my package.json file.

On a related note, there has been a discussion requesting yarn support a programmatic API. Already someone has provided an example of needing to integrate with yarn, and not wanting to fork out to a sub-process.

@hbetts thanks again for the feedback. There's a lot of cross-over with yarn in #31 too.
As you mention, your current manual approach is running yarn upgrade without arguments. This has the potential to upgrade multiple dependencies at once. If you had an automated system like renovate, would you prefer to upgrade dependencies one-per-branch or still stick to a single branch for all upgrades?

I'm thinking of making the first step like this:

Autodetect yarn.lock to enable our yarn feature
Assume users are using ranges in package.json
Read package.json but do not modify/update it
For each dependency in package.json, find the current pinned version in yarn.lock
See if any versions from npm satisfy the range in package.json and are newer than the yarn.lock version
If so, run yarn update dependency@version
Commit the new yarn.lock file and create/update PR

Later, we can add the option of also detecting if ranges in package.json should be updated too (e.g. for a new major version), but that feature can be developed afterwards.

@hbetts I know you like to keep ranges as wide as possible, but I don't like choice 1 above. The reality is that dependencies do get broken in minor versions and even patches. Even if your own tests don't detect such a break initially, keeping each dependency upgrade (i.e. renovate PR) separate would make tracing it back (e.g. using git bisect) easier.
Unless I'm missing something, an appropriate compromise would seem to be my original idea before I found out how yarn works practically. i.e. ranges in package.json remain same, but you can force update pinned version in yarn.lock one dependency at a time.
BTW I tested if running something like yarn upgrade<EMAIL_ADDRESS>would have the desired effect of leaving package.json as ^1.0.0 but yarn.lock upgrading its pinned version from 1.0.0 to 1.1.0. Unfortunately yarn.lock remained unchanged - I guess because package.json was not considered "dirty" so yarn.lock wasn't regenerated.

I'm now reconsidering what "first stage" yarn support should look like and considering targeting it at apps not libraries. With an app, you may as well pin your package.json versions too because you're not worried about downstream users getting conflicts. So then this model would be:

Pin/upgrade versions in package.json like regular renovate does today
Make sure yarn.lock is updated each time

If you run yarn upgrade foo then yarn will not only update foo to 1.1.0 in yarn.lock but will also update package.json to use version ^1.1.0. Isn't this undesirable to unnecessarily restrict the version ranges, especially if you're building a library that others will consume?

Yes, upgrading the minimum version of foo to 1.1.0 is unnecessarily strict. Furthermore it would necessitate a new version of the project being published, which would cause downstream project's to need to upgrade. Leading to lots of noise for no value.

I really prefer to update one dependency at a time, both for initial testing as well as rollback.

That would be my preference as well.

Bad?: Assuming that renovate is running frequently and always updating you to the latest version, this is essentially the same as pinning your versions

I would agree that this would be bad because it probably means additional complexity for renovate without any value added to the user's experience.

@hbetts I know you like to keep ranges as wide as possible, but I don't like choice 1 above. The reality is that dependencies do get broken in minor versions and even patches. Even if your own tests don't detect such a break initially, keeping each dependency upgrade (i.e. renovate PR) separate would make tracing it back (e.g. using git bisect) easier.

I agree. Option 1, though easier, makes it unnecessarily more difficult to discover the specific upstream package that broken a project. I'm totally on board with one PR per change. (I hope that doesn't end up being too noisy, as some of my projects have ~1020 dependencies in their tree, but I guess we can find out :-) ).

Single branch to force yarn install all packages at once

Something to keep in mind is that by re-generating the yarn.lock file, instead of updating a specific package within it, has the advantage of allowing yarn to optimize the dependency tree by eliminating duplicate packages.

@SebastienElet @hbetts could you take a look at https://github.com/singapore/renovate/pull/93 ?
As described there, this PR adds the logic:

If package.json is to be updated then we check if a yarn.lock exists
If it exists, we run a "fresh" yarn install and commit the resulting yarn.lock

Hence it is not compatible with maintaining ranges in package.json because that functionality isn't supported in the existing renovate either. However this hopefully satisfies anyone who wants to (1) pin package.json dependencies, and (2) use a yarn.lock to pin sub-dependencies too.

Now published to npm in version 8.6.0


feat: add allow insecure check in chart repositories

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] The title of the PR states what changed and the related issues number (used for the release note).
[ ] Does this PR require documentation updates?
[ ] I've updated documentation as required by this PR.
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas

need to create a branch from main


It's possible to have a demand granted with no response

Description
Example: Transparency demand is GRANTED yet no response is given.

Intended outcome
Show response - even if "Null"

Transparency demand does not have an answer itself, but contains other transparency demand responses (dpo, retention policies etc.) which should be displayed in the same list as this demand.

Transparency demand does not have an answer itself, but contains other transparency demand responses (dpo, retention policies etc.) which should be displayed in the same list as this demand.

That's how it works currently, for a Transparency demand it will display a list item for each Transparency.* action.
For this issue though, it's a Transparency.Retention demand, and the answer is empty. Checking the demo app, the response JSON is:
{
    "demand_id": "c8fc4829-d46f-49e8-98b5-1f136c88dfce",
    "date": "2022-11-21T11:10:07.539Z",
    "requested_action": "TRANSPARENCY.RETENTION",
    "status": "GRANTED",
    "motive": null,
    "answer": "{\n  \n}",
    "message": null,
    "lang": null,
    "includes": [],
    "data": null
}

It wasn't empty before, the answer had a list of objects matching the RetentionPolicy schema I believe. Is it someting in the demo PCE configuration that's causing it to return an empty string?


Can specify scroll position on hover

Sorry for the delay, thanks for the submission! I'll get a release with this out soon.


esbuild

Still need to publish a beta version and see how it works. Once we test it thoroughly in beta, then we can merge this.
A few notes:

build times for react, types, and css are sub-30 seconds 🏎
using webpack 5 for storybook allows us to use postcss 8 now and the latest tailwind 👍
the way we have been publishing our component library includes the src directory, so I think we need to figure out a better way to do publish the dist (https://newbedev.com/how-to-npm-publish-specific-folder-but-as-package-root) 🤨
removed postcss-each because it is a dead package and instead had to write out all of the font styles 🤷♀
added purging CSS to the build reduced the CSS from 1.5mb to just 10kb 🤯
I believe that by not "bundling" on build, we are able to achieve full module tree-shaking. We might have to add our main styles separately to these projects now to get all of the correct styles for the components, but at least it is a much smaller file. 🌲
removed linting hooks for now since that was tied to tsdx, but we might want to re-add eslinting somehow ☕

@jaruesink,
I had upgraded to the latest postcss and tailwind in this PR: :)
https://github.com/lambda-curry/lc-component-library/pull/69

So everything seems to be working except for some reason the menu component isn't working on CLX
https://github.com/adsupnow/bengal/tree/ComponentLibrary
It opens just fine, but for some reason gets stuck in the "closing" state and never finished closing


Cody commands shortcut doesn't works perfectly in the editor

After the recent updates to the command shortcut, it is not working perfectly in the editor. It would be better to change the shortcut to open the commands window.
O.S: Mac
CC: @abeatrix @toolmantim
https://github.com/sourcegraph/cody/assets/44617923/dd9273f3-6c75-49ee-8ce6-ec5d8c1c77df

Which command was giving you the issue?

It's [⌥C], as mentioned in the startup screen.

@deepak2431 Thanks for bringing this to our attention! I'm not able to reproduce the issue on my end, and I took a look at the code and can confirm that this should work in the editor as we are not restricting it with any "when" clause. I suspect there might be a conflict with your current keybinding, and if that's the case, you can resolve that by remapping the shortcut to any shortcuts that work for you using the shortcut editor.  Let me know if that resolves the issue for you 🙇♀

Hey @abeatrix, Thanks for looking into this. I checked my shortcut binding, which is correctly mapped to Cody AI only. The issue is that whenever I use the [⌥C] command, it converts it into a special character like ¸.

@deepak2431 converting into a special character shouldn't block the keybinding though 🤔 does it work if you remap it to another shortcut that is not taken?

@abeatrix Not sure, but if you select a code, and try the shortcut which adds a special character, then it just replaces the selected code with it in the editor rather than opening the command window. Let me try to map it with some other binding and see, as it worked for me before when the shortcut command was Shift+Ctrl+V.

https://github.com/sourcegraph/cody/assets/11155207/5ca89003-01dd-4337-8a30-e047be851fb1
@deepak2431 My version of this issue is that when I open the local instance of Cody for the first few seconds pressing [⌥C] just replace stuff with a special character but after that it actually applies the command as it should seems like some sort of loading is going behind the scenes.

Option-C is a macOS input binding for ç/Shift-Option-C for Ç, so that's where the ç comes from.
VScode does load extensions asynchronously, and until the extension is loaded, I also get çs. We should work out why the Cody extension is so slow to load for @deepak2431 and @arafatkatze.
Step one, could you hit F1, Developer: Show Running Extensions, and give us a rundown of the extensions and their startup activation/activation times? So we can work out if this is Cody or something else competing with Cody.

@dominiccooney You are CORRECT. This is the actual cause it converts into ç, because the extension doesn't get loaded asynchronously on the editor's opening. For me, in the VSCode, the extension activation time is 275ms.
Also, you can see the runtime for other extensions I have installed in the attached SS.

@deepak2431 I am slightly confused and would love to get some clarification. My original point was that pressing  [⌥C] has two results

Before activation of cody extension it's showing ç because cody has yet to loaded
After activation of cody extension it actually runs the command
The only difference in functionality being the latency of Cody activation. You mention that the latency of cody activation for you is 275ms. in the screenshot but I see in the 28 second video that the problem with shortcuts persists a lot longer than 275ms. I see it for a couple of seconds.

So I suspect the real issue on your end is that cody extension isn't being loaded(Coz the latency timing thing doesn't add up) so that's why the shortcut ain't working. Is that it or is it something else?

@dominiccooney I do have a lot of extensions on my vscode and my cody load time is a lot higher than other extensions. It comes out to be roughly 570ms while all the other extensions come out to be roughly within 100 ms. I think the slow load time of the extension is a separate issue  and the shortcut not working is a separate issue.

@deepak2431 I am slightly confused and would love to get some clarification. My original point was that pressing [⌥C] has two results

Before activation of cody extension it's showing ç because cody has yet to loaded
After activation of cody extension it actually runs the command
The only difference in functionality being the latency of Cody activation. You mention that the latency of cody activation for you is 275ms. in the screenshot but I see in the 28 second video that the problem with shortcuts persists a lot longer than 275ms. I see it for a couple of seconds.

So I suspect the real issue on your end is that cody extension isn't being loaded at all(Coz the latency timing thing doesn't add up) so that's why the shortcut ain't working. Is that it or is it something else?

Hey @arafatkatze, Thanks for your comments. For me, I am facing the issue in both cases when the extension is loading, and also after it's loaded successfully. So, in either case, it replaces the selected code with a special character. My suggestion would be to best update the shortcut so it doesn't have any other bindings with the shortcut key or any special character or of any other in the VSCode.

@deepak2431 Thanks for the clarification. I would recommend trying 2 things just so I can understand your problem better. The reason I ask this is because based on my search the keybinding (Option-C) shouldn't really interfere with mac/vscode stuff. So here's two things to try just so we could understand your problem better

In the keyboard shortcuts double click on the shortcutkey and that gives you the ability to change it. Try to set it to Option v and then try that out right away in the editor. See if that works.

Can you try changing commands here to option d and see if that works?
https://github.com/sourcegraph/cody/blob/f469aadbc00497d1db6e0555962bb360bb08e6b2/vscode/package.json#L478-L479

Run everything in debugger mode again and see if it that works in the debugger instance. There is some setup involved to make the debugger run but if you can try that it would be awesome.
Doing this can help rule out other possibilities. Thank you

Hey @abeatrix, Thanks for looking into this again. But I think that just using Option + Any Character has a special character binding for Mac, as replacing the command with another also adds another special character. You can check this article for reference here.
If I use Command + Option + V, it works perfectly.

@abeatrix If you are good on the approach of using Command + Option + V then I am down to spin up a pr for this. There are a few places in the codebase where this change needs to be made and I will spin up a PR if you are cool with it.

@arafatkatze @deepak2431 Thanks for looking into this with us!  I'll defer to design (@toolmantim ) regarding switching back to Command + Option + V, but my finding aligns with what @arafatkatze mentioned that the keybinding shouldn't interfere with bringing the command menu up for Cody. I will take a deeper look on Monday to confirm, but in the meantime for @deepak2431 , can you try remapping it to a shortcut that works for you 🙇♀

@abeatrix That sounds good, take your time with it. I will map to a new binding which works for me.
Also, just my views it would be good to keep Command + Option + Any Key  as I saw the other shortcuts are using this form so just to keep consistency.

The Option+C shortcut should not block you from opening the command menu even if it has a special character binding, so I suspect there might be something else that is causing the issue for you. I believe remapping the shortcut to something else might be the best solution for you at the moment 🙇♀
https://github.com/sourcegraph/cody/assets/68532117/e54f2bd1-8672-4ecb-88c6-9913f152bf91


Change the speed

Hey there, great plugin. It works really well. Is there anyway I can change the speed at which it snaps the the nearest card?

hi @robertmylne not that I know of, here's how I'm moving to the closest card:
https://github.com/machadogj/react-native-carousel-control/blob/master/index.js#L103
There might be some new additions to the scrollTo since I did it. I'll check it out when I have some time.


jp2-android gradle dependency not found

The following dependency is missing on the maven repository? Could you check it out please?
The dependency
implementation 'com.gemalto.jp2:jp2-android:1.0.3'

Related mavenrepository page -> https://mvnrepository.com/artifact/com.gemalto.jp2/jp2-android/1.0.3

Our build pipelines are also suddenly failing with:
Could not determine the dependencies of task ':app:buildGoogleReleasePreBundle'.

Could not resolve all task dependencies for configuration ':app:googleReleaseRuntimeClasspath'.
Could not find com.gemalto.jp2:jp2-android:1.0.3.

Looks like, the package can be found on jcenter. Don't forget to clean the browser cache when testing the link.

@vladvlasov256  nope it return 404 so

use huawei maven to download a package https://mirrors.huaweicloud.com/repository/maven after download you can override it

Use the jitpack override - https://github.com/ThalesGroup/JP2ForAndroid/issues/1
In your root build.gradle override dependencies like so:
allprojects {
  configurations.configureEach {
    resolutionStrategy.dependencySubstitution {
      substitute(platform(module('com.gemalto.jp2:jp2-android'))) using module('com.github.Tgo1014:JP2ForAndroid:1.0.4')
    }
    resolutionStrategy.force 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
  }
  //etc

Use the jitpack override - #1
In your root build.gradle override dependencies like so:
allprojects {
  configurations.configureEach {
    resolutionStrategy.dependencySubstitution {
      substitute(platform(module('com.gemalto.jp2:jp2-android'))) using module('com.github.Tgo1014:JP2ForAndroid:1.0.4')
    }
    resolutionStrategy.force 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
  }
  //etc

This worked


fix usage print out on empty stdarg. fixes #557

lazily instantiate the dat-js instance so it doesn't throw when .dir isn't set.

Thanks!


Fix setting the TCP protocol

== was mistakenly used instead of .equals for string equality, which was causing the protocol to remain as UDP no matter the value of discovery.srv.protocol.
Fixes #11.
/cc @hcguersoy @grantr

Annoying! Nice catch.

Oh, simply overlooked it :-(


Artifacts on the chart

how do I fix it?

Hi,
I have fixed this issue a long time ago just didn't had time to update.
I just committed some major improvements on the library:
Fixed artifacts on WpfGraphSurface drawing.
Fixed issue with double/float data point infinity.
Fixed issue with Int32 data point.
Added new DateTime data point.
Improved support for panning/zooming while paused.
Improved "Clear" functionality.
Added DataSeries CurrentValue property.
Please get the latest changes and try again.
Thanks.

Hello.
Thank you for the updates. I also found a defect when the value does not change to Y-axis the graph falls to zero.
Perhaps this is not a defect, and there are settings?
Thanks.

When the graph Y range is set to Auto, it will adjust the min/max values based on the current values in the graph.
If you can estimate the min/max values your self the try settings
Controller.Range.AutoY = false;
Otherwise I guess I can implement a small min/max margins when all y values are equal.

https://github.com/royben/RealTimeGraphX/commit/1edb9094d4e358270af353b270d92c97376542b2


More TAB, similar to the browser tabs, each TAB when a separate form

Hello,udos86,I want to do a like this how to do
http://demo.b-jui.com/

Sorry, can't give you any prompt solution on this. Besides it's not directly related to form development.

@udos86  It doesn't matter, thank you very much


fix build failure

@ryanjbaxter I guess the problem was fixed - and this PR while it does not fix anything per-se, is still OK to be merged, imho, as it simplifies a tiny bit things. thank you


feat: add name field to consensus tracing metric log

What type of PR is this?
feat
What this PR does / why we need it:
add name field to consensus tracing metric log to distinguish with other metrics
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Seom strange conflict in this PR, so close it and new one in #69
https://github.com/homura/muta/pull/59/commits/f0302586d872be30bc454ed577dfd143b7bded1d
https://github.com/homura/muta/commit/f0302586d872be30bc454ed577dfd143b7bded1d


Compilation error (Module HelloPhoenix.Web is not loaded)

I'm following the Phoenix guide (section: adding pages) and I'm getting this error as well. Phoenix version 1.1.4. The errors I'm getting are:
== Compilation error on file web/views/hello_view.ex ==
** (CompileError) web/views/hello_view.ex:2: module HelloPhoenix.Web is not loaded and could not be found
(elixir) expanding macro: Kernel.use/2
web/views/hello_view.ex:2: HelloPhoenix.HelloView (module)
(elixir) lib/kernel/parallel_compiler.ex:100: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/8
and
== Compilation error on file web/controllers/hello_controller.ex ==
** (CompileError) web/controllers/hello_controller.ex:2: module HelloPhoenix.Web is not loaded and could not be found
(elixir) expanding macro: Kernel.use/2
web/controllers/hello_controller.ex:2: HelloPhoenix.HelloController (module)
(elixir) lib/kernel/parallel_compiler.ex:100: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/8
ideas?

@AndrewHendrie were you able to figure out what this is?

I am getting this same error, does anyone know why this won't work?

lol totally my mistake. I named my application something other than "HelloPhoenix" ...so naturally the HelloPhoenix modules were not loaded. When I changed my view and controller code to MyApp.HelloController the code compiled without throwing any errors.


Position Action Sheet

What would you advise to position an Action Sheet?
For buttons that are on the edge of the screen the positioning should be changed ie. to the right to prevent the menu being cutoff.
For a project at my company we just upgraded to 2.x, thanks a lot for continuing this project!
Maybe something similar as md-position-mode of the angular material menu is possible for the Action Sheet?

@rmsint Used dropdown from foundation 5 for similar case.

I'm actually quite surprised that position right and left are not supported for action sheets.  I'll leave this issue open for anyone that wants to add support for that.
@rmsint In the meantime you can position action sheets with the following CSS:
.action-sheet {
  transform: translateX(-70px) translateY(20px);
  &::before, &::after {
    left: 10%;
  }
}

I used this solution to position the menu dropdowns on https://parents.fiboart.com

Thanks a lot, the link is a nice example! Interesting to see in action how you solved it. Offtopic: also how you switch between a menu bar and offcanvas menu for mobile navigation is very nice.


Waveshare compatibility?

Looks like the spi instruction set is similar/same? (I didn't look too closely), but the inky-phat library is wayyyy better.
I tried to buy a genuine inky phat but adafruit was out, and I live in the US so it was just easier to buy the chinese waveshare einkphat vs waiting for adafruit to get back in stock, or buy direct.
I went into the library and changed the pinouts, but when I try and run anything I get the following:
Traceback (most recent call last):
  File "test.py", line 6, in <module>
    import inkyphat
  File "/usr/local/lib/python2.7/dist-packages/inkyphat-1.0.0-py2.7.egg/inkyphat/__init__.py", line 24, in <module>
    _panel = inky212x104.Inky212x104(resolution=(HEIGHT, WIDTH), h_flip=False, v_flip=True)
  File "/usr/local/lib/python2.7/dist-packages/inkyphat-1.0.0-py2.7.egg/inkyphat/inky212x104.py", line 111, in __init__
    self._spi.open(0, self.cs_pin)
IOError: [Errno 2] No such file or directory

I figure it's because I changed the cs_pin from 0 (what is 0???) to 8, since that's what the waveshare one uses.
According to the documentation (pimoroni pinout), it appears that the inky-phat uses the the same cs_pin though... so I change it back to 0, and I get the following output after running "python test.py red"
Traceback (most recent call last):
  File "test.py", line 15, in <module>
    inkyphat.set_colour(colour)
  File "/usr/local/lib/python2.7/dist-packages/inkyphat-1.0.0-py2.7.egg/inkyphat/__init__.py", line 40, in set_colour
    return _panel.set_colour(colour)
  File "/usr/local/lib/python2.7/dist-packages/inkyphat-1.0.0-py2.7.egg/inkyphat/inky212x104.py", line 118, in set_colour
    raise ValueError("V1 is only available in Red")
ValueError: V1 is only available in Red

I forgot what I did but at some point (before I reset my cloned repo) I got the programs to execute, however I wouldn't see any change on my waveshare display. It was strange, that it looked like everything was executing properly, except I would see no change. I can't figure out how I got it to that point though...
Anyway, If this is wholly unsupported you can close this issue, otherwise I feel like it might be a worthy endeavor for people stuck in my situation. At least, a fork might be doable if it's impolite to make this library compatible with a competing product.

Ahh... the more I look into it, the init sequences are different... This is definitely a different use case... I will work to see if I can't get this library to work with this...

It's not something we'll ever officially support, but I don't mind offering guidance. You're of course welcome to fork this repo and produce a version for the Waveshare boards if you want!
The CS pins are mapped to 0 and 1 on the SPI device nodes:

BCM 8 corresponds to chip-select 0 or /dev/spidev0.0
BCM 7 corresponds to chip-select 1 or /dev/spidev0.1

And yes there's a lot of kerfuffle in the init routines for the Inky pHAT- it does some detection of old/new board versions (we switched to a different panel type) and that governs what colours are available.

I agree Pimoroni wouldn't really want to help with this because they want you to buy their screens.
Months ago I bought a waveshare screen and then found this page - https://boeeerb.co.uk/creating-a-monzo-pot-epaper-tracker/
So, find this file - inky212x104.py
And change
RESET_PIN = 27
BUSY_PIN = 17
DC_PIN = 22

to
RESET_PIN = 17
BUSY_PIN = 24
DC_PIN = 25

It worked for me with my red screen.
I'm not sure about the latest inky-phat update (that adds yellows support etc)
And I'm not sure if the yellow waveshare screens work fine with the old code, after making the adjustments above.

If someone can figure out how to make the new Inky library flexible enough to be easily compatible with Waveshare boards, I'd gladly accept a PR. See- https://github.com/pimoroni/inky


Error install translation

Restart app or phone and try again.

Restart app or phone and try again.

2.0.0 fixes this issue.


Don't move to word edge when tapping with a mouse

Description
When the user taps a text field with a mouse, don't move the cursor to the word edge.
Related Issues
Fixes https://github.com/flutter/flutter/issues/37969
Tests
I added the following tests:

test/gestures/tap_test.dart
test/material/text_field_test.dart

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

Started Google testing for this PR

Google testing passed!

Started Google testing for this PR

Started Google testing for this PR

Started Google testing for this PR

Started Google testing for this PR

Google testing passed!

Chatted with @dkwingsmt and @Hixie.
It's my opinion that higher level widgets should take control of the behavior. In this case, the material text field widget should decide whether to place the cursor at the precise tap position or at the edge of the word. In order for it to do that, it needs access to the device kind.

Actually we had a discussion in discord and I think the conclusion is that kind should not be added to gesture details. There are multiple ways to implement it, but I suggest first trying to modify TextSelectionGestureDetectorBuilder. At the end of the day, text selection is not exclusive to text fields, and the logic of whether to use position or word edge should not be decided at the widget layer.

This was the conversation (June 24th 2020):
[5:51 PM] Tong Mu (dkwingsmt): @Hixie Question: We're trying to change text selection with mice to be precise instead of based on word edges. https://github.com/flutter/flutter/pull/60177
As far as I can remember when you first designed the gesture system you intentionally hid the device kind from the gesture details. But it seems to me that text selection must distinguish between the operating device (instead of TargetingPlatform which is more like how the app looks). Do you think it's a sufficient reason to add kind to DragDetails, or do you think there is a better design?
[5:52 PM] Hixie: TargetPlatform is the platform that user interaction should adapt to target, doesn't have to be about looks. e.g. scroll physics is based on that too.
[5:53 PM] Hixie: not sure what you're asking though. if you want a gesture that only matches for mice, the gestures have access to the pointer type.
[5:55 PM] Tong Mu (dkwingsmt): Text selection should be based on positions if the user is using a precise device (mouse), or word edges otherwise (touch). Some devices can even accept both kinds of device at the same time.
[5:55 PM] Hixie: sure
[5:56 PM] Tong Mu (dkwingsmt): The gesture have access to the pointer type, but the widget that uses the gesture detector doesn't.
[5:56 PM] Hixie: use a RawGestureDetector and pass in a DragGestureRecognizer configured with the kind you want to use
[6:00 PM] Tong Mu (dkwingsmt): Ok first, text field seems to build its own detector, so we might have a way to get around that.
But if it couldn't, RawGestureDetector with kind as filter won't work as well, because the detector needs to detect all devices, just behave differently based on the pointer kind. If we have to rely on the kind filter, then we have to nest two detectors, one with kind and one without.
[6:03 PM] Hixie: two recognizers, right
[6:03 PM] Hixie: that's correct
[6:04 PM] Tong Mu (dkwingsmt): We can't use two recognizers because one detector only accepts one instance of a recognizer kind
[6:04 PM] Hixie: yeah we should fix that
[6:05 PM] Hixie: or alternatively just locally create two private subclasses, one for mouse and one for touch, or something
[6:05 PM] Hixie: one thing to be careful of is that we need to not forget kinds, e.g. we need to support stylus
[6:05 PM] Tong Mu (dkwingsmt): Well if we have to do that I'd rather subclass the recognizer and make getKindForPointer public
[6:06 PM] Tong Mu (dkwingsmt): Yeah I'm not sure if stylus is usually considered a precise device or not. But I'll keep it in mind.

I think I was under the impression that the proposal was to have "a gesture that only matches for mice". Whereas here the proposal is to detect all primary drags, whether touch-based on mouse-based, and to then do something slightly differently based on the precise kind of event (as opposed to doing nothing at all for one kind). If we were trying to only catch gestures from mice and not touch, e.g., we would want to make sure that touch gestures didn't prevent other gesture detectors from detecting that type of gesture, which is why we'd need different gesture recognizers. But here we don't want to do nothing, so it's ok.


Spike] investigate moving dynamic profile to statically generated profile in order to avoid emf compare problem

Issue and tracking information
I am curious to know if all of the compare/merge problems will be gone if we were to migrate our profile to static profile.
Static or dynamic profile will results in the same UML content which means the content of UML file does not change. The difference is how stereotype applications are loaded and accessed during the runtime. Theoretically, you should be able to switch dynamic profile to static and everything should still work assuming that you are just using vanilla Eclipse tooling (Properties view, menus etc..). However, our tooling will require some makeup in order to support static profile.
According to Ernesto the memory leak problem didn't even happen in static profile situation so I am guessing that the other problem might be due to dynamic profile as well. We can at least see if that's the case or not.
If you approve this work then we can try to switch our profile to static and see the differences. Theoretically, Papyrus should load the existing model without any problem so it won't be a problem to test compare merge scenario.
I think it would be worthwhile to investigate this since it might give us an alternative solution to the merge problem we are trying to solve and we don't need to maintain different version of EMF compare if it works.
Developer's time Estimated effort to fix (hours):
Developer's Actual time spent on fix (hours)
Issue reporter to provide a detailed description of the issue in the space below

I've tried to switch our profile to static profile and tested Papyrus compare merge.
As far as I can tell I experienced no crash nor any NPEs during the test. Everything seems to be smooth. I doubt that the result would be any different on your environment but I strongly suggest this to be tested for your scenario.
The changes are pushed to papyrus_static_no_emf_compare branch. You do not need to have the new EMF compare you can safely uninstall it if already installed.
The changes do not contain updates for tooling fix so some of the tooling and generation do not work yet including CX properties view. You cannot create a new Model either. Modification of diagrams and UML and Profile properties view are working so you can still make changes to the model. There shouldn't be any problem to use this to test compare/merge scenario.
You need to first open the existing model and click OK when profile migration dialog is open.
In order to use compare/merge you need to check in this version to git since you cannot compare two different models with different profile type.
I would estimate around 2-3 weeks to complete the transition from dynamic to static profile.
Please let me know if you have any questions.

When attempting to migrate one of our models, I get the following:

@j26151  Can you let me know if this IDLPubSub model is using any other libraries and they are all migrated as well??

This is happening for more than just the IDLPubSub model. The IDLPubSub model only includes the DDS4CCM library as far as i know and neither of them are able to migrate. In the ".uml" file I can see the following:

Is it possible to send me the model so I can try here??
Also can you please try to see if you can migrate BasicPubSub model? Maybe also try migrate from RSA to Papyrus not that is required but want to know if what is wrong.
Can you also let me know what other models exist in your workbench?? Can you close all other projects and leave this project only then restart your workbench and try again??
Thanks.

Sorry about all of the confusion. It appears that something was messed up in my PapyrusXcx-axcioma installation. I wiped my system clean and reinstalled everything, and it appears to migrate properly now. Thank you for the help. I am going to verify a few things on our end and then let you know if this is good to close from our side.

Great!!! Thanks

This all looks good to me. I was able to generate IDL and descriptors that look correct as well as perform a model merging scenario. I did still receive 2 separate NPEs. I don't know how to recreate them, but it would lead me to believe that there are still smaller issues between the git perspective, merging, and other modeling things within papyrus. Overall though, every thing worked quickly and the NPEs were able to be ignored.

Excellent. I will close this issue then. Thanks.


Bot Answers even after Logout

Github issues for C# /JS / Java/ Python should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Sample information
https://github.com/microsoft/BotBuilder-Samples/tree/main/experimental/teams-sso/csharp_dotnetcore

Sample type: BotBuilder-Samples/experimental/teams-sso/csharp_dotnetcore/
Sample language: dotnetcore
Sample name: csharp_dotnetcore

Describe the bug
Give a clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Login
It opens the It opens Oauth Permissions
Enter/Provide the permission (Continue)
Login successful
Search for any text after overriding the OnMessageActivityAsync method
Bot will answer
Type logout
Again search for anything Bot will answer first

Expected behavior
After logout Bot should not answer any questions
Screenshots

Additional context
I have opened the Microsoft ticket -2104200010010965 and I am available to connect during CST time.

@Ravi-Macha, you suggest you are overriding the OnMessageActivityAsync() method. Can you provide that code? I suspect the problem is there.
Testing the sample as-is results in it functioning as expected - I can login, communicate with the bot by viewing my token, and log out. After logging out, the bot requests me to sign in again before allowing me to do anything else.

@stevkan  @ryanlengel Sure, I am just calling some sample method from OnMessageActivityAsync(). Even I did not find the way to check the user token present in session context(turnContext) after Logout.
When user enters "logout" In logoutDialog class we are removing user details by
await botAdapter.SignOutUserAsync(innerDc.Context, ConnectionName, null, cancellationToken);
protected override async Task OnMessageActivityAsync(ITurnContext turnContext, CancellationToken cancellationToken)
{
_logger.LogInformation("Running dialog with Message Activity.");
        await ProcessUserMessageAsync(turnContext, cancellationToken);
        await _dialogManager.OnTurnAsync(turnContext, cancellationToken);
    }

    private async Task ProcessUserMessageAsync(ITurnContext<IMessageActivity> turnContext, CancellationToken cancellationToken){
      var userState = _userState.GetCachedState(turnContext);
     var text = turnContext.Activity.Text.ToLowerInvariant();
      _logger.LogInformation($"ProcessUserMessageAsync method USER-TEXT ===============  : {text}.");
        var tenantId = (string)turnContext.Activity.Conversation.TenantId;
         _logger.LogInformation($"ProcessUserMessageAsync method TENANT ID ===============  : {tenantId}.");

        if (tenantId != null)
        {
         _logger.LogInformation("================== TENANT ID NOT NULL ============== ");
          if(text.IndexOf("ecc") >=0){
            await turnContext.SendActivityAsync(MessageFactory.Text($"Here is your Abc Page Url https://abc.com"), cancellationToken);
          }else if(text.IndexOf("azure") >=0){
            await turnContext.SendActivityAsync(MessageFactory.Text($"Here is your Azure Page Url https://azure.com"), cancellationToken);
          }else if(text.IndexOf("iam") >=0){
            await turnContext.SendActivityAsync(MessageFactory.Text($"Here is your Iam Page Url https://iam.com"), cancellationToken);
          }
        }
       //await _dialogManager.OnTurnAsync(turnContext, cancellationToken);
       //await turnContext.SendActivityAsync(MessageFactory.Text($"No Results Found .. Sorry"), cancellationToken);
    }

@Ravi-Macha mentioned me in my PR #3035 so i'm trying to help if i can. There is a lot going on here to get this sample working and i understand the frustration when trying to get it running for the first time. I was  I struggled to get this sample working at first myself.  The assignee @stevkan is super knowledgeable and an awesome person, but is probably working on a million things right now.
I tested and ran the sample successfully. So unfortunately, I have nothing useful to add in regards to a fix.
I would check your configurations of your Auth application in Azure and double check your keys, callbacks urls, and secrets everywhere they are used.  Some useful resources might be this doc and This walkthrough although I am pretty sure you have already seen them, sharing just in case.  Another thing I would try is Starting with just the sample and no additional code and see if that works for you.  If it does start adding in your customized code one thing at a time to see where it breaks.  If it doesn't work there is most likely an issue with the configurations on your AAD app in Azure, or some other configuration.
If you are able to and willing to share your code, I can take a look when I have time as well. Just put it in a private repo and add me as a collaborator, or if you wish i can make a private repo for you and give you access and permission to delete it if that is easier for you.

Hi @Ravi-Macha, thank you for your patience. Testing the sample in question continues to work as expected. The bot allows me to sign in, view my token, and sign out. Without being signed in, it requests me to do so. When replacing OnMessageActivityAsync() with your code, the bot also still works as expected.
Are you able to post how you setup your OAuth (without including any pertinent details like keys, secrets, etc.)? I see in your last image that you are being prompted to grant permissions, as well.

@stevkan  I have just fallowed the steps provided here - Steps Configure.
Also I have attached the Image which I have configured for Bot channel Registration. Let me know if you need steps of AAD configuration also.

You shouldn't need to populate the Token Exchange URL field. I don't know that it is interfering at all as I don't have a grasp on all the intricacies of AAD v2 OAuth. But, I don't have a value there nor do I remember the docs (at the time I created my OAuth connection) specifying adding a value.
Regarding the scopes, I have 'User.Read' and 'User.ReadBasic.All' listed in addition to the ones you show. It's possible that one or both of these are blocking the bot.
Lastly, for Tenant ID, common should work, but you may want to read up on the differences between providing that value vs providing the tenant id. In my case, I have entered the primary domain (found in your AAD overview) which is acceptable.
To sum up, I have:

Token Exchange URL: blank
Tenant ID: my primary domain (someDomain.com)
Scopes: openId profile User.Read User.ReadBasic.All

Try those changes and see if your bot responds any differently when run.

@stevkan  Thank you for your reply, I am not sure why your suggestions are different than Microsoft PG team. I have made your suggested changes

Removed URL to blank
primary domain not allowed me sign in, hence I reverted to 'common'.
Scopes as you suggested.

Instead of seeing SSo sign in I started seeing Oauth Sign in.
Even my bot answers after SIGNOUT.
Please do find screen shots

It looks like your scopes still aren't correct. Can you add all the scopes I listed (plus any others you wish) and try one more time. If it still doesn't work, I'd be happy to jump on a call with you to compare setups.

@stevkan - Yes I do have mentioned configuration, I also observed that I don’t see and cannot set those values through ARM template I Guess. Please do setup a working session with our team.
User.Read User.ReadBasic.All openid profile

Hi @Ravi-Macha - So, I believe we have been we have been searching for a solution on the OAuth part for what is actually a non-issue. I think you are safe using either the PG team's or our method for setting up OAuth as I don't believe the bot responding after logout is tied to it.
I believe it is a non-issue because login state isn't part of the context passed into the OnMessageActivityAsync() activity handler. Additionally, the activity handler is designed to perform whatever logic you have stored within it on every message unless you tell it otherwise.
So, in your use case, the bot will always respond to one of the optional commands even after logout because that is the default process. If you are set on the code you have in OnMessageActivityAsync() living there, then you will need to create some sort of global variable to track user login state so it knows whether to run or not. Otherwise, and in my opinion, the code should be moved to a dialog or step that is called only once the user has been authenticated.

@Ravi-Macha @stevkan  sorry for bailing for a bit, been busy trying to keep up with botbuilder at my newest role  wish me luck there 🍾 :shipit:
try the scopes in this order specifically, if they are not already:
openId => profile => User.Read => User.ReadBasic.All
you had posted they are in this order:

User.Read User.ReadBasic.All openid profile

For some reason, the order of scopes mattered if I remember correctly from the OAuth card release back when I was on the team, o know it's silly, but give it a shot please,  I vaguely remember customers having trouble with this on the Oauth card as well. I'll look if I can dig it up at all this weekend. not sure if this is actually true and will help but it's worth a shot.

@JasonSowers and @stevkan In AD Application registrations we have configured as only "User.read", is that necessary to configure all ? How does this matter?, I have noticed that Bot behaves same when I exchange the Order.
Only openid OR profile - configuration letting me to show logged in token
In AD registration we have configured as
Authentication Blade -
Platform web and redirect URL as  - https://token.botframework.com/.auth/web/redirect
Access tokens (used for implicit flows) - Marked Checked
API Permissions -

@mrivera-ms  Can you assist in validating this issue ?

@Ravi-Macha, I confirmed with one of the developers that this is not an issue with the OAuth prompt. When asked if OnMessageActivity will always fire whether the user is logged in or not, this was his response:

if there is no code executing prior to this relying on auth, then yeah: the message would go out.

what i mean is: it is possible to override OnTurnAsync, and do things in such a way that .Base is NOT called all the time, in which case the OnMessageActivity would not fire

but, by and large, the answer is most likely 'yes'

In other words, as I mentioned previously, this is a matter of tracking the user's login state in such a way that the activity handler can respond to it whether that is a global variable, state property, logged status in a db, etc.


Improve AppSheet "Last to Write" UX

Describe the issue
If two people open and edit and entry in AppSheet at the same time, whoever saves last "wins" and the other persons changes are lost. We would like to identify ways to improve the user experience.
Additional context

according to Appsheet docs we can't lock cells
this relates to ongoing work in the division that other teams are doing the pathfinding on.  Specifically for a division-wide CRM.  We don't like Jira Service Desk, but that's what the division is using.  Team is keeping an eye on the patterns to see if the other teams solve some of the issues we have with Jira.  This would have all kinds of implications on our ticketing system too.

Definition of done

Potential implementation of in order of preference:

Only allow one editing session, lock editing while in progress

timeout for session in progress, once timeout occurs saving is not allowed

notify on save that a recent change may be overwritten and prevent saving over it

never refined


Review title validation on extremely long titles throws 'unknown error'

This will be fixed shortly in the node8 branch

fixed


Error while running under kubernetes

RTNETLINK answers: File exists
Cannot find device "macvtapa85bcf"
Cannot find device "macvtapa85bcf"
cat: /sys/devices/virtual/net/macvtapa85bcf/tap*/dev: No such file or directory
mknod: missing operand after 'c'
Special files require major and minor device numbers.
Try 'mknod --help' for more information.
INFO: DHCP configured to serve IP <IP_ADDRESS>/32 via macvtapa85bcf (attached to eth0)
INFO: Lauching dnsmasq ......
INFO: Launching /usr/libexec/qemu-kvm .......
2016-11-30T17:38:19.804224Z qemu-kvm: -netdev tap,id=net0,vhost=on,fd=3: TUNGETIFF ioctl() failed: Inappropriate ioctl for device
TUNSETOFFLOAD ioctl() failed: Inappropriate ioctl for device

Looks like a timing issue. Should the startvm script wait for container interface to come up and then program it ?

I see it happening almost all the time. Even after I created a docker image with the qcow2 image embedded.

Sorry for the delay in the reply. Unfortunately, I'm not able to reproduce this error, even with Kubernetes.
The error described above seems to be more related with the creation of the macvtap device, as it has appeared in #12 . Long story short: the name of the new macvtap device clashed if there was another kvm container running on the Docker Host. That's why I randomised the device name.
In this particular case, I do not know why the macvtap device creation fails, and why it's working if the startvm script is launched manually.
To continue investigating further this issue, I have created a new branch in this repo, so there's a new tag in docker hub called  bugfix_21. Please try to run the container again using this new image: bbvainnotech/kvm:bugfix_21 and reply to this issue with the debug output. It should halt after getting first error.

Thanks for your reply. Here is the latest test result with the debug image:
First Run
~# kubectl logs ams-gw-932307302-yadew -n bmw
DEBUG: New device names generated: macvtap930997 macvlan930997
DEBUG: vlan/vtap devices: *NONE*
+ ip link add link eth0 name macvtap930997 type macvtap mode bridge
+ ip link set macvtap930997 address 12:47:0b:a8:25:ae
+ ip link set macvtap930997 up
+ ip link add link eth0 name macvlan930997 type macvlan mode bridge
+ ip link set macvlan930997 up
+ set +xe
DEBUG: vlan/vtap devices: macvtap930997 macvlan930997
INFO: DHCP configured to serve IP <IP_ADDRESS>/32 via macvtap930997 (attached to eth0)
INFO: Lauching dnsmasq                                --dhcp-range=<IP_ADDRESS>,<IP_ADDRESS>                                    --dhcp-host=12:47:0b:a8:25:ae,,<IP_ADDRESS>,ams-gw-932307302-yadew,infinite           --dhcp-option=option:netmask,<IP_ADDRESS>                                      --dhcp-option=option:dns-server,<IP_ADDRESS>          --dhcp-option=option:router,<IP_ADDRESS>            --dhcp-option=option:domain-search,bmw.svc.cluster.local,svc.cluster.local,cluster.local     --dhcp-option=option:domain-name,bmw.svc.cluster.local
INFO: Launching /usr/libexec/qemu-kvm -enable-kvm -drive if=virtio,file=/image/image   -machine accel=kvm,usb=off   -nodefaults   -device virtio-balloon-pci,id=balloon0   -realtime mlock=off   -msg timestamp=on   -chardev pty,id=charserial0   -device isa-serial,chardev=charserial0,id=serial0   -serial stdio    -vga qxl -display none -m 1024 -smp 4,sockets=4,cores=1,threads=1    -device virtio-net-pci,netdev=net0,mac=12:47:0b:a8:25:ae -netdev tap,id=net0,vhost=on,fd=3 3<>/dev/macvtap930997

All good here, VM comes up perfectly fine. I deleted the above deployment and waited for a minute to deploy it again.
Second Run
~#kubectl logs ams-gw-932307302-0jufi -n bmw
DEBUG: New device names generated: macvtap55c7bc macvlan55c7bc
DEBUG: vlan/vtap devices: *NONE*
+ ip link add link eth0 name macvtap55c7bc type macvtap mode bridge
RTNETLINK answers: File exists
~#

If informational, the IP addresses to the containers are handed by Flannel in my environment. With the debug image, the deployment goes for a CrashLoopBackOff (which is what you expected I guess).
Note that, I could notice the size of my qcow2 image change after the first run. Every subsequent run produces the same output as the 'second run'.

Also note that, when I kill the container spawned as part of my deployment/pod as part of the First Run, kubernetes attempts to re-spawn the container (as per the deployment policy), and the logs starts to show the following:
DEBUG: New device names generated: macvtapa349a5 macvlana349a5
DEBUG: vlan/vtap devices: *NONE*
+ ip link add link eth0 name macvtapa349a5 type macvtap mode bridge
RTNETLINK answers: File exists

As you pointed out, the issue seems to be related with the respawn of the container that k8s performs. In this context, the ethX device present in the container has something already attached (the old macvtap?) that prevents the creation of a new macvtap device attached to it.
I have commited a new release of the bbvainnotech/kvm:bugfix_21 image that tries to execute indefinitely the ip link command that fails, just to be sure if the problem continues some time  after the pod is launched. @ramukima please, try again with this new release, and post the output to see if it's a timing issue.
Meanwhile I will try to reproduce the issue myself with kubernetes.

These changes work great, confirmed that the container re-spawn works good. Here is the log:
DEBUG: New device names generated: macvtapfd059a macvlanfd059a
DEBUG: vlan/vtap devices: *NONE*
+ local i=1
++ ip link add link eth0 name macvtapfd059a type macvtap mode bridge
RTNETLINK answers: File exists
+ echo -n .
+ let i++
+ sleep 1
++ ip link add link eth0 name macvtapfd059a type macvtap mode bridge
RTNETLINK answers: File exists
+ echo -n .
+ let i++
+ sleep 1
++ ip link add link eth0 name macvtapfd059a type macvtap mode bridge
..DEBUG: device creation succeed after 3 attemps
+ echo 'DEBUG: device creation succeed after 3 attemps'
+ ip link set macvtapfd059a address 62:29:59:f6:8c:c2
+ ip link set macvtapfd059a up
+ ip link add link eth0 name macvlanfd059a type macvlan mode bridge
+ ip link set macvlanfd059a up
+ set +xe
DEBUG: vlan/vtap devices: macvtapfd059a macvlanfd059a
INFO: DHCP configured to serve IP <IP_ADDRESS>/32 via macvtapfd059a (attached to eth0)
INFO: Lauching dnsmasq                                --dhcp-range=<IP_ADDRESS>,<IP_ADDRESS>                                    --dhcp-host=62:29:59:f6:8c:c2,,<IP_ADDRESS>,ams-gw-4040377064-mest1,infinite           --dhcp-option=option:netmask,<IP_ADDRESS>                                      --dhcp-option=option:dns-server,<IP_ADDRESS>          --dhcp-option=option:router,<IP_ADDRESS>            --dhcp-option=option:domain-search,bmw.svc.cluster.local,svc.cluster.local,cluster.local     --dhcp-option=option:domain-name,bmw.svc.cluster.local
INFO: Launching /usr/libexec/qemu-kvm -enable-kvm -drive if=virtio,file=/image/image   -machine accel=kvm,usb=off   -nodefaults   -device virtio-balloon-pci,id=balloon0   -realtime mlock=off   -msg timestamp=on   -chardev pty,id=charserial0   -device isa-serial,chardev=charserial0,id=serial0   -serial stdio    -vga qxl -display none -m 1024 -smp 4,sockets=4,cores=1,threads=1    -device virtio-net-pci,netdev=net3,mac=62:29:59:f6:8c:c2 -netdev tap,id=net3,vhost=on,fd=6 6<>/dev/macvtapfd059a

Thank you for fixing this. Can this be merged to latest and I can confirm on latest build as well ?


5.10: [interop][SwiftToCxx] consuming parameters should be passed using an additional copy

Fixes https://github.com/apple/swift/issues/69372
rdar://117431113

Explanation:
C++ inline thunks that were generated in the generated header didn't account for the consuming parameter convention correctly. This change fixes that by introducing an extra copy of the passed-in parameter, to ensure that Swift's owned destroy / release of the consumed value is correctly balanced.
This covers consumption of both Swift types and C++ types (copyable).
Note that additionally this change no longer exposes the shared C++ reference types from Swift back to C++, as their ownership semantics are not yet well specified  at the point of the C++ -> Swift language boundary. We'll be able to support better shared reference model in the future though so for now disabling this is safer.
Scope: C++ interop, generated header generator
Risk: Low, this is already broken and needs to be fixed. Only touches on explicit consuming parameters, or implicit ones like for the initializers and setters
Testing: Unit tests, manual sample project testing
Original PR: https://github.com/apple/swift/pull/69473

@swift-ci please test

@swift-ci please test source compatibility


Token must be provided error when PAT is provided

I am providing a PAT with user and notification permissions yet I get the error:
Token must be provided
Code:
- name: Set common commit status
        run: |
              if [[ ! -z "${{ github.event.inputs.TEST_COMMIT }}" ]]; then
                  echo "Setting commit status to pending"
                  npx set-gh-status -t ${{ secrets.SET_GH_STATUS_PAT }} \
                      --owner company --repo repo-name\
                      --sha ${{ github.event.inputs.TEST_COMMIT }} --status pending \
                      --context "API tests" --description "Running tests..."
                  else
                    echo "No commit to set status for"
                  fi

You have to use:
export SET_STATUS_TOKEN=<your_token>
The following doesn't work despite what the ReadMe says:
set-gh-status -t <your_token> -m "Shoveling code"


Feature suggestion: resizable bounding boxes to focus on observations in arbitrary regions

Hey! I didn't want to waste anyone's time and put in a PR for this without giving a quick explanation first, plus sound you folks out for feedback. I was wondering if there would be any interest in expanding the functionality of the bounding box for the "redo search in map" option to make it a bit more interactive - i.e. resizable & draggable? TBH, Ideally I'd like to see a "draw" icon to allow users to just create their own bounding boxes on the map by clicking & dragging and bypass the "redo search in map" option altogether, but figured I'd start here first.
I did a quick hack locally to put up a proof of concept and made the following video to explain what I mean:
https://vimeo.com/730504418
I believe it will be a relatively small code change: google.maps.Rectangle already supports resizable/draggable, so it's pretty much just a matter of tapping into those events & ensuring the changes retrigger a search request when the action is complete, and not during the drag/resize action.
Totally fine if it's not of interest, it's just something I've always wanted to see with iNat. Thanks!

Sounds good to me, but let's get @pleary's opinion in case this raises any performance concerns. Arbitrary polygons would be cool too, though that will require some changes to the API, so probably out of scope here.

Thanks @kueda! Since I'm looking at it, perhaps I'll take a little time to look at adding a draw option, just to see how that would look & function UI-wise. Will post here when I have something presentable.

Excellent, that's great to hear @pleary!

Hey again! I spent a few days playing around with different options and was thinking something like this may work.
https://vimeo.com/732630153
As I mention in the video there are lots of things that need work, but it kinda feels like functionally & UX-wise it's actually not bad. I'd love to hear your feedback. I didn't make it awfully clear in the video, but all the options - rectangle, circle and fit-to-bounds are resizable, just like in the previous video.
Be happy to work on getting it into a PR if there's interest. And of course, you're more than welcome to change anything you fancy.

Sorry for the late reply, @benkeen, I've been on vacation... and am still in the middle of getting back home. I'm currently on shoddy airport wifi but everything in your video looks good, and I think your thoughts about clearing old searches when new ones get applied are right. I think a button group like we're using for map / view / list might be appropriate for the rectangle and circle tools since only one can be active but both are clickable. The "Redo search in map area button" will have an effect immediately if either the rectangle or circle tools are active, so I think that should be separate from that button group. Anyway, Icons and text are things we can change quickly, so please just put in the PR and we can go from there.

No worries! Sorry for my late response too.
That sounds great. I'm just wrapping up another task right now but I'll switch to getting this into a presentable, PR-able state when I'm done. Thanks @kueda!

See: https://github.com/inaturalist/inaturalist/pull/3503

I currently reshape the browser window to create an arbitrary bounding box, which is rather clunky.  I would regularly use this feature if and when it is developed.  It is actually number one on my wish list


"ollama is not running" issue after changing the host ip

What is the issue?
when first start everything is normal. After I change host address to <IP_ADDRESS>:11434 from /etc/systemd/system/ollama.service by adding environment, I put "ollama pull [model]" it throws an error : "Error: could not connect to ollama app, is it running?" but when I curl that IP that I changed, it shows running and I can use it from my OpenWebUI with the new IP. If I erase that new host ip from config file and reboot the server I can pull new models (but host ip changes to localhost:11434). What is the issue with that, how to resolve it?
OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
0.1.38

Can you clarify what you have OLLAMA_HOST set to on the client?  By setting OLLAMA_HOST on the server to a specific IP address, it should only listen on that address, and the client will not be able to access it over localhost (<IP_ADDRESS>) but must use the same IP address the server is listening to.  Another possible server setup is <IP_ADDRESS>:11434, which will tell the server to bind to all interfaces, but you should be careful about exposing ollama to untrusted users/networks.

Same error when setting <IP_ADDRESS> as OLLAMA_HOST.
systemctl logs show that it is listening on the configured IP but running ollama list shows the error.
ollama list works without error when there is no OLLAMA_HOST set in the systemctl service file. version 0.1.38

@hknatm I haven't been able to reproduce your failure.  I think your OLLAMA_HOST values aren't set correctly in the client and server.
In one terminal
% export OLLAMA_HOST=<IP_ADDRESS>:11434
% ollama serve

In another terminal:
% export OLLAMA_HOST=<IP_ADDRESS>:11434
% ollama pull gemma2
pulling manifest
...

From what you're describing, I think you forgot to set the OLLAMA_HOST in the terminal where you're running ollama pull which means it is defaulting to <IP_ADDRESS>:11434, but your server is NOT listening on localhost, it's listening on your designated IP.
@OpenCoderX I'm not following your scenario.  For the server, setting <IP_ADDRESS> will bind to ALL addresses on the host, not a single address.
In one terminal:
% export OLLAMA_HOST=<IP_ADDRESS>:11434
% ollama serve

In another terminal
% unset OLLAMA_HOST
% ollama pull gemma2
pulling manifest
...


fix(#1761): radio group setValue doesn't work on angular

Description: Fixing the issue 1761
What are changed

radio-group doesn't render the checked value for its radio-item due to its value changed.
Code to test

In Angular:
<goa-radio-group
  name="color"
  goaValue
  [formControl]="reactiveFormCtrl"
  value="reactiveFormCtrl.value"
>
  <goa-radio-item
    name="color"
    value="red"
  >

      Content description
       Another test?

        Help test

  </goa-radio-item>
  <goa-radio-item
    name="color"
    value="blue"
    description="Item description"
  ></goa-radio-item>
  <goa-radio-item name="color" value="orange"></goa-radio-item>
</goa-radio-group>

<goa-button (_click)="onClick()">Select Value</goa-button>

Value is {{reactiveFormCtrl.value}}

export class RadioComponent implements OnInit {
reactiveFormCtrl = new FormControl("red");
ngOnInit() {
    this.reactiveFormCtrl.setValue("orange");
    this.reactiveFormCtrl.registerOnChange((val: any) => {
      console.log("reactiveFormCtrl", val);
    });
  }
  onClick() {
    console.log("clicked");
    this.reactiveFormCtrl.setValue("red");
  }
  }

https://github.com/GovAlta/ui-components/assets/120135417/6f33ac3b-1ff2-4c8b-bb7a-3e1c7786c619

Issues is verified on Chrome, Firefox, and edge for react and angular, for mobile and desktop site

:tada: This PR is included in version 1.17.0-alpha.41 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.17.0-alpha.22 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0-alpha.4 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


chore: bump cdkv2

Fixes #162

Hi, is there any reason why this couldn't be merged to master?

Works need to be done.

[ ] Test if it's still working.
[ ] Make sure using the latest cdk v2 version.
[ ] Set the release major version to v2 by adding majorVersion: 2, in .projenrc.js
[ ] Write a message saying the v1 version is deprecated in README.


Move cloudwatch to dmaws

This has been tested on preview and can be seen in the CloudWatch console. Select the preview-preview/api metric in the Custom Metrics drop down on the left.
Move 5xx metric filters and alarms to dmaws
Move the 5xx metric filters and alarms into dmaws from the applications .ebextensions.
A short version of the application name has been added to the DM_METRICS_NAMESPACE to match the namespace used for Nginx logs and be easier to search for than making the metric names themselves really long. This is the AWS recommended way of organising metrics. For example, the metrics namespace for the supplier app in preview would be preview-preview/supplier-frontend.
Metric filters and alarms have been pulled out into macros to avoid mistakes in boilerplate such as log group name, alarm actions and namespace.
The metric filter macro accepts a sub-part of the patter which it wraps and adds the application filter to automatically. For example, giving the metric filter $.foo = bar to the macro will result in a metric
filter of { $.application = api && ($.foo = bar) } on the api app.
Alarm descriptions are implemented in separate templates so that they can be easily managed and more easily made uniform (eg. extending from a base template).
After discussion we have decided not to port over the 4xx and related alarms unless they can be shown to be useful. Instead favouring more specific alarms where needed.
Add {ACTION}_ROLLBACK_FAILED as complete condition
This was seen when a CloudFormation internal failure happened during a rollback.
Add apache request time metric filter
Add a CloudWatch metric filter for Apache requestTimeMicro so that we can graph individual application performance.
Add metrics and alarm for supplier login failure
Adds metric filters for login failure and success and an alarm that fires if more than 20% of login attempts fail.
Add 4xx metric filters
Add a variety of 4xx related metric filters to gain a better idea of what kind of errors we get here. There are no alarms set on these filters as yet as the intention right now is just to get a better idea of what's going on.

Looks good as far as I can tell - try it out on Preview I reckon.

On preview for all apps and looking good.

:+1:


Timer and lock screen problem

The Alarm Clock works as expected. Screen goes on and stays on, playing Alarm-sound. Slide to disable or snooze.
When the Timer ends, the screen don't wake up (or sometimes only for 2-3 seconds, then shuts down again) while the timer-alarm-sound is playing.
I then have to manually wake the phone (again), sometimes it's active on the lock screen and i can double tab the timer notification and end it there, other times i have to fill in PIN, go to the upper left corner, select the timer and shut it off.
FP3+ Android 10.

hello, I don't have that device to test it, I'll do some insights.  There is no such bug on my devices.  In any case, also try this other, more up-to-date
https://github.com/qw123wh/new-clock
https://apt.izzysoft.de/fdroid/index/apk/com.best.deskclock
app and let me know if you encounter the same bug.  Then raise a curiosity about your phone, does the alarm clock work when the phone is off?

Ok, in the next few days as soon as I have some free time I will try to bring the other app to fdroid as well.  I was just asking you to install the apk of the other app to check if the "timer" section gave you the same bug.
As for the other thing, when you have time, do this test: Set an alarm in 10 minutes, then after setting the alarm turn off your phone.  The phone should automatically turn on again at the time you set the alarm and then check that the alarm sounds.  This feature is called “power off alarm” and it only works on phones with snapdragon processor.

Lol, i didn't know about the "power off alarm", but it works!
I also tried the "Timer" with shutdown phone but that didn't work.

ok this is the only app you will find on fdroid with this function and I'm glad it works on your device.  However "power off alarm" only works with the alarm clock, with the timer it does not work is normal.

I was surprised that the "Alarm" had such a feature, so i had to try it for the "Timer" too :D


Support types other than string in map keys

Sheriff currently only supports marshalling maps with string keys. This is a pretty significant limitation compared to the built-in json package.
Unfortunately, the built-in json package doesn't export its functionality for dealing with map keys, but at least it's fairly small. I've copied the relevant function from the go source and wired it in.
Debugging this problem was made more difficult by the fact that we generally don't check for errors from json.Marshal in gonfalon. This was fine when we were using the built-in one as we understood the small set of errors it could throw, but now that we're using this library we should probably check everywhere.

Going to merge this for now to get more 👀 in the corresponding gonfalon review.


[vim] - does not work for gems not installed via 'bundle install'

So let's say I have the following in my Gemfile and I install with bundle install:
source 'https://rubygems.org'
gem 'activesupport'

I generate the tags with gem ctags,  then edit a file in vim in the same dir as the Gemfile:
require 'active_support/all'
puts 1.month.ago

I can now do gf while cursor is on 'active_support' and also <c-]> when cursor is on 'ago'. These both work leading to the file and definition respectively.
However if I retry the same scenario, but instead of having a Gemfile, I just do 'gem install activesupport', I get:
E345: Can't find file "active_support/all.rb" in path
E426: tag not found: ago

Is there a way to make this work for a ruby file edited outside of a project, if the currently used ruby version already has that gem installed? I am using rbenv, and also have installed the plugins suggested as Vim Tips:
Plug 'tpope/vim-rake'
Plug 'tpope/vim-projectionist'
Plug 'tpope/vim-bundler'
Plug 'tpope/vim-rbenv'

Thanks

So the key here is the 'path' and 'tags' options. When you're in a bundler, project, bundler.vim alters these two options to contain the location of all gems as specified in the lock file. Outside of a bundler project, there really isn't a surefire way to figure out which gems are in use. A couple of options:

Just add every single gem to 'path' and 'tags'. This is what vim-ruby used to do. It was a borderline passable solution 10 years ago, but nowadays it's not unusual to have thousands of gems installed, and it gets unworkable fast.
Try to extract which gems are in use by examining the current file. If it's a single file project and all the gems are explicitly declared as gem 'foo', this is probably quite doable, though you might run into trouble determining the correct gem version. If it's a multi file project or one is implicitly triggering gem loads with require, it's probably a lost cause.

My takeaway from this has been to use bundler as often as possible, even for small projects and scripts.
Do share if you manage to rig up anything.

Got it! Thanks for explaining