az eventhubs eventhub update --enable-capture $false doesn't disable capture

When running az eventhubs eventhub update --enable-capture $false against an existing event hub with capture enabled, it does not disable capture.  Here is the PUT that is sent out:

msrest.http_logger : Request method: 'PUT'
msrest.http_logger : Request headers:
msrest.http_logger :     'Accept': 'application/json'
msrest.http_logger :     'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger :     'accept-language': 'en-US'
msrest.http_logger :     'Content-Length': '602'
msrest.http_logger :     'User-Agent': 'python/3.6.6 (Windows-7-6.1.7601-SP1) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-eventhub/2.6.0 Azure-SDK-For-Python AZURECLI/2.0.68'
msrest.http_logger : Request body:
msrest.http_logger : {"properties": {"messageRetentionInDays": 7, "partitionCount": 4, "status": "Active", "captureDescription": {"enabled": true,
"encoding": "Avro", "intervalInSeconds": 300, "sizeLimitInBytes": 314572800, "destination": {"name": "EventHubArchive.AzureBlockBlob", "properties": {"storageAccountResourceId": "/subscriptions/####/resourceGroups/####/providers/Microsoft.Storage/storageAccounts/####", "blobContainer": "auditexhaust", "archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}"}}}}}

When using the portal to disable capture, the request payload shows:

id: "/subscriptions/####/resourceGroups/####/providers/Microsoft.EventHub/namespaces/####/eventhubs/####"
location: "West Europe"
name: "####"
properties: {messageRetentionInDays: 7, partitionIds: ["0", "1", "2", "3"], partitionCount: 4,…}
captureDescription: null
messageRetentionInDays: 7
partitionCount: 4
partitionIds: ["0", "1", "2", "3"]
type: "Microsoft.EventHub/Namespaces/EventHubs"

@thelethalkind, it seems that you are using an environmental variable when you are using --enable-capture $false. Would you please try without using environment variables?

move to S165.

move to S166.

move to S167.

@thelethalkind, any update for this issue?

move to S168

move to S169

move to S170

We are investigating this issue, and will report back with a status update by 11/4/2020.

Hi @thelethalkind and @PCNZ, thanks for sharing details. We would investigate this internally and would keep you posted.

@thelethalkind Apologies for the late reply. We are looking into this issue. We will update this github thread once we have more details on this.
cc @Saglodha

Hi @thelethalkind and @PCNZ, we have fixed this in our latest release : https://docs.microsoft.com/en-us/cli/azure/release-notes-azure-cli?view=azure-cli-latest#event-hubs.
Please retry the operation and let us know in case you observe any discrepancy. Thanks

Hi @thelethalkind and @PCNZ, we have fixed this in our latest release : https://docs.microsoft.com/en-us/cli/azure/release-notes-azure-cli?view=azure-cli-latest#event-hubs.
Please retry the operation and let us know in case you observe any discrepancy. Thanks

Yes it is working now.
Tested with 2.32.0 which failed, then upgraded to 2.35.0 and confirmed working.
`
az version
{
"azure-cli": "2.32.0",
"azure-cli-core": "2.32.0",
"azure-cli-telemetry": "1.0.6",
"extensions": {}
}
az eventhubs eventhub update --name eventhubname --enable-capture false --namespace-name eventhubnamespace --resource-group resourcegroupname
{
"captureDescription": {
"destination": {
"archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}",
"blobContainer": "",
"name": "EventHubArchive.AzureBlockBlob",
"storageAccountResourceId": ""
},
"enabled": true,
"encoding": "Avro",
"intervalInSeconds": 300,
"sizeLimitInBytes": 314572800,
"skipEmptyArchives": null
},
`
`
az version
{
"azure-cli": "2.35.0",
"azure-cli-core": "2.35.0",
"azure-cli-telemetry": "1.0.6",
"extensions": {}
}
az eventhubs eventhub update --name eventhubname --enable-capture false --namespace-name eventhubnamespace --resource-group resourcegroupname
{
"captureDescription": {
"destination": {
"archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}",
"blobContainer": "",
"name": "EventHubArchive.AzureBlockBlob",
"storageAccountResourceId": ""
},
"enabled": false,
"encoding": "Avro",
"intervalInSeconds": 300,
"sizeLimitInBytes": 314572800,
"skipEmptyArchives": null
},
`

Thanks for getting back. We will proceed with the closure now. Please feel free to reopen the issue if you have any queries or concerns.


fix: q-resolution

Fixes #66
Motivation
Let $\hat{Q}$ be the momentum transfer of the neutron event.
$\bar{Q} := Q(\lambda, \theta)$ is what we estimate the momentum transfer to be, where $\lambda$ and $\theta$ are the measured wavelength and reflection angle of the neutron.
The resolution is the standard deviation of the conditional distribution for the momentum transfer given the estimate:
Resolution = \sqrt{Var[\hat{Q} | \bar{Q}]}

The conditional distribution can be expressed as a marginalization over the underlying variables:
P(\hat{Q} | \bar{Q}) = \int P(\hat{Q} | \lambda, \theta) P(\lambda, \theta | \bar{Q}) d\lambda d\theta

Assume
E[\hat{Q}| \bar{Q}] = E[\hat{Q}| \lambda, \theta] = \mu_{q}

then
Var[\hat{Q} | \bar{Q}] =
\int (\hat{Q} - \mu_{q})^2 P(\hat{Q} | \bar{Q}) d\hat{Q} =

\int (\hat{Q} - \mu_{q})^2 \
\int P(\hat{Q} | \lambda, \theta) P(\lambda, \theta | \bar{Q}) \ d\lambda d\theta
 d\hat{Q} =

\int
P(\lambda, \theta | \bar{Q})
\int
(\hat{Q} - \mu_{q})^2
P(\hat{Q}| \lambda, \theta)
d\hat{Q}
d\lambda d\theta =

\int
P(\lambda, \theta | \bar{Q})
Var[\hat{Q}| \lambda, \theta]
d\lambda d\theta

where
P(\lambda, \theta | \bar{Q})  = \begin{cases}
    \frac{P(\lambda, \theta) }{\int_{Q(\lambda, \theta)=\bar{Q}} P(\lambda, \theta) d\lambda d\theta} & \mathrm{if}\ Q(\lambda, \theta) = \bar{Q} \\
    0 & \mathrm{otherwise}.
\end{cases}

The final expression for the resolution is
Resolution = \sqrt{\frac{\int_{Q(\lambda, \theta)=\bar{Q}}
P(\lambda, \theta)
Var[\hat{Q}| \lambda, \theta]
d\lambda d\theta} {\int_{Q(\lambda, \theta)=\bar{Q}}
P(\lambda, \theta)
d\lambda d\theta}}

where $P(\lambda, \theta)$ is the distribution of neutron events and $Var[\hat{Q}| \lambda, \theta]$ is a known expression from the Amor article, it is already implemented in the code.

This plot shows a comparison between the resolution value computed by the PSI data reduction software and ours

The results are close but not exactly the same.
Ours is based on a pretty old Amor paper, there might have been updates since then.
I also think the method described in that article is slightly wrong, but I'm not sure if that can account for the difference.

After talking to Nicolo about this we decided to talk more about this in two weeks when we are at PSI.

After the latest changes in this repo (applying the suggestions @nvaytet made) here is a new Q-resolution comparison with Jochens code:

There is still a difference, it's almost the same as before.
From our discussions at PSI I got the impression this is good enough, and that this is not perfectly tuned yet in Jochens code either.

Thanks! very interesting.
So it seems the angular resolution is almost constant as a function of Q. Is that expected? @paracini ?

Yes it's correct that for low angles the resolution is dominated by the angular component, this is illustrated in Fig 8 of the AMOR paper. This is not an issue for the high angles as you show in the graphs but for the low angles and low q the effect is significant.


Please clarify license & copyright

setup.py mentions MIT but that's about it.

Sorry! I completely forgot about this. I don't know if this question is directed at me, but I'm the original author.
I don't know how to say it in lawyerese, but... do whatever you like (hope that does the trick.) I think I just "like" the MIT license but I mostly just don't care :-)
You have my totally official legal permission to assign whatever license you see fit!
Have fun and thanks for thinking to ask.


Fix spigot updater

Exits autoplug after checking updates
Git doesnt work properly sometimes

https://github.com/HSGamer/MCServerUpdater/pull/3


bemenu: 0.6.14 -> 0.6.15

Description of changes

Changelog: https://github.com/Cloudef/bemenu/releases/tag/0.6.15
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@figsoda  Since Its done, can you please merge this https://github.com/NixOS/nixpkgs/pull/229504 ?
Thank you!


Add Configuration to SPI, and add DMA/Interrupt support for Transmit and Receive

something to fix up similar to other peripherals (like i2c, etc.)

 Flexible SPI interface (all configurations for Rx and Tx)

Configuration is handled -- We'll open a whole new set of issues for the new additions (DMA, etc.) post v0.1


Create 0000-01-02-EvgenyKovalev.md

created a branch, created a file and made a commit, and opened a pull request

tfuyygfuy


[doc enhancement] [update-rate-limiting][2478595]

added link to Manage a long-running operation article

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/bots/how-to/rate-limit.md
94
4
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit dd58aa6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/bots/how-to/rate-limit.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


uiCalendarConfig.calendars is undefined

When trying to run the demo, I get:
undefined is not an object (evaluating 'uiCalendarConfig.calendars[calendar]')
Tried with both fullcalendar 2.1.1 (as in bower's depencency), or the newest (2.2.3)

@jonaswindey gives us the fixed. Just go to the github and copy calendar.js and replace it to bower_components\angular-ui-calendar\src
Apparently, bower is not updated with the latest fix.
Cheers.

+1 for this issue.
Manually patching it isn't a solution for me though. Will wait for a bower update.

+1

+1

+1

As a workaround, I find somewhere (...you know Google) an answer to access the Fullcalendar object, even when working with the controllerAs syntax. The answer: $scope !
Example:

angular.module('schedule', ['ui.calendar'])
.controller('ScheduleController', ScheduleController);

function ScheduleController($scope, $timeout, uiCalendarConfig) {
    this.config = {...};
    this.eventSources = [{...}];

    // ʕ•ᴥ•ʔ <( ... )

    $timeout(function () {
        // ᕕ( ᐛ )ᕗ <( Yippee! )
        $scope.calendar.fullcalendar('render');
    });
}

Hope that helps!

As an alternative workaround, instead of patching calendar.js you can include the git repository and commit id in your bower.json dependencies. Adding the following line in dependencies solved the issue for me:
"angular-ui-calendar": "https://github.com/angular-ui/ui-calendar.git#81069d1945bea8ad1727cf5f44096f58d872a96b"

+1
thanks @Reidsy that works with uiCalendarConfig object !

Still having an issue with this after copying in the latest calendar.js with 289 lines.  My error is:
TypeError: undefined is not a function
at Scope.link.scope.init (calendar.js:245)
at Object.fn (calendar.js:285)
at Scope.$get.Scope.$digest (angular.js:12650)
at Scope.scopePrototype.$digest (hint.js:1468)
at Scope.$get.Scope.$apply (angular.js:12915)
at Scope.scopePrototype.$apply (hint.js:1478)
at done (angular.js:8450)
at completeRequest (angular.js:8664)
at XMLHttpRequest.xhr.onreadystatechange (angular.js:8603)
Any ideas?

I'm experiencing somewhat similar problems even with the latest calendar.js.

console.log(uiCalendarConfig);
console.log(uiCalendarConfig.calendars);

Gives:
Object {calendars: {myCalendar: n.fn.init[1] ...
Object {}

So uiCalendarConfig.calendars.myCalendar is there, but only if I dump uiCalendarConfig content. If I try to access it or uiCalendarConfig.calendars directly it becomes undefined. Any ideas?

I was experiencing same issue @Reidsy sollution worked for me ...
Thanks

Bump.
Almost six months have been passed now and still there is no clean fix to this issue (the bower update way)
:(

turn that frown upside down. Should be good now. :)
On Fri, May 8, 2015 at 9:47 AM, Diosney Sarmiento<EMAIL_ADDRESS>wrote:

Bump.
Almost six months have been passed now and still there is no clean fix to
this issue (the bower update way)
:(
—
Reply to this email directly or view it on GitHub
https://github.com/angular-ui/ui-calendar/issues/195#issuecomment-100238099
.

--
Josh Kurz
www.joshkurz.net

I tested it and it grabbed the 1.0 version, which is already ok.
Thanks :)

Hi, i want display in calendar view many json objects from my rest api :
[[{"id":1,"title":"Event 1","start":"2015-09-01","_id":1},{"id":1,"title":"JPO","start":"2015-08-08","_id":2},{"id":2,"title":"Réunion","start":"2015-08-10","_id":3}]]
my broblem : I can display this static json objects fron my controller in the calendar, but when I called my rest api to retrieve the json events they no longer appear in the calendar.
controller:
eventController.controller('EventCtrl', ['$scope', '$compile', 'UserService', 'GetEventsByUserId',
function($scope,$compile,UserService,GetEventsByUserId) {
    $scope.renderCalendar = true;
$scope.eventSources = [];

// static object for test display
$scope.events = [{
	id: 1,
    title: 'Event 1',
    start: "2015-09-01"

}];

//$scope.eventSources = [$scope.events];

$scope.alertEvent = function (event, jsEvent, ui, view) {

    $timeout(function() {
    var sEvent = findCalendarEvent(event);
    sEvent.start = event.start.toDate();
    //sEvent.end = event.end.toDate();
    // by making this dirty we tell uiCalendar to not send updates
    // to fullCalendar.
    //sEvent.isDirty = true;
    });
};

// callback on resize
$scope.alertResize = function(){
	alert('resize !');
};
// callback on drag & drop
$scope.alertDrag = function(){
	alert('Drag !');
};

$scope.calendarConfig = {
    calendar: {
        allDaySlot: false,
        height: 450,
        //defaultView: 'agendaWeek',
        timezone: 'local',
        editable: true,
        header: {
            left: 'prev,next today',
            center: 'title',
            right: 'month,agendaWeek,agendaDay'
        },
        eventResizeStop: $scope.alertResize,
        eventDragStop: $scope.alertDrag,
        eventRender: $scope.eventRender
    }
};

var user = UserService.getCurrentUser();
var userId = user.details.id;
alert(userId);

GetEventsByUserId.query({'id':userId}).$promise.then(function(data) {
	angular.forEach(data,function(event,key){
		$scope.events.push({id: event.id, title: event.name, start:        moment(event.createdAt).format("YYYY-MM-DD")});
	});
	console.log(data);

});
$scope.eventSources = [$scope.events];

}]);
and in my view calendar :

think's ;)

how i can set initial month and year in ui-calander

This works for me (ui-calendar v1.0.2):
HTML:

Controller:
uiCalendarConfig.calendars.myCalendar.fullCalendar('rerenderEvents');

For me it does not..any ideas?
Controller:
uiCalendarConfig.calendars.calendar.fullCalendar('rerenderEvents');
HTML:

When using ui-calendar edited events are not updated.
There is a bug in fullCalendar.js
in function filterLegacyEventInstances
fix from
return legacyEventInstance.id == legacyQuery;
to
return legacyEventInstance._id == legacyQuery;


Username, password, port settable via config

A resubmission of #31. Now the user, pass and port defaults are taken out of debian.py and put into bft. Probably a better way to handle this.
Note: Hasn't been tested as I can't test this with my current system.

I haven't seen any complaints so I will merge. If someone has concerns, please let me know and we can revert.


Email bomber error

ERROR: (554, b'5.7.0 Too Many Unauthenticated commands. For more information, go to\n5.7.0  https://support.google.com/a/answer/3221692 a640c23a62f3a-a8d2593cffcsm887424466b.55 - gsmtp', '(My email)')
ERROR: please run connect() first

same


Chromium has now supposedly fixed the /dev/shm issue in Docker / Lambda, please update puppeteer!

https://bugs.chromium.org/p/chromium/issues/detail?id=736452
Please can we have a version of puppeteer which uses the new Chromium? This will hopefully solve so many headaches with running puppeteer inside Docker containers.

We're close. It's been reopened and more work is being done.


Unable to identify OData protocol version [New bug introduced to 4.20.0 & 4.21.0]

I've been using v4.19.0 for awhile, decided to update to 4.20.0 and now all my queries return a "Unable to identify OData protocol version" error message.
Using the client to query ProjectServer Odata API.
Query example:
https://siteserver.sharepoint.com/sites/pwa/_api/ProjectData/Projects?$filter=ProjectId eq guid'ef2a052f-5609-e511-80c8-00155d68241d'&$select=ProjectId,ProjectModifiedDate,ProjectName,ProjectWorkspaceInternalUrl,EnterpriseProjectTypeDescription,EnterpriseProjectTypeId
Please let me know if you need more information.

Hi,
This is very strange indeed. I don't see in the change log anything that could cause such major regression.
Unfortunately I don't have access to siteserver.sharepoint.com, so I have no possibility to test this. Perhaps you can trace HTTP traffic in Fiddler and send me the response? My mail address is vagif.abilov at gmail.

Hi,
Thank you very much for your prompt response. I played around with it a bit more but removing the client and few dependencies entirely and adding them again seems to have solved the issue.
Apologies for raising an issue needlessly. If I find out how to replicate the issue I'll keep you posted.
Regards,
Ali

No problem. This one really scared me. I reran all my tests, including those I ran agains Microsoft reference services (using various OData versions), and they all passed. So I hope there's nothing in the library on this matter. Otherwise let me know, I am closing the issue for now.


[DO NOT MERGE] Initial implementation of backups page

Further development is blocked pending a new mockup from @eatonphil for a backups page that has backups on it. Also needs tests.
Closes #32

Coverage decreased (-2.2%) to 73.6% when pulling 8728366c5db5c019e2c95fd0ad8cbb26d4f20b4b on feature/detail-backups-tab into f228f18640ae3671ce87f4de9045c102657e8a07 on master.

Coverage decreased (-3.0%) to 73.587% when pulling 9aad3f97cae79e31a60495e9f3fb67f96b4a2eef on feature/detail-backups-tab into 1bf7a2ecdcf078eecb45866a40868c4fc1490a17 on master.

Update: this is as far as I intend to go with the UI until the API fully supports backups. Adding tests now and then ready for review+merge.

Coverage decreased (-3.1%) to 73.634% when pulling f3ff51c51e0accc785e427a603f7ee291ec3139f on feature/detail-backups-tab into e7b8499544ff00cdd8b08534f23f09dd5e959bac on master.

Coverage increased (+2.1%) to 78.885% when pulling ffe98f9bf57d48e788f1283e1283173a57b50636 on feature/detail-backups-tab into e7b8499544ff00cdd8b08534f23f09dd5e959bac on master.

Coveralls is taking its time, but here's the coverage report.

Thanks!


[sample_multi_transcode] Enable tiles for HEVC encoder

This commit is to enable "tiles" for HEVC encoder in sample_multi_transcode.

broken fork. will reopen pull request


Dependency updates

futures 0.1.14 -> 0.1.17
log 0.3.6 -> 0.3.8
slab 0.3 -> 0.4
smallvec 0.4.0 -> 0.5.0
tokio-core 0.1.8 -> 0.1.10

Looks like CI doesn't pass and there is a merge conflict.


GitHub Action to sort users Alphabetically

Move users to a json file and create README each time alphabetically

please resolve this issue on livestream or may be you can put up a video for it thanks 😇

Sure, I am working on this video now 👍

video up?

@Siddhant-K-code I have posted a GitHub Actions video last week https://youtu.be/5ncuRFwnrdc
I will do a live stream on this specific Issue next week 🤓

i wrote a python script to read the file and return me a list.

I wrote python code to return a list and got this output. i need to ***remove '-' *** from the list and then perform sort can any one >help me, Thank you  here is my output ['-',` 'pradeep', 'kumar'], ['-', 'pvash1070091'], ['-', 'raddd'], ['-', 'radekcz'], ['-', 'rahul123@'], ['-', 'raj', 'chordai'], ['-', 'raj', 'chordia'], ['-', 'ram964'], ['-', 'raymen'], ['-', 'rewint'], ['-', 'robyea'], ['-', 'se7enmoons'], ['-', 'son_of_man'], ['-', 'syntacticgeorge'], ['-', 'test', 'contribution'], ['-', 'timamero'], ['-', 'tivrfoa'], ['-', 'treeoflife'], ['-', 'ura'], ['-', 'wBlanck'], ['-', 'will'], ['-', 'yogeshwaran'], ['-', 'yosef', '(did', 'it)'], ['-', 'yuvarajan'], ['Chris', 'Whiting'], ['Prabhat'], ['[Isha', 'Jain](https://github.com/ishajain15)'], ['[Mallikarjun', 'H', 'T](https://github.com/mallikarjunht1997)'], ['[Technohermit](https://github.com/technohermit)']]

@mallikarjunht1997 can you share your code of this, i think i can help in this.

@mallikarjunht1997 can you share your code of this, i think i can help in this.

with   open('Contributors.md') as data:
    lines=data.readlines()
    new_list = []
    for atom in lines[2:]:
        position = atom.split()
        new_list.append(position[:])

print(sorted(new_list))

print(sorted(new_list))

what if we print all things in a new line \n ?

print(sorted(new_list))

what if we print all things in a new line \n ?

we can do that, just need to remove - from the list so that we can sort the list and write to the file with [name](link) fashion

@AllanRegush has created a GitHub Action for this, it is almost ready, just need to fix 1 last bug. @AllanRegush do you want to share a link to the repo?

I did it in python and used actions to complete
Happy to hear from you
workflow log
here is my repo

Looks good 👍 - I would add some more information about it in the README.md

https://github.com/AllanRegush/gh-actions-sort-markdown-links

@eddiejaoude here is the bug i found. Otherwise this is good to go.
https://github.com/JasonEtco/readme-box/issues/9

:) https://github.com/EddieJaoudeCommunity/hacktoberfest-practice/runs/1157925370?check_suite_focus=true

Awesome @AllanRegush 👍 .
Can you raise a pull request?

Is this gonna happen? I wish I knew how to do it but I don't yet.

Is this gonna happen? I wish I knew how to do it but I don't yet.

@dumbcoder7 I think this can be closed, as it is done in PR https://github.com/EddieJaoudeCommunity/hacktoberfest-practice/pull/175
Thank you for the nudge, I really appreciate it 👍

@dumbcoder7 I think this can be closed, as it is done in PR https://github.com/EddieJaoudeCommunity/hacktoberfest-practice/pull/175
Thank you for the nudge, I really appreciate it 👍


ci: update integration docs

This PR is auto-generated by a nightly GitHub action to update the individual integration pages from the integration READMEs in withastro/astro.

This URL didn't produce any results, @delucis ?


Class Yab\Quarx\Models\Route:list does not exist

Hi all,
when I run "artisan route:list (List all registered routes)" I get the error "Class Yab\Quarx\Models\Route:list does not exist". Can you please have a look?
Environment: PHP 7, Laravel + Quarx newst version, but complex installation
Thank you.

See Pull Request #131

Thank you again @Nowi5 for your feedback on this one, I had fixed it a couple days prior to your PR but was waiting for v3.1 release to get it out. Thanks again for your contributions


ci only pr on branch develop

@moigagoo Debugging the CI here then (https://github.com/moigagoo/norm/pull/139) should be merged.
Analysing the logs it seems postgres sql has different rules than sqlite regarding self referencing key ? Do you know more about it ?

@moigagoo Got it !


view: hack attempting to mitigate split-brain GRPC failures

This isn't a permanent fix, and it's not the right way to solve the robustness issue (more details TK) but it may help with the immediate problem with summonerd, and seems unlikely to add new failure modes.

What's with the protobuf lint failures?

I think it's comparing the state of this branch against main, even though the PR is being made against a different branch. Probably the solution is to change the CI workflow to filter to only apply to PRs against main.

Also, are we sure that one second is enough?

Also, are we sure that one second is enough?

We are not! But it seems likely, and fits in the middle of the confirmation delay we already put in pcli. If it isn't, we'll see it really clearly in the logs, because there will be a warning before an error. So I think it's probably a reasonable starting point.

Also, are we sure that one second is enough?

We are not! But it seems likely, and fits in the middle of the confirmation delay we already put in pcli. If it isn't, we'll see it really clearly in the logs, because there will be a warning before an error. So I think it's probably a reasonable starting point.

Yeah, makes sense, if we still run into this we could do a few retries with exponential backoff, but I'm in favor of merging this as an obviously correct patch for now


Add black box slides

Created slides-resources/08-black_box.md containing slides for topic 8: black box explainability
Added visuals for topic 8 under slides-resources\images

@searciniegas please add a description in your pull request, outlining exactly what you're code changes are.

Hi Santiago,
Thanks for putting the material together, looks great overall.
I have a few follow-up requests however before this PR is merged:

You mention Knockoffs in the Outline, but there aren’t any slides about the method
Please add a relevant image to each section. We currently have images for the SHAP and LIME sections, but not for Black Box Models, Local Methods, Global Methods, Global Surrogates, HRT, and Knockoffs (once it’s added)
In general, the text needs to be balanced by visuals

Would you be able to have these changes ready for EOD Wednesday/first thing Thursday (9am) so I have time to make my own modifications before the Thursday evening lecture?

Hi Erik, I'll address these issues this evening. Thanks!

Added relevant visuals for each section
Corrected the outline slide


Basic created blocks don't cull faces

I think there is an issue with the default block model for blocks created with contenttweaker where it doesn't cull it's faces.
To reproduce it just use this script that creates the simplest block possible:
#loader contenttweaker

import mods.contenttweaker.VanillaFactory;

var test = VanillaFactory.createBlock("test", <blockmaterial:rock>);
test.register();

This block is created, but the default model doesn't cull faces, here is a demonstration:
The block:

Not being culled:

What should be hapenning (same example using a vanilla block):

Here's a fix:
Make a block model and put it into your resources/contenttweaker/models/block folder
Here's a template:
{
  "parent": "block/cube",
  "textures": {
    "all": "contenttweaker:blocks/BLOCK_NAME_HERE"},
  "elements": [
    {
      "from": [ 0, 0, 0 ],
      "to": [ 16, 16, 16 ],
      "faces": {
        "down":  { "texture": "#all", "cullface": "down" },
        "up":    { "texture": "#all", "cullface": "up" },
        "north": { "texture": "#all", "cullface": "north" },
        "south": { "texture": "#all", "cullface": "south" },
        "west":  { "texture": "#all", "cullface": "west" },
        "east":  { "texture": "#all", "cullface": "east" }
      }
    }
  ]
}

I suggest naming it after your block. Your "all" texture should point to your texture in contenttweaker/textures/blocks folder. Don't add the .json part of the file name.
Next, go to contenttweaker/blockstates
Find your block.json file and open it up. It should look something like this:
  "forge_marker": 1,
  "defaults": {
    "textures": {
      "texture": "contenttweaker:blocks/BLOCK_NAME",
      "particle": "contenttweaker:blocks/BLOCK_NAME"
    },
    "model": "base:storage",
    "uvlock": true,
    "transform": "forge:default-block"
  },
  "variants": {
    "normal": [{}],
    "inventory": [{}]
  }
}

Change the model from base:storage to contenttweaker:BLOCK_NAME
You should now have the base cube model with your texture of choice with culling. There's probably a better way to do it, but this is what I come up after a few hours of tinkering with it.

Big Thanks to you!


Packaging server daemon + client

Nope it didn't flag it, but I can change those as well. WHY NOT?

There's some build failures, but I don't think it's tests or linting that's failing, so I imagine we could ignore those. Is that right?

@hoffmabc I foolishly merge this without testing it (only reviewed the code) and it's broken:

Anyhow, I've reverted master. I don't think there's a way to revive a closed PR, so you'll need to make a new one. Sorry.

Ok no worries yeah it's not ready.


Testcafe disconnects from browser if we use one "await t" with many actions

What is your Test Scenario?

What is the Current behavior?
Testcafe goes on a ECONNABORTED and closes the connexion with the browser (chrome in my case)
What is the Expected behavior?
The test should continue and no connexion exit should be raised
What is your web application and your TestCafe test code?
Your website URL (or attach your complete example): Local intranet website

Chaining many testcafe instructions with just one single "await t" instead of many forces testcafe to be disconnected from the browser. This has been noticed locally and also remotely. I think before the v23 the browser froze but with the release of this new version (a possible fix to the browser timeout connexion -> force connection to close)

This raises the error:
 await t
            .expect(this.title.visible).ok()
            .expect(this.sideID.visible).ok()
            .expect(this.pageID.visible).ok()
            .expect(this.formatID.visible).ok()
            .expect(this.siteName.visible).ok()
            .expect(this.pageName.visible).ok()
            .expect(this.formatName.visible).ok()
            .expect(this.viewList.visible).ok()
            .expect(this.siteNameList.count).gt(10)
            .expect(this.pageNameList.count).gt(10)
            .expect(this.formatNameList.count).gt(10)

While there is no error with this:
    await t
            .expect(this.title.visible).ok()
            .expect(this.sideID.visible).ok()
            .expect(this.pageID.visible).ok()
            .expect(this.formatID.visible).ok()
            .expect(this.siteName.visible).ok()
            .expect(this.pageName.visible).ok()
            .expect(this.formatName.visible).ok()
            .expect(this.viewList.visible).ok();

        await t
            .expect(this.siteNameList.count).gt(10)
            .expect(this.pageNameList.count).gt(10)
            .expect(this.formatNameList.count).gt(10)

Your complete test report:

Screenshots:

Steps to Reproduce:

Just use one await t with more than 7 expects and the error should be raised starting from the number 6 expect.
Error: write ECONNABORTED
at Socket._writeGeneric (net.js:768:25)
at Socket._write (net.js:787:8)
at doWrite (_stream_writable.js:396:12)
at writeOrBuffer (_stream_writable.js:382:5)
at Socket.Writable.write (_stream_writable.js:290:11)
at Socket.write (net.js:711:40)
at TLSSocket.ondata (_stream_readable.js:639:20)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
Waiting for the debugger to disconnect...
Your Environment details:

testcafe version:                   ^0.23.0
node.js version:                    v8.12.0
command-line arguments:  Plugin VS Code Testcafe (run with right click)
browser name and version: Chrome 70.0.3538
platform and version:           Windows 10.0.0

Hi @ZeddEn
We've fixed this problem in the<EMAIL_ADDRESS>version.


CB-17693: Upgrade preparation flow should remove the parcels from the previous preparation

There might be a problem here. What I've tried is to:

prepare for 7.2.14
then prepare for 7.2.15 (7.2.14 got deleted)
upgrade to 7.2.14
started to download 7.2.14 again, but failed at the distribution phase because the 7.2.14 parcel is missing from the .flood folder
Once I checked the folder the parcel was there, but with 0 bytes large - I think it's CB that is replacing the file with an empty file

The question is since CM had to download the 7.2.14 again, why it's still an empty file and what can we do about it.

I re-tested the above-mentioned failing scenario and it seems like a CM bug as I remove the content of the .flood directory completely and I try to manually distribute the parcel it will re-create the same empty folder and file and complain that it is missing. My suggestion is to merge the PR regardless of this issue.


runner image to 2b20e26bb3b99d8e4f41a3d1d9d2e7080043de5c

Updates to the latest image
Fixes: #28768 28768
already applied
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @Abacn this is already applied and should fix 28768

@Abacn Just to clarify about latest. We can but i consider it a bad practice as one cannot know when that might change. Also if we do that and use GKE node scaling we are really vulnerable to having some nodes have old versions while other having never. We can bypass that with always pull but that will incur time penalties so i decided against it.
We can implement it but i think its just not worth it


Global Illumination manager: Add option to use 32 bits depth buffer

See https://forum.babylonjs.com/t/issues-with-the-use-of-global-illumination/49832/16

Snapshot stored with reference name:
refs/pull/15047/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15047/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15047/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15047/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15047/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15047/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15047/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15047/merge#BCU1XR#0

WebGL2 visualization test reporter:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15047/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGPU (Experimental)
Important - these might fail sporadically. This is an optional test.
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/15047/merge/testResults/webgpuplaywright/index.html


Replace common directory in multiplatform structure

Replace common directory in multiplatform structure: Resolve #141
Add proper gitignore file: Resolve #144
Fix lumin local dependency symlink issue: Resolve #145
Update documentation for init: Resolve #123

Codecov Report

Merging #147 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #147   +/-   ##
=======================================
  Coverage   92.91%   92.91%
=======================================
  Files           8        8
  Lines         663      663
  Branches      126      126
=======================================
  Hits          616      616
  Misses         43       43
  Partials        4        4

Continue to review full report at Codecov.

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


Star Map - Support keyboard shortcuts for creating and deleting solar system objects

I'm not sure how valuable this feature actually is, so lets revisit this once more people have experience with the solar system editor.


Use a concurrent queue to wait for process completion

Calling blocking waitpid on Swift concurrency threads can cause freezes for async code when spawning too many processes with the existing Process API.
Also took this opportunity to group process-related files in the same directory.

@swift-ci test


How to build the bev pooling in my own project?

Hello, thanks for your great work!
If I want to only build the bev pooling operation in my own project, how could I do it?

Hello @exiawsh,
Thanks for your interest. If you are using mmdetection3d, I believe this modification in the setup.py file is helpful.
Related to the BEV pooling operation itself, I recommend you have a look at this function, in which line 167 is the call to the CUDA kernel. It has 6 parameters, namely:

x: input features, of size [N_camera_feats, C] (filtered from the [B, N_cam, C, H_cam, W_cam] feature map)
geom_feats: 3D coordinates of each input feature, of size [N_camera_feats, 4]
B: batch size
Z: the z-size of the BEV feature map
H_BEV: the x-size of the BEV feature map
W_BEV: the y-size of the BEV feature map.

The kernel will return a feature tensor of size [B x C x Z x H_BEV x W_BEV]. What the CUDA kernel does is to sum up the features with the same 3D coordinates and insert them to the correct memory location.
Best,
Haotian

Thank you for your patience and great work! In fact, I have no previous experience in CUDA Programming. I will try to compare the implementation of mmdetection. In addition, may you recommend some CUDA Programming learning materials?

Hello @exiawsh,
Thanks for your interest. If you are using mmdetection3d, I believe this modification in the setup.py file is helpful.
Related to the BEV pooling operation itself, I recommend you have a look at this function, in which line 167 is the call to the CUDA kernel. It has 6 parameters, namely:
* x: input features, of size [N_camera_feats, C] (filtered from the [B, N_cam, C, H_cam, W_cam] feature map)

* geom_feats: 3D coordinates of each input feature, of size [N_camera_feats, 4]

* B: batch size

* Z: the z-size of the BEV feature map

* H_BEV: the x-size of the BEV feature map

* W_BEV: the y-size of the BEV feature map.

The kernel will return a feature tensor of size [B x C x Z x H_BEV x W_BEV]. What the CUDA kernel does is to sum up the features with the same 3D coordinates and insert them to the correct memory location.
Best, Haotian

Thank you for your patience and great work! In fact, I have no previous experience in CUDA Programming. I will try to compare the implementation of mmdetection. In addition, may you recommend some CUDA Programming learning materials?

Sure, you can have a look at this repo and this repo for some important kernels used in point cloud processing.


Two ingesters started to hand over to the same target

Observed in the logs of two containers; one also mentioned in issue #973.
ingester-85b85799cc-dmh2r: level=info ts=2018-08-30T16:59:50.946449637Z caller=transfer.go:194 msg="sending chunks" to_ingester=<IP_ADDRESS>:9095
ingester-7575679fd5-4dpsp: level=info ts=2018-08-30T16:59:53.065834618Z caller=transfer.go:194 msg="sending chunks" to_ingester=<IP_ADDRESS>:9095

Since they're three seconds apart, is this a bug, or just some fancy footwork?
we should log more info so we can figure out what <IP_ADDRESS>:9095 refers to in logs.

Did the first of these ingesters have no tokens?  What version of the code were you running?
If the first transfer had no tokens and you're running with #955, this isn't so bad.

The entire log of the first one is in #973.
Pretty sure it was the latest code.  Neither pod still existed by the time I came to look at them.


Updating email addresses on the error pages

Updating email addresses on the error pages.
Changes

Updating email addresses on the error pages.

Testing

Change DEBUG to False in local.py and visit http://localhost:8000/test/. Click on the contact-us link.

Review

@virginiacc
@contolini

Screenshots

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

LGTM

👍

👍


PR for publish

closing and reopening for a new build (samples have been merged to live)

closing and reopening for updated build status.

I unstuck the WIP status here but usually you need to merge dotnet/samples first and then create this PR.


Provide a way for build logic to provide additional build options to the build user

Build scripts and plugins often accept external configuration settings or options that are provided by the user or the environment as command-line options or Gradle or system properties. However, there are several issues that make this awkward:

The settings are not discoverable by the user or by tooling.
The settings are applied inconsistently, as the build logic is responsible for locating the information from various different sources and applying a particular order of precedence. Each implementation does this differently.
The effective settings or their provenance are not visible in build scans.
The settings are opaque to Gradle, and so Gradle cannot apply caching of the model.
There is no public way to add command-line options at the project or build level.

To solve this, we should build on the "build option" concept added in #2784 , by providing a public API for build logic to add custom build options at the Gradle and/or Project level. Later, we can make this richer in many ways:

capture all build options in build scans
present build options via the Tooling API, allowing rich UIs for a user to provide this input.
add support for providing credentials in this way, or at least using some shared infrastructure.
prompt the user for an option whose value is required and that has not been provided.
add something like gradle options to show the available options and their current values.
lock down access to system properties and other inputs that are not declared as options, and start to cache parts or all of the model.

Expected Behavior
A plugin or build script can declare a 'build option', which is some setting that the user can provide. Each build type has:

A type.
A default value, possibly none, in which case a value must be provided by the user.
An optional command-line option.
A system property that can be used to provide the value.

Current Behavior
It is not possible for build logic to create a build option that looks and behaves like the build options provided by Gradle.

As mentioned in #1295, using dots in environment variables can cause various problems. It would be a nice addition to this API if it also supported a different notation for the environment variable than for the system property. E.g. we could default to using underscores for this new API instead of using the property name 1:1 like we currently do for project properties.

Nice idea. This would also allow us to later avoid having to mutate the environment variables of the daemon process.

FYI, this was essentially brought up in the Gradle forums recently: https://discuss.gradle.org/t/command-line-option-for-build-wide-properties/27000
(Thanks for the redirect, @oehme)
IMO, this would be an excellent enhancement to Gradle

We should really prioritize this. The quickfix we have to make mutation works again is hiding the fact we're still accessing JDK internals. This could break tomorrow. Not mentioning the fix actually has side effects on everything running in the same VM.

It always was accessing an internal and has never changed. And if it does we can adjust. The only way this could be totally broken is if they remove add-opens (which would break the world). Don't get me wrong, we should have a proper option API, but I don't see this more urgent than before.

We really should add a better API to deal with build options.


Prepare release

What it solves
Prepares release to be merged to main
Set the release versions

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
11.7%

Covered Lines:
25

Relevant Lines:
25

💛  - Coveralls


Issue durring  adding repository.

Hello, durring adding this repo to my Home Assistant i getting this error:

ERROR (MainThread) [hassio.utils.json] Can't read json from /data/addons/git/b3e07dba/repository.json: [Errno 2] No such file or directory: '/data/addons/git/b3e07dba/repository.json

Am I doing something wrong ? I have to admit that I'm noob ;-)

@art8814 Home Assistant doesn't use this library any more - it uses evohome-async instead. The HA documentation will be corrected in the next release of HA.
In any case, you shouldn't have to 'add' any evohome repo to HA - just adding the correct data to HA's configuration.yaml file will cause the correct package to be downloaded from pypi.org:
evohome:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD

If you are stuck, ask for help at: https://community.home-assistant.io/
@watchforstock, I think you can close this issue.


Bot closing because of "fn()".

Please describe the problem you are having in as much detail as possible:
When ever your running the bot, the error says: ```js
C:\Users\USER\Desktop\Projects\FOLDER\node_modules\discord.js\src\client\Client.js:422
fn();
^
TypeError: fn is not a function
at Timeout.setTimeout [as _onTimeout] (C:\Users\USER\Desktop\Projects\FOLDER\node_modules\discord.js\src\client\Client.js:422:7)
at ontimeout (timers.js:488:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:283:5)

**Include a reproducible code sample here, if possible:**
None, something isn't a function!

**Further details:**

- discord.js version: v11.1.0
- node.js version: v8.1.3
- Operating system: Windows 10 Pro
- Priority this issue should have – please be realistic and elaborate if possible: ```js
fn();``` not being a function.

This is related to the outage the discord servers had.

@iCrawl Can you point us to a specific commit or set of commits that fixed this issue? I'd like to hotfix this issue until the next full release.

You can find the pr here: #1673
And the relevant commit here: c0e9ce2

Thanks for both the fix and the link!
(Sorry for the late response, only just now realized I forgot to respond.)


Config Issues

I am having trouble configuring the gdrive.
Every time i try to configure it comes back with an error saying illegal insturction. The grep is unable to read a response from the response folder.

What version of the camera do you use?

I am using 47us, I have used a fork of your project by bobi, to my eyes it looks the same except for the grove paths are now in tmp/sd/
I believe the issue is with the way curl is being called. As it says illegal operation to whenever I type curl in console

Seems that you call the default curl of your camera. Not the curl which is included in this project. But I am not sure of it. I have been writing these scripts for my local camera (12CN). I cannot guarantee that it will work with any other camera.

I will try replacing the files with your version of curl, and see if that makes a difference.


Create a JavaScript Chrome extension integrated with AI to read webpage content

Develop a Javascript {WebReader} Chrome Extension.
Description 📜
This Chrome extension scrapes webpage content and converts it into an AI-generated human voice.
Requirements 🛠

The extension should provide a good and simple UI and UX.
Users can choose from a variety of sounds.
Users should be able to choose the reading speed.
Users will have the option to switch between reading an entire page or focusing on specific content by selecting.

Bonuses ✨

It would be great if the app could play sound with the screen off on mobile Chrome.

Any number of people can work on a single issue 👨💻👨💻
This issue is open to all.🌍

Project location 👉🏻 {WebReader}/adrianna-yixin/
👨🏻💻 Happy Coding 👩🏻💻

I would like to work on this issue

@shivansh84ya You can submit your work.


Take best of a set of CDFs / SFs

Unfortunately this isn't really a "physical" operation, you're basically making the best choice of the individual distributions for every threshold, but it doesn't quite feel like a probability distribution in the conventional sense.

Possible naming:

highest_threshold or threshold_highest

Went with pointwise_max.


SILGen: Fix crashes when conditionally looking up generic subscripts and properties via AnyObject.

The fix for methods to lower the dynamic method type from the substituted AST type of the expression also needed to be applied to the optional chaining, subscript, and property paths.
This also exposed a problem in the Clang importer, where imported subscript accessors would get the unbound generic context type as their Self parameter type instead of the type with the correct generic parameters. Fix this by renaming the all-too-convenient ParamDecl::createSelf factory to createUnboundSelf, and introduce a new createSelf that uses the bound generic type.
Fixes rdar://problem/26447758.

@swift-ci Please test and merge

lldb build failure looks unrelated.


Download driver files dialog when I reopen DBeaver appears everytime

Description
When I reopen DBeaver it always opens "Download driver files" error. After I manually delete offered driver in Driver Manager then connection works fine. But reopening DBeaver and problem is back.
This problem first appeared in 22.2.1. Up till 22.2.0 this was not a problem. It looks like regression problem.
DBeaver Version
Community Edition 22.2.1
Operating System
Windows 10
Database and driver

DATABASE name AND version: Db2 v<IP_ADDRESS>
Driver name AND version: Db2 JDBC Driver 4.31.10

Steps to reproduce

Open DBeaver and click on connection from Database Navigator window and double click connection to connect to database. Error appears: "Download driver files". I expect to get no error. This error is most probably related to the JDBC driver I manually change. To solve this problem I do:
Database | Driver Manager.
DB2 | DB2 LUW and Edit button.
On Libraries tab there are two drivers. First line is default JDBC driver which is few years old. And second is the latest JDBC driver I have manually added few months ago.

I mark first line and click on Delete button and confirm with Yes button. Driver is deleted.
I click on OK button and then on Close button, to close down dialogs.
Double click on connection and connection is successful.

Now to problem reappear, close down DBeaver and start it again and you are at step 1 again. Reappearing problem...
This looks like a regression in DBeaver 22.2.1, beucase in DBeaver 22.2.0 and older this problem was not happening.
Additional context
By the way I have already reported problem that there is old Db2 JDBC driver link in DBeaver at issue 17427 and like I see it, this problem is already fixed in 22.2.2 currently in development.
When new version DBeaver 22.2.2 is released, this problem may be hidden, because I will just download the latest driver and probably new driver Db2 will not be available for few months/years. Problem will go away, but hidden until new driver will manually be selected.

thanks for the report

Fixed

You need to go to driver settings and delete old library again. Then it will be ok on next restart.

Sorry to bother You, but your solution is not working
I have the same issue
WHen i delete the librairies, it's working fine but if i shut down Dbeaver and restart it, the "deleted" libraieis are back.
That mean to use Dbeaver i need to remove the librairies everytime i launch it

To recap this bug report:

DBeaver worked fine up to including 22.2.0 and this problem did not appear.
Problem is in DBeaver 22.2.1 and there is currently no work-around for this problem.
Upgrade to DBeaver 22.2.2 (currently in development) when it will be available.
After upgrade for first time you are requited to manually delete library again, because "delete library"  action is triggered only when you actually delete library and problem should be fixed. If someone restarts DBeaver, then problem will not reappear.

@mauringuay, you are obviously missing step 3, that is required step.

Parfait it's working
Thanks you !
De : igor2x @.>
Envoyé : jeudi 29 septembre 2022 12:41
À : dbeaver/dbeaver @.>
Cc : GUAY Maurin DTSI/DISU @.>; Mention @.>
Objet : Re: [dbeaver/dbeaver] Download driver files dialog when I reopen DBeaver appears everytime (Issue #17757)
To recap this bug report:

DBeaver worked fine up to including 22.2.0 and this problem did not appear.
Problem is in DBeaver 22.2.1 and there is currently no work-around for this problem.
Upgrade to DBeaver 22.2.2 (currently in development) when it will be available.
After upgrade for first time you are requited to manually delete library again, because "delete library" action is triggered only when you actually delete library and problem should be fixed. If someone restarts DBeaver, then problem will not reappear.

@mauringuayhttps://github.com/mauringuay, you are obviously missing step 3, that is required step.

Reply to this email directly, view it on GitHubhttps://github.com/dbeaver/dbeaver/issues/17757#issuecomment-1262097980, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3KXFHVWN33XGCRXY2OVU5DWAVW4TANCNFSM6AAAAAAQXU5PWE.
 Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.


(One#26774793) [Add an action - Search]: Screen reader doesn't announce the search results information by entering any valid/Invalid data in the "Search" edit field.

Describe the issue
User Experience:
Screen reader dependent users will not be able to know whether their entered input has shown some results or not if the screen reader doesn't announce the search results information by entering any valid/invalid data in the search edit field.
Pre-requisite:

Turn on the Screen reader (Narrator).

Repro Steps:

Open URL "https://make.powerautomate.com/" and sign in with Valid credentials.
Flow Homepage will appear on the screen, navigate to 'My Flows' present on left nav and select it.
For a flow already created, click on 'Edit'.
Edit page will appear, navigate to 'New Step' button and select it.
Choose an Action section will appear on the screen, Navigate to 'Search Connectors & Actions' edit field and search for valid/invalid input.
Verify whether screen reader is announcing the search results for valid/invalid input

Actual Result:
Screen reader doesn't announce the search results information by entering any valid/Invalid data in the "Search" edit field.
Observation: By entering any Valid/Invalid data, the screen reader does not announce the search results information, instead it is remaining silent.
Other screen reader like JAWS and NVDA show same behaviors as they do not announce the search results information.
Expected Result:
Screen reader should announce the search results information by entering any valid/Invalid data in the "Search" edit field.
Example: By entering any Valid data (Ex: When an email arrives) the screen reader should announce as "One result found" and by entering any invalid data (Ex: rhhjfbjbefi) the screen reader should announce as "No results found, or Zero results found".
MAS Reference:
MAS 1.3.1 -- Info and Relationships
ARIA Authoring Ref Link/Fluent Patterns Guidance /HITS Guidance:
NA
UIA/DOM details available:
Yes
Reference Links:

Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.

Are you using new designer or old designer
New Designer (With action panels)
Screenshots or Videos

Browser

OS Version: Windows 11 Version 23H2 (OS Build 22631.3007)
Browser: Edge Version 120.0.2210.144 (Official build) (64-bit)
#URL:https://make.powerautomate.com/
Screen Reader: Narrator

Additional context
One#26774793

Fixed here: #4082


[Y2K-1281] Refactor selection popup to support channel tabs

[ ] Revert flags

cc @jakob223 @buoyad


{nixos/gpu-screen-recorder,gpu-screen-recorder{-,gtk}}: update to 4.1.11, remove cap_sys_nice

Description of changes

Update gpu-screen-recorder{-,gtk} to 4.1.11
Use lib.mesonBool in mesonFlags = [ ... ]
Add addDriverRunpath.driverLink to LD_LIBRARY_PATH for both
https://github.com/NixOS/nixpkgs/pull/339874#discussion_r1788687308
Remove patch 0001-Don-t-install-systemd-unit-files-using-absolute-path as it's no longer needed (surpass by (lib.mesonBool "systemd" false))

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 339874 --extra-nixpkgs-config '{ allowAliases = false; allowBroken = false; allowUnfree = true; checkMeta = true; cudaSupport = false; cudaCapabilities = [ ]; }' run on x86_64-linux 1

1 package blacklisted:

nixos-install-tools

3 packages built:

disko
gpu-screen-recorder
gpu-screen-recorder-gtk

@JohnRTitor Could you take a look?
I'm not really sure if this is the proper way to do it...
https://github.com/NixOS/nixpkgs/blob/5b1d68c9d72e3c757bd8636e80a597a4fd4e7b0a/nixos/modules/programs/gpu-screen-recorder.nix#L49-L53

Should the packages use the unstable updater? I believe @dec05eba wants users to use the latest commit to master.

Thanks for the additional reviews! Tomorrow, I will take a look and try to implement the suggestions

Should the packages use the unstable updater? I believe @dec05eba wants users to use the latest commit to master.

These days gpu screen recorder has proper versions and I now also created a tag for the latest release and will continue doing so for new releases. The tag is now visible here: https://git.dec05eba.com/gpu-screen-recorder/ (version 4.1.11). I recommend using the latest release instead. There is also a changelog for versions available here: https://git.dec05eba.com/gpu-screen-recorder-gtk/tree/com.dec05eba.gpu_screen_recorder.appdata.xml#n82

I’ve decided to drop the module refactor from this PR. I'll need more time to think it through and implement it properly. I don’t want to slow down this PR any further, so I’ll create another PR in the near future for the module

Result of nixpkgs-review pr 339874 --extra-nixpkgs-config '{ allowAliases = false; allowBroken = false; allowUnfree = true; checkMeta = true; cudaSupport = true; cudaCapabilities = [ "7.5" ]; }' run on x86_64-linux 1

1 package blacklisted:

nixos-install-tools

2 packages built:

gpu-screen-recorder
gpu-screen-recorder-gtk

Result of nixpkgs-review pr 339874 run on x86_64-linux 1

1 package blacklisted:

nixos-install-tools

2 packages built:

gpu-screen-recorder
gpu-screen-recorder-gtk

Trying to run it, I get this:
┌───────────────────>
│keenan in results/gpu-screen-recorder/bin🔒
❄ bsh ›
└─>./gpu-screen-recorder -w screen -f 60 -a default_output -o "$HOME/Videos/video.mp4"
amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
Info: using h264 encoder because a codec was not specified
gsr info: gsr_kms_client_init: waiting for server to connect
kms server info: connecting to the client
gsr info: gsr_kms_client_init: server connected
gsr info: replacing file-backed unix domain socket with socketpair
kms server info: connected to the client
kms server error: expected gpu screen recorder protocol version to be 2, but it's 4

^Cgsr error: gsr_kms_client_replace_connection: failed to receive response
gsr error: gsr_capture_start failed

Recording file doesn't get written. Don't know if it's because of my current gpu-screen-recorder instance. (I have a systemd service for replay autostart which I stopped for testing this.) But the package builds fine to 4.1.11. The 'current' gpu-screen-recorder records fine.
System info:
          ▗▄▄▄       ▗▄▄▄▄    ▄▄▄▖             keenan@nixos-desktop
          ▜███▙       ▜███▙  ▟███▛             --------------------
           ▜███▙       ▜███▙▟███▛              OS: NixOS 24.11.20241004.bc947f5 (Vicuna) x86_64
            ▜███▙       ▜██████▛               Kernel: Linux 6.11.1
     ▟█████████████████▙ ▜████▛     ▟▙         Uptime: 25 mins
    ▟███████████████████▙ ▜███▙    ▟██▙        Packages: 2614 (nix-system), 158 (flatpak-user)
           ▄▄▄▄▖           ▜███▙  ▟███▛        Shell: zsh 5.9
          ▟███▛             ▜██▛ ▟███▛         Display (XB271HU): 2560x1440 @ 165 Hz in 27″ [External]
         ▟███▛               ▜▛ ▟███▛          Display (LEN Y27q-20): 2560x1440 @ 165 Hz in 27″ [External] *
▟███████████▛                  ▟██████████▙    DE: KDE Plasma
▜██████████▛                  ▟███████████▛    WM: KWin (Wayland)
      ▟███▛ ▟▙               ▟███▛             WM Theme: Klassy
     ▟███▛ ▟██▙             ▟███▛              Theme: Klassy (CatppuccinMochaLavender) [Qt]
    ▟███▛  ▜███▙           ▝▀▀▀▀               Icons: Papirus-Dark [Qt], Papirus-Dark [GTK2]
    ▜██▛    ▜███▙ ▜██████████████████▛         Font: Inter (12pt) [Qt], Inter (12pt) [GTK2/3/4]
     ▜▛     ▟████▙ ▜████████████████▛          Cursor: breeze (24px)
           ▟██████▙       ▜███▙                Terminal: WezTerm 20240203-110809-5046fc22
          ▟███▛▜███▙       ▜███▙               Terminal Font: JetBrainsMono Nerd Font
         ▟███▛  ▜███▙       ▜███▙              CPU: AMD Ryzen 7 5800X (16) @ 4.85 GHz
         ▝▀▀▀    ▀▀▀▀▘       ▀▀▀▘              GPU: AMD Radeon RX 7900 XTX [Discrete]
                                               Memory: 8.14 GiB / 31.27 GiB (26%)
                                               Swap: 3.00 MiB / 7.82 GiB (0%)
                                               Disk (/): 1.23 MiB / 8.00 GiB (0%) - tmpfs
                                               Disk (/home/keenan/Games): 814.53 GiB / 1.82 TiB (44%) - btrfs
                                               Disk (/persist): 289.83 GiB / 1.82 TiB (16%) - btrfs
                                               Local IP (enp10s0): <IP_ADDRESS>/24
                                               Locale: en_US.UTF-8

Can anyone else confirm similar issues?

Trying to run it, I get this:

You need to install the program rather than run it locally in the directory. gpu screen recorder will launch gsr-kms-server from PATH, and if you already have gpu screen recorder installed then there is a version mismatch.

Trying to run it, I get this:

You need to install the program rather than run it locally in the directory. gpu screen recorder will launch gsr-kms-server (also installed by gpu screen recorder) from PATH and the version of gsr-kms-server needs to match the version in gpu screen recorder. If you are running a local version of gpu screen recorder but have another version installed on the system then it can fail if there are changes between the versions.

Lo and behold, the author is correct! Working great for me in 'normal' and 'replay' modes.

vulkan-headers is a new dependency that should be added for gpu-screen-recorder (build dependency)

Result of nixpkgs-review pr 339874 --extra-nixpkgs-config '{ allowAliases = false; allowBroken = false; allowUnfree = true; checkMeta = true; cudaSupport = true; cudaCapabilities = [ "7.5" ]; }' run on x86_64-linux 1

1 package blacklisted:

nixos-install-tools

2 packages built:

gpu-screen-recorder
gpu-screen-recorder-gtk

Superseeds #335546


Button group

I added the symptom button group for the symptom screen. I included a hover effect, so when you hover over one of the buttons, it turns grey. Let me know if this looks okay!

Hey @Ahwan0717 - anything I can help with? Looks like there's merge conflicts meaning you just have to rebase your copy off of the current master!
A guide if you need a starting point
Let me know if I can be of any help!

Ok! Also, would you guys prefer me updating this to a toggle button group instead?

You can create a separate component to as a toggle button as well! It will solve two problems.
Can you add that as a separate Pull Request?
Great job @Ahwan0717 !

Does it hover also on mobile devices? Any UX considerations for this effect?


GitHub refined token

use github fine-grained PAT to access private repos
disable fail-fast from build strategy so all targets are built even if one fails

Closing this for now as it seems uae never took the FGPATs in use in github


Events

Needs content: https://edit.scrivito.com/d0a154d76edf2a7bd991fc658e700a1d~https://events.scrivito-portal-app.pages.dev/my-tynacoon?_scrivito_workspace_id=vc5d7cb7ea655b19&_scrivito_display_mode=view

REVIEW (0d8907c)
I also updated the content in the working copy.

REVIEW (eacc80e)
I also updated the content.


Latest version is not on pypi, please publish

I noticed that your latest release 1.1.0 is not on pypi

Hi, yes I need to ask Adrien to do this, thanks


Split the project

Right now the project is coupled with React.
We should split the project so that we can have React, Preact, Angular and Vue bindings, for example.

This could also be done with multiple entry points:
import createStore from 'redux-zero';
import { Provider, connect } from 'redux-zero/preact';  // maybe just ESM

export default () => (
  <Provider store={createStore()}><App /></Provider>
);

const mapStateToProps = ({ count }) => ({ count });

const App = connect(mapStateToProps)( ({ count }) => (
  <button>{count}</button>
));

I was thinking something more like Redux:
import createStore from 'redux';
import { Provider, connect } from 'react-redux';

But this looks even better! I'll check if Rollup can easily handle this, if not maybe change to Webpack...
Quick question: what about UMD with multiple entry points? I'm guessing that'll be something like this:
<script src="https://unpkg.com/redux-zero/dist/redux-zero.min.js"></script>
<script src="https://unpkg.com/redux-zero/dist/redux-zero/preact.min.js"></script>

It can get a bit messy - that'd be the drawback.  If you're up for maintaining the 3-4 repos for each lib than that's probably the safe route haha.

Btw, something that is concerning me with this approach are the peerDeps.
Right now we have React as a peer dependency, which means that React will be implicitly added to the final build. With this approach it's not going to be possible to have peerDeps, this can cause trouble in the future.


sc-2345 add CertManager tests

This adds tests for the CertManager using a method similar to the backup manager tests. This required changing the fixture generator script again, to add new VASP and CertReq states and implement the relation between them so that the CertManager can do its thing. I also added a certificate fixture zip file so that we can actually test the Sectigo certificate download functionality using our previously built mocks.

Codecov Report

Merging #274 (5df99b3) into main (1c4bbcf) will increase coverage by 2.46%.
The diff coverage is 66.66%.

:exclamation: Current head 5df99b3 differs from pull request most recent head d5832c1. Consider uploading reports for the commit d5832c1 to get more accurate results

@@            Coverage Diff             @@
##             main     #274      +/-   ##
==========================================
+ Coverage   44.07%   46.54%   +2.46%
==========================================
  Files          55       55
  Lines        6505     6536      +31
==========================================
+ Hits         2867     3042     +175
+ Misses       3125     2931     -194
- Partials      513      563      +50

Impacted Files
Coverage Δ

pkg/gds/secrets/mock.go
0.00% <0.00%> (ø)

pkg/gds/service.go
20.00% <66.66%> (+2.05%)
:arrow_up:

pkg/gds/certs.go
59.59% <95.65%> (+59.59%)
:arrow_up:

pkg/sectigo/sectigo.go
41.78% <100.00%> (+1.05%)
:arrow_up:

pkg/sectigo/creds.go
44.68% <0.00%> (-22.35%)
:arrow_down:

pkg/gds/config/config.go
79.24% <0.00%> (+3.77%)
:arrow_up:

pkg/sectigo/config.go
100.00% <0.00%> (+100.00%)
:arrow_up:

Continue to review full report at Codecov.

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


＠Add pandoc-style citations

Adds pandoc-style @citations:

[@author2016, pg. 23; @author2023]
See @author2023
In authors et al. [-@author2023]

As part of this I have improved the column and line tracking in myst-parser.

The citations and roles are now correctly linked with column information:

This makes finding a particular citation much easier from the command line.

Thanks for the review @fwkoch -- I will add a few more tests for the base parser while I am in there -- improve the docs a bit and then call this good to go!

@fwkoch I just went and deleted the docs for now. We can add this back in in the future!


Make the model selector combo box wider

Validations

[x] I believe this is a way to improve. I'll try to join the Continue Discord for questions
[x] I'm not able to find an open issue that requests the same enhancement

Problem
Its super difficult to read the model name and details given such a small width of the model selector combo box. No matter how wide I make vscode, the size seems to be fixed.

Solution
Make it fill the width up to the help/settings button

I can solve this asap. Please assign me this issue

I'm not allowed to assign people to issues... I guess maintainers have to

Can you ping the maintainers to assign me this issue?
Solution: make the width to 100%, it will take up the remaining space available

Why dont you just submit the PR ?

i'm not able to find the code in the repo. can you paste the link here?

@Allan2000-Git just assigned, happy to have you help here! The relevant code is here: https://github.com/continuedev/continue/blob/47756758d03cbf09e1229dc02521730ac305efe1/extension/react-app/src/components/ModelSelect.tsx#L113

i have changed the max-width to 50vw, making it 100vw could cause trouble. never make 100vw

Nice work! closing this issue, appreciate the contribution. The change will be reflected in an official release soon

did the changes work as intended?
looking forward to contribute more

@Allan2000-Git yeah it was a perfect solution actually. Excited to have your help - let me know what questions you might have : )

i want to contribute more with respect to ui perspective. i'm a frontend developer looking for a part time or an internship to enhance my skills.

@Allan2000-Git Unfortunately we aren't currently hiring for internships or part-time, but would still love for you to play a part in the contributor community as much as you'd like. There's lots to improve in the UI and we are welcoming of PRs, or I'm happy to point you toward specific ideas we have. And either way would love to have you join our Discord!

Thank you @sestinj . It would be great if you could point me towards ui related issues or improvements

@Allan2000-Git we're always open to small improvements like the one here, and you might come across a number of such little details as you use Continue. One slightly larger idea is that we plan to allow deletion of past sessions from history.tsx, and so would want to have a "Trash Can" icon show up upon hover of any of the s
Many more ideas depending on the size of contribution you might want to make, and we also have a page here with a few listed


Update classifier.py

I've tried to implement 3 different algorithms namely Naive - Bayes, SVM and Logistic Regression but i dont know why all of them are giving the same accuracy!
I've put them in comments and have also put the Sum variable in comments for a while.
Also, i,ve not used the test dataset X_ul as it had only 1 row of data and that didn't help in checking the accuracy of the algorithms. So I used the Xi_test while predicting.
I've used confusion matrix for evaluating the performance of the models.

The X_ul refers to the unlabelled set of features for an image identified by the main.py and is updated and read from datasetunlabelledlog.csv file, in the classifier.py. X_ul will thus be the value we predict for, in order to find a label for the image.
More formally, the project runs in a sequence of main.py, which calls classifier.py meanwhile updating a new entry of unlabelled features in the datasetunlabelledlog.csv, from which the last entry (X_ul) is read, and in classifier.py the label is calculated.

Please mention the issue in the description.


Add pagination for documents

Different strategies for pagination are the following.
Offset based

Skip a certain number of results
Pro: Simple to implement
Pro: Easy to jump to certain pages
Con: Bad performance for large offsets (since database needs to traverse all items up to and including the offset, even if they are not returned)
Con: Does not handle changes to data well (if a couple of items are inserted at the beginning while navigating between pages, then the next page will display some of the old items again)

Cursor-based

Start results at a certain location / item (cursor)
Pro: Good performance
Con: Problematic to implement with sorting (results need to be sorted by the cursor)
Con: Not possible to jump to a specific page

Implementation on GraphQL level:

https://www.apollographql.com/blog/graphql/explaining-graphql-connections/
https://graphql.org/learn/pagination/
https://relay.dev/graphql/connections.htm

Implementation on database level:

https://www.prisma.io/docs/concepts/components/prisma-client/pagination#-pros-of-cursor-based-pagination

Implemented by #476


Firefox freezes if fullscreen

If you call UIA_Browser("A") when firefox is in fullscreen, firefox will freeze for at least a minute. Using UIA.ElementFromHandle("A") works until you do something with it, when it also freezes. Using UIAViewer is the same.
I don't really want to use UIA when firefox is in fullscreen, but it is annoying if I use it accidentally and have to wait.

Hello,
This is a know problem with the current release version of Firefox - it has terrible UIA support and will sometimes completely freeze when interacted with UIA. The solution is to update Firefox to the beta version, which fixes this problem.
Please report back whether this helped, I will keep this issue open until then.


Hooking Assets to custom Models/Controllers

Hello,
now, i know this is tagged with "Enhancement" here: https://github.com/xintesa/Assets/issues/6
however, if i were to implement this on my own, manually (not minding to edit bootstrap.php for instance), what's the proper procedure?
Currently i've added my own Model under /Plugin/Assets/Config/boostrap.php
// TODO: make this configurable via backend
$actions = array(
	'Nodes/admin_edit',
	'Blocks/admin_edit',
	'Types/admin_edit',
	'Projects/admin_edit',
);

AND
// TODO: make this configurable via backend
$models = array('Block', 'Node', 'Type', 'Project');

the tab is being added under admin/projects/edit/14 (for example), but it doesn't seem to be calling the $this->fetch('actions'); under Croogo/View/Common/admin_edit.ctp for it to show the browse/upload/refresh buttons
<?php if ($actionsBlock = $this->fetch('actions')): ?>
<div class="<?php echo $cssClass; ?>">
	<div class="actions <?php echo $columnFull; ?>">

			<?php echo $actionsBlock; ?>

<?php endif; ?>

right now my View/Projects/admin_edit.ctp only has this:
<?php $this->extend('/Common/admin_edit'); ?>

Actually, now that i brainstormed when preparing this issue here, i realized this issue may have nothing to do with Assets, rather than croogo? I'm still learning, and i u can't imagine how much i praise your work. but if this is a bug with a work-around, it would be awesome. :)
/avz

Yes, I can duplicate the issue, but have not had a chance to track the cause.
The easiest workaround is just make a 'complete' view using bake
Console/cake bake view -p Projects Projects admin_edit


What the meaning of "You have an App Service app for which you want to run code snippets, and you want to manage them together in the same Azure DevOps environment."

[Enter feedback here]
In the Summary of this page, I found this but I don't know the meaning.
You have an App Service app for which you want to run code snippets, and you want to manage them together in the same Azure DevOps environment.

Does it mean that, if we already have an app service, and we want to run some code snippets, we can just add them to the exist App Service and we can manage together in  the same Azure DevOps environment.?
If we create a new Azure Functions, we can not manage the app service's code and the code snippets (Azure Functions).

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

ID: 82ee9751-961d-7109-63d6-813b1862c632
Version Independent ID: 583d1b2f-9c1a-3580-9d14-37bb551eaf44
Content: Integration and automation platform options in Azure
Content Source: articles/azure-functions/functions-compare-logic-apps-ms-flow-webjobs.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@yuanweilei
Thanks for your feedback! We will investigate and update as appropriate.

Hello @yuanweilei - Thanks for reaching out!
Regarding:

Does it mean that, if we already have an app service, and we want to run some code snippets, we can just add them to the exist App Service and we can manage together in the same Azure DevOps environment.?

Correct. WebJobs is more of a native feature of the App Service that's better used to run background tasks and other jobs that are more tightly coupled to the overall apps/services you may already be running on the platform. The Function Apps is holistically more decoupled from the platform, more evolved, and has a richer ecosystem.
I hope this helps bring clarity but if you have any further questions on a specific use case, feel free to make a new post on the MS Q&A channel instead and we'd be happy to assist you there!
Since we didn't determine any changes to this documentation upon reviewing this feedback, we will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Hi, @mike-urnun-msft
Thank you for you reply?
It is difficult to understand, can we add some samples in the article such as:

If you have an ecommerce site on App Service and you want to run maintenance routines on the backend database. So you write a Timer Triggered Job that runs the maintenance routines. Having these in the same DevOps organization means that you only have to go to one place to make changes and deploy.


Unable to initialize main class com.speedment.sources.Main

Hi,
I tried execute this command
java -jar generate-speedment-sources.jar C:/Users/Emil/Documents/GitHub/speedment, but i obtained this error Error: Unable to initialize main class com.speedment.sources.Main Caused by: java.lang.NoClassDefFoundError: com/speedment/common/codegen/Generator.

The jar file generate-speedment-sources.jar only contains the classes in the project and not its dependencies (such as codegen). If you open the project in an IDE (like IDEA or Netbeans) and click run, the IDE will take care of putting the dependencies on the classpath.
Also, you would replace the command line parameter with the path to the Speedment source code on your computer.
This project generates some classes in the Speedment project and these classes are included in Speedment. So, there is no need (except for curiosity) to run this project.

Ok, thank you. I thought the project was different.
How can I then execute a query and see what classes the speedment is using during this execution? Because if I make a new maven project and add the dependency of the speedment I do not have access to the source code.

If you use an IDE (such as IDEA IntelliJ), you can start your project in debug mode and step through execution and see exactly what Speedment classes are being used. The IDE also allows you to download the source code from the Maven repository so you can see what is going on. Hope this helps you!

I have a project with this pom:
`

4.0.0
<groupId>com.speedment.demo</groupId>
<artifactId>mysql</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
</properties>

<build>
    <plugins>
        <plugin>
            <groupId>com.speedment</groupId>
            <artifactId>speedment-maven-plugin</artifactId>
            <version>3.1.12</version>
            <dependencies>
                <dependency>
                    <groupId>org.postgresql</groupId>
                    <artifactId>postgresql</artifactId>
                    <version>42.2.2</version>
                </dependency>
                <dependency>
                    <groupId>mysql</groupId>
                    <artifactId>mysql-connector-java</artifactId>
                    <version>5.1.46</version>
                </dependency>
            </dependencies>
        </plugin>
    </plugins>
</build>

<dependencies>
    <dependency>
        <groupId>com.speedment</groupId>
        <artifactId>runtime</artifactId>
        <version>3.1.12</version>
        <type>pom</type>
    </dependency>
    <dependency>
        <groupId>org.postgresql</groupId>
        <artifactId>postgresql</artifactId>
        <version>42.2.2</version>

    </dependency>
    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>5.1.46</version>
    </dependency>
    <dependency>
        <groupId>com.speedment.common</groupId>
        <artifactId>tuple</artifactId>
        <version>3.1.12</version>
    </dependency>

</dependencies>

`
I wanted know which the classes are being used during the execution of only this stream:   long countLineitem = lineitem.stream().count();. But with debug mode in IntelliJ, I have only this:


JS best practices

Give feedback on someone else's project based on clean code best practices.
Apply knowledge the student has gained in the past when giving a code review.
Perform a simple code review for a coding partner.
Understand existing code in a way that allows the student to give a good code review.

STATUS: APPROVED👍
Hi @dev-mamun  👋
Your project is complete. There's nothing else to say other than...it's time to merge it!
Congratulations🎉

Highlights:

HTML, CSS & JAVASCRIPT Best Practices are used ✔
DRY, KISS & YAGNI Rules are followed ✔


add Cron Schedule for workflow template

Summary
apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
  name: wft-pg-extract-ref-data
spec:
  schedule: {{ .Values.postgres.dataImporter.cronTime | quote }}
  concurrencyPolicy: "Forbid"
  startingDeadlineSeconds: 0
  workflowSpec:
    workflowTemplateRef:
      name: wft-pg-extract-ref-data
-------------------------------------------
example of template
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
  name: wft-pg-extract-props-goals
spec:

  entrypoint: pg-extract-props-goals
  serviceAccountName: argo-workflows-pg
  podDisruptionBudget:
    minAvailable: 1

  templates:
  - name: pg-extract-props-goals
    metadata:
      annotations:
        karpenter.sh/do-not-evict: "true"
    nodeSelector:
      node.vodafone.com/lifecycle: "on-demand"
    tolerations:
      - key: "node.vodafone.com/on-demand"
        operator: "Exists"
        effect: "NoSchedule"
    script:
      image: "{{ .Values.postgres.dataExporter.image.registry }}/{{ .Values.postgres.dataExporter.image.repository }}:{{ .Values.postgres.dataExporter.image.tag }}"
      command: [ "/bin/bash" ]
      env:
        - name: PG_CONNECT_ENDPOINT
          value: {{ .Values.postgres.common.pgRdsCluster.connect.endpoint }}
        - name: CONNECT_USER
          valueFrom:
            secretKeyRef:
              name: test
              key: username
      volumeMounts:
        - mountPath: test
          name: temp-pvc

      source: |
        bash main.sh EXTRACT_WRAPPER NBA_EDWH
    outputs:
        artifacts:
          - name: out-art
            path: test
            s3:
              region: "{{ .Values.workflows.common.s3Export.region }}"
              endpoint: "{{ .Values.workflows.common.s3Export.endpoint }}"
              bucket: "{{ .Values.workflows.common.s3Export.bucket }}"
              key: "{{ .Values.workflows.common.s3Export.key }}/campaigngoals/"
            archive:
              none: {}

What change needs making?
need to add a schedule attribute to the workflow template  spec the below line
schedule: {{ .Values.postgres.dataImporter.cronTime | quote }}
Use Cases
When would you use this?
I have around 10 tasks with 10 workflow template files and I need to run each one  with a cronjob , currently I should use the cron workflow and for this  I should have another 10 files too , this will make a huge files also I will use more tasks so more files too

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

intentionally decoupled
The CRs are very intentionally separated as they are. Combining them as you suggest actually creates unnecessarily tight coupling.
Native k8s CronJobs are similarly intentionally decoupled from Jobs. Here's a 6 year old thread upstream that I commented in describing that separation.
benefits of Argo's design
The issue with k8s Jobs is that there is no concept of a JobTemplate. The suggestion I agreed with in that thread is that a Schedule should be an entirely separate k8s resource that applies via selectors. Unfortunately, as there are no JobTemplates in k8s, it doesn't quite work.
But Argo does have WorkflowTemplates and so its spec improves over native k8s Jobs. An Argo CronWorkflow can indeed apply to a WorkflowTemplate, exactly as you show. It also can have its own inner Workflow instead.
Notably, I did not design either spec, but I significantly prefer Argo's spec and appreciate the many benefits and proper separation of concerns that it provides.
Multiple schedules can be easily done with multiple CronWorkflows. One-off Workflows, which k8s had to implement via a CLI workaround as per linked thread, can be easily done as well, just reference the same WorkflowTemplate as the CronWorkflow.
From an architectural perspective and from a user perspective, this also has simplifying benefits due to the separation of concerns: a CronWorkflow resource merely creates Workflow resources according to a schedule. It's fairly easy to reason about as a result and the CronWorkflow Controller is also fairly straightforward.
(significant) downsides of tight coupling
Aside from the inflexibility of features per above, tight coupling tangles up the separation of concerns. As you propose, a WorkflowTemplate would now no longer be just a reusable resource that does nothing on its own. Instead it would also have a function to create Workflows on a schedule. Both architecturally and to a user, that kind of tangling of concerns creates a lot of confusion.
A WorkflowTemplate would now be responsible for multiple things. Retrieving all CronWorkflows is now more complicated because there's another resource that has schedules. A WorkflowTemplate can now get bloated with additional new features that are now no longer specific to templates. The WorkflowTemplate Controller grows in complexity with each of these, instead of separate Controllers being created for those purposes.
There's a deep, deep rabbit hole of issues you run into very quickly as separations of concerns are broken. Having a few more manifests (which total only a few more LoC) is a very minor inconvenience compared to the significant architectural & spec tight coupling that you suggest.


Order of Registration for Sequential Chains

It should be noted somewhere that the Sequential Chains and their parameters do not respect the expected order of registration. This causes confusion when returning parameters from the associated generators.
class TestChain(Chain):
    def __init__(self):
        super().__init__()
        ndf = 2
        with self.init_scope():
            self.l0 = L.Convolution2D(ndf, ndf, ksize=3, nobias=True)
            self.l1 = L.Convolution2D(ndf, ndf, ksize=3, nobias=True)
            self.l2 = L.Convolution2D(ndf, ndf, ksize=3, nobias=True)
            self.main = Sequential(
                L.Convolution2D(ndf, ndf, nobias=True),
                F.leaky_relu,
                L.Convolution2D(ndf, ndf, nobias=True),
                F.leaky_relu,
                L.Convolution2D(ndf, ndf, nobias=True),
                F.leaky_relu,
                L.Convolution2D(ndf, ndf, nobias=True),
                F.leaky_relu,
                L.BatchNormalization(ndf, use_beta=False),
            )
            self.l3 = L.Convolution2D(ndf, ndf, ksize=3, nobias=True)
            self.l4 = L.Convolution2D(ndf, ndf, ksize=3, nobias=True)
            self.l5 = L.Convolution2D(ndf, ndf, ksize=3, nobias=True)

t =  TestChain()
for p in t.namedparams():
    print(p[0])

/l0/W
/l1/W
/l2/W
/l3/W
/l4/W
/l5/W
/main/0/W
/main/1/gamma
/main/2/W
/main/3/W
/main/4/W

chainer.print_runtime_info()

Platform: Linux-4.4.0-98-generic-x86_64-with-debian-buster-sid
Chainer: 7.0.0b3
ChainerX: Available
NumPy: 1.17.2
CuPy:
  CuPy Version          : 7.0.0b3
  CUDA Root             : /usr/local/cuda
  CUDA Build Version    : 10000
  CUDA Driver Version   : 10020
  CUDA Runtime Version  : 10000
  cuDNN Build Version   : 7602
  cuDNN Version         : 7600
  NCCL Build Version    : 2402
  NCCL Runtime Version  : 2402
iDeep: 2.0.0.post3

Thank you for the report. The current implementation iterates over the parameters ordered by name lexicographically (introduced by #5119). Do you have a case that iterating in the registration order is useful? I don't think the default behavior can be changed (for the compatibility), but we may add an option to iterate in the registration order.

I actually came about this issue as I was writing trainer extensions to catalog and analyse weight dynamics for different chains. I guess in this scenario, the way parameters are ordered in sequential links is not clear from the outset and leads to confusion.
For example, i expected the generator associated with the sequential link to return parameters in forward/reverse sequential order, instead it does something different.
for p in t.main.namedparams():
    print(p[0])

/0/W
/1/gamma
/2/W
/3/W
/4/W

In this scenario, i would expect the batchnorm parameters to be returned last, (or first assuming that the generator returns parameters in reverse order). Instead, the batchnorm parameters are returned second which is confusing.

The inconsistent order of links in Sequential is another problem. There is an existing issue for that: #6053.

Alright.. I'll close this issue since #6053 deals with the remaining issue.