Adding stale bot GitHub action

Stale bot Warns and then closes issues and PRs that have had no activity for a specified amount of time.
How it works

After a period of inactivity, a label will be applied to mark an issue as stale, and optionally a comment will be posted to notify contributors that the Issue or Pull Request will be closed.

If the Issue or Pull Request is updated, or anyone comments, then the stale label is removed and nothing further is done until it becomes stale again.

If no more activity occurs, the Issue or Pull Request will be automatically closed with an optional comment.

Will be helpful to manage the workflow later on.
I want to work on this

teste


cli way to read sqlite

duckdb emotions.db "SELECT * FROM emotions" or duckdb -c "SELECT * FROM sqlite_scan('emotions.db', 'emotions')"

duckdb -c "INSTALL sqlite;`

Create a cli to read dbs with peak which could use duckdb. So when you point to .db it reads sqlite or csv, and for dbs you can set .env and we connect to db and peak


Not generating nested elements

It is generating the ids and classes of the nested elements indented and on new lines, but excluding the elements themselves. Here is a snippet of original HTML and the corresponding Jade that was generated:

div(ng-controller='playerCtrl')
  #playerTop.player-top
    .paid-tv(ng-if="user.type != 'free'")
      .main-player.position-div
        #tv-player
    |

I wasn't sure if this is a jade shorthand for nesting the same type of element. I didn't see it in their docs, but correct me if I'm wrong.
It compiles back to HTML with reconstituted divs. Is there a way to explicitly have the nested divs preserved when I do HTML to Jade?

That is how Jade works which is modeled after CSS selector syntax.
I'm surprised Jade documentation doesn't say this explicitly.

re your 'excluding the elements themselves' comment, div elements are omitted if an ID or CSS style is defined. html2jade just prefers to omit but jade will also allows div.paid-tv.


stucked using single-machine multi-gpus training

training using command in tutorial，the utility rate stay at 0 for a very long time，It looks like the training is  totally stuck.
Any suggestion to slove this problem？THX

CUDA_VISIBLE_DEVICES=4,5,6,7 OMP_NUM_THREADS=1 python -m torch.distributed.launch --nproc_per_node=4 train.py --launcher pytorch --cfg_file  cfgs/kitti_models/pv_rcnn.yaml --batch_size 8 --epochs 50 --workers 8

training using command in tutorial，the utility rate stay at 0 for a very long time，It looks like the training is totally stuck.
Any suggestion to slove this problem？THX

CUDA_VISIBLE_DEVICES=4,5,6,7 OMP_NUM_THREADS=1 python -m torch.distributed.launch --nproc_per_node=4 train.py --launcher pytorch --cfg_file  cfgs/kitti_models/pv_rcnn.yaml --batch_size 8 --epochs 50 --workers 8

I met the same problem with you. Maybe you can change your output path with an empty one. This will help.

I have the same issue, how did you guys fix it? I waited for half an hour and nothing happened, and some of the processes are seemed to be killed.

same issue. waiting for the answer.

@sshaoshuai Do you have any idea? Seems like a lot of people encounter this issue.

@sshaoshuai It seems to be a dataloader dead lock? When I set workers<=1, the code can start training in a short time, but when I set it to larger number, this issue will happen. However, I need to use multiple workers so that I can keep my gpu fully utilized.
BTW, my training machine is aws g4dn.metal, with 2 physical cpus, 24 cores each, and 96 virtual processor, so it's weird that I encounter this issue.

@a43992899 Why are you not using AWS EC2 P2 or P3 instances? What is the advantage of G4 instances?

My gpu util rate is unstable, and I find that p3.16xlarge trains slower than g4dn.metal.... both batch_size=16, p3.16xlarge 3~4s/iter, and g4dn.metal 2s+/iter, so I pick the cheaper one.

with 8 workers on p3.16xlarge I get 1.73s / iter on average over the entire training


Editor becomes unresponsive and may crash when opening large/minified files

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
I recently noticed that Atom freezes and becomes unresponsive whenever I open a large file with say, more than 300 lines, or any kind of minified JS file. I'm running v1.14.3 on OS 10.11.6. I can reproduce the issue consistently even in safe mode.
I've tried disabling all of my added packages and reverting to the stock themes, but that made no difference.
When opening a large non-minified file, Atom seems to recover from the freeze in a few seconds but continued running sluggishly. When opening any minified file, Atom freezes and I am forced to force quit the process.
Steps to Reproduce

Open Atom
Open a large file with more than 300 lines of code OR:
Open any minified JS file

Expected behavior: Should open the file and continue to be responsive.
Actual behavior: Freezes and usually must be force quit
Reproduces how often: Reproducible 100% of the time
Versions
OS X : 10.11.6 (Mid 2009 13" MacBook Pro / 2.26GHz Core 2 Duo 8GB RAM / 256GB SSD)
Atom    : 1.14.3
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0
Additional Information
See attachment for latest crash report.
Atom_2017-02-27-155309_GALACTICA.txt
Community Packages Installed:

autoclose-html v0.23.0
color-picker v2.2.5
file-icons v2.0.16
fold-functions v0.5.0

Community Themes Installed:

seti-ui v1.6.1

This will be fixed in the Atom 1.15.0.


Run tests at API level (curl-like)

I guess this is specific to Reva because the other servers can only be commanded from the GUI.
Will look into this after #25.

We're now doing this, with https://github.com/cs3org/ocm-test-suite/blob/28ed7c1/clients/reva.ts


Add a documentation about the usage of the Unity scripts for entity game objects

The question ocurred:

it seems like there are several classes that inherit from MonoBehaviour that are meant to be attached to gameobjects (EntityConfigurationBehaviour, EntityBehaviour, EntityGameObjectMap, etc.) It’s not clear to me what the proper way to connect Unity GOs to Slash component and the interactions, both ways, between the two.

If required the scripts have to be reworked, they were developed over time without a clear structure.

Cleanup of ECS scripts will be done in issue #45


added k8s configuration files into tests/slo

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 42.05%. Comparing base (c069bb3) to head (545d5ca).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1386      +/-   ##
==========================================
+ Coverage   41.89%   42.05%   +0.16%
==========================================
  Files         351      351
  Lines       35230    34526     -704
==========================================
- Hits        14758    14519     -239
+ Misses      19991    19525     -466
- Partials      481      482       +1

Flag
Coverage Δ

go-1.20.x
43.64% <ø> (-0.08%)
:arrow_down:

go-1.21.x
43.13% <ø> (-0.56%)
:arrow_down:

go-1.22.x
41.32% <ø> (-0.54%)
:arrow_down:

macOS
41.36% <ø> (-0.06%)
:arrow_down:

ubuntu
41.36% <ø> (-0.04%)
:arrow_down:

unit
42.05% <ø> (+0.16%)
:arrow_up:

windows
43.60% <ø> (+1.71%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Metadata file v4, also included a warning about the deleted taxa.

The warning message looks like:
nextflow run virify.nf --meta_version v4 --fasta nextflow/test/assembly.fasta
N E X T F L O W  ~  version 23.04.0
Launching `virify.nf` [sharp_carlsson] DSL2 - revision: 690a9ff68f

Profile: standard

Current User: mbc
Nextflow-version: 23.04.0
Starting time: 01-04-2023 21:09 UTC
Workdir location:
  /home/mbc/projects/emg-viral-pipeline/work
Databases location:
  nextflow-autodownload-databases

CPUs to use: 2
Output dir name: results

Dev ViPhOG database: v3
Dev Meta database: v4

Only run annotation: false

Warning: --meta_version v4 does not include the following discontinued virus taxa
(according to ICTV) anymore and they have been excluded from the dataset.

Siphoviridae
Podoviridae
Myoviridae
Caudovirales
Allolevivirus
Autographivirinae
Buttersvirus
Chungbukvirus
Incheonvirus
Leviviridae
Levivirus
Mandarivirus
Pbi1virus
Phicbkvirus
Radnorvirus
Sitaravirus
Vidavervirus

executor >  local (6)
...

This one should fix #104

Hey @mberacochea that looks great! Fine from my side, butaybe @guille0387 could confirm that the list of discontinued virus taxa is complete


Virtual thread support for sync api's

Feature Request

Is your feature request related to a problem? Please describe
I am writing a server which would run on virtual threads and i am also using lettuce sync api's in my app. On a quick search i can see there are usages of synchronized in the code ( check here ), I am worried that these usages can lead to platform thread pinning especially the usages in MasterReplicaConnectionProvider.java, I am not sure about the fact if platform thread would pin, as i am not aware if the methods using synchronized would run on eventloop or the virtual thread in some case, so please correct me if I am wrong here.
In case these usages are potential cause for thread pinning, it would be great if we can remove those usages and make library virtual thread compatible.
Describe the solution you'd like
Replace synchronized with ReentrantLock as done in https://github.com/spring-projects/spring-data-redis/issues/2690 as well.

Hey @luvk1412 thanks for submitting this.
@mp911de already investigated this as part of #1429
As @mp911de mentioned in https://github.com/redis/lettuce/discussions/2470#discussioncomment-6883612 and is evident by https://github.com/netty/netty/issues/12816 Netty does not currently support virtual threads in the EventLoop
I do, however, think we can address some of the places in this list, even if it is for future proofing.
I will keep this open and submit a few fixes. Please let me know if you run into specific instances of this issue.

@tishun thanks for replying, my concern wasn't around that netty's eventloop should use virtual threads, its totally fine if eventloop is using platform threads. My concern was more around if any of the mentioned synchronized usage was reachable by virtual threads while one is using sync api's of lettuce. As long as all these synchronized usages are only accessible by eventloop threads, and a virtual thread is only doing something like future.get() ultimately in sync api's, it should be totally fine ig, but i wasn't sure if this is the case as i mentioned in my post.
Also came across JEP 491 after which maybe this is not a concern anymore as well.

Also came across JEP 491 after which maybe this is not a concern anymore as well.

This JEP seems to be scheduled for JDK 24. JDK 21 to 23 would still have virtual threads that pin threads in case of synchronized blocks so the change seems reasonable.


After Shipping an ERC, the data file changes

After shipping the ERC to, for example, Zenodo, all important files (e.g. display.html) are moved by the shipper. The files are then stored under id/data/data/display.html instead of id/data/display.html.

moved to https://github.com/o2r-project/o2r-shipper/issues/48


Link to "Pricing for audio conferencing" not working

"Pricing for audio conferencing" leads to a 404

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

ID: da255c7a-42a3-32be-25f6-c54a45ff7903
Version Independent ID: ccb6f5f7-b939-b7ee-2808-cf471d748eab
Content: See a list of Audio Conferencing numbers - Microsoft Teams
Content Source: Teams/see-a-list-of-audio-conferencing-numbers-in-teams.md
Service: msteams
GitHub Login: @tonysmit
Microsoft Alias: tonysmit

@l-barbosa Thank you for submitting feedback and contributing to the docs. We are currently investigating this.
@Reeced40

@l-barbosa thank you for reaching out. Would one of these links suffice? https://www.microsoft.com/microsoft-teams/audio-conferencing or https://docs.microsoft.com/MicrosoftTeams/try-or-purchase-audio-conferencing-in-office-365-for-teams

The second link points to the page where I found the broken link.
The first link seems to contain the information I was looking for.

@scanum please can you arrange approval and merge.


[Binding/ Controller] First controller's onInit not called although Controller is created?

MaterialApp:
void main() {
  runApp(
    GetMaterialApp(
      initialRoute: AppRoutes.splash,
      getPages: AppPage.appPages,
      initialBinding: SplashBinding(),
      theme: ThemeData(
        fontFamily: FontsAssets.roboto,
      ),
    ),
  );
}

SplashBinding (Init binding):
class SplashBinding extends Bindings {
  @override
  void dependencies() {
    Get.put(
      () => SplashController(),
    );
    print('====== ${Get.isPrepared<SplashController>()}'); // -> It's false (But return true when using Get.lazyPut) (1)
    print('++++++ ${Get.isRegistered<SplashController>()}');  // -> It's false (But return true when using Get.lazyPut) (2)
  }
}

SplashController:
class SplashController extends GetxController {
  @override
  void onInit() async {
    super.onInit();
    await Future.delayed(
      const Duration(seconds: 2),
    );
    Get.offAll(
      AppRoutes.mainHome,
    );
  }
}

AppPage:
class AppPage {
  static final List<GetPage> appPages = [
    GetPage(
      name: AppRoutes.splash,
      page: () => const SplashPage(),
      binding: SplashBinding(),
    ),
    GetPage(
      name: AppRoutes.mainHome,
      page: () => const MainHomePage(),
      binding: MainHomeBinding(),
    ),
  ];
}

My log shows SplashController has been created, but onInit not called?
[GETX] Instance "() => SplashController" has been created
[GETX] Instance "SplashController" is not registered.
I/flutter ( 6149): ====== false
I/flutter ( 6149): ++++++ false
[GETX] Instance "GetMaterialController" has been created
[GETX] Instance "GetMaterialController" has been initialized
[GETX] GOING TO ROUTE /splash
[GETX] Instance "SplashController" is not registered.
I/flutter ( 6149): ====== false
I/flutter ( 6149): ++++++ false

What happened? Notice (1) and (2) in SplashBinding. Thanks for all support.

Get.put(
() => SplashController(),
);
Use lazy with function, or put with no function

@jonataslaw Means is I have must using Get.put(SplashController());?

@pqtrong17 Get.put<T>(T instance) takes an object of type T. Get.find<T>() also returns you an object of type T. E.g. to resolve the controller of type SplashController, you need to register it by calling
Get.put<SplashController>(SplashController());

Notice the type within <>. It is SplashController , so calling
Get.find<SplashController>(); // will do what you need.

The Get.put signature is T put<T>(T instance). When you do Get.put(SplashController()) you're doing this:
Get.put<SplashController>(SplashController());

When you use Get.put(() => SplashController()), the type within <> is not <SplashController>, but is <SplashController Function(). E.g. you're doing:
Get.put<SplashController Function()>(() => SplashController());

So it cannot be resolved with Get.find<SplashController>().

@nivisi Thanks for support. Thank you very much.

@pqtrong17 for such controllers I used it with bindings for screen initializations. lazyPut in my mind is for putting service singletons mostly (with permanent set to true).

@pqtrong17 you can check out this project for a reference.

@nivisi  Thanks for support, bro.


Boltz reverse swap stuck in mempool due to low fee rate

Clboss initiated a Boltz reverse swap on my node at 2023-04-26T16:04:49.361Z with a fee rate of 8sat/vb and still has 0 confs.
Trying to figure out how this fee rate was assigned considering it happened during a >30sat/vb environment.
Browsing the Boltz API: https://docs.boltz.exchange/en/latest/api/#creating-reverse-swaps I don't see any fee rate parameters to specify so I'm assuming Boltz assigns the fee rate for the onchain transaction?
I would rather pay a high fee rate to increase timeliness of the swap. Any help here?

I think that for LN -> BTC Boltz determines the fee, and I don't think you can influence this. Perhaps you can contact the guys running Boltz. For BTC -> LN the fee is determined via your on-chain-app when paying.


Update readmes to demonstrate Polaris v4 usage

Description
Related to  #1025
Polaris v4 made some breaking changes. We should reflect them in Quilt's readmes

Adds the now-required i18n prop to AppProvider in two README examples
Removes reference to an imported but unused AppProvider in react-form

Type of change

[x] quilt_rails Patch: Bug/ Documentation fix (non-breaking change which fixes an issue or adds documentation)
[x] react-form-state Patch: Bug/ Documentation fix (non-breaking change which fixes an issue or adds documentation)
[x] react-form Patch: Bug/ Documentation fix (non-breaking change which fixes an issue or adds documentation)

Checklist

[ ] I have added a changelog entry, prefixed by the type of change noted above

Closing in favor of #1033 1032