Breadth first search

I'd like to work on the breadth-first search algorithm :smile: I should have it done in the next couple of days.

I assume you're going to do this on a graph? Note that someone is already working on graphs in general (see https://github.com/hollance/swift-algorithm-club/pull/26 ), which may be useful to know. ;-)

I am planning on using a graph. Thanks for letting me know about #26.

I don't think it's necessary to explain the Graph and Queue etc in too much detail. Just explain why you need these things and link to the existing explanations we have for them.
The focus of this article should be on BFS: how it works and what you can do with it.
If people want to see exactly how you implemented Graph, Node, Queue etc they can look in the source code. No need to show their entire code in the README, that just distracts from the topic at hand.

Thanks for the input! :+1:  I'll reduce the details about graphs and queues and link to existing explanations. I'll add examples of what you can do with BFS.

Some applications of BFS are:

Use BFS to compute the shortest path between a source vertex and each of the other vertices. (Unweighted graphs only.)
Calculate minimum spanning tree on an unweighted graph.

Nitpicking here, but if you write:
let current = q.dequeue()
for edge in current!.neighbors {

then I think the following is better:
let current = q.dequeue()!
for edge in current.neighbors {

otherwise you have to unwrap current everywhere you want to use it. Now the unwrap happens in just one place and it's clearer why you need to unwrap it in the first place.

@chris-pilcher Did you want to do more work on this, or can I merge it already?

I'd like to do more work on this. I will work on it tonight. Thanks!

Cool, just let me know when it's ready to go.

I've updated the readme + playground for the minimum spanning tree example.
The only thing left to do is to add a test project. I will do this tomorrow night.

Awesome, this looks great.

I'll already merge it.


Panic while executing bindable *history.Undo: runtime error: slice bounds out of range

Description

Unexpectedly got such log message:
2019/12/27 18:59:43 ERR: panic while executing bindable *history.Undo: runtime error: slice bounds out of range

Steps to reproduce

Not found yet

Stack trace

2019/12/27 18:59:43 Stack trace:
goroutine 19 [running]:
runtime/debug.Stack(0xa552dd, 0x2a, 0xc0007bf190)
c:/go/src/runtime/debug/stack.go:24 +0xae
github.com/nelsam/vidar/commander.(*Commander).Execute.func1(0xaa87a0, 0xc0000c08c0)
T:/libraries/Gopath/src/github.com/nelsam/vidar/commander/commander.go:337 +0xc0
panic(0x9a71a0, 0x8cfb30)
c:/go/src/runtime/panic.go:513 +0x1c7
github.com/nelsam/vidar/command/input.(*Handler).Apply(0xc0001bb700, 0xaae5a0, 0xc000a83c00, 0xc0005661c0, 0x1, 0x1)
T:/libraries/Gopath/src/github.com/nelsam/vidar/command/input/handler.go:138 +0xa42
github.com/nelsam/vidar/command/history.(*Undo).Exec(0xc0000c08c0, 0xa15820, 0xc000004520)
T:/libraries/Gopath/src/github.com/nelsam/vidar/command/history/undo_redo.go:92 +0x154
github.com/nelsam/vidar/commander.(*Commander).Execute(0xc00004d180, 0xaa87a0, 0xc0000c08c0)
T:/libraries/Gopath/src/github.com/nelsam/vidar/commander/commander.go:353 +0x380
github.com/nelsam/vidar/commander.(*Commander).KeyPress(0xc00004d180, 0x2c, 0x2, 0xab2600)
T:/libraries/Gopath/src/github.com/nelsam/vidar/commander/commander.go:299 +0x1a6
github.com/nelsam/gxui.(*KeyboardController).keyPress(0xc0002cf820, 0x2c, 0x2)
T:/libraries/Gopath/src/github.com/nelsam/gxui/keyboard_controller.go:42 +0xb8
github.com/nelsam/gxui.(*KeyboardController).keyDown(0xc0002cf820, 0x2c, 0x2)
T:/libraries/Gopath/src/github.com/nelsam/gxui/keyboard_controller.go:28 +0xda
github.com/nelsam/gxui.(*KeyboardController).keyDown-fm(0x2c, 0x2)
T:/libraries/Gopath/src/github.com/nelsam/gxui/keyboard_controller.go:15 +0x45
reflect.Value.call(0x93a280, 0xc0002cf830, 0x13, 0xa388c5, 0x4, 0xc00045d120, 0x1, 0x1, 0xa1e340, 0xc0007bfa01, ...)
c:/go/src/reflect/value.go:447 +0x45b
reflect.Value.Call(0x93a280, 0xc0002cf830, 0x13, 0xc00045d120, 0x1, 0x1, 0x9fcc40, 0x1, 0xc00021bc00)
c:/go/src/reflect/value.go:308 +0xab
github.com/nelsam/gxui.(*EventBase).InvokeListeners(0xc00029a370, 0xc00021bbf0, 0x1, 0x1)
T:/libraries/Gopath/src/github.com/nelsam/gxui/event_base.go:140 +0x1cf
github.com/nelsam/gxui.(*EventBase).Fire(0xc00029a370, 0xc00021bbf0, 0x1, 0x1)
T:/libraries/Gopath/src/github.com/nelsam/gxui/event_base.go:190 +0x7c
github.com/nelsam/gxui/mixins.(*Window).setViewport.func9(0x2c, 0x2)
T:/libraries/Gopath/src/github.com/nelsam/gxui/mixins/window.go:386 +0xcc
reflect.Value.call(0x93a280, 0xc0002cfaa0, 0x13, 0xa388c5, 0x4, 0xc00045d100, 0x1, 0x1, 0xa1e340, 0xc0007bff01, ...)
c:/go/src/reflect/value.go:447 +0x45b
reflect.Value.Call(0x93a280, 0xc0002cfaa0, 0x13, 0xc00045d100, 0x1, 0x1, 0xc0007bff40, 0x42e478, 0xa5ec18)
c:/go/src/reflect/value.go:308 +0xab
github.com/nelsam/gxui.(*EventBase).InvokeListeners(0xc0000c1cf8, 0xc0003a9270, 0x1, 0x1)
T:/libraries/Gopath/src/github.com/nelsam/gxui/event_base.go:140 +0x1cf
github.com/nelsam/gxui.(*ChanneledEvent).Fire.func1()
T:/libraries/Gopath/src/github.com/nelsam/gxui/channeled_event.go:40 +0x6f
github.com/nelsam/gxui/drivers/gl.(*driver).applicationLoop(0xc00009e410)
T:/libraries/Gopath/src/github.com/nelsam/gxui/drivers/gl/driver.go:141 +0x2b
created by github.com/nelsam/gxui/drivers/gl.StartDriver
T:/libraries/Gopath/src/github.com/nelsam/gxui/drivers/gl/driver.go:84 +0x35a

Ok, I found how it can be reproduce:

Open any file {1}
Create new file {2} and insert some text
Select first file via panel_holder
Press Ctrl+Z
Changes from {2} will try to been applied to {1} file. {1} will corrupted {1} if range fits otherwise getting panic from title.

Very unpleasant bug, I am very glad that started to use git even for small projects :)

It seems that oldPath and path in Location.Exec/0 not equal only while file are opening. After that click on different tabs doesn't change the value. Quick workaround - to remove condition.


refactor(leaf-stage): handle overflow inside leaf stage

Like the previous PR, this improves the encapsulation of the leaf stage. And like the previous PR, there is a slight optimization as a result of incrementally applying changes as workers finish.
fn update is now dead-simple and just invokes both stages sequentially.
This is also a step towards handling overflow logic inside of workers, but that can come in a later refactoring.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#526  👈
#525
master

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

Join @rphmeier and the rest of your teammates on  Graphite

Merge activity

Oct 31, 5:25 PM EDT: A user started a stack merge that includes this pull request via Graphite.


[Documentation Update]: SFR3 - Category: Telemetry - Deployment/Usage Telemetry

Check for previous/existing GitHub issues

[x] I have checked for previous/existing GitHub issues

Description
The section on telemetry ID can be quite overwhelming for new contributors.
For clarity, contributors do not need to create their own telemetry ID.
Instead, they should use the pre-assigned telemetry ID, which can be found in the BicepResourceModules.csv file on GitHub at this link: https://github.com/Azure/Azure-Verified-Modules/blob/main/docs/static/module-indexes/BicepResourceModules.csv.
The main task is to incorporate this assigned telemetry ID correctly within a bicep file.
Simplifying this information can help contributors understand the process more easily.
When I first read it, I attempted to create my own telemetry ID for the module based on the description, only to later realize that I needed to use the one assigned in the CSV file.
I also recommend adding a Bicep template example for contributors. It's important to include the take function to restrict the telemetry ID to a maximum of 64 characters, as this is already being implemented in some modules and seems practical.
#disable-next-line no-deployments-resources
resource avmTelemetry 'Microsoft.Resources/deployments@2024-03-01' = if (enableTelemetry) {
  name: take(
    '46d3xbcp.res.elasticsan-elasticsan.${replace('-..--..-', '.', '-')}.${substring(uniqueString(deployment().name, location), 0, 4)}',
    64
  )
  properties: {
    mode: 'Incremental'
    template: {
      '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#'
      contentVersion: '<IP_ADDRESS>'
      resources: []
      outputs: {
        telemetry: {
          type: 'String'
          value: 'For more information, see https://aka.ms/avm/TelemetryInfo'
        }
      }
    }
  }
}

Maybe we can in the section https://azure.github.io/Azure-Verified-Modules/specs/shared/#bicep
point them to: https://azure.github.io/Azure-Verified-Modules/specs/bicep/#id-bcpfr4---category-composition---telemetry-enablement
so they can early understand they do not have to re-invent the code and that telemetry ID will be assigned.


Support: organization members cannot access RTD project for their repo

The owner of the catmaid RTD project, unidesigner2000 (@unidesigner on GH), is unable to access his RTD account because he cannot remember his login details or the email with which he registered in 2012. This project points to a stale branch on https://github.com/acardona/CATMAID, which has been moved to an organization at https://github.com/catmaid/CATMAID.
The current project maintainers and organization/repo owners, @tomka and myself, would like to begin using RTD again, but are unable to do so since no one can access the RTD project.
Would it be possible to either:

Grant the organization/repo owners permissions on the RTD project (our RTD account names are the same and are linked to our GH accounts)
Send unidesigner2000 a password reset and hope it is directed to an email address he has access to

Thanks!

I found the password. This issue can be closed. Sorry for the hassle.


Investigate adding tests for agents and connection pooling

Our coverage in this area is minimal at the moment. We have the following test for a custom agent:
https://github.com/marklogic/node-client-api/blob/develop/test-basic/client.js#L100
See the following PRs for some background:
https://github.com/marklogic/node-client-api/pull/308 https://github.com/marklogic/node-client-api/pull/286

Related: #179

@wooldridge ,
Can you provide some input on what tests are needed for this?


[FEATURE] Support CSI snapshots without requiring Longhorn backup configuration

Is your feature request related to a problem? Please describe
When creating a CSI snapshot, the Longhorn CSI plugin will fail to create the snapshot without valid backup configuration in Longhorn. For our use case, we'd like to create snapshots for an external backup utility (Velero) - currently, we have to configure a dummy backup target within Longhorn for the snapshot creation to complete
Describe the solution you'd like
Support configuration within volume snapshot class to indicate a Longhorn backup is not required
Describe alternatives you've considered
N/A - currently working around problem with dummy minio backup target
Additional context
Without backup configuration, the Longhorn CSI plugin fails to completely create the snapshot (Ready to use remains false):
csi-snapshotter
[csi-snapshotter-7f647c8b97-m2jps] I1122 16:14:08.910244       1 snapshot_controller.go:267] createSnapshotWrapper: Creating snapshot for content snapcontent-32110ae4-026d-4bdf-8028-23a444247798 through the plugin ...
[csi-snapshotter-7f647c8b97-m2jps] I1122 16:14:08.911266       1 event.go:282] Event(v1.ObjectReference{Kind:"VolumeSnapshotContent", Namespace:"", Name:"", UID:"", APIVersion:"snapshot.storage.k8s.io/v1beta1", ResourceVersion:"", FieldPath:""}): type: 'Warning' reason: 'SnapshotCreationFailed' Failed to create snapshot: failed to take snapshot of the volume, pvc-382c02a4-d48f-4fbe-ae08-12cc7d7321b3: "rpc error: code = DeadlineExceeded desc = context deadline exceeded"

longhorn-csi-plugin
[longhorn-csi-plugin-966hd longhorn-csi-plugin] time="2021-11-22T16:14:08Z" level=info msg="CreateSnapshot: volume pvc-382c02a4-d48f-4fbe-ae08-12cc7d7321b3 initiating backup for snapshot snapshot-32110ae4-026d-4bdf-8028-23a444247798"
[longhorn-csi-plugin-966hd longhorn-csi-plugin] time="2021-11-22T16:14:09Z" level=warning msg="waitForBackupInitiation: timeout while waiting for backup initiation for volume pvc-382c02a4-d48f-4fbe-ae08-12cc7d7321b3 for snapshot snapshot-32110ae4-026d-4bdf-8028-23a444247798"
[longhorn-csi-plugin-966hd longhorn-csi-plugin] time="2021-11-22T16:14:09Z" level=error msg="CreateSnapshot: err: rpc error: code = DeadlineExceeded desc = waitForBackupInitiation: timeout while waiting for backup initiation for volume pvc-382c02a4-d48f-4fbe-ae08-12cc7d7321b3 for snapshot snapshot-32110ae4-026d-4bdf-8028-23a444247798"

Duplicate to #2534

Duplicate to #2534

Let's use #2534 to track this feature request/enhancement. Close this one.


[RTM] RF: Use niworkflows.interface.SimpleInterface

Could you rebase/merge master? An important set of tests have just been merged.


Convert popups to pages

Following the discussion in slack. Try creating dedicated pages for add online/local repo. Maybe for password popup as well.
NB:

try to avoid major JS on such pages - this is the core flow that must work e.g. in java client
maybe cache previous page for the cancel action, not to rerender
password html page may open convenient possibilities to integrate with password managers (e.g. to enter github api key)
what to do with package selection/creation ? rerender the page with new value ? Probably ok as popup pages will be simple

some early design wip

vertical better IMHO

getting closer

👍 this is so much better than the SAP standard popup, plus we have better control of the page flow, plus no random DDIC dependencies

Great! Let's visually separate repo from local settings.

@larshp is there an util for displaying existing search help in AG ? For usage like this: https://github.com/sbcgua/abapGit/blob/dialog/src/ui/zcl_abapgit_gui_page_addonline.clas.abap#L249

I dont think so
abapGit is a tool for developers, so I think its okay to leave some of the search helps out in the first versions of this issue

tnx.
One more subject.
I have an issue with branches. Do we need this field in this dialog ("add online" + potentialy "edit remote") ? Problem is that we need to know URL to show the branch selection. And it is tricky to do without JS (possible but crutchy). I'd probably prefer that branch is selected afterwards and it is always "master" at this point.
On the other hand, if branch is needed. Can it be a feature for JS clients only ?
And one more: branches - is it supposed to be HTML dialog too ? or abap popup is OK ?

just make it an abap popup for now, that would be the easiest? we need some more experience in this area to figure out where to go

ok, but that gets back to the first question: I need to know URL, and URL value is in the HTML only. So I need to get it in ABAP. And this is fishy - I must submit the form and it has several disadvantages ... so my main question is if wee need to select branch at this stage at all? :)

leave it out for now, to keep the change small
but I think we should add it back in, also to explore the new tech

for inspiration... html f4: something exists like in SE80 for the object selection. I found a simpler example in /BOBF/CL_TUI_HTML_BUILDER which creates one such input field with type-ahead search. Run prg /BOPF/TEST_UI to see it in action. if we go all HTML, then it's worth coding our own version of this.

Cannot find this stuff in the system I have, could you pls add a screenshot ?
BTW, do you use command pallets in AG ? Do you mean something like this ?

P.S. the PR for this issue is close ...

Error handling

that looks pretty good 👍

Fantastic
Best,
Marc
Sent from my iPhone

On Jun 21, 2020, at 16:58, Alexander Tsybulsky<EMAIL_ADDRESS>wrote:

Error handling
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Very nice, but on JavaGUI it clears all entries on clicking Clone, and errors out :

Hopefully something simple?

Unfortunately, not :( the javagui seems to lack support of formaction attr os submit input. Which is a standard html feature. @filak-sap was going to open oss call for this (??? At least he mentioned that in slack). I guess the best option would be to add a "old style" popup to top page menu. I will have a look on it but later, so if it is urgent, feel free to pr.

Going back to the event handler redesign... In ZCL_ABAPGIT_GUI->STARTUP try
    CREATE OBJECT mo_html_viewer
      EXPORTING
        query_table_disabled = abap_false  "<<<change
        parent               = cl_gui_container=>screen0.

and see if on event has the required info in parameter QUERY_TABLE.

No not urgent, it's currently the only JavaGUI issue and I can use Windows VM to create repos. It's not something we need every day.

Maybe it works in Web GUI? Just as another, cross platform, workaround until fixed.

Do we need the https://github.com/larshp/abapGit/pull/2873 workaround for the new form as well?

does someone know if the error is reproducible if running Java GUI under windows?

SAPHTML_EVENTS_DEMO

hi,
It seems to work if I change
ri_html->add( |<form method="get"{ ls_form_id }>| ).
to
ri_html->add( |<form method="get"{ ls_form_id }>| ).
in ZCL_ABAPGIT_HTML_FORM, then the data is available in IV_GETDATA.
Get data is limited to 1024 characters, which is probably okay for this form, any other consequences if changing it to GET?

I think it's ok to change to GET. We would need to change the ON_EVENT -> PARSE_FORM of the ADDONLINE (and now ADDOFFLINE) page.

we can also put a check in parse_form to see if the returned URL parameters are less than 1k.

new js based solution: see #3879

Does the workaround also work in webgui?

yes, also looks good in webgui

The main complaint was about JAVA GUI if I remember well.

Yes, javagui had the issue (Eclipse on Mac FWIW). On which branch is this? I can give it a quick test.

I just tested the hvam/form branch, it didn't have the post->get change so I changed it and tested it in JavaGui. It still clears the form but also errors with Unknown action: submit_form.

yea, as expected, I did not do the application code, just proof of concept that it has the data, set a breakpoint in ON_EVENT

doing full fix today

@pokrakam This issue https://github.com/abapGit/abapGit/issues/3417#issuecomment-665530673 is solved with the SAPGUI for Java 7.70 released today.

Great news, thanks! Now just need to get hold of it. There's been talk from SAP that they may make SAPGUI available to those of us without a privileged S-user sometime soon.

The problem with Java GUI not passing on input was solved by pull request #4655 - which hopefully doesn't break stuff for GUI for Windows users.... and hopefully also fixes the input problem for HTML GUI.

Stale. closing


Does Elasticquent provides support for building Faceted search?

I am interested in using Elastic Search but I would like to know if there is an easy way to get facets and to trigger facetted search.
Thanks,
Christian

You would have to write any custom "faceted" search logic yourself. I dont believe faceted search is within the problem-domain of this package.
@christiansyl

@christiansyl my dream has always been to integrate one of my other projects, (https://github.com/timgws/QueryBuilderParser) with this to allow being able to create a simple interface for faceted search.

Thanks for the comments. I will start to work on doing some experimentation on my side.
@timgws thanks for the reference to your package, Ill start to have a look at tit this week - Merci-Thanks-Bedankt!


brouter.damsy.net - cannot connect

Is it offline?

it should be online - what's your issue exactly?

Idk, maybe it was an issue on my side. Works again, thx


Update $scope after submit in directive

I want to hide the link Login in menu after the user successfully log in. So I user $scope.isLogin and ng-hide to do it.
The prolem is I can't change $scope.isLogin in my login directives, so the login link in menu is not hidden. except I press CTRL+F5 to completely reload the page :(

Hi @vampire1306
Can you show us your code?

View of left nav directive:
<md-sidenav         class="md-sidenav-left"         md-component-id="left"         md-is-locked-open="$mdMedia('gt-md')"         md-disable-backdrop         md-whiteframe="4">     <md-toolbar class="md-theme-indigo">
Sidenav Left
     </md-toolbar>     <md-content layout-padding>         <md-button ng-click="vm.close()" class="md-primary" hide-gt-md>             Close Sidenav Left         </md-button>         <md-list flex>             <md-list-item>                 Home             </md-list-item>             <md-list-item ng-hide="isLogin">                 Login             </md-list-item>             <md-list-item ng-show="isLogin">                 Create Post             </md-list-item>             <md-list-item ng-show="isLogin">                 <button  ng-click="vm.logout()" >Log out</button>             </md-list-item>         </md-list>     </md-content> </md-sidenav>
Controller of left nav directive:
`class LeftMenuController {
constructor($mdSidenav, $auth, $scope, $state) {
'ngInject';
this.mdSidenav = $mdSidenav;
this.$auth = $auth;
this.$state = $state;
this.$scope = $scope;
this.$scope.isLogin = this.$auth.isAuthenticated();
}
}
close()
{
this.mdSidenav('left').close()
.then(function () {
//$log.debug("close LEFT is done");
});
}
logout()
{
this.$auth.logout();
this.$scope.isLogin = this.$auth.isAuthenticated();
this.$state.go("app.login");

}
}
export const LeftMenuComponent = {
templateUrl: './views/app/components/left_menu/left_menu.component.html',
controller: LeftMenuController,
controllerAs: 'vm',
scope: {},
bindings: {}
}
`
Login directive's controller:
`class LoginFormController {
constructor(API, ToastService, $state, $auth, $scope) {
'ngInject';
    this.ToastService = ToastService;
    this.state = $state;
    this.$auth = $auth;

    this.$scope = $scope;
    this.$scope.isLogin = this.$auth.isAuthenticated();
}

login() {
    var data = {
        email: this.username,
        password: this.pwd
    };

    this.$auth.login(data).then(
        (response) =>{
        this.$scope.isLogin = this.$auth.isAuthenticated();

    this.ToastService.show('Login successfully');

    this.state.go('app.create-post', {});

    });

}

}
export const LoginFormComponent = {
templateUrl: './views/app/components/login_form/login_form.component.html',
controller: LoginFormController,
controllerAs: 'vm',
scope: {},
bindings: {}
}
`

Hi @vampire1306 Can you please edit your code and use 3 backticks for multiline codes

@jadjoubran as you can see, I use this.$scope.isLogin to check if user is logged in to hide the login link and show the logout button in left menu.

Hi @vampire1306
So you have a couple of issues in your code that can be fixed (not sure they'll fix your issue, but better to fix them anyway)

If you want isLogin to be a variable expression, you don't have to use $scope. you can just declare it in the controller using this.isLogin and then use it in the html as vm.isLogin
So you'd have to fix that in your controllers and in the html of the sidenav and the login directive

To propagate data between 2 components/pages/controllers, the best practice is to use a service. So you can create something like

export class LoginService{
    constructor(){
       this.isLoggedIn = false
    }

   setLoggedIn(){
       this.isLoggedIn = true;
   }

   getIsLoggedIn(){
       return this.isLoggedIn;
   }
}

And in your controller you'll have this.$scope.isLogin = LoginService.getIsLoggedIn(); or this.isLogin = LoginService.getIsLoggedIn(); if you fixed it as I said before.
Let me know if this works for you

So to add on this, you'll need to use satellizer's $auth service inside this one

I will make this more clearly.
I have two directives: Login_Form and Left_Nav.
Login_Form has funtion login.
Left_Nav has a list of links, and funtion log out
When not login yet, Left_Nav shows the login link, and hides the create_post Links.
When user authenticates successfully, Left_Nav hides the login link, show the create_post link and the logout button without having to completely reload page (CTRL+F5).
I already use satellizer and can check if authenticated by $auth.isAuthenticated().
Now, after I log in, I have to press CTRL+F5 to reload all page, so the variable isLogin of Left_Nav will update, and hide the login link.
I've already tried your code, but I still have to press CTRL+F5 to get what I want.

@jadjoubran I find out a way.
I change this
            <md-list-item ng-hide="isLogin">                 Login             </md-list-item>
To this
            <md-list-item ng-hide="vm.getLoginStatus()">                 Login             </md-list-item>
And add this function to Left_Nav:
    getLoginStatus(){         return this.$auth.isAuthenticated();     }

@vampire1306  I see what you were trying to do, I misunderstood a bit thinking you only wanted to use the value of isLogin between two components
You can integrate this function in the service I wrote above as well
export class LoginService{
  constructor($auth){
    this.$auth = $auth;
  }
  getIsLoggedIn(){
    return this.$auth.isAuthenticated();
  }
}

Glad it worked out


Use edition links for most DetailedGuide links

For everything other than topics, I think the expectation is for this
to work on the level of the edition. Currently, users are changing the
organisations for drafts, and this is effecting the published
content. Using edition links will prevent this.

This requires https://github.com/alphagov/whitehall/pull/5783


⚠ Bofrost.fr has degraded performance

In ca50966, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 2830 ms

Resolved: Bofrost.fr performance has improved in 39c5441 after 30 minutes.


代码不完整

少文件

Hi @wangxb2555,
Thank you to submit your reports in English. Please allow me to close this one.
With regards,


long waits on keyboard interrupt

Using dwave.system.samplers.DWaveSampler, I occasionally want to stop the process I'm running with a KeyboardInterrupt.  This often takes upwards of 10 seconds... which seems a little excessive.  Here's the traceback, when the interrupt finally gets caught.
    response.change_vartype(Vartype.SPIN, data_vector_offsets={'energy': offset})
  File "/usr/local/lib/python2.7/dist-packages/dimod/decorators.py", line 173, in new_f
    return f(*final_args, **final_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/dimod/response.py", line 803, in change_vartype
    self.data_vectors[key] += data_vector_offsets[key]
  File "/usr/local/lib/python2.7/dist-packages/dimod/response.py", line 211, in data_vectors
    self._resolve_futures(**self._futures)
  File "/usr/local/lib/python2.7/dist-packages/dimod/response.py", line 588, in _resolve_futures
    for future in as_completed(futures):
  File "/usr/local/lib/python2.7/dist-packages/dwave/cloud/computation.py", line 311, in as_completed
    done, not_done = Future.wait_multiple(not_done, min_done=1, timeout=timeout)
  File "/usr/local/lib/python2.7/dist-packages/dwave/cloud/computation.py", line 257, in wait_multiple
    event.wait(wait_time)
  File "/usr/lib/python2.7/threading.py", line 614, in wait
    self.__cond.wait(timeout)
  File "/usr/lib/python2.7/threading.py", line 340, in wait
    waiter.acquire()
KeyboardInterrupt

Known undesirable behaviour, but thanks for reporting. The fix is planned (depends on another refactor).
The reason for this is we currently wait for future(s) to resolve (task queue empties) before joining.

I have seen similar behaviour when using the dwave ping command on Linux.
When my account is out of credit, the client submits a problem and waits for a response, but the problem stays in the pending state until it is cancelled or more credit is available.
This results in the the process blocking the terminal session.
The ctrl+c command won't stop the process from running.
As a workaround, I was able to find the process using ps aux | grep "dwave ping" and stop it using the kill <pid> command.


"Sync with Doki Theme" selects the wrong theme the first time you first use the Icons

Your Environment
WebStorm 2022.2.3
Build #WS-222.4345.14, built on October 5, 2022
Licensed to LemonUI / Hannele Ruiz
Subscription is active until May 22, 2023.
For non-commercial open source development only.
Runtime version: <IP_ADDRESS>+7-b469.62 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2030M
Cores: 8
Non-Bundled Plugins:
io.acari.DDLCTheme (88.2-1.6.0)
io.unthrottled.doki.icons (88.2-1.0.0.beta.2)
com.almightyalpaca.intellij.plugins.discord (1.10.0)
How to reproduce.

Start any JetBrains IDE without TDT or TDI installed
Install ONLY The Doki Theme (restart is required)
Configure any Doki Theme other than "Franxx: Zero Two Dark Obsidian"
Install The Doki Icons (restart if required)
Go into "Doki Theme Icons Settings"
See that the wrong Icon Theme is selected

What is expected?
The right theme is selected instead of "Franxx: Zero Two Dark Obsidian"

Currently, I need to do the following for "Sync with Doki Theme" to work:

Disable "Sync with Doki Theme"
Select the current theme Manually
Press OK
Enable "Sync with Doki Theme"
Press OK

Left one is WebStorm with the theme updated with the temporary fix I mentioned, right one is PyCharm right after I installed TDI.

PyCharm 2022.2.3 (Community Edition)
Build #PC-222.4345.23, built on October 10, 2022
Runtime version: <IP_ADDRESS>+7-b469.62 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1010M
Cores: 8
Non-Bundled Plugins:
io.acari.DDLCTheme (88.2-1.6.0)
io.unthrottled.doki.icons (88.2-1.0.0.beta.2)
String Manipulation (9.6.1)
ru.meanmail.plugin.requirements (2022.4)
net.ashald.envfile (3.4.1)
com.almightyalpaca.intellij.plugins.discord (1.10.0)
Docker (222.4345.23)
DBN (3.3.2160.0)
CMD Support (1.0.5)

Tehee

Looks like this bug came back.
JetBrains Rider 2023.3.2
Build #RD-233.13135.100, built on December 19, 2023
Licensed to LemonUI / Hannele Ruiz
Subscription is active until May 22, 2024.
For non-commercial open source development only.
Runtime version: 17.0.9+7-b1087.9 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
.NET Core v7.0.10 x64 (Server GC)
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry:
editor.config.csharp.support=true
Non-Bundled Plugins:
com.github.leomillon.uuidgenerator (4.5.1)
String Manipulation (9.12.0)
CMD Support (1.0.5)
io.acari.DDLCTheme (88.5-1.12.0)
io.unthrottled.doki.icons (88.5-1.1.0)
com.intellij.plugin.adernov.powershell (2.3.1)
com.intellij.ml.llm (233.13135.103)
com.almightyalpaca.intellij.plugins.discord (1.12.0)


Feature request: fixed offset

Hi, it would be great to have an option for a fixed offset, like e.g. 400 px from left side.
I have a 32:9 Monitor and would like to have a centered but stable Taskbar. Stable means expanding taskbar to the right from fixed offset as new programs are started

Let me add some Need behind the request. when more than one program is loading, e.g. when starting and there is a delay, it happens very often that the Taskbar moves while I klick on a taskbar located icon. Result is that the position of the icon is changing instead of starting the application.

I hope this will not be forgotten at all :)


fix(rootlist): update class names

Update new class names in accordance to spicetify/spicetify-cli#1823 (meaning changes will take effect after CSS map PR is merged)
Resolves second issue mentioned in #65

@kyrie25 ❤

@kyrie25 Ok ill be patient and will tell others to wait too
If someone opens an issue can you tell them the circumstance plz?

No problem. Will do.


Is this active and do you accept pull requests?

Hi!
Very useful this... thanks!
Are you accepting pull requests to this repository - specifically for POTools?
Regards,
Svante

Hi, thanks for quick response! I totally get the "temporary inactive" status... My primary interest right now is to do some minor improvements to the resx extractor, specifically add support for translator comments and a publishing profile to enable creation of  a single file executable for easier use outside of the web template context. I am planning to use it for localization of an Avalonia UI-based app. I might also want to fix what I think is a bug in the underlying Karambolo.PO library, as it's currently blowing up for me with a 'An item with the same key has already been added' argument exception in merge mode ;-) .
I'd be happy to upgrade the POTools to .NET 8 as well I guess. The ASP.NET solution is a little out of scope for me, but POTools stands on it's own as far as I can tell.

My primary interest right now is to do some minor improvements to the resx extractor, specifically add support for translator comments

Sounds awesome!

and a publishing profile to enable creation of a single file executable for easier use outside of the web template context.

Regarding publishing, please be aware that I have no plans to distribute the tool in a binary form. There has been a discussion about this: https://github.com/adams85/aspnetskeleton2/issues/1#issuecomment-729890030
Currently, the recommended way to include POTools is to copy its source code into your project and to modify it according to the needs of your application.
So please send only those changes upstream that are not specific to your application (general improvements, bug fixes, etc.)

I might also want to fix what I think is a bug in the underlying Karambolo.PO library, as it's currently blowing up for me with a 'An item with the same key has already been added' argument exception in merge mode ;-)

If it turns out to be an actual bug, I'd really appreciate if you opened an issue or PR about it.
I'd be surprised though if it were a bug in Karambolo.PO. That library is pretty battle-tested now. If there's an issue, then it's more likely in POTools.
Anyway, here are some hints where you can start investigation:

https://github.com/adams85/po/issues/24#issuecomment-1751361072
https://github.com/adams85/po/blob/1.11.1/source/Karambolo.PO/POKey.cs

and a publishing profile to enable creation of a single file executable for easier use outside of the web template context.

Regarding publishing, please be aware that I have no plans to distribute the tool in a binary form. There has been a discussion about this: #1 (comment)
It's just a publishing profile, making it easier to handle locally. It's not intended for general binary tool distribution.

So please send only those changes upstream that are not specific to your application (general improvements, bug fixes, etc.)
Of course.

I might also want to fix what I think is a bug in the underlying Karambolo.PO library, as it's currently blowing up for me with a 'An item with the same key has already been added' argument exception in merge mode ;-)

If it turns out to be an actual bug, I'd really appreciate if you opened an issue or PR about it.
It wasn't. It was a bug in the resx extractor, not properly handling embedded newlines in the value.
The fix will also be included.

Would you like me to do the .NET 8 upgrade as well? (Just the POTools...)
You can sneak a peek here: https://github.com/adams85/aspnetskeleton2/compare/master...xecrets:aspnetskeleton2:feature/resxandpublish .

It's just a publishing profile, making it easier to handle locally. It's not intended for general binary tool distribution.

Ah, ok, I see.

It wasn't. It was a bug in the resx extractor, not properly handling embedded newlines in the value.
The fix will also be included.

Great news, thanks!

Would you like me to do the .NET 8 upgrade as well? (Just the POTools...)

Hmm, I think it wouldn't make much sense to upgrade the target framework to .NET 8 now, for the following reasons:

The whole project is on .NET 6 currently.
.NET 6 is still supported.
POTools doesn't need post-.NET 6 features.

However, probably we should add <RollForward>Major</RollForward> to the csproj, so it can be run on .NET 8 without having the .NET 6 runtime installed.

Closing as resolved by #6


Add support for a finishTransition callback.

To be able to handle releasing resources and resetting any progress clocks a configurable callback has been added that will be called when state has changed and the transition is done.
This helps solving problems raised by the latest release in react-native-reanimated:
https://github.com/kmagiera/react-native-reanimated/pull/87

One thing to note, is this happens after the call to setState, so maybe we'd want to put this inside the setState callback, to make sure the transition state has fully been set before we run funishTransition
I'm curious to see how this will be used, maybe we will have an opportunity to simplify things.


Convert image to PNG format lost icc

Possible bug
Is this a possible bug in a feature of sharp, unrelated to installation?

[x] Running npm install sharp completes without error.
[x] Running node -e "require('sharp')" completes without error.

If you cannot confirm both of these, please open an installation issue instead.
Are you using the latest version of sharp?

[x] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?

  System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
    Memory: 9.37 GB / 23.27 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 18.2.0 - ~/.nvm/versions/node/v18.2.0/bin/node
    npm: 8.9.0 - ~/.nvm/versions/node/v18.2.0/bin/npm
  npmPackages:
    sharp: ^0.31.1 => 0.31.1

What are the steps to reproduce?

Create sharp -> extract icc profile from metadata -> create sharp -> resize -> convert to PNG -> withMetadata({icc: iccPath}) -> toBuffer
What is the expected behaviour?

Output image embedded icc profile
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem

const path = require("path");
const sharp = require('sharp');
const fs = require('fs');

const file = fs.readFileSync(path.resolve(__dirname, '../../images/metadata/fruit-g236fa3733_1920.png'));

sharp(file).metadata((err, data) => {
  console.log(data)
  const {icc} = data;

  fs.writeFileSync(path.resolve(__dirname, '../../images/metadata/fruit-g236fa3733_1920.icc'), icc)

  sharp(file)
    .resize(300, 300, {fit: 'inside'})
    .png({quality: 100})
    .withMetadata({icc: path.resolve(__dirname, '../../images/metadata/fruit-g236fa3733_1920.icc')})
    .toBuffer((err, data) => {
      console.log(err);
      fs.writeFileSync(path.resolve(__dirname, '../../images/metadata/fruit-g236fa3733_1920_300_icc.png'), data);
    }
  )
})

Please provide sample image(s) that help explain this problem

Original image

Output image

Hello, I would like to report an issue about icc profile. As I remember version 0.30, the image convert to PNG still embeded icc profile. Maybe this issue from new libvips version. Thank you.

Is this the same problem as #3390? Are you sure you're using the latest v0.31.1?

I sure that I am using the latest v.0.31.1. The previous issue that I created #3390 was fixed. But this is another issue, maybe you missed that in the example code above, I force image output  .png({quality: 100}). The icc miss after execute this operation.

I tried use JPG image for input and the output with PNG still miss icc profile. So, I think that this is a new issue.

Thanks for clarifying, it is a related but different scenario.
Setting quality: 100 for PNG will use palette-based output, so the use of ICC profiles doesn't really make sense (although the PNG spec appears to allow it). I guess the previous libpng-based approach used to allow the use of palette+profile together, but the newer libspng doesn't.
https://github.com/randy408/libspng/blob/a4b209fa2cab36b0b7ecd46026dd12c77f66df92/spng/spng.c#L2725-L2727
By not attaching a profile to palette-based PNGs, the latest version should produce more accurate colours, as the quantisation logic assumes sRGB with a gamma of 2.2.

It looks like a libvips issue, where quantisation is done too early causing metadata and phyiscal pixel dimensions to be disregarded. I've just opened upstream PR https://github.com/libvips/libvips/pull/3073 for this.

Ah, I was looking at the decode logic in libspng rather than encode, yes you're quite right Kleis.
I'd probably still try to avoid attaching a profile to a palette-based PNG image. I wonder how well browsers etc. support this?

The above mentioned code probably checks that the ancillary iCCP chunk should appear prior to the critical (and optional) PLTE chunk, which corresponds to the chunk ordering rules in the PNG specification (editor's draft).
Testing this palette-based image with the embedded ICC profile seems to work locally in all modern web browsers, as well as Windows photo viewer. pngcheck doesn't detects any errors either.

sharp v0.31.2 now available with libvips v8.13.3

I really appreciate it. I hope I can contribute to sharp or lipvips in the feature. :rocket:


Fix memory leak in XML::XPath::Parser

Caused by circular reference between the parser's cache which stores nodes
and the nodes which reference the parser.
With this change $xp->cleanup will clean up the parser's cache, too.

Thanks @niner for PR.


fix(#20): set the start index correctly when some filter is applied

closes #20

I just realized that there is a regression and tableFilter is not being used anymore when changing the tabel filter


Bitcoin Testnet Address

Hi,
I noticed that bitcoin testnet addresses (e.g. tb1qlw09ycnp3qgqw9alqgx93ed7cg5kmnyud326ky) does not pass the check. Is there a plan to add them as well?
Thanks,
bert

@msamsami can I assign you this?

We may not want to include support for testnet addresses. Even if we decide to, we should make sure that they are handled by separate validators to avoid conflicts with mainnet addresses.

@yozachar
I guess we can close this one as @bert2002 seems to agree with my earlier comment.

@yozachar I guess we can close this one as @bert2002 seems to agree with my earlier comment.

I thought more like btc_testnet_address to not break the btc_address.

@msamsami you wanna take this up?


Chore add rpc error msg to RuntimeFilterContext

What problem does this PR solve?
add rpc error msg to RuntimeFilterContext
Problem Summary:
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[x] No need to test or manual test. Explain why:

[x] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run buildall

run buildall


Adding new custom ROBOTIS HAND RH-P12-RN to xARM6

Hi, we've been trying to integrate a ROBOTIS gripper RH-P12-RN with a xARM6. Currently, it is connected with the serial port on the end of the xARM6.
We have tried communicating with the RSH-485 port but have been unsuccessful. We followed this example in which some similar grippers like the Yinshi and Robotiq that were controlled via the RSH-485 here but it doesn't seem to work with this gripper.
Any potential solutions or insights into integrating and using this tool would be highly appreciated.

Currently, it looks for a port to open, however, the communication to the gripper is over RSH-485 communication via an ethernet wrapper. So we decided to perhaps send the communication via modbus as in the above example. Maybe you can provide the data frame/ hexa-decimal to control the gripper.

Hi, I'm sorry, this is not an answer that can solve your issue directly.
A Japanese engineer faced with the same issue as you, and he tried to solve it by converting RS485 with STM32.
Look at his tweet. For reference.
https://twitter.com/k_yone/status/1431836684685955083?s=20&t=HDaNYl4JmtKlF8aoao4agQ

Thank your quick reply. I guess we may have to look for a similar solution.


Document API

The external remix API should be documented.

@chriseth did you mean this documentation? https://remix-ide.readthedocs.io/en/latest/remix_commands.html


MM-47102: Migrate "components/channel_notifications_modal/components/section_title.jsx" to Typescript

Summary
Migrate "components/channel_notifications_modal/components/section_title.jsx" to Typescript
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/21067
JIRA: https://mattermost.atlassian.net/browse/MM-47102
Related Pull Requests
NA
Screenshots
NA
Release Note
NONE

Hello @VishakhaPoonia,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.


Code for data set gen?

Are you planning to release this code?  I think your paper calls this CO2…

Hello, thank you for your interest in our project!
We will release our code after the EMNLP decision :)

We've just updated the code for CO_3! Thanks!

@epec254 We've just updated the code for CO_3! Thanks!


Can no longer launch code or code-insider from Windows Terminal Preview.

Does this issue occur when all extensions are disabled?: Yes/No Yes

VS Code Version:  1.76.0-insider (system setup)
OS Version:  Windows 10 Enterprise 21H2

Steps to Reproduce:

Install Visual Studio Code or Code-Insiders
Add Installation bin directory to PATH.
Open windows terminal or terminal preview
attempt to launch code . or code-insiders .
Result is no error message, and the application does not launch.
If I however go into my default WSL container I can successfully launch.

The issue was with Anaconda uninstall. The following command corrected the issue. reg.exe DELETE "HKCU\Software\Microsoft\Command Processor" /v AutoRun /f


Automatically update DuckDNS entry

The raspberry pi doesn't have a static IP address. If this IP address changes, the pi is not accessible from outside anymore.

DuckDNS.org gives an explanation for various operating systems / routers here. Additionally, I used this article (German) for my fritzbox router.


Create an easier method to edit email content

As a forms designer I would like to be able to edit email content easily, so that I don't have to reach out to a developer resource and I can make changes more quickly and with less potential errors.
Acceptance Criteria

Forms designers can edit email text easily without having to use the Camunda modeller
Forms designers can easily find and use the form's values in the email text

Connect with Karim about email template so non developer can edit update emails

@HasanSifat thanks for setting up the meeting with Karim in which we can explore option to update email messages. Please update this ticket with any details


Diagnostics: teach the parser API to listen to diagnostics emitted from the compiler(parser).

This patch adds a parameter of DiagnosticConsumer to the parser entry point
to capture any diagnostics emitted from the compiler(parser). We also convert the
c structures collected from the compiler side to an existing Diagnostic type
in SwiftSyntax to unify the API.
To avoid unnecessarily calculating line/column from a utf8 offset, a property
is added to DiagnosticConsumer to indicate whether the users want line/column;
by default they are calculated.
rdar://48439271

@swift-ci please test

@swift-ci please test

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - fab49984ab0db6f66a90eb7bb041805683a4c550

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - aac93eda7b078357dd51c243d6539e74ad23f5a6


Email

Will it be possible to get email adresses for pages via the rockstar gem?

What do you mean by that? I don't see any email addresses on last.fm?


feat(graphql-auth-transformer): add compound auth rules

adds 'and' property on auth rules to force each auth rule with the same 'and' property to all match before allowing operations. Allows combining owner, group, and dynamic group authentication rules. Works on objects and fields for user pools.
Issue #, if available: #1043 #317 #1578
Description of changes:
The RFC for @auth directive improvements describes in option 5 the ability to join auth rules together using 'AND' and 'OR', with an arbitrary level of nesting. This PR takes a slightly different approach in only implementing AND, and not allowing nesting. This feels reasonable as @auth rules are OR'd by default and any nesting can be decomposed into a flat structure.
To implement this a new property on an auth rule is created, "and". And is assigned a string, and all rules with the same assigned and string are considered part of a group whose rules must all pass to allow the operation.
Compound rules are tracked by counting how many of the rules have passed, rejecting the operation if no compound rule sets have all their rules pass.
List operations require a deep clone of the object holding the counts via json stringify and json parse operations so that their count tracking is independent of each other.
Update and Delete operations are somewhat more challenging as their dynamic group and owner rules are evaluated on the server, while the static auth is evaluated on the client. This requires nesting condition expressions, and only executing DynamoDB calls if the static group rules have been satisfied.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #3123 into master will increase coverage by 0.73%.
The diff coverage is 92%.

@@            Coverage Diff             @@
##           master    #3123      +/-   ##
==========================================
+ Coverage   63.13%   63.87%   +0.73%
==========================================
  Files         223      216       -7
  Lines       11179    11133      -46
  Branches     2317     2331      +14
==========================================
+ Hits         7058     7111      +53
+ Misses       3807     3707     -100
- Partials      314      315       +1

Impacted Files
Coverage Δ

...aphql-auth-transformer/src/ModelAuthTransformer.ts
87.2% <100%> (+0.04%)
:arrow_up:

packages/graphql-auth-transformer/src/resources.ts
89.47% <90.47%> (+0.62%)
:arrow_up:

...fy-appsync-simulator/src/schema/directives/auth.ts

...c-simulator/src/schema/directives/aws-subscribe.ts

...s/amplify-appsync-simulator/src/type-definition.ts

...ync-simulator/src/velocity/util/transform/index.ts

.../amplify-appsync-simulator/src/mqtt-server/util.ts

...-simulator/src/schema/directives/directive-base.ts

...s/amplify-appsync-simulator/src/resolvers/index.ts

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 16419f4...ae9b4c5. Read the comment docs.

This is a simple and elegant solution to a sorely missing feature in Amplify. What is the likelihood that this PR gets merged?
@RossWilliams My only note is and: "ruleGroupName" sort of mixes readability with parameterization. Not sure what sort of complexities this may introduce, but I wonder if a key/value of ruleGroup: "ruleGroupName" might make more sense from an implementation standpoint.

@davekiss that is an easy find/replace change once a good name is found. "And" was chosen to match #1043 Proposal 5 naming, and it reads well when it is the last parameter, but I can see it being problematic otherwise. 'ruleGroup' itself does not feel like the final solution, as the word 'group' would be an overload for the group authorisation parameters. 'ruleSet' may be more descriptive.
In terms of timeline, I'm not aware of the process, but #2463 appears to be consuming most of the review energy right now, might need to wait for that to be completed first.

@RossWilliams thanks for this contribution. We cannot merge it as-is at this point, as it deviates the expression based syntax in the proposal, which is kind of a shared syntax when building expressions with the CLI’s directives, and the unknown performance implications what is also called out by you in the code. In addition, we’re experimenting with some auth logic change for VTL to simplify customers’ use cases and that work affects AND, OR rules as well.

@attilah

In addition, we’re experimenting with some auth logic change for VTL to simplify customers’ use cases and that work affects AND, OR rules as well

Do you mind sharing the auth logic changes you are playing with? I'm more than happy to help move it along and stop having to rebase these changes or another 9 months.

@RossWilliams nothing concrete to share at this point, but sure, I agree, no need to rebase this PR until we've anything.

@attilah @RossWilliams wondering what the status is here. Ross, are you still using your custom fork for this?

Im still using a variant of this code with additional customisations and performance improvements.
I would not use this PR as-is, as there have been subsequent security issues found and fixed in the auth module.

@attilah as you close this PR... are you still working on a solution?
@RossWilliams would you be kind enough to share your updated code with additional customisations and performance improvements?


Request: Set the number of blocks to miss before alert

Request:
I would like to be able to set in the config the number of blocks a validator misses before an alert is placed in the channel. Ideally set per chain, or a global value.
 It would be ideal to mitigate these alerts, and only be notified once there are X amount of missing blocks.

This can now be configured in v0.2.0 on the config entries with missed-blocks-threshold. If not provided, it defaults to 0, so any missed blocks will trigger an alert.


Clean up repo

create better directory names, delete random floating jupyter notebooks, put things into directories etc

#25


Wrong text in DOCS

on this page
https://docs.influxdata.com/influxdb/v1.7/query_language/data_exploration/#tags
is says
" Supported operators:  =    equal to  <>  not equal to  !=  not equal to"
I think it should be
" Supported operators:  =    equal to  <>  less/more than  !=  not equal to"

The documentation is correct as is. <> is a single operator that evaluates to true if both operands are not equal. It is essentially the same as !=.
a != b // Evaluates to true
a <> b // Evaluates to true

a != a // Evaluates to false
a <> a // Evaluates to false


Fix script statements

Closes: #80

This acts weird when creating the tree interactively.
With this patch, parsing a file containing say
lua << EOF
local test
EOF

will produce
lua_statement [0, 0] - [2, 3]
  script [1, 0] - [2, 0]
    local_declaration: variable_declaration [1, 0] - [1, 10]
      variable_list [1, 6] - [1, 10]
        name: identifier [1, 6] - [1, 10]
    chunk [1, 0] - [1, 10]

So this seems to be the expected result.
The issue comes when openning an empty file and writing the above code, produces
lua_statement [0, 0] - [0, 10]
  chunk [0, 3] - [0, 10]
    ERROR [0, 4] - [0, 10]
      identifier [0, 7] - [0, 10]
range_statement [1, 0] - [1, 10]
  start: pattern [1, 0] - [1, 10]
user_command [2, 0] - [2, 3]
  command_name [2, 0] - [2, 3]

because it parses the first line as an error,
then going to the next line, it produces a valid range_statement with a pattern (yes this is techincly valid I think),
and finally it recognize a user_command, because EOF is a valid user_command name.
I have no idea how to prevent this from happening.

This desynchronization between the tree with edits and the tree without edits makes me worry a bit.
I think that we need to find a way to fuzz this kind of editing behavior, and detect diverging behaviors.
I am going to try and see what I can do in the later days.

Superseeded by #107


clipboard-jh: 0.8.1 -> 0.8.2

Description of changes
https://github.com/Slackadays/Clipboard/releases/tag/0.8.2

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
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.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.

Can you please investigate the build failure on Darwin?

Maybe try with 0.8.3, it claims to fix some compile issues on MacOS

Superseded by 94d47258849d539ee3007ac55cafe58dc8991037


SW-5264 Use model classes in PlantingSiteImporter

In preparation for moving planting zone/subzone validation and creation into
PlantingSiteStore, update PlantingSiteImporter to create zone and subzone
models and pass them around internally rather than using shapefile features.
Currently, the validation and database insertion still happen in
PlantingSiteImporter, so there's no caller-visible behavior change here, just
internal refactoring.

#1904
#1903
#1902  👈
main

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

Join @sgrimm and the rest of your teammates on  Graphite

Merge activity

Apr 30, 2:15 PM EDT: @sgrimm started a stack merge that includes this pull request via Graphite.


syncthing is broken in stable

Describe the bug
Folders added in syncthing are not accessible to anyone.
To Reproduce
Steps to reproduce the behavior:

Enable syncthing via services.syncthing.enable = true;
nixos-rebuild switch
Configure a folder to be shared

Expected behavior
The folder is available to everyone in the syncthing group under /var/lib/syncthing/folderlocation.
Additional context
The rights to /var/lib/syncthing seem to be "user syncthing can read/write, everyone else cannot do anything" which doesn't work. Setting user = "philipp" results in /var/lib/syncthing to be rwx for the user "237" in my case, and I still cannot access it.
Also, the syncthing version is very old and not the latest stable.
Notify maintainers

Metadata

system: "x86_64-linux"
host os: Linux 5.4.50, NixOS, 20.03.2437.d6260a33e43 (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.6
channels(root): "nixos-20.03.2437.d6260a33e43"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

ping @Lassulus @mrVanDalo @peterhoeg

Regarding the permissions, this came up before and the problem is to be the syncthing home directory is created with 0700, so even if owned by the syncthing group you can't access it (see #59988). This could be solved by a chmod -R -g=u and an ACL rule for default file mode.

hmm, never thought about having a shared folder in /var/lib/syncthing. Is that a usecase? why not have it inside your HOME or some other place? maybe there is a way to change the default sync folder directory to something else.

Apparently it is, the user in #47513 was doing exactly this.

hmm, never thought about having a shared folder in /var/lib/syncthing. Is that a usecase? why not have it inside your HOME or some other place? maybe there is a way to change the default sync folder directory to something else.

Which user are you running syncthing as in the case you have the shared folder in your HOME directory?

Which user are you running syncthing as in the case you have the shared folder in your HOME directory?

I run it as the user syncthing. I have 711 permissions on my home. the synced folder has the permissions -rw-rw-r-- and the group syncthing

@Lassulus ah nice, thanks.

Uhm, my plan doesn't exactly work. By using those ACLs I can get syncthing to create new shared folders with the correct ownership and file permissions: syncthing:syncthing 664. However, if permissions syncronization is enable and a remote node add a new file with 640, the local syncthing group won't have read access, though it owns the file.

I set
    dataDir = "/home/palo/.syncthing";
    configDir = "/home/palo/.syncthing";

which works fine when I set my user = "palo"

@mrVanDalo generally speaking you shouldn't run systemd non user level services as regular user accounts... Some NixOS modules are bad at all but promoting that sort of thing :worried:

Yeah, if you're running it as your user you better be enabling the user service instead (not the system-wide service).

there is no way to configure the user service with nixos?
Actually I also have to fix permissions of the created files with inotify, because syncthing can't create them as my user if it runs as another user. A workaround for that would be to let syncthing run as root or with capabilities like CAP_CHOWN. Or as @mrVanDalo suggested running it as your own user.

there is no way to configure the user service with nixos?

Maybe it was a bad assumption... but I just assumed there was a home manager service. I don't use home manager, so don't know. Is there?

there is a home-manager service, but it lacks the very cool services.syncthing.declarative.* feature.
What is actually the problem with running systemd-services as normal users? I do this actually often, since I'm happy I can't depend on system services with user services.

@Lassulus I'm not saying you can't, but some problems seem to creep up once in a while when people do that. I'm trying to find a few conversations that have discussed this, but can only find one reference at the moment: https://github.com/NixOS/nixpkgs/pull/65078#discussion_r305577473
If a service is going to be running as a regular user conceptually it just makes more sense to run as a user service or home manager module. So can the services.syncthing.declarative.* options be ported to home manager?

@aanderse well it depends on the usecase. the service can only be run once per system. I use it to manage a lot of different users at the same time. So home-manager wouldn't fit my usecase.
porting it to home-manager should be possible if people want to run it as their own user. sadly code would be duplicated in both projects then.

I don't see any problem running the system-wide service as another user than syncthing and in another home folder than /var/lib/syncthing.
Maybe instead to keep code in sync with home-manager, a flag like runAsUserService to start the service as systemd.user.services instead of systemd.services is a simple fix.

The way to think of the current nixos syncthing module as that of an appliance. If you want to run a vm/container/thing somewhere that acts as a server, you would use this module. For actual interactive users, home-manager or home-rolled is the way to go.

Possible workaraound for the 700 issue above:
users.users.syncthing = {
    # Users/services in group syncthing, should be able to modify files being synced
    # However Home permissions are forced 700 for all users.
    # This appears to be the workaround
    createHome = lib.mkForce false;


Makes the behaviour of logic expressions consistent in all cases

This fixes #894.
I also removed the legacy call syntax handling, because it caused problems where an expression like this a or b was turned into a (or b), which just doesn't make sense. Personally I'm for deprecating that call syntax as I don't really see a reason to keep it. If it should stay I would add it directly into the grammar to avoid any ambiguities like that.

I'm ok with this. I added it to make the transition from handlebars easier, but that happened a while ago now so maybe it's time to drop it.
I don't have access to a proper device for a while (vacation), so a few things are harder to check:

Are there still any templates in one of the Libraries (core or journal) that rely on the legacy syntax? They'd need to be updated.
I'm pretty sure somewhere in the docs this legacy syntax is mentioned. That should be removed.
What happens when people have templates with the old syntax. How will it break? It would be nice if we can give some guidance on how to fix it.
Perhaps this will actually be a reason to move to 0.8.0 because it's a breaking change. Probably we should. It should be documented in the CHANGELOG properly too.

So looks like you found some uses. Which means practically all people will have broken templates if they don't reimport the Core library. Really need a way a solution to library updates or rather lack thereof before merging this I fear.

Actually we can partially keep the old syntax. I haven't found any occurences of the old call syntax in the library, where arguments were passed. Only without arguments and that is already not handled as a call.
let attrVal = attributeVal[val[1]];
const func = functionMap[val[1]];
if (attrVal === undefined && func !== undefined) {
  // Fallback to function call, if one is defined with this name
  attrVal = func(variables);
}
return attrVal;

So we can keep that and only remove the syntax with arguments, which actually seems like a pretty good way

Do we want to add a null coalesce operator (??) ?

I don't have anything against it. Why not


Simple benchmarking of ForestDB storage engine

Defer until @hideki is done with the C API integration.

duplicated with https://github.com/couchbase/couchbase-lite-java-core/issues/715


How to select a node in runtime and show the content related with this node?

Hi!
Someone knows how to select a node through programation in reactjs?
I´d like to enter in a structure of treview but with a specific node pre-selected.
Thanks a lote
Agnaldo

You need to set the toggled prop of the specific node to true.


Remove rpm file and build file for EL6 and EL7 since this software is…

… being officially packaged in EPEL.
If other repos will want the same package, it's probably better if they will get the one in EPEL, since is far more complete than the one in this repo.
https://bodhi.fedoraproject.org/updates/?packages=python-ansible-tower-cli

Coverage remained the same at 98.927% when pulling f3a7b9cae3087dfcce1b58600b8b09c64d291e36 on Fale:remove-rpm into 9a7574a896f92be5802e0504897e8458f858e6e9 on ansible:master.

? There are more RPM platforms than just EPEL, it's fairly traditional to have an upstream spec and a downstream spec.

True, but both files seems to focus especially on EL6/7

Thanks for your contributions. We would like to maintain this ability to build rpm files, so I'm closing this out. We would welcome any improvements to our spec file in a new PR.


RPC 2.0 Phase 2

Summary
A refactor of the RPC implementation to include removing unnecessary endpoints, providing more consistent responses, expanding the usefulness of responses and errors, and adding new endpoints.
This second phase will expand the scope from the first phase (#29) to include a second tier of endpoints and functionality. More details to be defined as targeted release gets closer.
What problem would be solved by this feature?
Better RPC performance, more consistent input and output handling and expanded functionality for various use cases.
Dependencies

RPC 2.0 Phase 1

Related Links

Forum discussion
Existing GH Issues related to RPC refactor efforts

See https://github.com/nanocurrency/nano-node/issues/3483 for new updates on this item.


Why does ActionModeHelper.onClick never return true?

ActionModeHelper.onClick never returns true which means below code in onPreClickListener (as given in multi select sample):
Boolean result = actionModeHelper.onClick(item);
Timber.d("onPreClick: result=%s", result != null ? result.toString() : "null");
return result != null && result;

would not consume the event if this item was selected or deselected and eventually trigger onClick of an item (if onClickListener is set).

@ankitbatra11 sorry for the late answer.
The reason for this is, that the selecting of an item will happen in the internal parts of the FastAdapter and not by the ActionModeHelper this results in the need that the ActionModeHelper can't consume an event, as otherwise the item wouldn't be selected / deselected.
This changed a bit since v1, that's why the sample still shows wrong information.
Checking in your onClick if the ActionModeHelper is currently active should already handle most click cases.
if(actionModeHelper.isActive()) {
    return false;
}

In addition I have to update the ActionModeHelper and consume the event for the last deselection as in this case the ActionModeHelper would no longer be active (already resulting in a triggered click) which is not good.

This will be fixed in the next rlease by: https://github.com/mikepenz/FastAdapter/commit/2175fedd4e7664e72fc4ea7626c94a92fcc9100e

Fixed in v2.5.2


Fix lint issue fip

please test this

I had a chance to run integration tests on this, and it looks like it works. I did see that the following types always evaluate:
Apr 11 08:55:33 ct1-test110415082036 puppet-user[7190]: (/Stage[main]/Rjil::Neutron::Contrail/Rjil::Neutron::Contrail::Fip_pool[public]/Neutron_network[public]/router_external) defined 'router_external' as 'True'
Apr 11 08:55:39 ct1-test110415082036 puppet-user[7190]: (/Stage[main]/Rjil::Neutron::Contrail/Rjil::Neutron::Contrail::Fip_pool[private_shared]/Contrail_rt[default-domain:services:private_shared_net]/ensure) created

sorry, I think both of those log entries are not related to this patch.

I have reviewed this in detail and launched a build to verify that it both passes and that it results in the expected neutron and contrail objects to be created. I would feel a lot better about this patch if we were still running tempest tests, but given the urgency here, I'm going to go ahead and merge.


ask_astro_load_astro_forum DAGs failing intermittently

Describe the bug

While running ask_astro_load_astro_forum DAG, it fails intermittently with following error:
dag_id=ask_astro_load_astro_forum_run_id=manual__2024-01-11T08_59_30.274127+00_00_task_id=get_astro_forum_content_attempt=4.log
DAG runs: here
Expected behavior

The DAG should run fine.

@pankajastro it failed here as well

Unable to reproduce it as discussed in the sprint call

I am consistently getting this in my local env. I think this is failing at this line https://github.com/astronomer/ask-astro/blob/28f1de808edfe66d5c23ac30c406dbbbaca4d8d9/airflow/include/tasks/extract/utils/html_utils.py#L38. And after some investigation by printing out the response content, I believe the forum website rate limits the web scrapper after a few requests. We are getting a 429 response from all requests leading to an empty DF.

I added a user agent in the requests.get code and added time.sleep for 2 seconds at a few spots, it seems to have fixed the issue locally for me. Should I raise a PR for this?
@sunank200  @phanikumv


Add a preview for emails

When adding emails on the event editor - it'd be good to have a preview (using old/fake data) to show how the email would be rendered.
Particularly useful for e.g. including the event date (I just did this and had to look it up to confirm it's {{event.start}}.

Reopening as this needs to be added on the Staff/Emails page as well as on the emails widget


[New game]:  Create Doraemon Jump

🎮 Game Request
Game logic and basic description
Jump from cloud to cloud to ascend higher and higher. Collect power-ups like bamboocopter, doracakes, and anywhere door to help you reach new heights.
Point down the features
Game points

Avoid obstacles like Rats and Gians, which will knock you down if you make contact.
Rack up points and try to beat your high score!

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hi @kunjgit, please assign this to me as a GSSOC contibutor.

Hey  @amelia2802 ! Thank you for raising an issue 💗 You have been assigned this issue you can start working on the issue 🎮

Hey @amelia2802 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


v1.13 Backports 2024-02-16

[x] #30151 (@pchaigno)
[x] #30759 (@pchaigno)

Once this PR is merged, a GitHub action will update the labels of these PRs:
 30151 30759

/test-backport-1.13

/mlh new-flake Cilium-PR-K8s-1.23-kernel-4.19

/test-1.23-4.19

/test-1.23-4.19

/test-1.23-4.19

All the tests are passed now, not sure why the bot removed ready to merge label, manually add it back.


document array of objects, closes #177

Is this deprecated?

@familyfriendlymikey Love this syntax, nice catch 🔥 It's better than livescript's version

Haha, you know about so many different technologies 😂 Looked up Livescript, I agree this way is definitely cleaner!

I discovered it yesterday as it's created by the creator of coffeescript


Doubts about experimental performance data of single operator overlap

I would like to ask whether the 1.36X comparison base in the paper is obtained from the same nccl-channel test?
Or select the optimal value of different channels of cubals+allreduce, and compare the optimal value of different channels of overlap to get 1.36X

Both CoCoNet and NCCL times are obtained by using the values of NCCL_BUFFSIZE and CHANNELS that performs best. The tile size for cutlass were same. Although it is possible that different tile size for cutlass might have made CoCoNet perform better.


Fixed ssh host keys not regenerating

When using the -p option, the ssh host keys would be deleted, but not regenerated, rendering ssh unusable. fixes #168 but relies on the host system to regenerate keys on non-Raspbian distros

tested on

latest Raspberry Pi OS Lite
Ubuntu Server 22.04.1 LTS (64-bit) with openssh-server
Ubuntu Server 22.04.1 LTS (64-bit) with dropbear


Header improvements

Make text uppercase
Hover effect on nav links
Style to indicate active nav item
Remove top gap on floating header when scrolling up
Improve mobile nav style
Add close icon for mobile nav

[x] Make text uppercase
[ ] Hover effect on nav links
[ ] Style to indicate active nav item
[ ] Remove top gap on floating header when scrolling up
[ ] Improve mobile nav style
[ ] Add close icon for mobile nav


Incompatibility with Polytone

Game crashes on startup with the mod. https://modrinth.com/mod/polytone

forge and fabric versions of L4J appear to be incompatible. unfortunately, @Wilyicaro mentioned in a similar ticket that it’s not possible due to a mixin issue.
hopefully we can see a patch from either polytone (ticket) or possibly through @Wilyicaro .

Fixed in version 1.6.4, thanks for reporting.


SourcePackages/checkouts/SoundpipeAudioKit/Sources/SoundpipeAudioKit/PitchTap.swift:42:66: error build: Editor placeholder in source file

macOS Version(s) Used to Build
macOS 12 Monterey
Xcode Version(s)
Xcode 14
Description
When I try to build my project, it remind me that "SourcePackages/checkouts/SoundpipeAudioKit/Sources/SoundpipeAudioKit/PitchTap.swift:42:66: error build: Editor placeholder in source file". Then I git clone the newest one and change read-only file and add    public init(_ input: Node, bufferSize: UInt32 = 4096, handler: @escaping Handler) {         self.handler = handler         super.init(input, bufferSize: bufferSize, callbackQueue: DispatchQueue.main)     } , exact  callbackQueue: DispatchQueue.main Then I fix it. I am not sure why so just report this.
Crash Logs, Screenshots or Other Attachments (if applicable)
No response

the version is 5.5.1

Can't repro. Try resetting your package caches.

I have the same issue after clean spm cache on 5.5.3. Looks like a common error.

No, the actual mistake is that these releases were not properly tied the appropriate version of AudioKit. It's grabbing the version "from: 5.5.0" which means it will grab v6. If you change it grab exactly 5.5.3 or whatever, it should work. Sorry, we'll fix that in the future. For now if you grab the latest source code it should work.


Update / Remove not possible because of lower case name

Because of the new name rtspstream instead of rtspStream i cannot update or remove instances now.
A new install from github shows up a new Adapter with the new name so I have two Adapters with different names

Did you try the tips from the forum?
https://forum.iobroker.net/topic/27302/test-adapter-rtspstream-v0-0-x-github/111?_=1611554859611
Otherwise please ask the question in the forum, I am not aware how the deinstallation routine on iobroker works and what could cause the issue.

Did you try the tips from the forum?
https://forum.iobroker.net/topic/27302/test-adapter-rtspstream-v0-0-x-github/111?_=1611554859611
Otherwise please ask the question in the forum, I am not aware how the deinstallation routine on iobroker works and what could cause the issue.


Timeout error problem

HI I am trying to use llmware for the first time and am getting timeout error while creating a new library: lib = Library().create_new_library(library_name="docs")
Exception has occurred: ServerSelectionTimeoutError
localhost:27017: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: <TopologyDescription id: 66580fdef4b4b76ff04c7e4d, topology_type: Unknown, servers: [<ServerDescription ('localhost', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('localhost:27017: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>]>
Please help. I have done pip install llmware successfully. I am running this code on Linux Ubuntu 22.04 with 32GB RAM.

@vijayproxima - thanks for raising this issue.  It appears that LLMWare is looking for an active Mongo connection on 27017 port, and is not finding it.   For a 'no-install' option, you can set the active db to "sqlite", e.g.,
from llmware.configs import LLMWareConfig
LLMWareConfig().set_active_db("sqlite")
Please also see Fast Start - Example 1, as well as the instructions in the README under "Data Store Options'
Hope this resolves the issue.  Please confirm back - and will close out the issue.

HI Darren, Thanks for your quick turnaround. Problem is resolved and you
can close the ticket.
Warm Regards
Vijay Jadhav
Proxima Systems Pvt. Ltd
Pune - 411045
On Thu, May 30, 2024 at 3:44 PM Darren Oberst @.***>
wrote:

@vijayproxima https://github.com/vijayproxima - thanks for raising this
issue. It appears that LLMWare is looking for an active Mongo connection on
27017 port, and is not finding it. For a 'no-install' option, you can set
the active db to "sqlite", e.g.,
from llmware.configs import LLMWareConfig
LLMWareConfig().set_active_db("sqlite")
Please also see Fast Start - Example 1
https://github.com/llmware-ai/llmware/blob/main/fast_start/example-1-create_first_library.py,
as well as the instructions in the README under "Data Store Options'
Hope this resolves the issue. Please confirm back - and will close out the
issue.
—
Reply to this email directly, view it on GitHub
https://github.com/llmware-ai/llmware/issues/813#issuecomment-2139229269,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZEMGNYSSQDZ5GDME6EUP3TZE33YTAVCNFSM6AAAAABIQG7L4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZZGIZDSMRWHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

If you don’t need to use MongoDB, you can switch to using SQLite, which doesn’t require a separate server. Add the following lines to your code before creating the library:
Python
from llmware.configs import LLMWareConfig
LLMWareConfig().set_active_db("sqlite")


CNVnator multi sample

make CNVnator run on multi sample LUMPY alignments.

Works in speedseq v0.0.3


xbib.org down

Looks like xbib.org repo is down for downloads. Could you please check?
Sample URL:
http://xbib.org/repository/org/xbib/elasticsearch/plugin/elasticsearch-river-jdbc/<IP_ADDRESS>/elasticsearch-river-jdbc-<IP_ADDRESS>.jar

xbib.org was relocated from Germany to France. It is up again now.
Sorry for the inconvenience.

Thanks for resolving it fast


return payload

we should return payload, then we can get value when call action function as flummox.

oh, it's my fault. we should return the final action.
so in logger-middleware, we should:
export default function loggerMiddleware(next) {
    return action => {
	    console.log(action)
	    return next(action)
    }
}


precompose and postcompose not called on vector layers on webgl renderer

I try to apply color changes on vector layers using webgl, but fail on the first step. I need to hook into precompose and postcompose events, but they don't get called on ol.vector.Layer.
Here is the related codepen (based on the Vector Layer example).
Is this a bug or an expected behavior?

What is your reason for not using the standard canvas renderer?

I want to apply some color effects to show water flowing in rivers (visually something like that. And that for it would be more efficient to use webgl renderer.
Ok, I just found out to use ol.source.ImageVector and that gives me access to pre- and postcompose. So now it should be possible to apply shaders to the geometries.


Fix topic links values when presenting edition for publishing API

This wasn't setting empty arrays for the topics and parent link types
in the absence of any specialist sector taggings. The publishing API
expects these values to be set to clear any previously set links of
that type.

Splitting two PRs. This PR contains a bugfix that we need to resolve a Zendesk user issue. The fix was +1'd by @boffbowsh here: https://github.com/alphagov/whitehall/pull/2644, and by @tijmenb IRL.
Merging.


Team quotas

Quotas define resource limits assigned to users within a team. These quotas can now be managed inside a new panel in the admin dashboard.
At the moment, quotas can define:

Workspace credits
Idle timeout for stopping inactive workspaces
Limit for simultaneously active workspace
Limit for number of pinned workspaces

Each of these limits are optional. If left unset, usage of the corresponding resource will not be limited.
The first highlighted quota in the list represents the Default quota. This quota is applied to all new Personal teams by default.

The admin can decide whether this Default quota wil also be applied to all new teams.

In the teams panel, admins can apply or revoke team quotas.

@stefanicjuraj

Reminer: look for all mentions of subscriptions and replace it with the new terminology


feat: allow select high/low options

Hello!
I will be honest with you. This project looks amazing and very well robust!
It was not very easy to find a solution like this tho, I have also built something similar, it was working in version 1x all generating all possible combinations but I had the same problem as you: Rooms with multiple light sources, which led to many images generated and impossible to do.
This is my repo: https://github.com/guimatheus92/SweetHome3D_HomeAssistant_Lightning/tree/v1.1.0
In there you will notice that there is a high  and low options where user can set what he actually needs. Do you mind improving your README file with how your project is structured? I am not a Java expert, but I can start contributing to this amazing solution, and I will abandon my project because your's is way ahead of me 🥇

Hey,
What do you mean by high/low? The quality level of the render?
If so, that's on my TODO list in the README file:

Allow selecting renderer (SunFlow/Yafaray) and level (high/low)

It shouldn't be too difficult to add. Right now it's just hard-coded at https://github.com/shmuelzon/home-assistant-floor-plan/blob/752fb389817aabc159886dce8b22b3893cc4dcd5/src/com/shmuelzon/HomeAssistantFloorPlan/Controller.java#L369
I'm by no means a Java expert and this is the first thing I've written in Java in the last 20 years.
I hope to get around to some of the simpler things in my TODO once I finish a different project I'm working on.
Thanks for your support!


Ci GitHub actions

Would you mind adding a badge on readme on the build status?

Would you mind adding a badge on readme on the build status?

Added the Badge and also catching the exception for only TypeError in _is_kwargable.


Report errors

I've notice the zopfli and zopflipng commands return successful status code to the shell even if no work has been done.

Ping

I signed it!

Hello, maintainers!

@lvandeve could you merge this?


[Android][Push] Error Resolving IPushDelegates

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[ ] iOS
[x] Android
[ ] UWP

Feature Library

[x] Push
[x] Push - Firebase (beta)

Version of Library
<IP_ADDRESS>5
Version of OS(s) listed above with issue
Android 9, 10
Steps to Reproduce

services.UsePush<MyPushDelegate>()
Receive Firebase message
:boom:

Expected Behavior
Delegate methods are invoked.
Actual Behavior
[EXCEPTION] System.ArgumentNullException: Value cannot be null.
Parameter name: source
  at System.Linq.Enumerable.Select[TSource,TResult] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x00003] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corefx/src/System.Linq/src/System/Linq/Select.cs:18
  at Shiny.ServiceExtensions.RunDelegates[T] (System.Collections.Generic.IEnumerable`1[T] services, System.Func`2[T,TResult] execute, System.Action`1[T] onError) [0x00028] in d:\a\1\s\src\Shiny.Core\Extensions_Services.cs:64
  at Shiny.Push.ShinyFirebaseService+<>c__DisplayClass3_0.<OnMessageReceived>b__0 () [0x0004a] in d:\a\1\s\src\Shiny.Push\Platforms\Android\ShinyFirebaseService.cs:25
  at Shiny.Logging.Log.SafeExecute (System.Func`1[TResult] action) [0x00027] in d:\a\1\s\src\Shiny.Core\Logging\Log.cs:91

Not sure if this issue is specific to how<EMAIL_ADDRESS>(via<EMAIL_ADDRESS>and<EMAIL_ADDRESS>resolves IEnumerable<>, but DryIoc documentation suggests it should Just Work™.
https://github.com/shinyorg/shiny/blob/3942b553ec303a5649bb7b5a4db6cf6051ca4931/src/Shiny.Core/Extensions_Services.cs#L58-L64
Workaround
Explicitly register IEnumerable<IPushDelegate>, e.g.
services.AddSingleton<IEnumerable<IPushDelegate>, SingletonEnumerable<IPushDelegate>>()

    public class SingletonEnumerable<T> : IEnumerable<T>
    {
        private readonly T service;

        public SingletonEnumerable(T service) => this.service = service;

        public IEnumerator<T> GetEnumerator() { yield return service; }

        IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
    }

@dahlbyk Looks to be something specific to DryIoc in recent release.  The default container works fine.
I added some tests to be sure - https://github.com/shinyorg/shiny/commit/4d7aa1e3cb1b797fde0728ba03c192294d8e0232

Looks to be something specific to DryIoc in recent release. The default container works fine.
I added some tests to be sure - 4d7aa1e

Works for me.


Translate directive conflicts with html5 attribute

There is also html5 attribute 'translate=yes|no' to tell to translation services specific content should or should not be translated.  More info here http://www.w3.org/International/questions/qa-translate-flag
In current angular-translate version 2.5.0, attribute 'translate' is used for the directive. So it is impossible to use html5 attribute side by side.
I think we need to attach a prefix to directive name or change it to something else.

I'm new to angularjs but would using the "data-" prefix not solve the issue (e.g. data-translate)?

as data- in angularjs is just an automate-scanned alternative I would bet that it still reacts on translate AND data-translate. So it might not really help with respect to "not using the translate attribute".

Ah right - that makes sense. Like I said < new guy :)

+1 for wrapper in current major version.   It would help to give developers time to migrate their code in preparation for the next major version when support is dropped for the conflicting attribute name "translate".
My suggestion for the new attribute name: "message-id".   The "-id" part reflects that the values are the ID of the actual text that is to be retrieved.

@PascalPrecht  @tspaeth Request for decision
I'm actually absolutely for migrating away from translate avoiding conflicts with existing HTML standard attributes. And it will be a no brainer adding an additional wrapper/alias for translate on demand (even for compat).
So, the actual question is: How to call it? Would be a

 and {{ 'translationId | message }}ok? The termmessagingusing for translations is not new in other domains (i.e. Java/Spring and itsmessageSource`), but it looks uncommon in web for me. Wdyt?

Hm, I wouldn't do it without a prefix as we can't be sure if not any other library or whatever server side framework adds additions (you might also find AJS in some ugly mixtures with JavaEE frameworks as we both don't want to know, but I've seen this somewhere... :-) ).
So I would advise more something like

 then or just ngtranslate or pptranslate ;-)

Speaking of extending, the prefixed $vendor- would be the best one? @PascalPrecht you are more familiar with webcomponents/polymer.
But it should not be too long after all. Must be still easy to use. I'd already the idea of t7n, but is not only short and unique but also very obfuscated.

you'll collide with t3n somehow (maybe only we germans know that term as a print publication).

I think safest option is to prefix this. "ng-translate" or better "pp-translate". For the backwards compatibility, we can still support "translate" attribute for a while to give time everyone to migrate.

even though you might not use these modules in parallel, it'll collide with https://www.npmjs.com/package/ng-translation if you use "ng-translate" :)

Yeah ng-translate might collide again any time. I would go for pp-translate to be more safe.

Conclusion of the last ones:
Standard

TEXT

{{ 'TEXT' | ppTranslate }}

Compat

TEXT

{{ 'TEXT' | translate }}

Indeed, would be streamlined with the package name.

Just wondering if there is a release on the immediate horizon with this change.   Thanks.

I do not see this feature in the v2. And there is still no timeline (with time) for v3.

Note: Definitely not in v2 (implications are big). And there is still no plan for a v3 release.
Close this due #1671. Again: This is already part of the v3-agenda

Hello,
in part of a "Spring Cleaning 2017", we are closing this issue as part of several others. The meta discussion is available here for full transparency.
 Said this, we must keep the focus and scope on the project.
We are grateful and appreciate to everyone for each made contribution (regardless being code, idea, documentation, and support).
We are deprecating/closing all issues which fulfills a specific set of criteria: mainly outdated, nice-to-have, or just out-of-scope.

Although the list has been curated to the best of our's knowledge, there will be some lack of understanding.
Okay, there a different stories behind all open issues, but we do not have the time for everything:

Support: Because we have only limited resources, we cannot handle support questions any more. Please use appropriate boards like Stackoverflow.
Feature requests or ehancements: Altough it is probalbly a great idea (otherwise it would be closed already), we can not giving more resources to things out of scope or which are useful for too specific scenarios only.
Bugs: Filed a long time ago, this bug either has a reasonable workaround, no effective solution without harming all others, or is lacking additional information/use-case.
Docs: All documentation efforts not matching English will be abonded.

Thank you.
angular-translate team

FAQ
"But this is really important!"
Well, we are all humans. Maybe we have overseen an important issue. If we missed something, we hope you are reaching as again filing a new issue with the reference to the old one. But please be aware: A bug without further details and a demo included will be rejected again.
"But this would a great feature!"
Reconsider: Are we really required to add something in order to make this feature happen? Or could you also create a project on your own utilizing this project?

I found a workaround, though I haven't tested it extensively.
Usage, if you want the HTML 5 behavior:
Hello World

Just make sure you don't use lower case no or yes for any real translation.
Custom directive:
angular
  .module('yourApp')
  .directive('translate', translate);

function translate () {
  const directive = {
    restrict: 'A',
    compile: compile,
    priority: 1
  };
  return directive;

  function compile (elem, attrs) {
    if (attrs.translate === 'no' || attrs.translate === 'yes') {
      // HTML5 tag. Prevent angular-translate from processing this.
      attrs.translate = undefined;
    }
  }
}

The original directive should have a lower priority, e.g.:
$translateProvider.directivePriority(0);


xc7z support

This PR adds initial support for xc7z family
It is a WIP. Fuzzer 005 fails on calculating deltas for CLBs.

Can you please add make format?

Right now fuzzer 001 uses debug bitstream which is not supported for xc7z family.
BTW it seems we've found a better way to handle the xc7z devices. I'll write more details soon.

Right now fuzzer 001 uses debug bitstream which is not supported for xc7z family.
BTW it seems we've found a better way to handle the xc7z devices. I'll write more details soon.

FWIW, if BITSTREAM.GENERAL.DEBUGBITSTREAM isn't available, BITSTREAM.GENERAL.PERFRAMECRC works as well.  I preferred DEBUGBITSTREAM because it has more documentation available. Both cause frames to be written to FDRI individually which is all that is necessary to determine the config memory layout of the device.

Yep, we switched to PERFRAMECRC and it works better. I'll clean the code and issue a new PR


keep profile when loading new workspace

@sandy081 I love the new profiles but I don't like that the profile resets to "default" if a new workspace is loaded.
A profile is a "mode" for me and I want to stay in that mode until I explicitly switch to another mode. I don't want to have VS Code decide what mode to use.

Thanks for the feedback @weinand.
Yes this was discussed in our working group discussion and we are validating this and scenario.
IMO it might depend on the context from which I am opening a new workspace. A new workspace shall always use the profile from the current active workspace and if the workspace has already profile associated, it shall use it.

A new workspace shall always use the profile from the current active workspace and if the workspace has already profile associated, it shall use it.

Yes, that would work for me. But today it's not working like this.

Yup, it is not yet currently supported but we are planning to.

We're getting mixed feedback on this. Some users have mentioned they would like to choose which profile to open the new workspace in, instead of opening the most recently used profile or the profile of the current window. I think there's a few options. We can have each workspace remember the profile it is associated with or last opened with, or we can have a setting to choose to open each new workspace in a default profile or the recently used profile.

Since you are getting mixed feedback, why not add a setting, and let the user decide?
I agree with @weinand, and see profile as a mode which VS Code should remain active, until I open an old workspace that used a different profile. But I also see people/scenarios that uses a basic profile for any project (maybe a “light mode”) and would switch to a more complete profile only when necessary.


Update kubernetes-portal.md

@abshamsft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@palma21 can you approve this change?
#sign-off

@abshamsft: I'm sorry - only the author of this article, @laurenhughes, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Hi @abshamsft Would you make this update in the private repo? We'll close this PR. Thanks.