Failed to load root block in end-to-end test

]
2023-11-14T14:20:55.0368070Z node8 > [Candidate - ebfc0d52] Clock.AcceptedTimeUpdated: 2023-11-14 11:35:20.000000548 +0000 UTC [Slot 17]
2023-11-14T14:20:55.0370077Z node8 > [Candidate - ebfc0d52] Consensus.BlockGadget.BlockAccepted: BlockID(P1:17.3-node3:17) @ slot SlotIndex(17) committing to CommitmentID(0x42ecc25f165c3e02a654ff1f603b92b334c73da230d8d10f45e3c87286f16db10f000000:15)
2023-11-14T14:20:55.0370790Z node8 > [Candidate - ebfc0d52] Scheduler.BlockEnqueued: BlockID(P1:17.3-node3:17)
2023-11-14T14:20:55.0372332Z node6 > Network.WarpSyncResponseReceived: from 12D3KooWBV9oCyHd87AFRFe6jy8eT9ygzZSyUR5kQnZA45NYGfxH CommitmentID(0xd2d91ab9b0ce0bbc2b22b7c049bb8891156076cbfd1c2862962a4d42c4ac5cc212000000:18)
2023-11-14T14:20:55.0373794Z node6 > Network.WarpSyncResponseReceived: from 12D3KooWGthTUjyvpqM1tj1kYXLvPAuhQhXUCSpDy1rTULP9jdKi CommitmentID(0xd2d91ab9b0ce0bbc2b22b7c049bb8891156076cbfd1c2862962a4d42c4ac5cc212000000:18)
2023-11-14T14:20:55.0375356Z node6 > Network.WarpSyncResponseReceived: from 12D3KooWFays8AtZRkVNuXaXrioiSDHNVBXKqauQWg4yYpfqHpBp CommitmentID(0xd2d91ab9b0ce0bbc2b22b7c049bb8891156076cbfd1c2862962a4d42c4ac5cc212000000:18)
2023-11-14T14:20:55.0375975Z node6 > [Candidate - ebfbb687] Scheduler.BlockScheduled: BlockID(P1:17.3-node4:17)
2023-11-14T14:20:55.0377577Z node6 > Network.WarpSyncResponseReceived: from 12D3KooWHygHc9B3xK4cXNHFYJdPX9vsk5cZUWcMHjZRtpUL5msK CommitmentID(0xd2d91ab9b0ce0bbc2b22b7c049bb8891156076cbfd1c2862962a4d42c4ac5cc212000000:18)
2023-11-14T14:20:55.0378138Z node8 > [Candidate - ebfc0d52] Booker.BlockBooked: BlockID(P1:17.3-node3:17)
2023-11-14T14:20:55.0378865Z node8 > [Candidate - ebfc0d52] Scheduler.BlockEnqueued: BlockID(P1:17.2-node0:17)
2023-11-14T14:20:55.0379500Z node8 > [Candidate - ebfc0d52] Booker.BlockBooked: BlockID(P1:17.2-node0:17)
2023-11-14T14:20:55.0380091Z node8 > [Candidate - ebfc0d52] Scheduler.BlockEnqueued: BlockID(P1:17.1-node3:17)
2023-11-14T14:20:55.0380734Z node8 > [Candidate - ebfc0d52] Booker.BlockBooked: BlockID(P1:17.1-node3:17)
2023-11-14T14:20:55.0381470Z node8 > [Candidate - ebfc0d52] Scheduler.BlockEnqueued: BlockID(P1:17.0-node0:17)
2023-11-14T14:20:55.0382113Z node6 > [Candidate - ebfbb687] Scheduler.BlockScheduled: BlockID(P1:17.3-node2:17)
2023-11-14T14:20:55.0382794Z node6 > [Candidate - ebfbb687] Scheduler.BlockScheduled: BlockID(P1:17.1-node1:17)
2023-11-14T14:20:55.0383393Z node6 > [Candidate - ebfbb687] Booker.BlockBooked: BlockID(P1:17.0-node0:17)
2023-11-14T14:20:55.0384148Z node6 > [Candidate - ebfbb687] SybilProtection.BlockProcessed: BlockID(P1:17.0-node0:17)
2023-11-14T14:20:55.0384824Z node6 > [Candidate - ebfbb687] CommitmentFilter.BlockAllowed: BlockID(P1:17.0-node0:17)
2023-11-14T14:20:55.0385487Z node6 > [Candidate - ebfbb687] Scheduler.BlockScheduled: BlockID(P1:17.2-node0:17)
2023-11-14T14:20:55.0386113Z node6 > [Candidate - ebfbb687] BlockDAG.BlockSolid: BlockID(P1:17.0-node0:17)
2023-11-14T14:20:55.0386704Z node7 > [Candidate - ebfc9961] Scheduler.BlockScheduled: BlockID(P1:17.2-node3:17)
2023-11-14T14:20:55.0387499Z node7 > [Candidate - ebfc9961] Scheduler.BlockScheduled: BlockID(P1:17.3-node4:17)
2023-11-14T14:20:55.0388098Z node7 > [Candidate - ebfc9961] Scheduler.BlockScheduled: BlockID(P1:17.0-node0:17)
2023-11-14T14:20:55.0389083Z node7 > [Candidate - ebfc9961] Scheduler.BlockScheduled: BlockID(P1:17.3-node1:17)
2023-11-14T14:20:55.0392035Z node8 > [Candidate - ebfc0d52] Consensus.BlockGadget.BlockPreConfirmed: BlockID(P1:17.0-node0:17) CommitmentID(0xa5f13d767c191723d9f91dfccc4fdaf44c426a3fe1cb0f864f5994d5dc1645c80e000000:14)
2023-11-14T14:20:55.0395028Z node8 > [Candidate - ebfc0d52] Consensus.BlockGadget.BlockPreConfirmed: BlockID(P1:17.0-node1:17) CommitmentID(0xa5f13d767c191723d9f91dfccc4fdaf44c426a3fe1cb0f864f5994d5dc1645c80e000000:14)
2023-11-14T14:20:55.0397557Z node8 > [Candidate - ebfc0d52] Consensus.BlockGadget.BlockPreConfirmed: BlockID(P1:17.0-node4:17) CommitmentID(0xa5f13d767c191723d9f91dfccc4fdaf44c426a3fe1cb0f864f5994d5dc1645c80e000000:14)
2023-11-14T14:20:55.0400184Z node8 > [Candidate - ebfc0d52] Consensus.BlockGadget.BlockPreConfirmed: BlockID(P1:17.0-node2:17) CommitmentID(0xa5f13d767c191723d9f91dfccc4fdaf44c426a3fe1cb0f864f5994d5dc1645c80e000000:14)
2023-11-14T14:20:55.0403242Z panic: trying to access closed kvstore: failed to retrieve from KV store: failed to get value for key BlockID(P1:17.3-node1:17): failed to load root block BlockID(P1:17.3-node1:17)
2023-11-14T14:20:55.0403287Z
2023-11-14T14:20:55.0403651Z goroutine 289170 [running]:
2023-11-14T14:20:55.0406307Z github.com/iotaledger/iota-core/pkg/protocol/engine/eviction.(*State).RootBlockCommitmentID(0xc018617630, {0x5a, 0xe, 0x3a, 0xf1, 0xe5, 0x27, 0x94, 0xf2, 0x1e, ...})
2023-11-14T14:20:55.0408420Z 	/actions-runner/_work/iota-core/iota-core/pkg/protocol/engine/eviction/state.go:167 +0x31a
2023-11-14T14:20:55.0410785Z github.com/iotaledger/iota-core/pkg/protocol/engine/blocks.(*Blocks).Block(0xc01b8716c0, {0x5a, 0xe, 0x3a, 0xf1, 0xe5, 0x27, 0x94, 0xf2, 0x1e, ...})
2023-11-14T14:20:55.0412229Z 	/actions-runner/_work/iota-core/iota-core/pkg/protocol/engine/blocks/blocks.go:42 +0xd8
2023-11-14T14:20:55.0414835Z github.com/iotaledger/iota-core/pkg/protocol/engine/congestioncontrol/scheduler/drr.(*Scheduler).updateChildrenWithoutLocking(0xc0043d9140, 0x865bca?)
2023-11-14T14:20:55.0416839Z 	/actions-runner/_work/iota-core/iota-core/pkg/protocol/engine/congestioncontrol/scheduler/drr/scheduler.go:722 +0xb3
2023-11-14T14:20:55.0441759Z github.com/iotaledger/iota-core/pkg/protocol/engine/congestioncontrol/scheduler/drr.(*Scheduler).updateChildrenWithLocking(0xc0043d9140, 0xc00f1c5ef8?)
2023-11-14T14:20:55.0443973Z 	/actions-runner/_work/iota-core/iota-core/pkg/protocol/engine/congestioncontrol/scheduler/drr/scheduler.go:715 +0x75
2023-11-14T14:20:55.0447187Z github.com/iotaledger/iota-core/pkg/protocol/engine/congestioncontrol/scheduler/drr.(*Scheduler).scheduleValidationBlock(0xc0043d9140, 0x4024000000000000?, 0xc00ee02e00)
2023-11-14T14:20:55.0449331Z 	/actions-runner/_work/iota-core/iota-core/pkg/protocol/engine/congestioncontrol/scheduler/drr/scheduler.go:405 +0x54
2023-11-14T14:20:55.0451657Z github.com/iotaledger/iota-core/pkg/protocol/engine/congestioncontrol/scheduler/drr.(*Scheduler).validatorLoop(0xc0043d9140, 0xc00ee02e00)
2023-11-14T14:20:55.0453723Z 	/actions-runner/_work/iota-core/iota-core/pkg/protocol/engine/congestioncontrol/scheduler/drr/scheduler.go:381 +0x9f
2023-11-14T14:20:55.0456337Z created by github.com/iotaledger/iota-core/pkg/protocol/engine/congestioncontrol/scheduler/drr.(*Scheduler).addValidator in goroutine 280213
2023-11-14T14:20:55.0458404Z 	/actions-runner/_work/iota-core/iota-core/pkg/protocol/engine/congestioncontrol/scheduler/drr/scheduler.go:748 +0xf9
2023-11-14T14:20:55.0459203Z FAIL	github.com/iotaledger/iota-core/pkg/tests	155.183s
2023-11-14T14:20:55.0459428Z FAIL
2023-11-14T14:20:55.0486942Z ##[error]Process completed with exit code 1.
2023-11-14T14:20:55.0688292Z Post job cleanup.

Not addressed by https://github.com/iotaledger/iota-core/pull/441/files#diff-7275a33b517fe648226f838379bf48e4e58010ed10b7c8448f5bc679d221d5c4 ?


feat(plan-test): suggest run-planner-test instead of using panic hook

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
Similar to https://github.com/singularity-data/risingwave/pull/4228. Using panic hook is problematic, since it is global and tests may run in parallel. nextest can correctly catch panic and outputs stdout/stderr only when test failed. So we can suggest using run-planner-test to find the failed test case.
A little limitation is that we cannot print only the failed test case, since a file is a test unit.
apply-planner-test:

run-planner-test:

Cron failed this morning too: https://buildkite.com/singularity-data/main-cron/builds/103#0182c808-e54c-43fd-af4a-54e8c8882a74.
Seems like some recent changes were caught by e2e fuzzing. Taking a look. frontend fuzzing still works fine.


about can not download the knetics pretrained models

Hi,I can not download the knetics pretrained models at https://goo.gl/QdE85T

The link will redirect you to Google Drive, which requires a VPN if you are in China.

链接: https://pan.baidu.com/s/1gfu3lujt2lTHMDrZARUIZA 提取码: di5n
I downloaded the pretrained models. You can download them from the above link if you use 'Baidu Netdisk'.

Thanks very much

Thanks very much


Remove semicolons in README

Hahah @LostKobrakai I must have written these just after mucking around in the C code. Old habbits die hard. 😆


*: rename etcd service to kv service in gRPC

We are separating the giant services into multiple parts: kv, watch, lease, lock in the future.

the change LGTM. do you know why travis fails?

@yichengq travis is rebuiding


Bug 1806876: limit number of ldap entries based on its capacity

/assign @stlaz

/bugzilla refresh

/lgtm

/approve


well done! How to start building a new app/project

Well done! you did a good work!
please i need your help, i followed all the instruction installing your project. And i see the side menu bar on the left.
But now what am'i supposed to do? and how could i began ?
please, i'm new & unexperimented developper!
could you give me an advise and sample?

Hi @odyright
Thanks!
So everything that regards Laravel stays the same.. So your workflow should not change
If you need help in Laravel, I'd recommend laracasts.
Regarding Angular, also nothing should change. You just have to open the angular folder and you can create a new folder by feature. Say you want to create a login feature, then you'd create a login folder with login.html and login.js and optionally login.less.
By the way, this is the recommended workflow, but you can change it to suit your needs.
And you can also use php artisan ng:feature login to generate these files, folder and sample controller.
Now let's say you want to add a new page, you just have to open routes.js and add a new route. Try to see how previous routes in the demo are implemented. The cool thing about this repo is that it uses itself to show the documentation. So you can always tinker with its source code.
There's also a sample API call that you can see in the routes.php file.
So if you feel that these are weird, this is because there are some libraries that are being used. So assuming you know Angular, you just have to check the following libraries:
ui-router and restangular. But again, if you don't feel comfortable with restangular for example, you can stick to plain old $http.
I'd recommend that you start by creating a new page to the documentation that calls a sample API GET method. And feel free to ask me if you encounter any issue.

thank you @jadjoubran I will let you know about my progress on this work....
for exemple :+1: I am creating a home page that provides a wizard registration form (with material design) in 4 steps. how do I proceed? I want to remind that I am new so thank you again for your expertise and your indulgence.

So this is absolutely just plain angular right?
I'm guessing you can look for ready made angular wizard components:
You can try this one angular-wizard
or follow this tutorial on scotch.io.
I'm going to close this issue for now, but feel free to comment again and I'll reply as soon as possible :D

ok thank you very much! :+1:

Yes of course!

hello, I have somme problems with the gait to follow you prescribed me .
I create a new page but nothing appears ! may be i should do something else?
I do not control very well yet Laravel and angular ... but my goal is to come to understand and become a good developer

Hi @odyright
What you did is the first step. Which is adding the route to the routes file. Great!
Now if you want it to show in the sidebar, you have to open the sidebar.html file and add a new entry to the new page and fix the ui-sref directive to link to your new page!
Let me know if it works for you
The reason why you might think this is over-complicated is because there are so many underlying libraries that are being used here

i did it, but the link didn't target because i forgot to add the same route in public/js/app.js, and now it works very well :+1:  I projected to correct my design

Hello, @jadjoubran ..Excuse me again this time if I screwed up all night and I can not stylize my form . should i use a custom css/less file. if yes where should i include it?

I want to do something in this kind or better than that

To theme Angular Material you should read their documentation at https://material.angularjs.org/latest/#/Theming/03_configuring_a_theme
This file you will use to modify with what you learn from the Angular Material docs is located in angular/config/theme.js
Add any less files you like in the angular/app folders, as long as gulp watch is running it will get compiled into the project.
Example add angular/material/mystyles.less run gulp watch and add any css you like.
To style the sidebar you can modify the existing angular/app/sidebar/sidebar.less

thanx... but @Bodom78 i don't want to themify in my own way but i want to add my own page with new features like form wizard like the picture above! but i still hurt

@odyright it's exactly what @Bodom78 said.
If you want to add you rown CSS file, you need to create a new less file and make sure gulp watch is running.

Pfffff......Ok ok but i don't have any experience

How to do it ?

@odyright you need to follow the steps that @Bodom78 mentioned

run gulp watch
create a new less file in angular/material/mystyles.less and add your custom css there

hah ok i see! but my first purpose is to be able to build a multi-step form like what i shown above! if i follow the steps that @Bodom78 described to me, could i achive my goal?

Assuming that you used a ready-made library as I previously suggested? Yes

:100:

Command line or your Explorer. Just like you usually do it

in fact i don't know

You just have to create a new file using the normal file explorer

i did, the next?

Sounds like this might be out of scope of what this "Starter Project" is actually for.
The starter project is for those who are familiar with the libraries and want an idea on how to incorporate them all into a functional project.
What it's not for is teaching you how to use the libraries themselves. There are many resources out there already for that.
At a minimum I'd say a decent understanding of how AngularJS and angular apps work is required before anything else.

it's what i want to do,  ok I understand, if you're already stalled in development don't be too hard on me pls! Help me rather as @jadjoubran done.

Hey @odyright
No one is too hard on you, but what @Bodom78 said is actually right. The recommended way would be to get familiar with the underlying technologies or else you're not going to be able to enjoy & succeed developing this because there are too many underlying libraries

thanx @jadjoubran thanx @Bodom78 , i will perform myself

Good luck mate, feel free to reopen if you have more issues

hello @jadjoubran how could i put the datetime / datebirth field?

This is what you're looking for: datepicker

yes but i tried to do that without success!

here are my file's code, can you correct my mistakes / or can you guide me?
(function(){ "use strict";
angular.module('app.controllers').controller('InscriptionsCtrl', function($scope, $mdToast,      $mdDialog, $interval, ToastService, DialogService){
    //
    $scope.promoImage = 'https://i.imgur.com/ZbLzOPP.jpg';
	$scope.icon = 'send';

	var icons = [
			'skip_next', 'school', 'share', 'star_outline'
		],
		counter = 0;

	$interval(function(){
		$scope.icon = icons[++counter];
		if (counter > 4){
			counter = 0;
		}
	}, 2000);

	$scope.myDate = new Date();

  	$scope.minDate = new Date(
      	$scope.myDate.getFullYear(),
      	$scope.myDate.getMonth() - 2,
      	$scope.myDate.getDate());

  	$scope.maxDate = new Date(
      	$scope.myDate.getFullYear(),
      	$scope.myDate.getMonth() + 2,
      	$scope.myDate.getDate());
});

})();

Is gulp running?
If not then run gulp && gulp watch

i ran gulp && gulp watch and nothing appears now.  holala! it broke my work

Yes, i tried but nothing could describe me how to do that from scratch @jadjoubran ?

Check your inspect element console, it seems you have some errors

thank you, very much!

@odyright check this out, it might help you understand the underlying technologies for this repo
http://www.sitepoint.com/flexible-and-easily-maintainable-laravel-angular-material-apps/

yes thanx

I appreciate the help you provided me

Sure no worries!

Hello @jadjoubran i didn't want open a new issue because i encountered the same difficulties. i created a new page "Inscriptions en ligne" which works very well. And now i want to change the look in the html and less file under angular app folder by adding a locked sidenav with subheaders but nothing on my side. i want it looks like joelcox.io website with animation.
could you tell me how to start?

Hi @odyright
Have you seen the official angular material docs on that?

Yes of course! may be i messed something.

Your repo has 3 views, main, header & footer which are named.. so should i named an other in the concerned state for my new page?

You can either use a different named view or just simply edit the sidebar.html


Random User Generator Extension

Project title
(Random User Generator)
Project Description
(Random User Generator will generate random user with name, email and phone no, for this I will use an API which fetches the data from and it will be added to DOM)
Stack:
Html
CSS
JavaScript
Web API
I am a GSSoC Contributor.Please assign me this project

@iamrahulmahato can you explain more about this and its utility also

@iamrahulmahato ?

@harshita214  It will be a random user generator when you click on the extension it will fetch data through an API and provide the random name, email, phone, and this country with every click it changes

@iamrahulmahato what will be its utility?

@Spring-dot In most of the places programmers don't want to expose the  real identity because of some privacy reason it will work there
Thank you


Chore: whale-api-wallet migration

What would you like to be added:
Migrate https://github.com/DeFiCh/whale/tree/8195727e359953c2dba1ab208cfdf3beb9706eab/packages/whale-api-wallet
Take this opportunity to include unit test.
Why is this needed:
Main sdk wallet client implementation will use to deal with defichain via ocean infrastructure

This is actually already done via  #1167.
I would be including the unit tests following it.


Problems regarding to the link detection and link definitions

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

VS Code: 1.85.0-insider
Commit: f346494c77e1245505e53a2ddcab3bfb4ee52e08
Date: 2023-11-09T05:45:24.792Z (5 days ago)
Electron: 25.9.2
ElectronBuildId: 24603566
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.0.0

Steps to Reproduce:

Write these text in a new .md fileinterval $[0, 1]$
correct [link-def]
inccorect [^footnote]
work-around [@link-def]

[link-def]: <https://code.visualstudio.com/>

[^footnote]: <https://code.visualstudio.com/>

[@link-def]: https://code.visualstudio.com/

See these warnings (I used error lens)

Some observations:

I found a work-around for footnotes from https://github.com/microsoft/vscode/issues/162691
footnotes is not part of CommonMark nor GitHub Flavored Markdown (GFM) (source), but is said to be supported by GitHub Blog : Footnotes now supported in Markdown fields
The $[]$ case is hard to find a work around, because $\[0, 1]$ wouldn't be parsed by KaTex (the one comes with both the built-in preview and the popular Enhanced markdown preview)
Maybe this issue should be split into 2 issues?

Duplicate of #8 and #14

@mjbvz Thanks for moving it here! I didn't know about this repo.


Add rpm installation method

Update the process of DRBD installation:
Check if offline packages already exist before compiling drbd packages.
Benfits:
This change will reduce the pre-installation steps required for users to install DRBD. If the customer's operating system and kernel version are within the supported range, they will not need to install the kernel-devel package separately.
Notes:
Afterwards, we will update more validated offline installation packages, including Ubuntu, CentOS, Kylin, and other operating systems.  For specific version information, you can click on https://hwameistor.io/docs/install/prereq.

lgtm


Adding short gene names to the region plot title, and toning down the color scheme

Ticket
n/a
Purpose
More updates for the UI, mainly to tone down the colors on the buttons and move parts around to make the more important components stand out more (i.e. the main association plots). Also updates the region plot's title (temporary fix until LocusZoom update is published; we will want to update it back to using the title text after https://github.com/statgen/locuszoom/issues/176 is addressed).
How to test this
In the region view, change anchor gene and tissue, and add new genes and tissues to ensure correct behavior; in the single-variant view, click all the buttons to make sure they still work as expected.
Deployment / configuration notes
(none)

Thanks for the review!
Agreed on the anchor concept, I think the easiest way to explain it is to create a tutorial / demo, and write it up as our application note, similar to the structure of the PheWeb paper.
I didn't put in the ten columns formatting, so it's good to know the history behind these choices - I had no context for why it was there, but since I didn't know what it was I just left it alone.


[Question] how to stop/restart a workload

Rancher versions:
rancher/rancher: 2.0.0
How can we pause, stop or restart a workload in rancher 2...
How can we scale to 0 a workload like that when we destroy faulting pod kubernetes doesn't try to recreate it directly... (like the old kubectl stop)
i know that i can save my workload into a file, destroy it and then recreate-it but it seems to me sad not to have those functionalities ... even if i'm pretty sure that they seem necessary now because i'm testing rancher2/kubernetes and won't be important in a prod environment
I've got an example that might be production relevant :
In longhorn the recommended steps to recover a volume is to stop the pod using it : https://github.com/rancher/longhorn/issues/63#issuecomment-387807856 but if we cannot really stop it because directly after deleting a pod, it's recreated (and faulty because the old pod still exist and the new one cannot attach/mount the volume) how can we recover a volume ???
Thanks for you amazing work...

Using kubectl or kubernetes dashboard it's possible to scale deployment to 0.
kubectl scale --replicas=0 deployment DEP_NAME -n CORRECT_NAMSPACE
cheatsheet

@manwegit thanks for you answer
Yes i know that but i wanted to know how to do it directly in the ui...
(or more why can't we do it directly in the ui ???)
We could use the +/- menu but it's minimum value is 1... should be 0 no ?

Just tried that in the ui (live edititing html and removing the disabled="" attribute of the "-" button of the workfload... and it's working !!!

Found out that those parameters already exist :
Scale Max : https://github.com/rancher/ui/blob/30c40fa9219ee5def63c999bd6b3951bc816e7a1/app/models/workload.js#L84
and
Scale Min : https://github.com/rancher/ui/blob/30c40fa9219ee5def63c999bd6b3951bc816e7a1/app/models/workload.js#L95
but how can we change it from the ui ???

I also have this question. How do we restart a workload?

+1 In previous Rancher version, it was easy to Restart and Stop. Need this feature in 2.0 please.

There is no stop/start/restart in k8s.  There's the scale (replicas), deleting individual pods, and upgrade strategy (depending on what kind of workload).
scaleMin and Max are vestigial code in the UI left over from 1.x; they do not exist in the 2.0 API so they have no relevance.
The minimum in the scale input could be changed to 0 so they you can do "stop".

+1 for the minimum scale input to 0
but why couldn't we have :

a stop/pause button that set the scale to 0.
a resume button that set the scale back to the original value (before the stop/pause)
a restart button that set the scale to 0m then to the original value when all the pods are stopped

Could be great, no ?

IMHO I think that is a bad idea, or at least a wrong name for the button. What it really would do is just recreate the pods, and not restart them.
If necessary I restart pods by killing the foreground process in the pod. This will force a restart.

i understand, but it seems to me (but i'm certainly mistaken) that in rancher v1, docker, docker-compose and swarm it's the actual behaviour (restarting only kill the container and restart it)
i know we could argue that's not exactly the same thing... but your solution implies the knowledge of what is happening inside the container, no ? and this seems to me a worst idea.

Yes, you will need to know the foreground process. So I agree with you that my solution is not a solution for Rancher. But I think we have to accept that the restart-function as we know it in Rancher1.x will not be introduced in Rancher2.x due to the k8s philosophy.

Actually there is "Pause orchestration" option for deployment workloads. BUT I think it's a bit broken still. Pausing does nothing for the pods, but resume terminates and starts new pods.
So if you wan't to refresh your pods (e.g. scale to 0 and back up repolicas) that will do it.

To me this is about simplification within the GUI. If I wanted to go searching for foreground process I'd use the CLI. If in the docs it details what the actions for Pause, Resume, Restart are actually doing behind the scenes then that's good enough for me and I will pick the appropriate one. And so I will know that when I click on Restart it's actually behind the scenes doing a scale to 0 and then to the original scale, and in essence recreates them, etc. If it helps, call it Recreate and document that clearly (the docs for 2.0 are still in very bad shape IMHO with little detail and examples for almost everything). In the end I want to save time without going through multiple steps.

... and somewhat hide kubernetes "complexity" to the user... isn't one of the main goal of rancher ?

@vincent99 thanks for your insight
i understand that this is really a "big" problem that doesn't have a simple solution but your answer comfort me in the idea that rancher should really solve it, don't you think ?

It seems to me that a nice intermediate solution might be the "Redeploy" option. We've had a few incidents that have caused containers to act up and there's not an easy way to force them to redeploy since, technically, they are working correctly as reported by their health statuses.

@vincent99 The fact is, as stated by @Angelinsky7, Rancher main purpose is to me to abstract kubernetes complexity and requirements. I don't really "care" what it's doing under the cover but Rancher should definitely offer an option to (like in 1.x) start, stop, restart a workload (old service) or entire namespace (old stack).
I understand there is Kubernetes under rancher. But as said again: I don't want to have to master kubernetes to use rancher. Or what is the point to use Rancher?
Rancher refers too much to kubectl or other native kubernetes stuff I definitely don't want to have to use. The less I use kubeCtl, the more Rancher is accomplishing its abstraction goal.

"Rancher [2.x] is enterprise management for Kubernetes."  It is not a PaaS in which we pretend the underlying k8s does not exist.  You need to be familiar with k8s concepts and we add value around  them (e.g. access control and managing rbac across multiple clusters, logging, etc).  If you don't want to use k8s, you're not going to want to use Rancher 2.0.
While we can provide a shortcut for redeploying new containers for a workload (by twiddling a label for you), Stop and Restart are simply not concepts that exist.

So I want to use the REST API to update containers upon deploy. Is the best way to do this really to scale each to zero, then scale back up to N? There's got to be a way to do this with zero downtime, right?

How bout an alternative label such as "recreate" or "redeploy" - currently we are hacking around this, by creating an environment variable called UPGRADE_FLAG, and smashing the keyboard with a new value to trigger "restarts" - not ideal, but it works for our use.

@karllhughes - a work around using the rancher CLI would be as followed. ./rancher kubectl set env ds test --namespace "test" -e DEPLOY_ID="$(date +%s)"

Adding a redeploy action to the UI and on edit workload that sets cattle.io/timestamp annotation to the current time.  The rest above (start/stop/restart) does not exist as I said and will not be addressed.

Version 2.1 master
Verified fixed


Question on normalized HSIC calculating

Hi, thanks for your work! It's very interesting. I have one question related with normalized HSIC calculating
in hsic.py, the normalized hsic is calculated as
def hsic_normalized(x, y, sigma=None, use_cuda=True, to_numpy=True):
    m = int(x.size()[0])
    Pxy = hsic_regular(x, y, sigma, use_cuda)
    Px = torch.sqrt(hsic_regular(x, x, sigma, use_cuda))
    Py = torch.sqrt(hsic_regular(y, y, sigma, use_cuda))
    thehsic = Pxy/(Px*Py)
    return thehsic

It seems like this equation is from the CKA(Centered Kernel Alignment) (from paper【Similarity of Neural Network Representations Revisited】)

not from the equation(5) in the paper

Am I understanding right?
Thanks in advance

Yes, you're right. We implemented both approaches in order to compute the normalized HSIC. however, we are actually using hsic_normalized_cca (link) as the alternative in our training pipeline, which is invoked here (link).
The reason is we had a hard time to investigate a good parameters in the the equation you posted, and switch to the cca version (canonical correlation analysis). Thanks for visiting our repo! Please feel free to ask any questions

@choasma Oh, I got your point! Thanks for your detailed and quick reply, thanks a lot!

@lizhenstat No worries! Feel free to make issue if there's any ambiguous!

def hsic_regular(x, y, sigma=None, use_cuda=True, to_numpy=False):
    Kxc = kernelmat(x, sigma)
    Kyc = kernelmat(y, sigma)
    KtK = torch.mul(Kxc, Kyc.t())
    Pxy = torch.mean(KtK)  # Is it torch.trace(KtK)?
    return Pxy

Hi! Thanks for your interesting work~ I have a query regarding the computation of HSIC. You're employing 'Pxy = torch.mean(KtK)' to calculate HSIC, but according to the definition of $HSIC(X,Y)=tr(K_XK_Y)$, it should be 'Pxy = torch.trace(KtK)'. Am I understanding this correctly?


Leap.Finger.FingerType.TYPE_FOO simplification

FingerType specification is repetitive. Let's replace
Leap.Finger.FingerType.TYPE_INDEX
with
Leap.FingerType.Index
To be non-breaking, let's define a new FingerType enum inside the Leap namespace and add an implicit conversion from Leap.Finger.FingerType. Then we should replace all of the UnityModules' references to Leap.Finger.FingerType with the corresponding Leap.FingerType.
Note that this will require modifying the LeapCSharp DLL.

We unfortunately cannot define implicit enum conversions :( Csharp doesn't give us the ability to define a conversion from one enum to another.

Rats. OK, let's just close this and when we eventually do start changing LeapCSharp maybe there'll be a better option.


support reporting star counts

Feature request from lab:
Have STAR generate its count information as we think that is more comparable to htcount style data. (Because it shouldn't include the multi-reads like RSEM's expected_count field).
Generating the file requires adding --quantMode GeneCounts to the STAR command line. I need to test to see if adding that does anything to the generated BAM files.
They'd like a generated count file that merges the different library results like what makersemcsv does. But its unclear what columns to provide as star outputs 3 count columns in ReadsPerGene.out.tab. (I think the request was for just the unstranded column?)

Open question, should makersemcsv be extended to handle the STAR file? should we have a new file makestarcsv? or rename the whole thing makelibrarycsv?

It seems that what is really being requested here is a summarized counts output for the libraries specified in the library tsv file.  Since the counts could come from either STAR or RSEM (or indeed both if desired) it seems like the thing to do is have a summarizecounts.py with an option telling it to use either the STAR or RSEM counts as input.

Office debate leads to thinking the program that generates summary results should be called "getquantresults" which replaces current makersemcsv. This also implies that we should have second program for processing the star results could be called "getalignerresults"


feat: upgrade to angular 7

BREAKING CHANGE:
Requires Angular 7 instead of Angular 6

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Refactoring line_t type

i currently define a lot of dx/dy variables. i did not expect to use them THAT much at first, so i didn't give it a thought but i could use them within the line_t point. that would make sense too since it's a property of the line.
the only "out of sense" idea would be that line_t is no longer a straight line, but a pool of points. nonetheless, we work with it as if it was a straight anyway

done - closing


Added btn-filled, updated the README and index.html

What is the purpose of this pull request?
Added a new type of button
How is this achieved?
By styling a new class called "btn-filled" in the _button.scss file.
The class is used directly after the main button class like this:
<button type="button" name="button" class="button btn-filled">Default</button>

Which issue number does this fix?
#4

Hey there! Thanks for the pull request, but this new button doesn’t currently follow the current standard for class names.
You currently have the class name btn-filled, where as it should be “filled” to follow the current class name standard. Make this change and it will be ready to be merged. Thanks and Happy coding!

Will do.

Update the name to follow your naming convention and made sure to run npm run prod before pushing.

Thank you for the PR. I hope you continue to contribute to simple.css. Merging now.


runtime: finalizers not consistently run when package reflect imported

What version of Go are you using (go version)?
playground (presumably 1.16ish?), also 1.16.5
Does this issue reproduce with the latest release?
I believe so.
What operating system and processor architecture are you using (go env)?
playground or amd64 linux
What did you do?
Original reproducer credit goes to BenLubar in libera.chat #go-nuts. Basically: Set finalizers on every object in a small program, then run runtime.GC several times.
https://play.golang.org/p/kdX7i36g8TD
Uncomment the creation of "x", and use it in some way, and suddenly all six finalizers run. I originally thought this was size-related, and depended on x being the same size as those objects, but it doesn't seem that's the case.
What did you expect to see?
All finalizers.
What did you see instead?
All finalizers but the first one.
Allocating anything else before this makes them all show up. I don't have the tooling handy to tell immediately whether the issue is that the first item isn't getting collected, or that the finalizer for it isn't running, but I'm pretty sure the finalizers should run.
Behavior not affected by moving the allocations into another function or other things like that.

This seems like an issue with package log, not the compiler or runtime.
See this variation on your test program: https://play.golang.org/p/e0fNmJ5YOZ7
It uses println and fmt.Println to print the same message, but also has run-time disabled logic for calling log.Println. All of the objects are successfully garbage collected when println and fmt.Println are used, but they're retained when log.Println is also used.
It's also not an escape analysis issue, because we don't currently do any optimizations to detect global variables that are never reassigned.
I would check if package log has any slices where it buffers use data values, and maybe it needs to zero them out after use to avoid retaining objects.

It does retain a bytes.Buffer, see https://github.com/golang/go/issues/46285

@andig Sorry, I don't follow. Package log doesn't use bytes.Buffer, except in its unit tests.

running with just println and not log.Println or fmt.Println i still see the issue, though the reproducer isn't stable, run multiple times, sometimes it GCs everything and sometimes it misses one usually the first one

@seankhliao Thanks, I see that too now. I forgot about the Go playground caching program output.

Minimized test case: https://play.golang.org/p/SAXVXDVr-Ae
It fails often, but not 100% reliably.
However, it reliably passes if import _ "reflect" is removed or even replaced by blank imports of reflect's imported packages. So it seems like something in package reflect's package initialization is affecting finalization.

This seems like a GC issue, though I can't explain the sensitivity to importing "reflect". /cc @mknyszek

It fails often, but not 100% reliably.

FWIW, I tried it locally 50 times. It passed always. :man_shrugging:

@andig Sorry, I don't follow. Package log doesn't use bytes.Buffer, except in its unit tests.

Sorry for the confusion, replied to quickly. Log has byte slice for assembling log output that it reuses.

FWIW, I tried it locally 50 times. It passed always.

Interesting. Can you share any more details about your test system? I just double checked again with my system Go version, and it failed 680 out of 1000 runs.
$ /usr/lib/google-golang/bin/go version
go version go1.16.3 linux/amd64
$ uname -a
Linux mdempsky 5.10.28-1rodete2-amd64 #1 SMP Debian 5.10.28-1rodete2 (2021-05-12) x86_64 GNU/Linux

Sorry for the confusion, replied to quickly. Log has byte slice for assembling log output that it reuses.

Byte slices don't have pointers. Something would have to be really, really broken for a byte slice to prevent other objects from being garbage collected.
Anyway, package log appears to have been a red herring. The issue can be reproduced without it.

13:37:03-~/play$gotip version
go version devel go1.17-b73cc4b02b Sat Jun 19 00:46:21 2021 +0000 linux/amd64
13:37:07-~/play$uname -a
Linux agniva-x1 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

@agnivade Thanks. I just tried with my Go 1.17 branch checkout, and it's reliably passing for me too. So maybe we independently fixed this issue for Go 1.17 already. (My Go 1.17 checkout was in the middle of a messy rebase earlier, so I didn't trust it for testing.)
If anyone has time/interest, it would great if someone could confirm that the test program fails for them with Go 1.16, and maybe do a bisect to identify what CL fixed it.

On 1.16.4 linux/amd64, I see ~30% failures with the original reproducer, but never with https://github.com/golang/go/issues/46827#issuecomment-864462001:
zephyr@brandenbedoingthelinux:~$ cat ./finalizer.go
package main

import (
	"runtime"

	_ "reflect"
)

func main() {
	done := make(chan struct{})

	var r int
	runtime.SetFinalizer(&r, func(*int) {
		close(done)
	})

	for try := 0; try < 10; try++ {
		select {
		case <-done:
			return
		default:
			runtime.GC()
		}
	}

	panic("did not finalize")
}

zephyr@brandenbedoingthelinux:~$ for i in {1..1000}; do go run ./finalizer.go; done
zephyr@brandenbedoingthelinux:~$ go version
go version go1.16.4 linux/amd64
zephyr@brandenbedoingthelinux:~$ uname -a
Linux brandenbedoingthelinux 5.11.0-7614-generic #15~1622578982~20.10~383c0a9-Ubuntu SMP Wed Jun 2 00:54:41 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Hm, also interesting. Does it make a difference if you add the "log" import back (e.g., as _ "log")?
(Also, you might consider running go build finalizer.go once outside the loop, and then just running ./finalizer inside of it.)

It does not reproduce just with adding a blank import for log, but it sporadically does with a use of log: https://play.golang.org/p/TC4R7_VU6un

The reproducer that uses log also fails occasionally on tip:
zephyr@brandenbedoingthelinux:~$ go version ./finalizer
./finalizer: devel go1.17-b73cc4b02b Sat Jun 19 00:46:21 2021 +0000
zephyr@brandenbedoingthelinux:~$ ./finalizer
zephyr@brandenbedoingthelinux:~$ ./finalizer
zephyr@brandenbedoingthelinux:~$ ./finalizer
panic: did not finalize

goroutine 1 [running]:
main.main()
	/home/zephyr/finalizer.go:31 +0x10e

I see it both with 1.16.5 and tip with https://github.com/golang/go/issues/46827#issuecomment-864462001
main » uname -a
Linux eevee 5.12.8-arch1-1 #1 SMP PREEMPT Fri, 28 May 2021 15:10:20 +0000 x86_64 GNU/Linux

main » go1.16.5 version
go version go1.16.5 linux/amd64

main » go1.16.5 build -a

main » ./testrepo-489

main » ./testrepo-489
panic: did not finalize

goroutine 1 [running]:
main.main()
	/home/arccy/tmp/testrepo-489/main.go:26 +0x130

main » gotip version
go version devel go1.17-b73cc4b Sat Jun 19 00:46:21 2021 +0000 linux/amd64

main » gotip build -a

main » ./testrepo-489
panic: did not finalize

goroutine 1 [running]:
main.main()
	/home/arccy/tmp/testrepo-489/main.go:26 +0xd8

main » ./testrepo-489

Seems specific to Linux, as I can't reproduce this on Apple M1, both with go1.16 and gotip.

Running with allocfreetrace and comparing a few good/bad runs might help identify the culprit.

type ref uint64

Aren't objects smaller than maxTinySize (16 bytes) still using block allocations, preventing individual objects from being immediately collected until all objects in the block are unreachable?

I haven't had a chance to look too closely, but as @CAFxX points out, any object not containing pointers that is < 16 bytes in size has its lifetime potentially shared with other allocations (they are allocated in a 16 byte block). Which allocations are end up in the same block depends on so many factors (goroutine scheduling, OS scheduling, etc.) that I wouldn't be surprised if an import causes some init function, which makes some tiny allocation, and now the finalized object is bound to it.
To the letter, I think this behavior still agrees with SetFinalizer's documentation, but it's subtle. If you just had a finalizer on something that was just a file handle (a uint32 or something) then this could be problematic. The workaround here is to add padding to your type so that it gets its own object slot, but that's kind of annoying. I wonder if there's anything we can do to help with this without losing the memory use/performance benefits of grouping tiny objects in this way.

Oof, right, I forgot about the tiny allocator. I agree that seems to explain everything seen, and the suggestion of bumping up the allocation size to at least 16 bytes should help with it.

Closing the issue because it seems like things are working as intended, and there's no obvious action to take.
But if anyone thinks there's something concrete to do here within the runtime, speak up and/or reopen the issue. Thanks.

I feel like there might be a doc bug here but I also feel like it's pretty clearly established that there's no general guarantee that a finalizer is ever reached. It seems like a sort of weird special case that tiny objects would be more vulnerable to this, and I'm sure someone could make it behave badly, but... there's pretty decent warnings already.
Sorry for the belated response, I apparently missed any earlier notifications, but I'm fine with this being closed as-is.

@seebs I think a paragraph warning about SetFinalizer's semantics on objects allocated with the tiny allocator seems reasonable. If someone wants to send a CL for that, that would be great. Please send to me, @mknyszek, and @ianlancetaylor. Thanks.

I just thought of a messy special case for this; imagine for some reason a pair of objects, both small enough to get into tiny allocator blocks, such that one of them controls (but doesn't just contain) a reference to the other, so when the first one is finalized, it eliminates the sole reference to the other. As long as the allocations are separate, the GC will eventually free them, but if they end up in the same tiny allocator block, you actually just get stuck forever; the finalizer won't ever run, because the finalizer is what would have removed the reference to the other thing in that block. I wonder whether this could actually happen, but my intuition would be that "object and the small thing it's referring to get allocated right next to each other" might be common.

https://play.golang.org/p/1qSh5EY_mzU
In which _ [0]int in a struct changes whether or not a finalizer runs (???!)

[0]int at the end of a struct makes it one byte bigger. (So a pointer to that field does not point to the next object in memory.)


Slowness on resource loading

https://unpkg.com/monaco-editor/min/vs/editor/editor.main.nls.js
Took 1.7 min to load, and it's not getting better.
Any known issue right now?

I've noticed this as well, the redirects are brutal sometimes. Seen it regularly go over 10s on a fast internet connection.
Only the unpkg redirect is "stuck"

same happens to me with vue3 loading time

Consider switching to jsDelivr https://www.jsdelivr.com/unpkg
It's actively being developed and has been for the last 10 years

worked perfectly. Thanks


How can I test you poc?

Hi Kushagra Ojha,
Can I test you code?
How RCE?

you need to provied target ip in poc.py and port then run poc.py

just and then run it

Thank you!
But I can't understand what code your poc execute.
I want to meet you on telegram or skype!
Is it possible?
I'm learning security technology now.


Memory issue

We use Faker in Jest tests and also yup-schema-faker.
Thanks to this, we need to optimise instantiation of Faker for lower memory usage and faster execution.
With this in mind, we would like to pass Faker instance to yup-schema-faker to not let instantiate all locales inside of this library.
Proposal:
import {faker} from '@faker-js/faker/locale/en';
install(faker);

Faker-js is here as peerDependency - we don't need to load it inside.

Thank you @iendeavor , with this fix, our memory usage went from 800 MB to just 420 MB during Jest tests execution and also we saved like 10-20% of execution time.
🎉🎉🎉


XCDYouTubeKit in UICollectionViewController

Hi,
I'am trying to display a video inside the first item in a UICollectionViewController.
As it is not a TableView but a CollectionView, there is no "tableHeaderView" so I can not use the solution described here : https://github.com/0xced/XCDYouTubeKit/issues/35
I know it is not ideal but I have to display this video here and if the user scrolls and comes back the video has to continue.
I tried this design without success (in Swift 3) :
1/ I create a UIView : let videoView = UIView()
2/ I instantiate a XCDYouTubeController and I present it in the UIVIew (presentInView:videoView)
3/ Then in cellForItemAt: I assign the cell view to my view : videoView = cell.videoView
It does not show at all as I think it "is presenting" not added as a subview.
Any clues ?
import UIKit
import XCDYouTubeKit

class CollectionViewController: UICollectionViewController {

    var candies = ["Chocolate Bar", "Chocolate Chip", "Dark Chocolate", "Lollipop", "Candy Cane", "Jaw Breaker", "Caramel", "Sour Chew", "Gummi Bear", "Chocolate Bar", "Chocolate Chip", "Dark Chocolate", "Lollipop", "Candy Cane", "Jaw Breaker", "Caramel", "Sour Chew", "Gummi Bear"]
    var videoContainerView = UIView()

    override func viewDidLoad() {
        super.viewDidLoad()

        videoContainerView.backgroundColor = UIColor.cyan
        let videoPlayerViewController = XCDYouTubeVideoPlayerViewController(videoIdentifier: "eX3u0IlBBO4")
        videoPlayerViewController.present(in: videoContainerView)
        videoPlayerViewController.moviePlayer.play()
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
    }

    // MARK: UICollectionViewDataSource

    override func numberOfSections(in collectionView: UICollectionView) -> Int {
        return 2
    }

    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
        if section == 0 {
            return 1
        } else {
            return candies.count
        }
    }

    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
        let section = indexPath.section
        if section == 0 {
            let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "CellWithVideo", for: indexPath) as! CellWithVideo
            videoContainerView = cell.videoView
            return cell
        } else {
            let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "OtherCell", for: indexPath) as! OtherCell
            return cell
        }
    }

}

class CellWithVideo: UICollectionViewCell {
    @IBOutlet weak var videoView: UIView!
}

class OtherCell: UICollectionViewCell {

}

The problem is not with XCDYoutubeKit it's with your code.
The problem is here videoPlayerViewController.present(in: videoContainerView)
The videoContainerView property is being set when this function is being called collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath).
That function is only called when reloadData: is called on UICollectionView instance. This automatically happens when a viewController is loaded.
However, you are setting the property in viewDidLoad: which is called way before reloadData: is called.
The solution is to either call reloadData: before you set the variable in viewDidLoad, or, set the variable in collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath).
I would probably recommend going with the former


Update Vitruvius NuGet package with latest Kinect v1 version

It seems the https://www.nuget.org/packages/Vitruvius/ package has older version of the Kinect v1 library, that is it doesn't contain the WPF control
I guess the https://www.nuget.org/packages/lightbuzz-vitruvius/ version is for Kinect v2 only
is it possible to update the Kinect v1 NuGet package and also add some note at the above two URLs that says for which Kinect sensors each NuGet package is?

the Kinect v1 package version on NuGet is very old, from 2013
https://www.nuget.org/packages/Vitruvius/

btw, would be nice to also have NuGet subfolder under Kinect v1 and Kinect v2 folders with the respective .nuspec files. I also keep .nupkg files in such folders and have a .gitignore rule for *.nupkg so that only the .nuspec files get published

see my comment at the end of this Pull Request - https://github.com/LightBuzz/Vitruvius/pull/17
After pulling in you can open the Kinect V1 solution, rebuild all (for RELEASE configuration)
Then install NPE (http://npe.codeplex.com - has a ClickOnce installer) and just open the .nuspec file under Kinect v1\NuGet folder and do File\Publish to update the old NuGet package for Kinect v1 (I've imported the old one from nuget.org using NPE, updated the semantic version to 1.1.0 from 1.0.1, added missing WinForms DLL and placing targeting files at lib\net40\ instead of lib)
NPE does check if there are any missing files referenced by the .nuspec metadata file, so you can't have any broken patch by accident.

note, I've also updated the .gitignore file to ignore .nupkg files, since the pattern I use is to have a NuGet.nupkg subfolder under my NuGet folder, where I Save (using File/Save of NPE) all .nupkg files ever published for the .nuspec file (NPE can even download the current .nupkg file and save it there). NPE nicely adds the semantic version as a suffix the the .nupkg filename
So my steps after editing a .nuspec file are:

open the .nuspec from NuGet folder with NPE
do File\Publish (enter password)
do File\Save to NuGet\NuGet.nupkg subfolder

I've also added a NuGet subfolder to the Kinect V1 solution for easier editing and checking-in of its .nuspec file
didn't do similar for the Kinect v2 solution, since its .nuspec has lots of files and it's better if you use your original version of it instead of me importing and adapting its filepaths


Character length and other bugfixes

Description

Removing min and max character length for description and other Hackathon form fields because they are not necessary any more
Fixing template tag which displays incorrect hackathon status
Adding some error logging
Adding a message when there are no teams distributed yet on the "Assign Mentor" page

Pull request type

[ ] #M01 (Miscellaneous User Story #01)
[ ] #P02 (Participant User Story #02)
[ ] #S03 (Staff User Story #03)
[ ] #A04 (Admin User Story #04)
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

LGTM but I won't do the normal "review". We can let @JimLynx attempt this one, it's fairly straightforward.
I like the additional touch on assign_mentors.html that you added if the teams haven't yet been distributed! 👍🏻


Update api-management-howto-mutual-certificates-for-clients.md

client cert auth through App gateway requires different approach.

#sign-off


Fix robot scoping

@davesade when you have a moment, let me know if this fixes #6.
Hubot tends to blow away symlinks when starting up so the easiest way to test this branch is probably to edit your bot's package.json to read "hubot-lgtm": "catops/hubot-lgtm#fix-scope" and rm -rf your node_modules directory before starting the bot.

👍 I'm gonna merge it anyway and do a minor bump because IMHO it's an improvement.


graph comparison

Can you provide a link or a description of the algorithm used to compare/align two graphs? Is it based on the tokens and spans?

A description of the algorithm is given in our paper which we can't post publicly yet. I can DM you the paragraph on it. The algorithm is quite simple so looking at it should give a general idea.


Fix variables that seem to not be modified to consts.

Based on this when I pointed out this to be const but it was too late, it was merging soon: https://github.com/tensorflow/tensorflow/pull/25269#discussion_r252492749
Please guide me incase I can make this even better.

Yay for const!

Thanks =P, Glad someone else is also as happy as me to see const.


Suppress Psych.safe_load arg warn when using Psych 3.1.0+

This PR suppresses the following Psych.safe_load args warn when using Psych 3.1.0 (Ruby 2.6+).
% bundle exec rake spec
(snip)

/Users/koic/src/github.com/intridea/hashie/lib/hashie/extensions/parsers/yaml_erb_parser.rb:22:
Passing permitted_classes with the 2nd argument of Psych.safe_load is
deprecated. Use keyword argument like Psych.safe_load(yaml,
permitted_classes: ...) instead.
/Users/koic/src/github.com/intridea/hashie/lib/hashie/extensions/parsers/yaml_erb_parser.rb:22:
Passing permitted_symbols with the 3rd argument of Psych.safe_load is
deprecated. Use keyword argument like Psych.safe_load(yaml,
permitted_symbols: ...) instead.
/Users/koic/src/github.com/intridea/hashie/lib/hashie/extensions/parsers/yaml_erb_parser.rb:22:
Passing aliases with the 4th argument of Psych.safe_load is
deprecated. Use keyword argument like Psych.safe_load(yaml, aliases:
...) instead

Thanks! See CHANGELOG complaint above.
Maybe refactor this so that the if ... happens outside the execution path?
          if Gem::Version.new(Psych::VERSION) >= Gem::Version.new('3.1.0') # Ruby 2.6+
            def load(...)
            end
          else
            def load
          end

This way it's evaluated once.

I updated this PR. Thanks for your review comment!

👍

If you feel motivated, we could use a change that forces the build to fail if any warnings are emitted (+ fixes for any warnings still emitted).

Yeah, I will open a PR(s) when I'm ready to suppress other Ruby's warnings.
The build process improvement looks good to me. However, please wait a moment for the change in the build process to prevent false positives on other PR builds. Thanks for your kindness!

Thanks for your help @koic


Hostname validation doesn't allow for empty strings

Right now the validation webhook denies empty strings for the Hostname field.
We should use the apimachinery/pkg/util/validatio instead of regex.

/kind bug


Feat/query runner

Overview

Adds the QueryRunner component

Demo

Notes
This PR does not implement

Accessibility
Localization
Support for POST, PATCH, DELETE & PUT
Authentication

The features named above are not necessary for the prototype. They will be included when we start working towards the MVP.
Testing Instructions

Pull the changes
Run npm install
Run npm test to makes sure all tests pass
Click on the Run Query button
Open your console to see the result

Fixes
#5
#1
#20
#4

Merging this. @darrelmiller mentioned that he thought he had approved this.


feat: move attestation committee at the end of attestation

Move committee bit at the end of Attestation container.
Spec PR: https://github.com/ethereum/consensus-specs/pull/3768

:tada: This PR is included in v1.22.0 :tada:


CHEBI:18362, the current structure is wrong

Hi,
The structure of CHEBI:18362, 17-O-deacetylvindoline has an error in the stereo configuration of C11 (IUPAC numbering according to http://www.chem.qmul.ac.uk/iubmb/enzyme/reaction/alkaloid/alknos/vindol.html).
The bond should go up not down. I have attached the correct structure as mol file.
CHEBI_18362.txt
Cheers,
Kristian

Now corrected.
Cheers,
Gareth


Ideas to simplify the generative model for variant data

Why this issue?
In f2f discussion, we talked about the difficulty in having a generative model for both weekly hospitalisation and bi-weekly variant frequencies simultaneously. There are a few possible reasons why this is hard to achieve, for example, the variant frequencies are from a region and might not represent the local dynamics of a state.
On the other hand, the intrinsic dynamics of the model requires new variants as the primary mechanism whereby a new wave is trigger; that is the mechanistic assumption is that new waves are primarily driven by immunity loss.
Simpler generative models for variants
We need a model for the arrival of a new variant because its intrinsic to the dynamics, but we can simplify what this model is generating.
The simplest model I can think of that gives us what we need for the dynamics, and connects to the data, has these features:

Each variant $v = 1, 2, 3, 4,...$ arrives sequentially in the model at time $T_v$ with interval times $T_{v+1} - T_v \sim \text{Exp}(\lambda_{nv})$ where $\lambda_{nv}$ is a baseline rate of new variant arrival.
At the $T_v$ point we add a new variant:

Generate $\chi_{i,v}$ for $i < v$ for the cross-immunity of the new variant with the older variants (I think we have some prior for this already?).
Set an initial number of infected people with the new variant (I think we have some prior for this already?).

We need to define what an arrival of a new variant looks like in the data. This could be something like first time the variant frequency hits some value (e.g. 5%) with some growth rate (maybe?). Then we can assign a time to each variant invasion in the data (for each region): $T_{\text{obs},v}$.
The residual between the data invasion time and the model invasion time could be just Normal:

T_{\text{obs},v} - T_v \sim \mathcal{N}(0,~ \sigma_{nv}).

We can probably assume that no variant is just missed in the data; therefore, for looking backwards for parameter inference we set the number of variant as the number observed in the data. Projecting forwards I think mostly we'll want to condition on the variant outcomes (e.g. as defined scenarios).

Adding options: We could consider the Dirichlet-multinomial which is like the "noisey" version of the multinomial.

Fitting on the early growth rate (rather than introduction time)
Another alternative discussed f2f. Instead, of i) fitting on the full variant frequency time series or ii) just the introduction time (see above), we could connect the early exponential growth in new variant freq to growth in the hospitalisation following from the new variant.

I really like all of these ideas (though noting I don't have a totally clear view of what is in currently).
A few comments:

we could connect the early exponential growth in new variant freq to growth in the hospitalisation following from the new variant.

Fitting to the early exponential growth seems like a strong option. The caveat here is that often the early growth is higher than the long run growth due to biased sampling etc.

n the other hand, the intrinsic dynamics of the model requires new variants as the primary mechanism whereby a new wave is trigger; that is the mechanistic assumption is that new waves are primarily driven by immunity loss.

It sounds like possible model fit times are coming from model data mismatch. Could it also be the case that the current model is too rigid (especially if it is making hard assumptions about the link between variants and waves). Perhaps adding a little more flexibility here could help without major model changes (if this isn't the case it will just further slow things down as the model will be more complex)

It sounds like possible model fit times are coming from model data mismatch. Could it also be the case that the current model is too rigid (especially if it is making hard assumptions about the link between variants and waves)

Yes, I think this is a problem which has been revealed in posterior predictive plotting (sorry I don't have a link as I've only seen them f2f).

An extra consideration is that whilst the hospitalisation data is specific to the modelling scale (that is state level). The variant freq data is actually pooled across CDC region, I think this underlines that a more flexible generative approach would be a good idea here.

#itssorandom


[Xcode 15-Beta] - The signature of “JRE.xcframework” cannot be verified

Hi all.
New WWDC new problems!
When I try to run the app that contains the JRE.xcframework, the new Xcode shows me this error:
Codesign verification failed
They must surely have introduced some new flag that is not known.
(I'm not alone: https://developer.apple.com/forums/thread/730955)
Thanks for your help!

Are you building j2objc as part of your app build, or using a pre-built release? We're going to release a new version once the JRE update is finished, as the current version is likely out-of-date.

Basically I followed what I had answered some time ago here!
Then I integrated the xcframework into the project.
They probably added some new flag for:
xcodebuild clean archive ...

In fact it works with Xcode 14 and it doesn't work with Xcode 15

Following the Apple WWDC:
https://developer.apple.com/documentation/Xcode/verifying-the-origin-of-your-xcframeworks
or
https://developer.apple.com/videos/play/wwdc2023/10061/
which simplifying
xcodebuild -create-xcframework [...] -output <YOUR.xcframework>
codesign --timestamp -v --sign "<YOUR CERTIFICATE (ABCXYZ)>" "<YOUR.xcframework>"

Yup seeing the same issue. Trying to manually code sign it causes the error:
JRE.xcframework: bundle format unrecognized, invalid, or unsuitable

@tomball Any updates on this?

No, I don't have a personal certificate, don't have any access to a Google-wide one, and will be retiring soon. @litstrong (j2objc's project lead), do you have any update?
One of you can contribute a fix, as the xcodebuild -create-xcframework command is in the short gen_xcframework.sh script. Since the certificate is personal and shouldn't be checked into any project, I suggest supporting a shell environment variable that defines it, then update the script to reference that variable.

Ack, sorry for my late response.
Just start to pick this up, let me take a look and will respond by next week.

Per Tom mentioned, the solution here is to update scripts (gen_xcframework.sh, etc.) to take personal certificate to bless the framework post Xcode15.
Given personal certificate is required, that means after Xcode15, we'll stop distributing frameworks but providing the above mentioned scripts.
@dsanghan Could you clarify "manually code sign it"? Did you run codesign --timestamp -v --sign "<YOUR CERTIFICATE (ABCXYZ)>" "<YOUR.xcframework>" and get the error?

@litstrong Yup I'm running security find-identity -v -p codesigning to get the correct certificate - then running codesign --timestamp -v --sign "<cert id>" "JRE.xcframework"
It returns JRE.xcframework: bundle format unrecognized, invalid, or unsuitable

Same issue as @dsanghan unfortunately. Xcode 15 just entered GM build phase, so this is going to be live all next week

"bundle format unrecognized, invalid, or unsuitable" is not one of the known errors in https://developer.apple.com/documentation/Xcode/verifying-the-origin-of-your-xcframeworks and I found someone suggesting folder structure might be to blame..

@mungler was able to get this fixed: https://github.com/google/j2objc/issues/2169#issuecomment-1719620864
@dsanghan
The problem was indeed folder structure.

Super! Thanks @bryan1anderson

I'm preparing a PR with the fix now...

Ok, I have some hoops to jump through before im allowed to contribute a PR, but here is the relevant change: https://github.com/google/j2objc/pull/2174/files

@mungler thanks you were definitely the champ of my day. This is not an area of our project any of us like getting into and I made the stupid decision to plunge into Sonoma and couldn't use Xcode 14 as a result.

@bryan1anderson funnily enough, i've been wanting to upgrade too, but couldn't until we could build our app project 👍
Glad it helped somebody else in the process :)

Thanks @mungler!

Fixed by PRs #2175 and #2181
This issue should be closed now.

@litstrong FYI


Create an experience for configuring conventional routes

From @rynowak on Wednesday, September 27, 2017 12:07:50 PM
Copied from original issue: aspnet/Routing#456

Closing as irrelevant


Added new link color and applied to links to fix issue #41

fixes #41

Nice fix, thanks :D
Do not hesitate to ask if you have any questions or thoughts :)
If you want to try out changes locally you can install docker and run ./local_start.sh, it will pretty much be exactly the same as deployed later (it will 404 until the html has been generated, just be patient).


Linux build error of ‘exchange’ is not a member of ‘std’

-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0

Vulkan-Samples/framework/core/vulkan_resource.h: In constructor ‘vkb::core::VulkanResource<THandle, Device>::VulkanResource(vkb::core::VulkanResource<THandle, Device>&&)’:
Vulkan-Samples/framework/core/vulkan_resource.h:102:25: error: ‘exchange’ is not a member of ‘std’
  102 |             handle(std::exchange(other.handle, VK_NULL_HANDLE)),
      |                         ^~~~~~~~

Sent a pr here: https://github.com/KhronosGroup/Vulkan-Samples/pull/1011

Already fixed by https://github.com/KhronosGroup/Vulkan-Samples/pull/984 merged a few hours ago.


[Bug Report]: Databricks Workspace test hardcoded value for AzureDatabricks Enterprise app object ID

Describe the bug
The Object ID for the AzureDatabricks Enterprise app is hardcoded HERE. This value is different in each tenant. Therefore it should be tokenized in the settings.yml file
To reproduce
When the repo is forked, the databricks pipeline will fail out of the box because this Object Id is incorrect.

Code snippet
No response
Relevant log output
No response

Just migrated this issue from CARML and it's still very much relevant in AVM.
However - the implementation changed slightly in that we moved the value into the main.test.bicep file to make it more obvious and easier to maintain (as opposed to be hidden away in some nested dependencies file). Ideally we'd be able to fetch the value, but MSIs don't have the permissions to fetch Entra ID information.
To this end, I don't think we can actually solve it - unless we'd add it as a secret to the environment. But as it's very test specific, I'm not sure that's a good idea either.
One last thought: I guess what we could think about is introducing a general task to the deployment pipeline that fetches IDs we know we need and makes them available as tokens. This would take care of that issue, even though it would require new code for every other ID we need (- like the 2 or 3 we know of today). It should be implemented in a way that the value is only fetched if a specific resource type (e.g. in this case for databricks) is targeted to not waste runtime.
The caveat: The service principal would need to be able to fetch this kind of information. However, I do believe this is possible by default.
@eriqua / @ChrisSidebotham what are your thoughts?

@AlexanderSehr I encountered this as well when creating the PR for Databricks. It might be overengineering but using readEnvironmentVariable will fix this issue, will prevent having to change any current CI, and will not cause any backwards compability issues as we can keep the default:
databricksApplicationObjectId: readEnvironmentVariable('databricksApplicationObjectId', '711330f9-cfad-4b10-a462-d82faa92027d') // Tenant-specific 'AzureDatabricks' Enterprise Application Object Id

Anyone in their FORK can set their env variable in the settings (or locally on their machine) without having to change this while developing and change it back last commit to let the test pass on main here.
https://docs.github.com/en/actions/learn-github-actions/variables#creating-configuration-variables-for-a-repository

Tagging @clintgrove for awareness

@AlexanderSehr I encountered this as well when creating the PR for Databricks. It might be overengineering but using readEnvironmentVariable will fix this issue, will prevent having to change any current CI, and will not cause any backwards compability issues as we can keep the default:
databricksApplicationObjectId: readEnvironmentVariable('databricksApplicationObjectId', '711330f9-cfad-4b10-a462-d82faa92027d') // Tenant-specific 'AzureDatabricks' Enterprise Application Object Id

Anyone in their FORK can set their env variable in the settings (or locally on their machine) without having to change this while developing and change it back last commit to let the test pass on main here. https://docs.github.com/en/actions/learn-github-actions/variables#creating-configuration-variables-for-a-repository

Hey @donheerschap,
it's fundamentally a good idea, but I'm not sure how well GH will play with this as I believe one has to pass secrets explicitely to make them available.
I can't recall right now where I commented it, but somewhere I was suggesting a more generic approach that adds a few lines of code to the deploymentValidation action which looks for secrets with a certain prefix and passes them into the deployment as secure() main.test.bicep parameters (if the given template has such a parameter). This would also mean we don't need any additional changes to the CI (after this change of course) and would not have 'magic values' in the templates (i.e., values that are referenced but where it's hard to know where they actually came from as there was no parameter etc.).
Thoughts?

@AlexanderSehr  I think we actually completed this right? Its the keyvault idea and storing this OBjectID in there, everyone who deploys has to have their own keyvalut with this app id set there. So we can close this?

That is true. Thanks for calling this out @clintgrove. Closing...
@donheerschap, the solution we implemented is defined here.


Incorrect listener readiness reporting

In the process of debugging #11826 , I found that the usual stats for readiness are mis-leading. It can happen that the initial init manager finishes initializing (LDS/CDS accepted, processed, and active), yet the connections will be refused. This is because there is a delay between when init manager finishes and the workers start accepting traffic. I think this is a problem, since it may lead to pre-mature deployment of a proxy before it is ready to serve traffic.
cc @lambdai

This was discussed https://github.com/envoyproxy/envoy/issues/8321 and added workers_started stat indicate the correct readiness.

I think https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/operations/init.html needs updating. It does not mention that the delay between LDS acceptance and workers starting.

can we unstale this?


Documented and tested Axis

Objective
Fixes #3247
Solution

Added docs to Axis<T>. This one can be extended @alice-i-cecile
Added unit tests
Added min and max values to the struct. @alice-i-cecile Do we need to these variables?
Limited set method usage with min and max values

Added min and max values to the struct. @alice-i-cecile Do we need to these variables?

Upon reflection, I think we should just hard-code these in as -1.0 and 1.0. Exotic controllers (e.g. guitars, XR, tablets, theremins, hamster wheels) would want to use fully un-normalized values where neither min or max exist. Simply hard-coding and documenting the values makes the code simpler to maintain and work with: we can make it configurable if there's a compelling use case.

@alice-i-cecile @MinerSebas  I applied your suggestion about docs. Let me know your opinions about the set method and configuration of min and max. Currently, I don't know exactly how it should be configurable and the proper behavior for the method.

Let me know your opinions about the set method and configuration of min and max. Currently, I don't know exactly how it should be configurable and the proper behavior for the method.

Talked this over a bit more on Discord (and looked at what other engines do): Unity, Unreal and Godot all use the fixed range. Let's hard-code this to [-1.0, 1.0], simplify the code and update the docs to match :)

Talked this over a bit more on Discord (and looked at what other engines do): Unity, Unreal and Godot all use the fixed range. Let's hard-code this to [-1.0, 1.0], simplify the code and update the docs to match :)

Updated the code to match your suggestion. Now it's documented, intervals are hardcoded and set method is updated

bors r+


[BUG] Pressing right mouse button while dragging with left causes box to disappear

Somehow, when I was trying to position Simple Weather at the top left of my screen I accidentally hit right click at the same time, and the box shot off to the left at high speed. Moving the canvas as far as it will go in any direction doesn't find it. A button to reset position would be wonderful. I have been unable to reproduce this on my local Foundry, it happened on a Forge hosted system (Dragonbane). I haven't wanted to try to reproduce it on any other game, as then I won't have Simple Weather for those games either! So I'm suffering with Weather Control for now on Dragonbane, but would love Simple Weather back.
OK to reproduce this: Local Foundry, simply right click on the Calendar box. After that all games will not show the Calendar box. Forge hosted, right click while dragging. This will only make it disappear on the game that you did this on.

OS: Windows 11
Browser Chrome and Edge
Version Foundry V11 Build 313

Note: I have tried uninstalling/reinstalling, uninstalling and then pulling my Foundry version into the Forge as a custom module, but no matter what it remembers the position, wherever that is.

I will look into this ASAP, though at first glance, I can't reproduce it.  Any particular place in the calendar box you're clicking?
You can get your Simple Weather back in the meantime by going into the Chrome/Edge debugger console and entering:
game.settings.set('simple-weather', 'windowPosition', { bottom: 400, left: 100})
Then refresh the browser.  If those instructions don't make sense, let me know, and I'll give more clear ones - not sure your level of technical proficiency.

I'm clicking the top bar where the cursor changes to show you can move it.
Doesn't do it on the open weather box, just the calendar. It may have to
already be in motion when it happens.
My level of technical proficiency is I know exactly how to do what you
said, but wouldn't have known to try that. When I get home I'll be so happy
to have it back.
Thanks!
Sent from my previously owned Pixel 6 Pro 2.
On Mon, Oct 30, 2023, 15:58 Dov Rosenberg @.***> wrote:

I will look into this ASAP, though at first glance, I can't reproduce it.
Any particular place in the calendar box you're clicking?
You can get your Simple Weather back in the meantime by going into the
Chrome/Edge debugger console and entering:
game.settings.set('simple-weather', 'windowPosition', { bottom: 400, left:
100})
Then refresh the browser. If those instructions don't make sense, let me
know, and I'll give more clear ones - not sure your level of technical
proficiency.
—
Reply to this email directly, view it on GitHub
https://github.com/dovrosenberg/foundry-simple-weather/issues/28#issuecomment-1786110972,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDOCI4G3XQLNUUBLM4YQYNDYCAPGTAVCNFSM6AAAAAA6WI3WPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGEYTAOJXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

You'd have no reason to know. It stores the location in a hidden setting (module-specific), so that code will overwrite the setting and then reposition it when it reloads after the refresh. Let me know if you have trouble.

Ok, just got it back on my local Foundry, and yes it already has to be in
motion before you accidentally right click, at which point it goes zooming
off to the left again.
My apologies for saying that all you have to do is right click.
You'd certainly have no reason to expect a player having a low blood sugar
issue would tremble and accidentally right click while dragging an
element...
Sent from my previously owned Pixel 6 Pro 2.
On Mon, Oct 30, 2023, 16:50 Dov Rosenberg @.***> wrote:

You'd have no reason to know. It stores the location in a hidden setting
(module-specific), so that code will overwrite the setting and then
reposition it when it reloads after the refresh. Let me know if you have
trouble.
—
Reply to this email directly, view it on GitHub
https://github.com/dovrosenberg/foundry-simple-weather/issues/28#issuecomment-1786167986,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDOCI4DHIHRUISKHS27RMYDYCAVKHAVCNFSM6AAAAAA6WI3WPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGE3DOOJYGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Fixed in v1.5.3

Ok, worked in one game hosted on the Forge, then I noticed you'd updated
already to fix the issue, so I updated, tested on local Foundry, and when I
went to do my next game on the Forge, I get this error in the Console after
inputting your code (so it's still missing on the second game):
foundry.js:3322 Uncaught (in promise) Error: This is not a registered game
setting
at ClientSettings.set (foundry.js:3322:42)
at :1:15
One other thing I've noticed, is that my set up is to have "Open on Load"
unchecked in Simple Calendar, and then Simple Weather doesn't appear until
Simple Calendar is opened. Wasn't sure if that was by design or not.
On Mon, Oct 30, 2023 at 5:00 PM @.*** @.***>
wrote:

Ok, just got it back on my local Foundry, and yes it already has to be in
motion before you accidentally right click, at which point it goes zooming
off to the left again.
My apologies for saying that all you have to do is right click.
You'd certainly have no reason to expect a player having a low blood sugar
issue would tremble and accidentally right click while dragging an
element...
Sent from my previously owned Pixel 6 Pro 2.
On Mon, Oct 30, 2023, 16:50 Dov Rosenberg @.***>
wrote:

You'd have no reason to know. It stores the location in a hidden setting
(module-specific), so that code will overwrite the setting and then
reposition it when it reloads after the refresh. Let me know if you have
trouble.
—
Reply to this email directly, view it on GitHub
https://github.com/dovrosenberg/foundry-simple-weather/issues/28#issuecomment-1786167986,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDOCI4DHIHRUISKHS27RMYDYCAVKHAVCNFSM6AAAAAA6WI3WPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGE3DOOJYGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Um never mind, I didn't have the module on (sneaks away embarrassed).
On Mon, Oct 30, 2023 at 5:49 PM @.*** @.***>
wrote:

Ok, worked in one game hosted on the Forge, then I noticed you'd updated
already to fix the issue, so I updated, tested on local Foundry, and when I
went to do my next game on the Forge, I get this error in the Console after
inputting your code (so it's still missing on the second game):
foundry.js:3322 Uncaught (in promise) Error: This is not a registered game
setting
at ClientSettings.set (foundry.js:3322:42)
at :1:15
One other thing I've noticed, is that my set up is to have "Open on Load"
unchecked in Simple Calendar, and then Simple Weather doesn't appear until
Simple Calendar is opened. Wasn't sure if that was by design or not.
On Mon, Oct 30, 2023 at 5:00 PM @.*** @.***>
wrote:

Ok, just got it back on my local Foundry, and yes it already has to be in
motion before you accidentally right click, at which point it goes zooming
off to the left again.
My apologies for saying that all you have to do is right click.
You'd certainly have no reason to expect a player having a low blood
sugar issue would tremble and accidentally right click while dragging an
element...
Sent from my previously owned Pixel 6 Pro 2.
On Mon, Oct 30, 2023, 16:50 Dov Rosenberg @.***>
wrote:

You'd have no reason to know. It stores the location in a hidden setting
(module-specific), so that code will overwrite the setting and then
reposition it when it reloads after the refresh. Let me know if you have
trouble.
—
Reply to this email directly, view it on GitHub
https://github.com/dovrosenberg/foundry-simple-weather/issues/28#issuecomment-1786167986,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDOCI4DHIHRUISKHS27RMYDYCAVKHAVCNFSM6AAAAAA6WI3WPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGE3DOOJYGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Handle enter properly inside figure_caption

https://trello.com/c/TtZwOWS1/315-figure-caption-error

Better version: https://github.com/katalysteducation/cnx-designer/pull/29


command not found: xsel -ob

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I've changed my yt-dlp's zsh configuration and now I get the following error:
❯ ytvp
[3] 2988691
[4] 2988692
ytvp:8: command not found: xsel -ob

[4]  + 2988692 exit 2     $yt_dlp $opts --output  >> "/tmp/$LOG_NAME" 2>&1
[3]  + 2988691 exit 2     $yt_dlp $opts --output  "$($paste)" >> "/tmp/$LOG_NAME" 2>&1

The log shows:
yt-dlp: error: no such option: --continue
  --no-overwrites
  --no-post-overwrites
  --verbose
  --restrict-filenames
  --retry-sleep fragment:exp

Why is it treating all options as a single one?
I've tried running the paste command on its own and it works fine.
How do I fix this error?
This is my configuration now
opts="--continue
  --no-overwrites
  --no-post-overwrites
  --verbose
  --restrict-filenames
  --retry-sleep fragment:exp=2:64
  --print-to-file"

if [ -f /usr/local/bin/youtube-dl ]; then
  yt_dlp="/usr/local/bin/yt-dlp"
else
  yt_dlp="$(which yt-dlp)"
fi

# If using Mac
if [[ "$(uname -a | awk '{print $1}')" == "Darwin" ]]; then
  paste="pbpaste"
  opts="${opts} --ffmpeg-location /usr/local/bin/ffmpeg"
else # If using Linux
  paste="xsel -ob"
fi

sanitize_linux_filename() {
  echo "$1" | sed -e 's/[^a-zA-Z0-9._-]/_/g'
}

get_log_name() {
  TIMESTAMP=$( date +%y%m%d%H%M%S )
  NAME=$( sanitize_linux_filename "$1" )
  echo "yt-dlp_${TIMESTAMP}_${NAME}.log"
}

# Video Playlist
ytvp() {
  LOG_NAME=$( get_log_name "$1" )
  opts="${opts}
    --format '(bv+(wa[abr>=64]/ba))/b'
    --format-sort res:720,tbr~2000
    --no-playlist
    --download-archive 'downloaded.txt'"

  if ! $yt_dlp $opts --output "%(upload_date>%Y-%m-%d|)s%(upload_date& |)s%(title)s-%(id)s.%(ext)s" "$($paste)" >> "/tmp/$LOG_NAME" 2>&1 &; then
    $yt_dlp $opts --output "%(upload_date>%Y-%m-%d|)s%(upload_date& |)%(webpage_url_domain)s-%(id)s.%(ext)s" >> "/tmp/$LOG_NAME" 2>&1 &
  fi
}

Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

Ask in some linux/bash forums https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#is-your-question-about-yt-dlp


TypeError: Cannot convert undefined or null to object when reading lockKeypadProperties

Describe The Bug:

I have the newer Wyze Lock that has a built-in keypad. I'm not sure if that's significant, but that's the only lock in my Wyze account, and it uses Bluetooth to actually connect to the lock.
When I set this plugin up in Homebridge, and don't exclude the Lock type, the Wyze plugin container keeps restarting indefinitely with the following error:
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at WyzeLock.lockGetProperty (/homebridge/node_modules/.pnpm/homebridge-wyze-smart-home@0.5.2-5.1/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:422:32)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

If I uninstall the plugin, then reinstall it and exclude the "lock" type, it seems to work OK.
To Reproduce:

Set up a Wyze Lock (the model with a built-in keypad that uses Bluetooth)
Install this plugin in Homebridge and don't exclude the "lock" type

Expected behavior:

The plugin should fully load instead of crashing and restarting from this error.
Logs:
[3/12/2023, 4:34:26 PM] [Wyze] Launched child bridge with PID 2776
[3/12/2023, 4:34:26 PM] Registering platform 'homebridge-wyze-smart-home.WyzeSmartHome'
[3/12/2023, 4:34:26 PM] [Wyze] Loaded homebridge-wyze-smart-home v<IP_ADDRESS> child bridge successfully
[3/12/2023, 4:34:26 PM] Loaded 34 cached accessories from cachedAccessories.0E3A31761B28.
[3/12/2023, 4:34:27 PM] Homebridge v1.6.0 (HAP v0.11.0) (Wyze) is running on port 30351.

/homebridge/node_modules/.pnpm/homebridge-wyze-smart-home@0.5.2-5.1/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:422
    const prop_keypad = Object.keys(lockKeypadProperties)
                               ^
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at WyzeLock.lockGetProperty (/homebridge/node_modules/.pnpm/homebridge-wyze-smart-home@0.5.2-5.1/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:422:32)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[3/12/2023, 4:34:27 PM] [Wyze] Child bridge process ended
[3/12/2023, 4:34:27 PM] [Wyze] Process Ended. Code: 1, Signal: null

Plugin Config:
{
    "name": "Wyze",
    "username": "",
    "password": "",
    "refreshInterval": 60000,
    "entryExitDelay": 30,
    "mfaCode": "",
    "showAdvancedOptions": false,
    "excludeMacAddress": false,
    "excludedeviceType": false,
    "_bridge": {
        "username": "",
        "port": 30351
    },
    "platform": "WyzeSmartHome"
}

Screenshots:

Environment:

Plugin Version: v<IP_ADDRESS>
Homebridge Version: v1.6.0
Node.js Version: v16.15.1
NPM Version:
Operating System: Ubuntu

I am also seeing this. New install of Homebridge and the plugin.

I am also seeing the same error.

This is good to know. I will have to exclude this lock by default.

I see this error too.  I have the standalone lock with no keypad and get this error which causes restart.  It was working fine until a couple weeks or so ago.  I want to be able to use the lock and don't want to exclude the lock.  Any way to fix this?

Can we confirm if version 0.5.28 fixes the issue?

It fixed it for me. I can now add my lock again.


Load balancing for event processor failed

Query/Question
We keep seeing these errors in our logs in our subscriber modules: Load balancing for event processor failed - Did not observe any item or terminal signal within 60000ms in 'filter' (and no fallback has been configured) Did not observe any item or terminal signal within 60000ms in 'filter' (and no fallback has been configured).
It can be several hours between the occasions when these are logged.
This is the code that sets up our event processor clients:
eventProcessorClient = new EventProcessorClientBuilder()
                .connectionString(eventHubConnectionString, getChannelName())
                .processEvent(this::ProcessEvent)
                .processError(this::ProcessError)
                .consumerGroup(consumerGroup)
                .checkpointStore(new BlobCheckpointStore(blobContainerAsyncClient))
                .buildEventProcessorClient();

Any idea why these messages are logged?
Why is this not a Bug or a feature Request?
Because I am not definitely sure that it is a bug or if it is a missing setup on our end. I have not been successful in finding anything related to this otherwise online either.
Setup (please complete the following information if applicable):

OS: MacOS 10.15 / Alpine Linux (openjdk:8-jdk-alpine docker image)
IDE : IntelliJ IDEA Ultimate 2020.1
Version of the Library used

<dependency>
  <groupId>com.azure</groupId>
  <artifactId>azure-messaging-eventhubs</artifactId>
  <version>5.1.1</version>
</dependency>
<dependency>
  <groupId>com.azure</groupId>
  <artifactId>azure-messaging-eventhubs-checkpointstore-blob</artifactId>
  <version>1.1.1</version>
</dependency>

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Query Added
[x] Setup information Added

@lindsve Does this happen all the time or occasionally?
If it's happening occasionally, it might be due to a network call to blob storage taking longer than a minute to complete (60000 ms shown in the error message). This can be ignored as this is a transient error and the next cycle of load balancing will retry and resume normal operations. The error is still provided as a notification to the user for any bookkeeping purposes.
If this is happening all the time and the processor is not consuming any events then it's possible that there might be an issue connecting to the storage service and there might be several reasons for that - most commonly the proxy setup.
Please let us know what you observe and if possible provide more details with logs and sample to reproduce this issue.

It seems to happen about once per hour at most, and there can be several hours between them. Seems like we can ignore these if they are transient and it seems it resumes as normal afterwards.
That being said, it could be useful if the ErrorContext could provide a bit more info if is an error or a warning that is thrown since we are picking up this via the processError handler.

Thanks for the confirmation and for your feedback!
Adding info about error or warning in ErrorContext has been considered but given the wide variety of errors that could occur, accurately categorizing errors into warnings and errors may not always be feasible.
However, we will consider looking at the most common errors and try to surface them in ErrorContext as warnings. Thanks again for the feedback.
Resolving the issue.


Test including pointers plugin in cpp plugin

WIP, who knows if this can work!

We can close this out as I've worked around the issues by bundling the Pointer plugin into esper and updating esper.
Esper in this PR isn't new enough to support the Pointer plugin.
New PR: #5711
Testing it on next.


Unsufficient memory

I tried
pip install rawpy
pip install imageio
python ./rawpy_demo.py

rawpy_demo.py
import rawpy
import imageio

path = '5.DNG'
with rawpy.imread(path) as raw:
    rgb = raw.postprocess()
imageio.imsave('5.tiff', rgb)

and Unsufficient memory (libraw error) reported.
Traceback (most recent call last):
  File "./rawpy_demo.py", line 6, in <module>
    rgb = raw.postprocess()
  File "rawpy/_rawpy.pyx", line 616, in rawpy._rawpy.RawPy.postprocess
  File "rawpy/_rawpy.pyx", line 583, in rawpy._rawpy.RawPy.dcraw_process
  File "rawpy/_rawpy.pyx", line 660, in rawpy._rawpy.RawPy.handle_error
rawpy._rawpy.LibRawFatalError: Unsufficient memory

rawpy-0.11.0
ubuntu 14.04
Python 2.7.12 |Anaconda 4.2.0 (64-bit)
Could you please kindly help me fix this error? Or should I report the issue at the LibRaw repo instead?

Are you sure you have enough memory? The error message seems pretty self-explanatory, but yes, it's coming directly from LibRaw and you should ask directly over there.

Thank you for your kindly reply.
Problem solved.
LibRaw 0.19-Release might output this error.
LibRaw 0.18.13 works fine.

Interesting, is this a bug then in LibRaw? Is it reported?

I've just encountered the same issue as well.
In my case, same code:

FAILS on Ubuntu 17.10 where libraw-dev depends on libraw16.
WORKS on Ubuntu 16.04 where libraw-dev depends on libraw15.

@takanokage Does that mean you're building rawpy from source? If not, then you would use the Python binary wheel of rawpy which has libraw 0.19 bundled.

hmm, I didn't know it was bundled. I was just trying to figure out why one machine works and one doesn't (same pip install rawpy on both, same code).

You can figure out the version of libraw with print(rawpy.libraw_version). Can you share a minimal example code and possibly a test image that triggers this?

rawpy.zip
This passes on one machine and fails on two other.
Nothing special about the code, I imagine I have inadvertently messed up those machines myself.
In the meantime I have worked around the issue in another way so it's not so hot anymore.

I have inspected the libraw version on the two machines:

0.18.2 on the working system
0.19.0 on the failing system

I'm also has this problem. Ans I use pip install rawpy，
and the libraw version with rawpy.libraw_versionis(0,19,0)

Everything is ok when I change the libraw version from 0.19.0 to 0.17.0.

Please provide an example image and example code that reproduces this issue.

I experience the same problem.
Python 2.7.13 |Anaconda custom (64-bit)| (default, Dec 20 2016, 23:09:15)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
libraw 0.19.0, rawpy 0.11.0
http://www.mannyphoto.com/D700D3/DSC_0658.NEF
import rawpy
path = 'DSC_0658.NEF'
with rawpy.imread(path) as raw:
    rgb = raw.postprocess()

Traceback (most recent call last):
File "", line 2, in
File "rawpy/_rawpy.pyx", line 616, in rawpy._rawpy.RawPy.postprocess
File "rawpy/_rawpy.pyx", line 583, in rawpy._rawpy.RawPy.dcraw_process
File "rawpy/_rawpy.pyx", line 660, in rawpy._rawpy.RawPy.handle_error
rawpy._rawpy.LibRawFatalError: Unsufficient memory

https://github.com/cchen156/Learning-to-See-in-the-Dark/issues/34 also noticed the error, but no mention of the OS, I assume Linux though.
In https://github.com/LibRaw/LibRaw/issues/171 it looks like it is a bug in libraw fixed in latest master. I'll try that out and report back.

OK, indeed a bug in libraw, works with the latest patches. I'll release a new version of rawpy asap.

A new version is out now which includes a fix for this issue.


Otto Matic crashes in MSVCRT module

I can't launch Otto Matic. The game crashes on startup, the crash is in the MSVCRT.dll module

I didn't realize that I didn't have the SoftGPU driver installed by some miracle. It changed after installing it. Now the game only displays "Fatal Error" in the taskbar on startup, but the error content cannot be previewed

Hi, I tried version "Retail 2.03" and works perfectly, please try newest version of SoftGPU and if still not works, please report game version.

I have the latest version of SoftGPU. I have the game from the CyberMycha newspaper, I don't know what version it is, but you can download the disc from myrient.erista.me (it's called CyberMycha 1-2006 (Disc 2))


[WIP] RHCLOUD-17719 - org_id populator util

This util can be used as a Go library or a binary.
When used as a library, the caller is responsible for opening the connection to the database, initializing the BatchTranslator (from the tenantid package), initializing the metrics recorder and passing those objects to the library.
When used as a binary, the database connection details can be specified on the command line:
go run cmd/orgIdColumnPopulator/main.go -l localhost -p 5432 -u insights -w insights -n cloud-connector -t connections -a account -o org_id -b 1
or pulled from the clowder config file:
ACG_CONFIG=clowder.json go run cmd/orgIdColumnPopulator/main.go -C -t connections -a account -o org_id -b 1
The table name (-t), account number column name (-a), org_id column name (-o) and batch size (-b) are configurable.
I have created a TestBatchTranslator implementation of the BatchTranslator interface for testing purposes.  This implementation simply takes each account number and sets the corresponding org id to be the account number + "-test".  So account number "1234" is mapped to org id "1234-test".  This allows me to quickly verify that the util is setting the org id as expected in the database.  To use a real instance of the BatchTranslator, set the address of the translation service using the --ean-translator-addr command line option.
There is a metric recorder implementation that just prints out the metrics for testing purposes.  To use a real instance of the metrics recorder, set the address of the prometheus push gateway using the --prometheus-push-addr command line option.
Basic algorithm:

get a chunk of account numbers from the database table where there is not a corresponding org_id
pass the chunk of account numbers to the translator client for mapping to org ids
update the rows in the database setting org Id column (this is the part i'm most concerned about as i do not really know how many rows this is actually going to impact...if concerned start out with a low batch size??)

Todo:

pass in an (very simple) logger interface of some sorts.  this would follks to pass in their own logger implementation if needed.

Hi @dehort, as Keith mentioned we (RBAC) plan on using this tool to populate org_id's for the org id migration. Since RBAC isn't a Go service we plan on just running the binary. Do you have any recommendations for kicking this off in our service in an app-interface context?

@mjholder My idea was to build an image where the binary is installed.  Then we'd need to create a one-time job within app-interface to run the binary.  At this point, I have not worked out the app-interface specifics.