Blade section includes cached hard

Search results:
@foreach ($items as $item)

@include('partials.comp.list-item.' . $item->type(), ['item'=>$item])

@endforeach

partials.comp.list-item.apartments:
@extends('partials.comp.list-item')
@section('properties')
    @parent
    // special properties here
@overwrite

partials.comp.list-item:

@section('properties')
// basic properties here
@show

@section('map')
@include('partials.comp.coords', ['lat'=>$item->lat, 'lng'=>$item->lng])
@show

Problem is with map section.
If remove  section wrapper like this:

@include('partials.comp.coords', ['lat'=>$item->lat, 'lng'=>$item->lng])

then everything works fine. But with code above similar map partial is simply repeated for all items. @overwrite closing doesn't append section's content to output so it is not applicable here.
The idea is to provide in parent view a default map implementation with ability to overwrite it by child views.
Also if child view doesn't overwrite parent properties section — it also repeats for each item.
Is there a way to resolve this without manual overwriting of each section and shouldn't be such behavior fixed?

@terion-name You have to write it differently.
Change
@section('map')
    @include('partials.comp.coords', ['lat'=>$item->lat, 'lng'=>$item->lng])
@show

to:
@section('map')
@hasSection('map')
    @yield('map')
@else
    @include('partials.comp.coords', ['lat'=>$item->lat, 'lng'=>$item->lng])
@endif


Ios part implementation

Description

Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

thanks @ashcherbonos ! - im now merging it, and iterate on any changes there


Fix for #148 blocking distribute

The bug reported in issue #148 was caused by a log message being triggered by a log message in an infinite loop. To prevent this all log messages are now sent to a channel that is processed asynchronously in the event loop of core.logConsumer.
This will slow down gollum at worst but it will not be stuck in an infinite loop anymore.
During shutdown (after the channel is closed) all messages will be forwarded to the logger.FallbackLogDevice so that no log messages get lost.

Coverage decreased (-0.1%) to 65.52% when pulling b57486c7ca6ee71b233573708e538549efc0fdc5 on fix/148_BlockingDistribute into 9eea9f30f26487b4c066053922d616eabee65cab on master.

Coverage decreased (-0.1%) to 65.52% when pulling fecb071eb3bffa770e316a766c4119a9e26da3ac on fix/148_BlockingDistribute into 9eea9f30f26487b4c066053922d616eabee65cab on master.


bash: bundle: command not found

Preliminary Steps
Please confirm you have...

[x] reviewed the Troubleshooting docs,
[x] considered implementing an override,
[x] verified an issue has not already been logged for your issue (linguist issues).

Problem Description
bundle exec bin/github-linguist --breakdown
bash: bundle: command not found

how to reproduce
sudo apt-get install cmake pkg-config libicu-dev zlib1g-dev libcurl4-openssl-dev libssl-dev ruby-dev
git clone https://github.com/github/linguist github_linguist
cd github_linguist/

gem install github-linguist
sudo gem install github-linguist

bundle exec bin/github-linguist --breakdown

On Debian:

uname -a
Linux ... 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3 (2019-02-02) x86_64 GNU/Linux

I guess this would fix it, because then I did not need sudo anymore:
mkdir ~/.ruby
echo 'export GEM_HOME=~/.ruby' >> ~/.bashrc
echo 'export PATH="$PATH:~/.ruby/bin"' >> ~/.bashrc
source ~/.bashrc

gem install bundler
gem install github-linguist

and then
bundle install
bundle exec bin/github-linguist --breakdown

but now unfortunately, the bundle install results in this:
bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "bundler":
  In Gemfile:
    bundler (~> 1.10)

  Current Bundler version:
    bundler (2.0.1)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?

Could not find gem 'bundler (~> 1.10)' in any of the relevant sources:
  the local ruby installation

what to do?
Thanks

P.S.: versions:
bundle --version; ruby --version; gem --version
Bundler version 2.0.1
ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu]
<IP_ADDRESS>

git log | head -n 1
commit 7551e736ee126d29b4977983a41fe25d073c37cd

@lildude Doesn't Linguist work with more recent versions of bundler? Couldn't we update github-linguist.gemspec?

tried to just patch that .gemspec, but then I get:
Bundler could not find compatible versions for gem "bundler":
  In Gemfile:
    bundler (~> 2.0)

    licensed (~> 1.3.0) was resolved to 1.3.4, which depends on
      bundler (~> 1.10)

  Current Bundler version:
    bundler (2.0.1)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?

another attempt
gem install bundler -v '=1.10'
Successfully installed bundler-1.10.0
Parsing documentation for bundler-1.10.0
Done installing documentation for bundler after 2 seconds
1 gem installed

bundle _1.10.0_ install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "bundler":
  In Gemfile:
    bundler (~> 1.10)

  Current Bundler version:
    bundler (2.0.1)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?

Could not find gem 'bundler (~> 1.10)' in any of the relevant sources:
  the local ruby installation

not successful.
but my ruby experience is very very limited.

Try:
gem uninstall bundler --version 2.0.1

@lildude Doesn't Linguist work with more recent versions of bundler? Couldn't we update github-linguist.gemspec?

Looks like we should update the version of licensed as well...

that worked:
sudo gem uninstall bundler --version 2.0.1
sudo gem uninstall bundler --version 1.10.0
gem uninstall bundler --version 1.10.0
gem uninstall bundler --version 2.0.1

gem install bundler -v '=1.10'
bundle install

Thanks!!
but now I get this new problem:
bundle exec bin/github-linguist --breakdown
bundler: failed to load command: bin/github-linguist (bin/github-linguist)
LoadError: cannot load such file -- linguist/linguist
  /home/andreas/Documents/Code/github_linguist/lib/linguist/tokenizer.rb:2:in `require'
  /home/andreas/Documents/Code/github_linguist/lib/linguist/tokenizer.rb:2:in `<top (required)>'
  /home/andreas/Documents/Code/github_linguist/lib/linguist/classifier.rb:1:in `require'
  /home/andreas/Documents/Code/github_linguist/lib/linguist/classifier.rb:1:in `<top (required)>'
  /home/andreas/Documents/Code/github_linguist/lib/linguist/language.rb:8:in `require'
  /home/andreas/Documents/Code/github_linguist/lib/linguist/language.rb:8:in `<top (required)>'
  /home/andreas/Documents/Code/github_linguist/lib/linguist.rb:5:in `require'
  /home/andreas/Documents/Code/github_linguist/lib/linguist.rb:5:in `<top (required)>'
  bin/github-linguist:5:in `require'
  bin/github-linguist:5:in `<top (required)>'

What about bundle exec github-linguist --breakdown?

thx
bundle exec github-linguist --breakdown

~/github_linguist/lib/linguist/tokenizer.rb:2:in `require': cannot load such file -- linguist/linguist (LoadError)
	from ~/github_linguist/lib/linguist/tokenizer.rb:2:in `<top (required)>'
	from ~/github_linguist/lib/linguist/classifier.rb:1:in `require'
	from ~/github_linguist/lib/linguist/classifier.rb:1:in `<top (required)>'
	from ~/github_linguist/lib/linguist/language.rb:8:in `require'
	from ~/github_linguist/lib/linguist/language.rb:8:in `<top (required)>'
	from ~/github_linguist/lib/linguist.rb:5:in `require'
	from ~/github_linguist/lib/linguist.rb:5:in `<top (required)>'
	from ~/github_linguist/bin/github-linguist:5:in `require'
	from ~/github_linguist/bin/github-linguist:5:in `<top (required)>'
	from ~/.ruby/bin/github-linguist:22:in `load'
	from ~/.ruby/bin/github-linguist:22:in `<main>'

bundle --version
Bundler version 1.17.3

Hah.
this was a random find, but a good one:
~/.ruby/bin/github-linguist
67.73%  Ruby
22.64%  C
7.61%   Go
1.19%   Lex
0.56%   Shell
0.27%   Dockerfile

so, I got it working. And you should consider to update your README.md to account for this?

You should perhaps consider to update your README.md to account for this?

We can't really document for all the different ruby envs peeps can use, but we certainly do already document the Bundler requirements in CONTRIBUTING.md - https://github.com/github/linguist/blob/master/CONTRIBUTING.md#dependencies - or am I missing something else?

@lildude Doesn't Linguist work with more recent versions of bundler? Couldn't we update github-linguist.gemspec?

It most certainly does, but it's licensed that has the 1.x requirement - https://github.com/github/licensed/blob/afba288df344e001d43e94ad9217635a011b79c2/licensed.gemspec#L30

Looks like we should update the version of licensed as well...

Yup, though we'd still be locked to Bundler 1.x 😄

dunno, really. not much ruby experience.
my problem is solved. if you want to, then:
CanClose.


Support tuples. Fix formatting of special decimal.Decimals

Codecov Report

Merging #17 (b8b3270) into master (fac682e) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #17   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines          103       118   +15
  Branches        30        34    +4
=========================================
+ Hits           103       118   +15

Impacted Files
Coverage Δ

tomli_w/_writer.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Ideas for lesson plans and exercises

Several professors have asked for example lesson plans or exercises that use OSPC web applications like TaxBrain,  the Cost of Capital Calculator, and the Border Adjustment Calculator.
For lack of a better venue at the moment, please post any ideas you have here or email me. They will be very much appreciated.
I expect lesson plans, classroom exercises, or take home exercises would be particularly valuable, but this is open ended. Similarly, there is no need to conform to any particular format -- the goal is simply to provide content that you think will be helpful for professors in their educational capacity.
The professors who have asked all teach fairly introductory courses (intro and intermediate micro/macro, public finance, public policy), but feel free to suggest content for any level.
I am happy to include ideas that would leverage the modeling packages locally so long as they don't require access to puf.csv.

From Dan Feenberg (@feenberg) via email

By far the most requested simulation I receive is for a 5% surtax on incomes greater than $250,000 or $1,000,000. It is a nicely informative exercise because it is simple to program and students could compare the estimate from TB with a back of the envelope calculation from the published SOI aggregate. Here is proposed activity:
Go to the "taxstats" website of the IRS and find the most recent value for the amount of income reported by taxpayers with AGI above $1,000,000. How much revenue would a surtax of 5% on such incomes raise? Now, go to TaxBrain and specify such a surtax. How much revenue is raised with elasticity set to zero? With elasticity set to .4? Why the low number even with no elasticity? Is it a problem that for each taxpayer that some of their income is not subject to the surtax? Can you devise a clawback to prevent that? What happens at the non-zero elasticity?

As the final assignment for a master's level public finance course, I would give a project that asked:

This writing assignment is different than the two prior assignments. I’d like to hear your proposal for tax reform in the U.S. Tell me the specific policies you’d like to see changed and what new ideas you’d introduce. Mention those that relate to the administration of both the taxation of individuals and businesses. In your discussion, please discuss the following:

Would you move towards a consumption tax base, an income tax base, or a combination of the two?
How do your proposals promote economic efficiency?
What are the distributional impacts of your proposals?
How do you weigh efficiency vs. equity?
What are the effects on government revenue? What are your considerations here (e.g., do you require budget neutrality or not?)?
How do your proposals affect administration of the tax code? Compliance?
What happens to the tax treatment of different business entities?
What are the potential political barriers to implementation?

These were the pre-TaxBrain days and so the students would have to cite JCT or others' estimates of proposals similar to theirs for items (3) and (5).  But such a project would now be much easier and exact as students could use TaxBrain to look at the revenue and distributional impacts of their specific proposal.


Autoload a last known copy of the data

Store a copy of the latest successfully retrieved data. Put it in Firebase Storage.
Use that copy when the service starts instead of using a blank array.

Discussed in #6

96fe1417009516e38d65632f4f5ce3cf49dfbb41


Include errors when compiling

Please fill in the following fields:
Pre-built SDK from the website or open-source from this repo: Pre-built SDK
Firebase C++ SDK version: 6.12.0
Firebase plugins in use (Auth, Database, etc.): Storage
Additional SDKs you are using (Facebook, AdMob, etc.): None
Platform you are using the C++ SDK on (Mac, Windows, or Linux): Linux
Platform you are targeting (iOS, Android, and/or desktop): Desktop (Linux)
Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
When I include Firebase Storage in my program, the imported libraries can't find their own imports. I have put the firebase_cpp_sdk directory next to my source file in src/. This is the directory structure of my program:
├── CMakeLists.txt
├── README.md
├── src
│   ├── firebase_cpp_sdk
│   │   ├── Android, frameworks, include, libs etc
│   └── main.cpp

1115 directories, 4058 files

Here is the relevant bit of my main.cpp (nothing else in it relates to Firebase at all):
#include "iostream"
#include "firebase_cpp_sdk/include/app.h"
#include "firebase_cpp_sdk/include/storage.h"

int main(int, char**) {
    // Initialise the Firebase app
    firebase::App * firebaseApp = firebase::App::Create(firebase::AppOptions());
    firebase::storage::Storage* firebaseStorage = firebase::storage::Storage::GetInstance(firebaseApp);

    // Creates a reference to the bucket
    firebase::storage::StorageReference bucketReference = firebaseStorage->GetReferenceFromUrl("gs://arduino-project-234f5.appspot.com");

Here is my CMakeLists.txt, although the same error still occurs when just doing g++ main.cpp:
cmake_minimum_required(VERSION "3.17.0")

project("camera-software")

file(GLOB camera-software_SRC
    "src/*"
)

# Sets the flags to include OpenCV. Should probably remove the unused ones
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/usr/include/opencv -lopencv_core -lopencv_highgui")

add_executable("${PROJECT_NAME}" "${camera-software_SRC}")

install(TARGETS "${PROJECT_NAME}" DESTINATION bin)
install(FILES "main.cpp" DESTINATION src)

Here is the error:
In file included from firebase_cpp_sdk/include/storage.h:23,
                 from main.cpp:4:
firebase_cpp_sdk/include/firebase/storage/controller.h:18:10: fatal error: firebase/storage/storage_reference.h: No such file or directory
   18 | #include "firebase/storage/storage_reference.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Looks like this error is caused by the relative includes in the storage headers. Instead of putting the Firebase libraries in your src directory, place it somewhere external and add it to your target with target_link_libraries in CMake. See this sample (though it uses Firestore instead of Storage): snippets-cpp
And the resulting build log: https://github.com/firebase/snippets-cpp/pull/2/checks?check_run_id=553059792


Error in scipy.special.j_roots documentation: beta > 0

The documentation of scipy.special.j_roots says one must have beta > 0. However the source code only checks beta > -1, which is in agreement with the Wikipedia article on Gauss-Jacobi quadrature. I believe the documentation should read "beta > -1" instead. Thanks.
scipy 0.18.1

I was mistakenly looking at an older version of scipy. In 0.19.1 the function is now called scipy.special.roots_jacobi (and the beta > 0 mistake is still present).

Yup that's a mistake. Interested in a PR?

Ok, it was my first time making a pull request so it took me a while to figure out what to do. In the future for small errors like this where the fix is obvious, should I jump directly to creating a pull request?

Yes, that's fine.

Fixed in https://github.com/scipy/scipy/pull/7936.


Fix editor lock on sdf collision bake on error

SDF collision for particle 3D locks the editor if no faces are detected in the sdf area.
The baking progress pop-up is opened and never closed, forcing the user to kill the editor process.

Thanks!

Cherry-picked for 4.0.3.


feat: generalize Algebra.TensorProduct.rightAlgebra

Co-authored-by: Kevin Buzzard<EMAIL_ADDRESS>

bors merge


feat: add loongarch64-unknown-linux-musl image

Close #1556

@Emilgardis gentle ping.

Thank you for the ping! I didn't see this in my inbox!

CI issue: https://github.com/cross-rs/rust-cmake-hello-world/pull/1


Huawei AppGallery: show dialog with privacy policy link when first launched

Your app does not explicitly specify the privacy policy during the first-time startup, login, registration page to notify the users to read it, which does not comply with the laws and regulations of some countries. Please refer to the rule 7.5 of "AppGallery Review Guidelines": https://developer.huawei.com/consumer/en/doc/app/50104 [Suggestion]: Please explicitly specify the privacy policy in a prominent way such as a pop-up window on the first-time startup to prompt the user to read it，or display the privacy policy on the app registration and login interface to prompt the user to read it. For FAQs about App Personal Information Protection, please refer to: https://developer.huawei.com/consumer/en/doc/FAQ-faq

Without these the Huawei AppGallery won't distribute the app to mainland China or India (two of the biggest markets).
Ref #208

needed to enable India and mainland China distributions

Note: we only present this for first startup, plus added it to the About dialog. We don't have login or registration thank God.


Move g4bl files into their own folder

Not much else to say, just a good organization habit is to keep all your different files categorized by folder. Makes it easier to understand for other developers what the files are for.

Fixed with issues ac2d7b85c7096485e76658d84c40b03732f1cb18


Document customizing gitignores, labels, licenses, locales, and readmes

https://github.com/go-gitea/gitea/issues/1920

LGTM

LGTM

make L-G-T-M work


[PT Run] Results with spaces as input

Enable "include on the global result" for the following plugins:

Registry
Settings
Service
VS Code

Open PT Run and type one or more spaces: results from the previous plugins are displayed.
This is related to how the plugins behave to keyword only input.

For me the question is why we at least trigger the plugins on empty without action key? This makes no sense at all.

A check could be added to not query if the searchbox contains only whitespace and no action key.

A check could be added to not query if the searchbox contains only whitespace and no action key.

This imo makes more sense to check it in every plugin.

A check could be added to not query if the searchbox contains only whitespace and no action key.

This imo makes more sense to check it in every plugin.

I'd have each plugin decide that.
I enjoy that the Registry Plugin shows the root keys, for example.

A check could be added to not query if the searchbox contains only whitespace and no action key.

This imo makes more sense to check it in every plugin.

I'd have each plugin decide that.
I enjoy that the Registry Plugin shows the root keys, for example.

Sure. But it makes no sense without activation command in global results. So why should we trigger plugins on empty search for global results.

Summarizing: plugins can display results with a whitespace string as input but only with the action keyword.


admin: CI test for admin tools

the scenario is

run server
config
add a user and parse id
get a user from id
list users
update user of the id

I can write this test in Scala

yeah done

(except list subcommand


file session driver have a problem about path.

sessions folder is [web_root]/sessions
error message is below..
Message: touch(): Unable to create file sessions/ci_session4dc0e26a2bb79fc8a06893ce8fbd19b9e1974a0b because No such file or directory
Filename: drivers/Session_files_driver.php
Line Number: 234
	elseif ($this->_fingerprint === md5($session_data))
	{
		return ($this->_file_new)
			? TRUE
			: touch($this->_file_path.$session_id); <== line 234
	}

at line 234, 'pwd' path is '/'. in 'write function' save path is maybe missing.

Might be related to a PHP bug where SessionHandler::read() never returns FALSE and therefore a certain error condition is never treated as such ...
But either way, it means CI simply doesn't have permissions to write to that directory. Try asking on the forums if you need help with that ... it's not a bug.

this is not permission problem of directory. i want you to rethink this.
my env is php-fpm + nginx

Well, then I want you to rethink your demanding language and prove that it is a bug ... the fact that you think the FPM SAPI or nginx have anything to do with this only tells me that you don't know how the sessions works at all.

First, i do not speak English well.
i tested by below order.
wget https://github.com/bcit-ci/CodeIgniter/archive/3.0rc3.zip
unzip 3.0rc3.zip
mkdir CodeIgniter-3.0rc3/sessions
chmod 777 CodeIgniter-3.0rc3/sessions
after web server setting.
edit application/config/config.php
$config['sess_save_path'] = 'sessions'; <-- edit this.
edit application/controllers/Welcome.php
    public function index()
    {
            $this->load->library('session');  <-- add this.
            $this->load->view('welcome_message');
    }

and reload twice!!

A PHP Error was encountered
Severity: Warning
Message: touch(): Unable to create file sessions/ci_session80b446fbb643d2353f19c9679de9b3d1138c4bb3 because No such file or directory
Filename: drivers/Session_files_driver.php
Line Number: 234

and add debug code liek below.
var_dump('read -->',_FILE_." "._LINE_." line", array('$this->_file_path' => $this->_file_path, 'pwd()' => getcwd()));
and result is..
at function open
/home/ec2-user/workspace/codeigniter/system/libraries/Session/drivers/Session_files_driver.php 131 line
array(2) { ["$this->_file_path"]=> string(19) "sessions/ci_session" ["pwd()"]=> string(36) "/home/ec2-user/workspace/codeigniter" }
at function read
/home/ec2-user/workspace/codeigniter/system/libraries/Session/drivers/Session_files_driver.php 201 line
array(2) { ["$this->_file_path"]=> string(19) "sessions/ci_session" ["pwd()"]=> string(36) "/home/ec2-user/workspace/codeigniter" }
at function write
/home/ec2-user/workspace/codeigniter/system/libraries/Session/drivers/Session_files_driver.php 218 line
array(2) { ["$this->_file_path"]=> string(19) "sessions/ci_session" ["pwd()"]=> string(1) "/" }
and ... I prepared this one for you. testing site... ^^
http://session.simpletools.kr/
$this->_config['save_path'] must be absolute path. if first char is not '/'. must add FCPATH.

Yeah ... only absolute paths are supported, this is explained in the manual.

hummm... but. logs, cache folder is relative path.
i see this point. and fix it.
$config['sess_save_path'] = FCPATH.'sessions';
thank you.

dd8c0ed8d595425cd935c2f4638c398d2a2d23e2

Thank you yupmin thank you so much error solved you rocks..!

How to set Codeigniter 3 Session File Driver Path correctly :
http://chathu.me/2015/09/30/codeIgniter-3-session-file-driver/


fix exit code check #41

A correct handler for the exit code from Nightwatch.
Now the exit code on process.exit() will be defined by the Nightwatch process itself.
I tested it and I'm able to handle the error on testing my application now.
Tell me what you think about. I hope it helps.

Hi, @LasaleFamine
Sorry for the late response.
I have a question about your comment (#41)

The success variable will never be false. Instead it is always an object with arrays relatives to your >personal suite test.

I'v tested and confirmed the success variable was false.
My sample codes:

gulpfile.js

var gulp = require('gulp');
var nightwatch = require('gulp-nightwatch');

gulp.task('default', function() {
  gulp.src('')
    .pipe(nightwatch({
      configFile: 'nightwatch.json'
    }));
});

nightwatch.json

{
  "src_folders" : [ "tests" ],
  "output_folder"  : "reports",
  "custom_commands_path" : "",
  "custom_assertions_path" : "",
  "globals_path" : "",

  "selenium" : {
    "start_process" : false,
    "server_path" : "",
    "log_path" : "",
    "host" : "<IP_ADDRESS>",
    "port" : 4444,
    "cli_args" : {
      "webdriver.chrome.driver" : "",
      "webdriver.ie.driver" : ""
    }
  },

  "test_settings" : {
    "default" : {
      "launch_url" : "http://localhost",
      "selenium_port"  : 4444,
      "selenium_host"  : "localhost",
      "silent": true,
      "screenshots" : {
        "enabled" : false,
        "path" : ""
      },
      "desiredCapabilities": {
        "browserName": "chrome",
        "javascriptEnabled": true,
        "acceptSslCerts": true
      }
    }
  }
}

background.js

var path = require('path');
var nightwatch = require('nightwatch');
var originalArgv = JSON.parse(process.argv[2]);

nightwatch.cli(function(argv) {
  for (var key in originalArgv) {
    if (key === 'env' && originalArgv[key].indexOf(',') > -1 && argv['parallel-mode'] === true) {
      continue;
    }
    argv[key] = originalArgv[key];
  }

  if (argv.test) {
    argv.test = path.resolve(argv.test);
  }

  nightwatch.runner(argv, function(success) {
    if (!success) {
      // modified
      console.log("success:", success)
      console.log("Failed...")
      process.exit(1);
    } else {
      process.exit(0);
    }
  });
});

tests/npm.js

module.exports = {
  'Demo test Npmjs' : function (browser) {
    browser
      .url('https://www.npmjs.com')
      .assert.title('npm-failed') // fail here
      .end();
  }
};

Console outputs:

[tatsuya@oort gulp-nightwatch-sandbox]$ gulp
[21:13:57] Using gulpfile ~/tmp/gulp-nightwatch-sandbox/gulpfile.js
[21:13:57] Starting 'default'...
[21:13:57] Finished 'default' after 6.3 ms
[21:13:57] log file
[21:13:57] Starting nightwatch...

[Npm] Test Suite
====================

Running:  Demo test Npmjs
 ✖ Testing if the page title equals "npm-failed".  - expected "npm-failed" but got: "npm"
    at Object.module.exports.Demo test Npmjs (/Users/tatsuya/tmp/gulp-nightwatch-sandbox/tests/npm.js:5:15)

FAILED:  1 assertions failed (6.166s)

 _________________________________________________

 TEST FAILURE:  1 assertions failed, 0 passed. (6.213s)

 ✖ npm

   - Demo test Npmjs (6.166s)
   Testing if the page title equals "npm-failed".  - expected "npm-failed" but got: "npm"
       at Object.module.exports.Demo test Npmjs (/Users/tatsuya/tmp/gulp-nightwatch-sandbox/tests/npm.js:5:15)

success: false
Failed...

events.js:141
      throw er; // Unhandled 'error' event
      ^
Error: nightwatch exited with code 1
[tatsuya@oort gulp-nightwatch-sandbox]

Please let me know about your test codes.

Hi @tatsuyafw,
thanks for your reply.
It was my mistake not specify that I'm running in parallel my test suites.
Please, add the following object to your to your configuration file and you will able to reproduce my issue:
{
  ...

  "selenium" : {
   ...
    }
  },

   // Perform tests in parallel where possible
  "test_workers": {
    "enabled": true,
    "workers": "auto"
  },
  "test_settings" : {
   ...
    }
  }
}

Thinking about this, my PR is not ready to be merge, because we need to handle also this situation of parallel case.
I will get back this evening, and if you think is ok, I will fix this PR.
Btw, I'm going to fix my issue's message adding this particularity

Here I'm again.
I think I found the solution.
Really, the second param of the nightwatch.runner() function is available only when the tests are running in parallel.
The solution code:
nightwatch.runner(argv, function(success, code) {
    console.log("code =>", code)
    console.log("success => ", success)
    let exitCode = code === 1 ? code : success ? 0 : 1;
    console.log("new exitCode => ", exitCode)
    process.exit(exitCode)
  });

Result test NO parallel
fail:
   ERROR: Unable to locate element: "#view-password input[name=textinput]" using: css selector
       at Object.module.exports.Test login NOT working (/night-test/test/e2e/main.js:14:8)
       at _combinedTickCallback (internal/process/next_tick.js:67:7)

code => undefined
success =>  false
new exitCode =>  1
[00:28:44] Finished 'func' after 4.78 s

success:
Running:  Test login working
 ✔ Element <body> was visible after 221 milliseconds.

OK. 1 assertions passed. (2.444s)

code => undefined
success =>  true
new exitCode =>  0
[00:30:13] Finished 'func' after 3.06 s

Result test parallel
fail
   - Test login NOT working (3.968s)
   Timed out while waiting for element <input[type=submit]> to be present for 1000 milliseconds.  - expected "visible" but got: "not found"
       at Object.module.exports.Test login NOT working (/night-test/test/e2e/main.js:15:8)
       at _combinedTickCallback (internal/process/next_tick.js:67:7)

code => 1
success =>  { main: [] }
new exitCode =>  1
[00:48:19] Finished 'func' after 4.83 s

success
 main   Results for:  Test login working
 main   ✔ Element <body> was visible after 204 milliseconds.
 main   OK. 1 assertions passed. (2.309s)

  >> main finished.

code => 0
success =>  { main: [] }
new exitCode =>  0

I hope it's good! @tatsuyafw

I was about to submit a similar pull request and I found that just calling nightwatch.runner(argv);, without a function, had the desired outcome. The problem is that the function is called from this code in nightwatch.js:
          if (done) {
            try {
              done(self.childProcessOutput, code);
            } catch (err) {
              done(err);
            }
          }

          if (code) {
            process.exit(code);
          }

Therefore, the function might be called with two arguments, childProcessOutput, code, or one argument, error. Rather than try to workaround this inconsistent behavior, just not passing a functions exits with the expected code.

@cr3 that's cool! Thanks for your reply.
I just tested your case and it works like a charm. I made the same tests of my comment up here and results are the same too.
So, @tatsuyafw, I'm going to commit this change suggested by @cr3.
Thanks again.

@LasaleFamine @cr3
Awesome!!!
thank you for your contribution 😄

I've released as v0.3.2.


Translation description editor: switching back from preview to edit view loses all edits done

Describe the bug
In the editor for the description of a translator, after editing, and having switched to preview, then switching back to edit view, all edits will be lost.
To Reproduce
Idem
Expected behavior
Edits are not lost
Screenshots
N.A.
Browser
Windows, Chromium based
Additional context
N.A.

I encountered this several times. But when subsequently trying to reproduce this, I was not able to do so by the mentioned switching. I'm therefore not sure what caused it, and will close, and reopen if I find steps to reproduce it consistenly.


[Bug]: Cannot Select added S3 Storage in Settings > Scheduled Backup > S3 Storage

Error Message and Logs
After enabling S3 Storage under  Settings > Scheduled Backup, the S3 Storage dropdown does not list added S3 storage it only show Select a S3 Storage as the only option.

I can select my added S3 Storage as a backup option for supported database resources under projects so it clearly works as expected. But on the Settings page, it does not allow to select an option.  I have both Cloudflare R2 and Hetzner Storage Object configured.

Steps to Reproduce

Configure and add an S3 Enabled Storage
Validate Connection
Go to Settings > Backup > Scheduled Backup
Ensure Enable Backup is checked
Check Enable S3
Click the S3 Storage dropdown.

Example Repository URL
No response
Coolify Version
v4.0.0-beta.379
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Debian 12
Additional Information
No response

Can you try clearing your browser cache and try a different browser as well, as it works for me. Also can you revalidate each storage option to make sure they are working.


game room bug

if you click on the restart game button while in a game room, the gameID tag is replaced with autostart=1, fix

fixed

fixed


Is there docker-compose for development in container?

Hi,
We want try to develop H2o wave application, is there docker-compose sample to set up development enviornment?
Program language: Python.
IDE: VSCode

Hi @italanchan.
We do not have a such sample, but it should be trivial to build yourself since Wave's only dependency is Python 3.7 which means all you need is python base image. You are good with just plain docker (no need for docker-compose) for simple Wave apps development.
Also note that the dockerfile should be no different from the ones that are used for e.g. Django, Flask, or any other mainstream python framework.

Added sample project showcasing developing Wave apps within a container - https://github.com/h2oai/wave-apps/tree/main/docker-development.


Issues building tf2_geometry_msgs

Description
Overview of your issue here.
Your environment

ROS Distro: Dashing
OS Version: Ubuntu 18.04.2 LTS
Source build

Steps to reproduce
When building the moveit2 ws from source:
Starting >>> tf2_geometry_msgs
--- stderr: tf2_geometry_msgs
CMakeFiles/test_tf2_geometry_msgs.dir/test/test_tf2_geometry_msgs.cpp.o: In function `main':
test_tf2_geometry_msgs.cpp:(.text+0x2ab4): undefined reference to `tf2_ros::Buffer::Buffer(std::shared_ptr<rclcpp::Clock>, std::chrono::duration<long, std::ratio<1l,<PHONE_NUMBER>l> >)'
collect2: error: ld returned 1 exit status
make[2]: *** [test_tf2_geometry_msgs] Error 1
make[1]: *** [CMakeFiles/test_tf2_geometry_msgs.dir/all] Error 2
make: *** [all] Error 2
---
Failed   <<< tf2_geometry_msgs	[ Exited with code 2 ]

Is this due to the fact that Dashing ROS 2 installation has issues with geometry2?

We need to update the instructions. On GNU/Linux we only need to compile tf2_kdl the rest of the packages are already installed via apt or rosdep.

Related to https://github.com/ros2/geometry2/issues/116. A fix is currently being applied in the CI (credit to @LanderU) https://github.com/AcutronicRobotics/moveit_ci/blob/dashing/travis.sh#L174-L175 that fetches this package directly from the sources and compiles it.

https://github.com/AcutronicRobotics/moveit2/pull/116

Shall we close this then?
El El sáb, 15 jun 2019 a las 7:38, Lander Usategui San Juan <
<EMAIL_ADDRESS>escribió:

#116 https://github.com/AcutronicRobotics/moveit2/pull/116
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AcutronicRobotics/moveit2/issues/111?email_source=notifications&email_token=AAKPYDQTSTX5XXSPESCTEMLP2R54TA5CNFSM4HXDP5QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXYQ4UI#issuecomment-502337105,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKPYDWEROTFJTJ7FZHM2N3P2R54TANCNFSM4HXDP5QA
.


type UseStore is deprecated in zundo

Update UseStore to UseBoundStore.

#35

This is fixed in v1.6.0


Updated to loco 0.11 and fly stopped binding port?

Description
I've updated to loco 0.11 and it seems that my fly.io setup is broken now.
This is the output I see in the logs:
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]2024-10-20T20:00:00.610823Z  INFO loco_rs::controller::app_routes: +middleware name="static"
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]2024-10-20T20:00:00.610881Z  INFO loco_rs::controller::app_routes: +middleware name="logger"
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]2024-10-20T20:00:00.610896Z  INFO loco_rs::controller::app_routes: +middleware name="request_id"
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]2024-10-20T20:00:00.610922Z  INFO loco_rs::controller::app_routes: +middleware name="powered_by"
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]                      ▄     ▀
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]                                 ▀  ▄
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]                  ▄       ▀     ▄  ▄ ▄▀
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]                                    ▄ ▀▄▄
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]                        ▄     ▀    ▀  ▀▄▀█▄
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]                                          ▀█▄
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄ ▀▀█
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info] ██████  █████   ███ █████   ███ █████   ███ ▀█
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info] ██████  █████   ███ █████   ▀▀▀ █████   ███ ▄█▄
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info] ██████  █████   ███ █████       █████   ███ ████▄
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info] ██████  █████   ███ █████   ▄▄▄ █████   ███ █████
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info] ██████  █████   ███  ████   ███ █████   ███ ████▀
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]   ▀▀▀██▄ ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀ ██▀
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]                https://loco.rs
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]environment: production
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]   database: logging, automigrate
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]     logger: info
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]compilation: release
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]      modes: server
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]listening on http://<IP_ADDRESS>:5150
2024-10-20T20:00:00Z app[32873eea1e7918] lhr [info]2024/10/20 20:00:00 INFO SSH listening listen_address=[fdaa:0:a48f:a7b:2808:8572:2afb:2]:22 dns_server=[fdaa::3]:53
2024-10-20T20:00:02Z proxy[32873eea1e7918] lhr [error][PC01] instance refused connection. is your app listening on <IP_ADDRESS>:5150? make sure it is not only listening on <IP_ADDRESS> (hint: look at your startup logs, servers often print the address they are listening on)
2024-10-20T20:00:09Z proxy[3d8d313c0d9528] lhr [error][PC01] instance refused connection. is your app listening on <IP_ADDRESS>:5150? make sure it is not only listening on <IP_ADDRESS> (hint: look at your startup logs, servers often print the address they are listening on)
2024-10-20T20:00:13Z proxy[32873eea1e7918] lhr [error][PC01] instance refused connection. is your app listening on <IP_ADDRESS>:5150? make sure it is not only listening on <IP_ADDRESS> (hint: look at your startup logs, servers often print the address they are listening on)
2024-10-20T20:00:17Z proxy[32873eea1e7918] lhr [error][PR04] could not find a good candidate within 21 attempts at load balancing

Clearly the server starts listening to <IP_ADDRESS>:5150 but ot seems like fly can't get any answer from it?
This is my fly.toml
app = 'foody-v2'
primary_region = 'lhr'

kill_signal = "SIGINT"
kill_timeout = 5

[build]

[env]
LOCO_ENV = "production"

[http_service]
internal_port = 5150
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 1
processes = ['app']

[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1

[experimental]
entrypoint = ["/usr/app/foody-cli", "start", "--binding", "<IP_ADDRESS>"]

am I missing anything?

I think the jump is technically from a loco 0.6 or 0.7 all the way to 0.11 as 0.10 failed on me...

https://github.com/felipesere/foody-rs/commit/2cbb2a26ab926fb1f079dbd84c3486cd75721d6a
this commit ended up fixing my app. I wonder if there is some intermingling between passing --binding to loco as a flag vs passing it as a config value?

Per https://github.com/loco-rs/loco/blob/6d59f689786a93620f2f050b88febb19a7e2adfb/src/cli.rs#L484
We've added the -b flag which overrides (from the CLI) the binding config in the config file.
Does that make sense?

I just spend couple hours fixing it. In order to make binding work in production, I have to have binding in the production config file. And -b from the CLI does not help when there is no binding section in config file. And also by default binding setting is not in the example development and test config. Should  there be some document about it? Thanks.

thanks all, this should be fixed in #1007


Issue reference timeline events broken in GraphQL

Tracking here:
https://platform.github.community/t/issue-referencedevent-missing/2665

https://platform.github.community/t/issue-referencedevent-missing/2665/4
Should be ready to be fixed?


Add (a more) complete set of enumerated mission phases

Summary
Currently the only permissible value for <nh:mission_phase_name> is "KEM1 Encounter". This PR adds the other NH mission phases to that enumeration.
Test Data and/or Report
Builds and passes validate. See reports in cgobat/ldd-nh/logs/v<IP_ADDRESS>_execution_logs/.
Related Issues
None.

Closing in favor of #11


Using Operator with Pooler - role "cnpg_pooler_pgbouncer" does not exist

I have a pretty vanilla operator and pooler setup, experimenting with them, using pgadmin4 via the pooler service to access, letting the operator create the secrets
Pgadmin4 gets a timeout when logging in with the following logs being generated
Database Pod Logs
# {"level":"info","ts":1655279411.679227,"msg":"record","pipe":"stderr","record":{"timestamp":"2022-06-15 07:50:11.679 UTC","pid":"16","level":"WARNING","msg":"server login failed: FATAL role \"cnpg_pooler_pgbouncer\" does not exist"}}

Pooler Pod Logs
# {"level":"info","ts":1655279457.3416626,"msg":"record","pipe":"stderr","record":{"timestamp":"2022-06-15 07:50:57.341 UTC","pid":"16","level":"LOG","msg":"S-0x253bbb0: postgres/cnpg_pooler_pgbouncer@<IP_ADDRESS>:5432 new connection to server (fr
# {"level":"info","ts":1655279457.3450568,"msg":"record","pipe":"stderr","record":{"timestamp":"2022-06-15 07:50:57.344 UTC","pid":"16","level":"LOG","msg":"S-0x253bbb0: postgres/cnpg_pooler_pgbouncer@<IP_ADDRESS>:5432 SSL established: TLSv1.3/TLS
# {"level":"info","ts":1655279457.346074,"msg":"record","pipe":"stderr","record":{"timestamp":"2022-06-15 07:50:57.346 UTC","pid":"16","level":"WARNING","msg":"server login failed: FATAL role \"cnpg_pooler_pgbouncer\" does not exist"}}
# {"level":"info","ts":1655279457.3461196,"msg":"record","pipe":"stderr","record":{"timestamp":"2022-06-15 07:50:57.346 UTC","pid":"16","level":"LOG","msg":"S-0x253bbb0: postgres/cnpg_pooler_pgbouncer@<IP_ADDRESS>:5432 closing because: login faile
# {"level":"info","ts":1655279471.6721904,"msg":"record","pipe":"stderr","record":{"timestamp":"2022-06-15 07:51:11.672 UTC","pid":"16","level":"LOG","msg":"C-0x252b3b0: postgres/(nouser)@<IP_ADDRESS>:1794 closing because: query_wait_timeout (age=1
# {"level":"info","ts":1655279471.6722536,"msg":"record","pipe":"stderr","record":{"timestamp":"2022-06-15 07:51:11.672 UTC","pid":"16","level":"WARNING","msg":"C-0x252b3b0: postgres/(nouser)@<IP_ADDRESS>:1794 pooler error: query_wait_timeout"}}

Database Yaml
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: $DB_CLUSTER_NAME-database
  namespace: $POSTGRES_NAMESPACE
spec:
  instances: $postgres_number_of_instances
  imageName: ghcr.io/cloudnative-pg/postgresql:14.3
  startDelay: 0
  stopDelay: 0
  primaryUpdateStrategy: unsupervised

#  superuserSecret:
#    name: $DB_CLUSTER_NAME.superuser

  # Parameters and pg_hba configuration will be append
  # to the default ones to make the cluster work
  # https://github.com/cloudnative-pg/cloudnative-pg/blob/main/
  postgresql:
    parameters:
      max_worker_processes: "60"
      shared_buffers: "1GB"
      auto_explain.log_min_duration: '10s'
      pg_stat_statements.max: "10000"
      pg_stat_statements.track: all
      pgaudit.log: "all, -misc"
      pgaudit.log_catalog: "off"
      pgaudit.log_parameter: "on"
      pgaudit.log_relation: "on"

    pg_hba:
      # To access through TCP/IP you will need to get username
      # and password from the secret $DB_CLUSTER_NAME.app.user
      # - host all all all md5
      - host all all all scram-sha-256 # (or md5 for PostgreSQL

  bootstrap:
    initdb:
      database: bonanza
      owner: $POSTGRES_APP_USER
#      secret:
#        name: $DB_CLUSTER_NAME.app.user
      dataChecksums: true
      encoding: 'UTF8'

  resources:
    requests:
      cpu: "$postgres_request_cpu"
      memory: "$postgres_request_memory"
    limits:
      cpu: "$postgres_limits_cpu"
      memory: "$postgres_limits_memory"

  affinity:
    enablePodAntiAffinity: false #unrestricted affinity
    topologyKey: kubernetes.io/hostname #defaul value
    podAntiAffinityType: preferred #default value

  storage:
    size: $POSTGRES_DB_SIZE
#    storageClass: $PostgresStorageClass

  nodeMaintenanceWindow:
    inProgress: false
    reusePVC: true

---
apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
  name: $DB_CLUSTER_NAME.pooler.rw
  namespace: $POSTGRES_NAMESPACE
spec:
  cluster:
    name: $DB_CLUSTER_NAME-database
  instances: 2
  type: "rw"
  pgbouncer:
    poolMode: session
    parameters:
      max_client_conn: "1000"
      default_pool_size: "10"
---

hello, I tried reproducing the issue, but I didn't manage to. Here the stripped down configuration i've tried:
---
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: cluster-example
spec:
  instances: 3
  postgresql:
    pg_hba:
      - host all all all scram-sha-256 # (or md5 for PostgreSQL

  storage:
    size: 1Gi
  bootstrap:
    initdb:
      database: bonanza
      owner: bonanza
      dataChecksums: true
      encoding: 'UTF8'
---
apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
  name: pooler
spec:
  cluster:
    name: cluster-example
  instances: 2
  type: "rw"
  pgbouncer:
    poolMode: session
    parameters:
      max_client_conn: "1000"
      default_pool_size: "10"

tested the conneciton by getting the pasword from the cluster-example-superuser secret, decoded and tried accessing through the pooler from one of the cluster's instances itself: kubectl exec -ti  cluster-example-2 -- psql 'host=pooler user=postgres  dbname=postgres' and inserting the password.

Thanks for checking into this, appreciate it. YAML looks sames as what we used so a little bit of a mystery here. Will shelve this given issue https://github.com/cloudnative-pg/cloudnative-pg/issues/269 raised re multiple databases, but will look into this more when time permits


Add self for constants to avoid NameError

Two constants IsLower and IsAlpha were not correctly referenced in the later corresponding methods. This causes NameError (for example when you call tokenize_sents) as follows:
In [5]: from nltk.tokenize.moses import MosesTokenizer

In [6]: tok = MosesTokenizer()

In [7]: tok.isalpha("abc")

NameError                                 Traceback (most recent call last)
<ipython-input-7-0a65ead90c72> in <module>()
> 1 tok.isalpha("abc")

/path/to/packages/site-packages/nltk/tokenize/moses.py in isalpha(self, text)
    252
    253     def isalpha(self, text):
 >  254         return not set(text).difference(set(IsAlpha))
    255
    256     def has_numeric_only(self, text):

NameError: name 'IsAlpha' is not defined

Avoiding this by referring to them with self. prefix.

Thanks @rooa


The schema for views need to be updated to match the latest implementation

The following views currently fail validation:
views/__PrometheusRuleData.monitoring.coreos.com.yaml
views/__ResourceView.yaml
views/__TunedProfile.tuned.openshift.io.yaml

This has been fixed.


animated .gif replacement

The demo animated .gif needs to be replaced with a clearer faster one.

Replaced animated gif
Reversed order of gif and text
Added button links to privacy and support GET paths in routes/index.js


Add new bootstrap_modal tag

Hi, I've added new tag for bootstrap modal generation, demo example and tests. I think it will be usefull.
I checked it in travis-ci.org
if you find it interesting and usefull please write comments or sugessions

Thanks! Apologies for late reply. Looks promising, but also a lot of hardcoded identifiers. My personal experience is that you write the modals mostly in HTML due to dynamic content etc. SO for now I am not pulling this in.


upload with multipart

Moya isnt able to upload files with multipart?

Not yet. This is being tracked in #114 Implement uploading of multpart/form-data.

Duplicate of #114


proposal: os/exec: add option to send Interrupt instead of Kill on Context cancellation

The reason is that some executables do cleanup on Interrupt, like deleting temporary files.
Ideally it should send Interrupt but force a Kill after a timeout (of 2 seconds?). Also, it should be no-op on Windows that don't support sending Interrupt (and just send Kill instead).
It's already possible to manually listen to the Context and send the signals, but go test -race indicates a race when doing so, which I think it's not fixable because the internal mutex is unexported.
Background:

1
2

@andreynering this issue looks like a subset of the closed proposal https://github.com/golang/go/issues/21135 which was closed due to lack of demand since no one responded to @rsc's comment.

go test -race indicates a race when doing so

Please include the actual code you tried (ideally as a Playground link) and the actual error you got. If the obvious way to do it is racy, perhaps we can just fix the race.

@bcmills
package main

import (
	"context"
	"fmt"
	"os"
	"os/exec"
	"runtime"
	"time"
)

func main() {
	fmt.Println("Starting...")

	ctx, _ := context.WithTimeout(context.Background(), 2*time.Second)
	cmd := exec.CommandContext(ctx, "sleep", "5")

	go func() {
		<-ctx.Done()

		// Windows doesn't support Interrupt
		if runtime.GOOS == "windows" {
			_ = cmd.Process.Signal(os.Kill)
			return
		}

		go func() {
			time.Sleep(2 * time.Second)
			_ = cmd.Process.Signal(os.Kill)
		}()
		cmd.Process.Signal(os.Interrupt)
	}()

	if err := cmd.Run(); err != nil {
		panic(err)
	}

	fmt.Println("Finishing...")
}

@andreynering, sorry but can you also post the output you get from running that program with -race? I am not getting any race failures when I use "go run -race x.go" (where x.go is your program).
It's possible that the race you are seeing is on cmd.Process, which cmd.Run initializes and your goroutine uses. If so the solution would be to run cmd.Start then kick off the goroutine, then use cmd.Wait. Start is what initializes cmd.Process, so the goroutine does need to run only after Start has done that.

@rsc Sorry, there was a mistake in that script. Just change this line:
- cmd := exec.CommandContext(ctx, "sleep", "5")
+ cmd := exec.Command("sleep", "5")

And the output:
$ go run -race signal.go
Starting...
==================
WARNING: DATA RACE
Read at 0x00c42007a200 by goroutine 7:
  main.main.func1()
      /home/andrey/signal.go:31 +0x90

Previous write at 0x00c42007a200 by main goroutine:
  os/exec.(*Cmd).Start()
      /home/andrey/GOROOT/src/os/exec/exec.go:363 +0x8d6
  os/exec.(*Cmd).Run()
      /home/andrey/GOROOT/src/os/exec/exec.go:286 +0x3c
  main.main()
      /home/andrey/signal.go:34 +0x190

Goroutine 7 (running) created at:
  main.main()
      /home/andrey/signal.go:18 +0x182
==================
==================
WARNING: DATA RACE
Read at 0x00c4200800c0 by goroutine 7:
  os.(*Process).signal()
      /home/andrey/GOROOT/src/os/exec_unix.go:56 +0x51
  os.(*Process).Signal()
      /home/andrey/GOROOT/src/os/exec.go:121 +0x4c
  main.main.func1()
      /home/andrey/signal.go:31 +0xcd

Previous write at 0x00c4200800c0 by main goroutine:
  os.newProcess()
      /home/andrey/GOROOT/src/os/exec.go:24 +0x5d
  os.startProcess()
      /home/andrey/GOROOT/src/os/exec_posix.go:49 +0x542
  os.StartProcess()
      /home/andrey/GOROOT/src/os/exec.go:94 +0x7a
  os/exec.(*Cmd).Start()
      /home/andrey/GOROOT/src/os/exec/exec.go:363 +0x89b
  os/exec.(*Cmd).Run()
      /home/andrey/GOROOT/src/os/exec/exec.go:286 +0x3c
  main.main()
      /home/andrey/signal.go:34 +0x190

Goroutine 7 (running) created at:
  main.main()
      /home/andrey/signal.go:18 +0x182
==================
==================
WARNING: DATA RACE
Read at 0x00c4200800d0 by goroutine 7:
  sync/atomic.LoadInt32()
      /home/andrey/GOROOT/src/runtime/race_amd64.s:206 +0xb
  os.(*Process).done()
      /home/andrey/GOROOT/src/os/exec.go:34 +0x3e
  os.(*Process).signal()
      /home/andrey/GOROOT/src/os/exec_unix.go:64 +0x1dc
  os.(*Process).Signal()
      /home/andrey/GOROOT/src/os/exec.go:121 +0x4c
  main.main.func1()
      /home/andrey/signal.go:31 +0xcd

Previous write at 0x00c4200800d0 by main goroutine:
  os.newProcess()
      /home/andrey/GOROOT/src/os/exec.go:24 +0x5d
  os.startProcess()
      /home/andrey/GOROOT/src/os/exec_posix.go:49 +0x542
  os.StartProcess()
      /home/andrey/GOROOT/src/os/exec.go:94 +0x7a
  os/exec.(*Cmd).Start()
      /home/andrey/GOROOT/src/os/exec/exec.go:363 +0x89b
  os/exec.(*Cmd).Run()
      /home/andrey/GOROOT/src/os/exec/exec.go:286 +0x3c
  main.main()
      /home/andrey/signal.go:34 +0x190

Goroutine 7 (running) created at:
  main.main()
      /home/andrey/signal.go:18 +0x182
==================
panic: signal: interrupt

goroutine 1 [running]:
main.main()
        /home/andrey/signal.go:35 +0x248
exit status 2

It's possible that the race you are seeing is on cmd.Process, which cmd.Run initializes and your goroutine uses. If so the solution would be to run cmd.Start then kick off the goroutine, then use cmd.Wait. Start is what initializes cmd.Process, so the goroutine does need to run only after Start has done that.

 Using Start() and Wait() fixes the race. (Reproduce script below).
Anyway, I still think the proposal should be considered:

It's convenient to have that in the stdlib;
It's a common use case;
It's too easy to someone commit this mistake and have a racy code.

package main

import (
	"context"
	"fmt"
	"os"
	"os/exec"
	"runtime"
	"time"
)

func main() {
	fmt.Println("Starting...")

	ctx, _ := context.WithTimeout(context.Background(), 2*time.Second)
	cmd := exec.Command("sleep", "5")
	if err := cmd.Start(); err != nil {
		panic(err)
	}

	go func() {
		<-ctx.Done()

		// Windows doesn't support Interrupt
		if runtime.GOOS == "windows" {
			_ = cmd.Process.Signal(os.Kill)
			return
		}

		go func() {
			time.Sleep(2 * time.Second)
			_ = cmd.Process.Signal(os.Kill)
		}()
		cmd.Process.Signal(os.Interrupt)
	}()

	if err := cmd.Wait(); err != nil {
		panic(err)
	}

	fmt.Println("Finishing...")
}

As noted earlier, we did consider it at length in #21135 but decided not to. You can see the discussion there. We're not going to revisit this now, but maybe in a year if more evidence of demand accumulates. Sorry.

My 2 cents to indicate additional demand to reconsider the option of being able to send SIGINT (+ timeout + SIGKILL) instead of SIGKILL on Context cancellation.

I threw together a wrapper to handle this: https://github.com/cpuguy83/execctx
It indeed seems iffy to include something like this in the stdlib.

@cpuguy83, we've had a bit more experience with gracefully terminating subprocesses in various parts of the Go project, and the pattern that is emerging seems to be a variant of (*exec.Cmd).Wait rather than exec.Command:
https://github.com/golang/go/blob/cacac8bdc5c93e7bc71df71981fdf32dded017bf/src/cmd/go/script_test.go#L1091-L1098

@bcmills thanks! You showed a treasure I was not aware of.

@bcmills thanks for the link above. I'm a bit curious - isn't using that function for "graceful shutdown" on windows largely unhelpful, since os.Interrupt is not supported there? In other words, waitOrStop on Windows seems to kill the process immediately after the context is done, meaning waitOrStop isn't really improving things for Windows.
I'm once again wanting to have a "graceful shutdown of an exec.Cmd with a timeout for an os.Kill", but I just keep finding snippets which don't support Windows, or which only support Windows :) I ask here and now because you say there's a pattern emerging in various parts of the Go project, so I wonder if another version of this pattern does have Windows support like what's here: https://github.com/golang/go/blob/master/src/os/signal/signal_windows_test.go

@mvdan, I honestly haven't thought much about Windows since I'm mostly using the function to get better test output in case of deadlocks, and (in the programs I'm working with) deadlocks that occur on Windows also tend to occur elsewhere.
That said, I could easily imagine a variant of the above waitOrStop that instead invokes GenerateConsoleCtrlEvent on Windows if the interrupt signal is equal to os.Interrupt.

@cpuguy83, we've had a bit more experience with gracefully terminating subprocesses in various parts of the Go project, and the pattern that is emerging seems to be a variant of (*exec.Cmd).Wait rather than exec.Command:
https://github.com/golang/go/blob/cacac8bdc5c93e7bc71df71981fdf32dded017bf/src/cmd/go/script_test.go#L1091-L1098

I’m not competent enough in UNIX, so may I ask whether it makes sense to leave killDelay to 0? I know that this default value being 0 makes sense in either case, so my question is only about how to use this function properly.


CSS file missing.

here .less version:
https://github.com/spring-projects/spring-petclinic/blob/master/src/main/less/petclinic.less
you can get .css version (if you need) here:
https://github.com/spring-petclinic/spring-petclinic-angular/blob/master/src/assets/css/petclinic.css

@devayushk I don't really understand what you mean given the lack of description but CSS are generated by the maven build. Let's use this as an opportunity to improve the documentation.

There was already some documentation on Eclipse STS. I tidied it up a bit (b982e66). If someone wants to add the IntelliJ equivalent that would help.

Closing in favour of PR #358


Added Apollo wrapper to App.test to make initial test pass

After cloning from master I noticed the App.test fails due to a missing ApolloProvoder wrapper.
Added the wrapper and appropriate imports in order to make the default test pass.

Thanks @S2000Gan!


VCM add the possibility to select a video instead of a picture

Description of the new feature / enhancement
At the moment it is only possible to select a picture when the camera is muted.
It would be good to add the ability to select a video file too.
It should also be possible to select how the video file is looped, e.g. none / fade (x seconds) / boomerang.
Scenario when this would be used?
In some cases you may want to mute yourself without the other participants noticing that you are muted.  When muting your camera that video would be shown so everyone else would just think that you are still participating.
Supporting information
No response

/dup #7363

Duplicate of #7363

/dup #7363


t-coffee

Originally posted by @orangeSi in https://github.com/biowasm/aioli/issues/40#issuecomment-1752002835
          when I use the same way to complie(```emscripten/emsdk:2.0.34```) software ```t_coffee``` (http://tcoffee-packages.s3-website.eu-central-1.amazonaws.com/#Stable/Latest/) to wasm and got ```t_coffee.wasm``` without error, but when run in Chrome get error:

[WebWorker] Executing t_coffee -seq=input.fa -reg    args=null
20b6be06-daba-47f1-bec0-8e1412abe74c:1 RuntimeError: unreachable
    at set_nproc(int) (t_coffee.wasm:0x1689fa)
    at t_coffee_dpa(int, char**) (t_coffee.wasm:0x4735be)
    at batch_main(int, char**) (t_coffee.wasm:0x4538ab)
    at main (t_coffee.wasm:0x44d553)
    at VM13 t_coffee.js:1581:22
    at Object.callMain (VM13 t_coffee.js:5618:15)
    at Object.exec (20b6be06-daba-47f1-bec0-8e1412abe74c:1:5793)
    at i (20b6be06-daba-47f1-bec0-8e1412abe74c:1:1015)

detail of  at set_nproc(int) (t_coffee.wasm:0x1689fa) is as below:
  (func $set_nproc(int) (;882;) (param $var0 i32) (result i32)
    (local $var1 i32)
    (local $var2 i32)
    (local $var3 i32)
    (local $var4 i32)
    (local $var5 i32)
    global.get $__stack_pointer
    local.set $var1
    i32.const 16
    local.set $var2
    local.get $var1
    local.get $var2
    i32.sub
    local.set $var3
    local.get $var3
    local.get $var0
    i32.store offset=12
    local.get $var3
    i32.load offset=12
    local.set $var4
    i32.const 0
    local.set $var5
    local.get $var5
    local.get $var4
    i32.store offset=696988
    unreachable
  )

Do you occur the silimar error as above?
t_coffee.wasm and t_coffee.js is in t_coffee.wasm.js.zip
Thanks~
Si

@orangeSi I'll take a look, can you share the instructions you used to compile t coffee to WebAssembly?

ok, the main process is:
## go into docker container of emscripten/emsdk:2.0.34
cd /fsxlustre1/skw/software/biowasm/
wget https://github.com/biowasm/biowasm/archive/refs/heads/main.zip
unzip main.zip
cd biowasm-main
## add t_cofffee to biowasm.json
python3 bin/compile.py  --tools t_coffee --versions 13.46.0
## ok , then got  t_coffee.js and t_coffee.wasm in ./build/t_coffee/13.46.0

## then run it in Chrome, and I removed some thow(e) in  ```t_coffee.js```   to make ```t_coffee -version``` works,
#### but ```t_coffee iput.fa``` not work and output above raw error!

and the some detail is:
cat tools/t_coffee/compile.sh
set -eu
cd /fsxlustre1/skw/software/biowasm/biowasm-main/tools/t_coffee
cd tcoffee-Version_<IP_ADDRESS>9e8c6b/t_coffee/src/
emmake make  t_coffee \
    GPP=emcc CXX=em++ CC=em++ EM_FLAGS="$EM_FLAGS"

the t_coffee source code  is in http://tcoffee-packages.s3-website.eu-central-1.amazonaws.com/#Stable/Latest/
FOR reproduce my same error:
The test-biowasm.html + test-biowasm.js + t_coffee.js  + t_coffee.wasm which output the raw error can be downlad at
github_debug.zip

I get the same error. For some reason it really doesn't like set_nproc, which is weird because all it does is set a variable to a number.
But if I comment that out from t_coffee.c, it keeps going further BUT gives a different error:

Sounds like tcoffee creates a child process to run some other program? That's not supported in WebAssembly. So I don't think tcoffee will be compilable, unless you modify the program to not do any forking.

@robertaboukhalil  thanks a lot!  I will try to  give up the t_coffee later~


Gtask new

Coverage decreased (-4.9%) to 86.938% when pulling ec22233befc48a795c0f40a19212d0c9936a0827 on gtask-new into dc36be0d813a8330a57bc079660bfc38e2a42964 on development.

Coverage decreased (-4.9%) to 86.938% when pulling 52279d8ef644d761bd96947641a9683eda579171 on gtask-new into dc36be0d813a8330a57bc079660bfc38e2a42964 on development.

Coverage decreased (-4.9%) to 86.938% when pulling 52279d8ef644d761bd96947641a9683eda579171 on gtask-new into dc36be0d813a8330a57bc079660bfc38e2a42964 on development.

Coverage decreased (-5.2%) to 86.584% when pulling 8941b9134ec56b7619fcd785d46ae289354c1b16 on gtask-new into dc36be0d813a8330a57bc079660bfc38e2a42964 on development.

Coverage decreased (-4.4%) to 87.414% when pulling e6bc5954f11724b107e78d969775382ce7380ab2 on gtask-new into dc36be0d813a8330a57bc079660bfc38e2a42964 on development.

Coverage decreased (-4.3%) to 87.506% when pulling fa8e2b1401fa8ba206b9858cbc8d26444cf00c8d on gtask-new into dc36be0d813a8330a57bc079660bfc38e2a42964 on development.

Coverage decreased (-4.2%) to 87.849% when pulling 15c1e1911312aa3dd2e1ef5b42e9e23b405633f4 on gtask-new into 6fabf1d564ff34216db8a9012457ca09c2e7c7aa on development.

Coverage decreased (-4.2%) to 87.865% when pulling 29d5547252207e5cecf173509301c71abde43a24 on gtask-new into 6fabf1d564ff34216db8a9012457ca09c2e7c7aa on development.

Coverage decreased (-4.0%) to 87.478% when pulling c61df3626f10fe1020f3b985817c90ca3086eb5d on gtask-new into 4364f326de947e6eeb5958fdb7a7a788a9476f72 on development.

Coverage decreased (-4.0%) to 87.478% when pulling 4f86cd70d29164f3201731806629722e3ab4c917 on gtask-new into 4364f326de947e6eeb5958fdb7a7a788a9476f72 on development.


Custom yaw antiaim, more customizable autohop

Also removes the useless desync

Too many the same pull LOL

Is this flicking on gotv?

Too many the same pull LOL

yea i shouldve probably just took the pr straight from moi's repo since i fucked around with the readme file

Is this flicking on gotv?

not sure

if you have a high ping it will flick

not sure

Lol what u mean bro haven't you tried it yet?:DDDD??


ruff compliance for D409 and D410.

🚀 Pull Request
Description

PR solely for fixing:

D409: Section underline should match the length of its name
D410 Missing blank line after section

Continues work of https://github.com/SciTools/iris/issues/5625.

Consult Iris pull request check list

@tkknight LGTM 👍
Just need to resolve your file conflicts, then we're good to bank this.


Remove contributors

Hi @akhilmhdh ,
Me again. 😆
Is there an option to remove specific contributors from the list?
The reason is that the "Actions-user" is considered a "contributor", and not a bot:
https://alandefreitas.github.io/matplotplusplus/contributing/contributors.html
At first, I was just going to leave it there. But I noticed that, because the bot is working every time anyone pushes something, it will quickly become the most active contributor by far. 😂 That's kind of weird.
Sorry to be using issues for questions, but that might be kind of a feature request depending on what you think.

lol @alandefreitas sorry man. I was working on a DL project on past two days. So was busy. Anyways actually I solved your issue its not about removing. It was my mistake in which i forgot remove bots from collaborators and add them to bots list. I have done it and released a new patch v2.0.2. Try it and if it solved please close this issue.

I updated to v2.0.2 but "Actions-user" is still there.
https://github.com/alandefreitas/mdsplit#developers
Not sure, but I think  "Actions-user" is a username people use in some actions but github doesn't really consider it a bot.
It's the username I use for updating the docs from an action:
https://github.com/alandefreitas/mdsplit/blob/25186280f4da22764603430cd43f5f3b96af2c53/.github/workflows/docs.yml#L39
I don't know if I should be using another username to explicitly inform this is a bot, but I had a look at other repositories and it seems like everyone else also uses "Actions-user".
I think I've seen "Actions-user[bot]" somewhere once, but I don't know if that makes a difference. It wouldn't remove the old "Actions-user" as a contributor anyway.

@alandefreitas did u removed old data. I am actually using the old template to reuse it again to speed up the action. Can you just remove old data and run the action

Mmm... I had no idea.
Anyway, I removed the whole table:
https://github.com/alandefreitas/mdsplit/commit/188c897559a04738f7f93e9ecf006f40ffa1528e
Actions-user updated the docs for me:
https://github.com/alandefreitas/mdsplit/commit/4bafc14d3ac6519823480c7b04db6cf8bd8e2bcf
An contrib-readme-bot update the README.md and included Actions-user back in there.
https://github.com/alandefreitas/mdsplit/commit/7c4f8ea2ae771f6847651cdffb7c7934dc39f4e2

mmmm..interesting. I think I should probably use the action and see whats going on in it. Will ping you on new update 😄

@alandefreitas Check the new v2.1 I have fixed this bug for you. Moved the actions-user to bots list. If it solves it kindly close the issue, else definitely comment here.

Thanks!


Link to StackOverflow

You can scum yourself through the build issues with [skip ci].

I think the badge is a nice addition.

Yes, it's nice


multi-card（intel-gpu） training 只有workerlog.0有数据，其他workerlog就几行log

PaddleClas版本是develop
训练环境：
a. linux22.04
b.python3.10
c.intel-gpu

workerlog.0 log :
[2023/08/16 19:54:43] ppcls INFO: profiler_options : None
[2023/08/16 19:54:43] ppcls INFO: train with paddle 0.0.0 and device Place(intel_gpu:0)
[2023/08/16 19:54:45] ppcls WARNING: "init_res" will be deprecated, please use "init_net" instead.
[2023/08/16 19:54:45] ppcls WARNING: When using warm up, the value of "Global.epochs" must be greater than value of "Optimizer.lr.warmup_epoch". The value of "Optimizer.lr.warmup_epoch" has been set to 5.
[2023/08/16 19:54:45] ppcls WARNING: The training strategy provided by PaddleClas is based on 4 gpus. But the number of gpu is 2 in current training. Please modify the stategy (learning rate, batch size and so on) if use this config to train.
I0816 19:54:45.905280 1947284 tcp_utils.cc:181] The server starts to listen on IP_ANY:41848
I0816 19:54:45.905407 1947284 tcp_utils.cc:130] Successfully connected to <IP_ADDRESS>:41848
2023:08:16-19:54:45:(1947284) |CCL_WARN| could not get local_idx/count from environment variables, trying to get them from ATL
2023:08:16-19:54:45:(1947284) |CCL_WARN| sockets exchange mode is set. It may cause potential problem of 'Too many open file descriptors'
[2023/08/16 19:54:48] ppcls INFO: Set random seed to (0 + $PADDLE_TRAINER_ID) for different trainer
[2023/08/16 19:55:18] ppcls INFO: [Train][Epoch 1/5][Iter: 0/14]lr(LinearWarmup): 0.00017857, top1: 0.00000, top5: 0.05859, CELoss: 4.83407, loss: 4.83407, hw_cost: 28.08635s, batch_cost: 30.07965s, reader_cost: 1.98999, hw: 9.11475 fps, ips: 8.51074 samples/s, eta: 0:35:05
[2023/08/16 19:55:18] ppcls INFO: [Train][Epoch 1/5][Iter: 1/14]lr(LinearWarmup): 0.00035714, top1: 0.00000, top5: 0.07031, CELoss: 4.83559, loss: 4.83559, hw_cost: 14.43727s, batch_cost: 15.43543s, reader_cost: 0.99506, hw: 324.79581 fps, ips: 16.58522 samples/s, eta: 0:17:45
[2023/08/16 19:55:19] ppcls INFO: [Train][Epoch 1/5][Iter: 2/14]lr(LinearWarmup): 0.00053571, top1: 0.00000, top5: 0.04688, CELoss: 4.89722, loss: 4.89722, hw_cost: 9.88877s, batch_cost: 10.55530s, reader_cost: 0.66340, hw: 323.32837 fps, ips: 24.25322 samples/s, eta: 0:11:57
[2023/08/16 19:55:20] ppcls INFO: [Train][Epoch 1/5][Iter: 3/14]lr(LinearWarmup): 0.00071429, top1: 0.00000, top5: 0.03516, CELoss: 4.95507, loss: 4.95507, hw_cost: 7.61374s, batch_cost: 8.11436s, reader_cost: 0.49756, hw: 324.60562 fps, ips: 31.54899 samples/s, eta: 0:09:03
[2023/08/16 19:55:21] ppcls INFO: [Train][Epoch 1/5][Iter: 4/14]lr(LinearWarmup): 0.00089286, top1: 0.01016, top5: 0.04766, CELoss: 4.84117, loss: 4.84117, hw_cost: 6.24948s, batch_cost: 6.65057s, reader_cost: 0.39806, hw: 323.04976 fps, ips: 38.49293 samples/s, eta: 0:07:18
[2023/08/16 19:55:22] ppcls INFO: [Train][Epoch 1/5][Iter: 5/14]lr(LinearWarmup): 0.00107143, top1: 0.00846, top5: 0.03971, CELoss: 4.93871, loss: 4.93871, hw_cost: 0.79408s, batch_cost: 0.79694s, reader_cost: 0.00009, hw: 322.38613 fps, ips: 321.23011 samples/s, eta: 0:00:51
[2023/08/16 19:55:22] ppcls INFO: [Train][Epoch 1/5][Iter: 6/14]lr(LinearWarmup): 0.00125000, top1: 0.00725, top5: 0.06027, CELoss: 4.92091, loss: 4.92091, hw_cost: 0.79583s, batch_cost: 0.79864s, reader_cost: 0.00008, hw: 320.97142 fps, ips: 320.54559 samples/s, eta: 0:00:51
[2023/08/16 19:55:23] ppcls INFO: [Train][Epoch 1/5][Iter: 7/14]lr(LinearWarmup): 0.00142857, top1: 0.00684, top5: 0.07080, CELoss: 4.88681, loss: 4.88681, hw_cost: 0.79366s, batch_cost: 0.79648s, reader_cost: 0.00007, hw: 324.32726 fps, ips: 321.41556 samples/s, eta: 0:00:50
workerlog.1 只有几行log
I0816 19:54:42.765476 1947285 init.cc:232] ENV [CUSTOM_DEVICE_ROOT]=/home/afas/miniconda3/envs/chaofanl/lib/python3.10/site-packages/paddle_custom_device
I0816 19:54:42.765515 1947285 init.cc:141] Try loading custom device libs from: [/home/afas/miniconda3/envs/chaofanl/lib/python3.10/site-packages/paddle_custom_device]
I0816 19:54:42.834534 1947285 custom_device.cc:1042] Successed in loading custom runtime in lib: /home/afas/miniconda3/envs/chaofanl/lib/python3.10/site-packages/paddle_custom_device/libpaddle-custom-intel-gpu.so
I0816 19:54:42.835247 1947285 custom_kernel.cc:76] Successed in loading 94 custom kernel(s) from loaded lib(s), will be used like native ones.
I0816 19:54:42.835278 1947285 init.cc:153] Finished in LoadCustomDevice with libs_path: [/home/afas/miniconda3/envs/chaofanl/lib/python3.10/site-packages/paddle_custom_device]
I0816 19:54:42.835289 1947285 init.cc:238] CustomDevice: intel_gpu, visible devices count: 1
I0816 19:54:45.908782 1947285 tcp_utils.cc:130] Successfully connected to <IP_ADDRESS>:41848
2023:08:16-19:54:46:(1947285) |CCL_WARN| could not get local_idx/count from environment variables, trying to get them from ATL
2023:08:16-19:54:46:(1947285) |CCL_WARN| sockets exchange mode is set. It may cause potential problem of 'Too many open file descriptors'

run command
python -m paddle.distributed.launch --gpus "0,1" ./tools/train.py -c /home/user/ResNet50-dist.yaml

这是正常的。只有0号卡的进程输出信息，如果需要保留每张卡的进程的输出，可以简单改下这里的代码：
https://github.com/PaddlePaddle/PaddleClas/blob/release/2.5/ppcls/utils/logger.py#L88-L103

谢谢你这么快的回复，那我如果算performance得话是不是workerlog.0的数据乘以卡的数量啊？

嗯嗯，这样可以的

非常感谢，那我把这个issue 关掉了


Investigate how to capture descriptions for entities/entitysets/singletons

We are soon exposing descriptions in the OpenAPI operations from description annotations from the metadata. Currently, only description annotations for structured and navigation properties are captured in the metadata. We need to find out why descriptions for entities/entitysets/singletons aren't being captured.
AB#9281

Confirmed that these are already captured in the metadata.


CI/linting is not ran on libs when OpenAPI is changed

Bug Report
Changing the OpenAPI spec doesn't trigger a lint run for all libs. This is an issue because the generated code might not work with the layer we add on top. Therefore it's possible to commit OpenAPI changes which result in a broken library.

I think it's literally just adding the openapi.json to the paths that trigger a run, so should be easy to fix.

Resolved in #842 and #843


no error when jwt/session is expired

If the jwt is not refreshed (and becomes expired), and a dataset is synchronized, the onSuccess callback is called. The logs look like this:
syncing myTestDataset
console.js:26 Starting synchronization... (retries: 3)
console.js:26 Checking for locally merged datasets... found 0.
console.js:26 Detecting last sync count... 43
console.js:26 Fetching remote updates... found 0.
console.js:26 Checking for remote merged datasets... found 0.
console.js:26 Checking for remote updates since last sync count... found 0.
console.js:26 Nothing updated remotely. Pushing local changes to remote.
console.js:26 Sync successful.

Is this expected behavior? I would have expected onFailure to be called, otherwise how would we know whether an empty local dataset is truly empty or not? (we'd get onSuccess, and all get's would return undefined.)
If it is expected behavior, what is a best practice?

I'm considering wrapping everything in getSession as mentioned here: https://github.com/aws/amazon-cognito-identity-js/issues/74
otherwise calling some API that I haven't found yet that checks for session expiration?

By the way, I actually discovered this problem through an official email from AWS:

Recently, we saw that most of your calls to federate Cognito user Pool users into AWS with federated identities are failing because your code is sending expired Cognito User Pools ID Token to the federated identity service.

(as opposed to an error being thrown in the amazon-cognito-js code)

The error we reported to you for expired tokens was for the User Pools tokens, they do not have a direct correlation with dataset synchronization. If your user pools token is expired, your client never gets temporary AWS credentials from federated identity service and hence never calls Cognito Sync.
Can you paste some code here, so we can see what exactly might be wrong?

I'm surprised to hear anything is wrong/broken/erroring beyond the silent failure from the flow mentioned in original post because I'm not seeing any errors or broken functionality.
Since we may be forking the original topic, I'd ask any of theamazon-cognito-js lib developers to still look at the original post.
@chetanme I'm not currently paying the monthly fee for AWS support so that means I have no way of contacting you through the official channels (despite you being able to contact me). I also have no visibility into whether something is actually wrong (as mentioned in the first paragraph) so I'm "in the dark" here. Please feel free to contact me directly either via the email for my account in AWS's system or<EMAIL_ADDRESS>

I'd ask any of theamazon-cognito-js lib developers to still look at the original post.

I actually can't reproduce this now. When I save a JWT and then use it an hour later, I am indeed getting an error via the onFailure
A couple days ago I did get into a state where the onSuccess was firing, despite an expired JWT but now I can't reproduce it.
I'm tentatively calling this situation resolved since 1) I'm getting errors on onFailure callback, and 2) I wasn't previously refreshing tokens
unless, after today, the AWS team sends me another email that I'm still failing requests.


draft: gotosocial: 0.10.0->0.11.0

Description of changes
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Testing on my server shortly

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

1 package built:

gotosocial

Does gotosocial even exist in the release-23.05 branch?

It would seem not! Not sure what the etiquette is there then. Maybe wait for 23.11


call scheduler only if the task has to block

the previous version is able to switch to another core, if a task is available

bors r+

bors r+


with AS-IS ZenSlackChat Architecture

I don't think appending the raw XML from the diagram file to the README is helpful - better to just add it as a standalone file under /docs, I reckon.


fix: add hosts file to runc

Fixes RVT-4074
Changes

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

#1386  👈 (View in Graphite)
#1385
#1380
#1379
#1378
#1376
#1375
#1364
#1362
#1356
#1355
#1354
#1349
#1326
#1325
#1324
#1304
#1317
main

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


Unaliased sha1sum, sha1 or shasum not found

$ nvm install v0.10.29
Downloading https://nodejs.org/dist/v0.10.29/node-v0.10.29.tar.gz...
######################################################################## 100.0%
Unaliased sha1sum, sha1, or shasum not found.
nvm: install v0.10.29 failed!

Not sure what the issue is. I'm using nvm version 0.30.1. I installed it from the curl line in the readme.
I'm using git bash as my cmd console on windows 10.
Here's my .bashrc file

alias meteor="cmd //c meteor"^M
export NVM_DIR="/c/Users/Matt/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"

When running this code below I get this for the alias.

$ nvm_is_alias sha1sum ; echo $?
1

Let me know if you need anything else.
Thanks.

What does nvm debug print out? What does type sha1sum, type sha1, and type shasum print out? What OS are you on?

I experience this when using git bash on Windows, and I think it's due to git bash not including the sha1sum, sha1, or shasum commands. The sha1sum command can be installed with mingw-get install msys-coreutils however the current version crashes on my machine.

@SonnevilleJ nvm is not supported on windows, primarily because I have no means of running automated tests on it. The https://github.com/creationix/nvm#installation section on the README points to some windows alternatives.


ImportWarning while atempting to import bootstrap3/templates/

Hi all,
When running bootstrap3 normally I often get the warning ImportWarning: Not importing directory 'site-packages/boostrap3/templates' missing __init__.py which spams the logs.
The problem seems to be that there are two conflicting entities with the "same" name; the folder templates/ and the file templates.py.
Could perhaps templates.py be renamed to something else to avoid this clash?

Thanks, maybe we can join templates.py and utils.py

Thanks for the quick fix.


First 3 ball auto

Fixes #103
Fixes #91
Fixes #104

Changes look, we might need to tweak paths a bit to speed them up but high level looks good.


Add syntax highlighting for .nanorc files and Git-related dotfiles

Fixes #4335 by adding a bespoke highlighting grammar for .nanorc files, as well as several extra config formats:

.gitignore (and ignore-type manifests based on its syntax; e.g., .npmignore, .dockerignore, etc)
.gitconfig, .gitmodules
.gitattributes

Description
Since we're adding support for a language solely on aesthetic grounds, I thought to add highlighting for a few other widespread (and obvious) config formats: those used by Git itself.
Even if this addition is strictly superficial, I expect it'll be noticed (and welcomed) by many.
You'll notice .gitignore has been listed as "Ignore List". There are so many analogous formats based upon the gitignore(5) syntax, or a similar enough to a point of being virtually interchangeable with .gitignore (e.g., .bzrignore, .cvsignore).
There are probably countless other ignore-like formats with enough adoption to qualify for registration, but I've only added those I'm aware of (...which was exhausting enough already).
Checklist:

[x] I am adding a new language.

[x] The extension of the new language is used in hundreds of repositories on GitHub.com:

.atomignore: 399 files / 378 repos / 243 users
.babelignore: 211 files / 178 repos / 139 users
.bzrignore: ~4,504 files
.coffeelintignore: 1,283 files, 998 repos, 850 users
.cvsignore: ~364,972 results
.dockerignore: ~219,938 results
.eslintignore: ~1,877,266 results
.gitattributes: ~5,658,784 results
.gitconfig filename: ~99,163 results
.gitconfig extension: 1,452 files / 1,211 repos / 1,170 users
.gitmodules filename: ~1,328,213 files
.gitignore extension: ~120,877 results
.gitignore filename: ~30,930,758 results
.nanorc filename: ~56,021 results
.nanorc extension: ~47,713 results
.nodemonignore: ~6,366 results
.npmignore: ~57,496,063 results
.prettierignore: ~24,822 results
.stylelintignore: ~10,198 results
.vscodeignore: ~11,323 results
gitignore-global: ~14,552 results

[x] I have included a real-world usage sample for all extensions added in this PR:

.atomignore: MIT
.babelignore: Improvised
.bzrignore: Python license
.coffeelintignore: Improvised
.cvsignore: Artistic license
.dockerignore: Apache 2.0
.eslintignore: MIT
.gitattributes: One of my dotfiles, ISC-licensed
.gitconfig: MIT
.gitignore: One of my dotfiles, ISC-licensed
.gitmodules: MIT (First ~20 lines of Linguist's .gitmodules)
.nodemonignore: MIT
.npmignore: ISC, improvised based on a .gitignore file from Alhadis/Utils
.prettierignore: MIT
.stylelintignore: ISC
.vscodeignore: MIT
aliases.gitconfig: ISC
Finale.gitignore: Creative Commons
gitignore_global: MIT
gitignore-global: MIT
gitignore: Creative Commons
nanorc.nanorc: MIT
nanorc: Improvised, based on documented defaults

[x] I have included written several syntax highlighting grammars: https://github-lightshow.herokuapp.com/

.gitattributes: [ 1  |  2  |  3 ]
.gitconfig: [ 1  |  2  |  3 ]
.gitignore: [ 1  |  2  |  3 ]
.nanorc: [ 1  |  2  |  3 ]

@vmg, @lildude Would one of you care to test this with the grammar-compiler, please? 😬 I, erm, had to fudge docker with a blank executable in my $PATH because there's no Docker port for OpenBSD, and RubyGems hates each and every single MacBook I touch. 😥  That is, I can never get Linguist setup locally because I'm a r00b (Ruby n00b).

@Alhadis
$ script/grammar-compiler add vendor/grammars/language-etc
  > latest: Pulling from linguist/grammar-compiler
  > Digest: sha256:159ff655c832de0e3ab3ea1366992606b5f604bcb64f8757b6c575d4a7628bc6
  > Status: Image is up to date for linguist/grammar-compiler:latest
  > The new grammar repository `vendor/grammars/language-etc` (from https://github.com/Alhadis/language-etc) contains 1 errors:
  >     - Unknown keys in grammar: `source.nanorc` (in `grammars/nanorc.cson`) contains invalid keys (`maxTokensPerLine`)
  >
  > failed to compile the given grammar
$

That should be whitelisted.

@Alhadis You can add it to data.go then.

@Alhadis You can add it to data.go then.

Done and done! 😀 I'll make it a part of this PR, since there's no point slowing everything down by submitting a separate pull-request...

@Alhadis You can add it to data.go then.

Done and done! 😀 I'll make it a part of this PR, since there's no point slowing everything down by submitting a separate pull-request...

I'm clearly doing something wrong (complete Docker and Go noob) but I can't get this change to be picked up. 😞

Did you rm -rf the contents of the tmp/ directory? (Relative to your linguist checkout, I mean, not the /tmp folder!)

Did you rm -rf the contents of the tmp/ directory?

Yup. Whipped out the big docker image rm hammer too, and still no luck.

😨 Okay, erm, I'll leave this up to @vmg to figure out. 😰

I feel like I'm to blame with my hacky docker spoofing. 😅 Apologies for the mess and confusion.

I've got no objections with this if @pchaigno doesn't.

Ahem. @pchaigno, that would be your cue for the final response. 😉

@Alhadis There's one unresolved discussion above: I think we should remove the gitignore filename.

Burnt it.

@Alhadis :smile: Any idea of when this will be deployed to GitHub?

@perlun Updates to Linguist become live on GitHub once a new release of Linguist has been cut. The release cycle isn't set in stone, but it generally happens roughly once per month.

@Alhadis Alright, I see. I assumed it was being continuously delivered. :wink:

Well, it is in a way — every change made to the repository's master branch triggers a new job in CI, which alerts contributors to unexpected build failures. But that's a different affair to actually deploying code live on GitHub.

But that's a different affair to actually deploying code live on GitHub.

Yeah, I know. I was just trying to be funny. 😄
Anyway, thanks for the change and have a Merry Christmas soon there in the "land down under"! 🐊 🏄 etc. 😃


Use LIFO in join flow

Initial checklist

[x] I read the support docs
[x] I read the contributing guide
[x] I agree to follow the code of conduct
[x] I searched issues and couldn’t find anything (or linked relevant results below)
[x] If applicable, I’ve added docs and tests

Description of changes
join from options should have a higher priority. It's useful for handling list/listItem spread logic.

join from options should have a higher priority.

Why?

It's useful for handling list/listItem spread logic.

Yes, but it already supports that?

the test join function your provide returns zero lines between anything, which will break markdown. Can you provide the actual use case you have?

It's useful for handling list/listItem spread logic.

You can change the spread field on nodes for that?

join from options should have a higher priority.

Why?

It's useful for handling list/listItem spread logic.

Yes, but it already supports that?
the test join function your provide returns zero lines between anything, which will break markdown. Can you provide the actual use case you have?

The test case is the actual use case (If I add list/listitem conditions to the join function). In the case, I want to remove all unneccesary newLine to remove unneccesary <p>, just like what CKEDITOR5 is doing.

Here is the real case, a markdown WYSIWYG editor based on CKEDITOR5:
https://g13mo.codesandbox.io/
The extra new lines make the test html2markdown(markdown2html(value)) === value broken.

It's useful for handling list/listItem spread logic.

You can change the spread field on nodes for that?

Yes, I can, with a custom plugin.
But I really think it's more common to increase the priority of custom join.

The code you linked does not include mdast-util-to-markdown — what am I looking at?

The extra new lines make the test html2markdown(markdown2html(value)) === value broken.

Sounds like html2markdown(markdown2html(value)) is broken?

Yes, I can, with a custom plugin.

This is my suggestion

The test case is the actual use case (If I add list/listitem conditions to the join function). In the case, I want to remove all unneccesary newLine to remove unneccesary <p>, just like what CKEDITOR5 is doing.

Please show that actual code, because right now you’re breaking all of markdown.

How many join functions do you have? If you return undefined from a join, the next one already kicks in.
Assuming you do not pass tightDefinitions, then there are no join functions, meaning the order is exactly as how you pass them. You can pass them inverted yourself

The code you linked does not include mdast-util-to-markdown — what am I looking at?

The extra new lines make the test html2markdown(markdown2html(value)) === value broken.

Sounds like html2markdown(markdown2html(value)) is broken?

Yes, I can, with a custom plugin.

This is my suggestion

The test case is the actual use case (If I add list/listitem conditions to the join function). In the case, I want to remove all unneccesary newLine to remove unneccesary <p>, just like what CKEDITOR5 is doing.

Please show that actual code, because right now you’re breaking all of markdown.
How many join functions do you have? If you return undefined from a join, the next one already kicks in.
Assuming you do not pass tightDefinitions, then there are no join functions, meaning the order is exactly as how you pass them. You can pass them inverted yourself

html2markdown(markdown2html(value)) should equal value, but NOT.
There is always a default join return 1 or 0 always in the case, that make custom join never hit. It's make custom join less of powerful.

After all,  the change really breaking all of markdown.
Maybe a custom plugin is the best solution.
Maybe I should do more try and test.
Thanks for your patience.

Ah, nice catch, I get it now!

html2markdown(markdown2html(value)) should equal value, but NOT.

Are you using mdast-util-to-hast and hast-util-to-mdast for this? Or something else? Sounds like that is a separate bug?

html2markdown(markdown2html(value)) should equal value, but NOT.

Are you using mdast-util-to-hast and hast-util-to-mdast for this? Or something else? Sounds like that is a separate bug?

Yes, for some plugins.

Thanks, released! https://github.com/syntax-tree/mdast-util-to-markdown/releases/tag/1.0.1


Fix supplier part view/edit without a manufacturer

Fixes the following issues when a supplier part was created with an MPN but no manufacturer was assigned:

Viewing a supplier part stock item
Editing a supplier part stock item

@SchrodingersGat - I ran invoke translate in 402a7da, but this resulted in a massive diff. The only new translatable text was the 'No manufacturer set' text on the supplier part stock details page. Here's the lines in the en translation: https://github.com/inventree/InvenTree/blob/402a7dabf1a0a44e668aee01722b380240e5fadd/InvenTree/locale/en/LC_MESSAGES/django.po#L5743-L5745

Let me know how you would like to proceed with the translations. Maybe I ran the translation script incorrectly?

@atwalsh You shouldn't run invoke translate, the translation is handled by Crowdin now, you can revert your last commit :wink:

Sounds good. Do you have a preference on reset+force push or a revert?

I would do git reset HEAD^ then commit?

Thanks for the fix @atwalsh


Get clean on tslint warnings

Mostly missing semicolons, but also a few instances dead code and unused variables.

Sure thing. Done


renpy: 8.1.3 -> 8.2.1

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Hm, still a build error?

Actually it looks like passing cython_0 instead of cython should work for now (until upstream switches to Cython3)?

Actually it looks like passing cython_0 instead of cython should work for now (until upstream switches to Cython3)?

It does — and I'm working on a PR for ZHF that does just that

Thanks, didn't have time to investigate this further.

Thanks, didn't have time to investigate this further.

Would you like me to add the version bump in that PR as well?

Sure

Oh, thanks


[tinyxml2] Generate suffixed debug libraries

This is the same issue as #710 but for tinyxml2. Using find_package(tinyxml2) with a Release configuration finds the debug version of tinyxml2.lib resulting in the usual _ITERATOR_DEBUG_LEVEL and RuntimeLibrary mismatches at link time.
I'm using a FindTinyXML2.cmake floating around the web but find_library would have the same problem as that's all the module is using.

I submitted an upstream patch to hopefully help address this (just adding the usual "d" suffix).

The PR has been merged. It should be fixed.


Shell operations should use same Python as kernel

We want to avoid this situation:

And my best guess as to how to achieve this would be to update os.environ['PATH'] to match the selected kernel.

@mmarchetti @damianavila and @bollwyvl can you provide your 2¢ on this issue?  Is there an easy, obvious, and clean solution to this problem?  A size estimate from someone would be appreciated, if it is viewed as "sensible" and "achievable" to do this.

This particularly has impact when people do operations such as
!conda install foo

since this will install foo into the wrong environment.

I'm not that familiar with the interactive shell, but I wonder if we could set the config variable InteractiveShellApp.file_to_run to point to the .projectrc file. That would activate the right conda environment (setting PATH among other things) as well as any user-customizations applied there.

See also https://github.com/Anaconda-Platform/nb_conda_kernels/issues/17#issuecomment-211880733 and the linked comments.
I don't think InteractiveShellApp.file_to_run will be a solution, as this would a) only work in python kernels and not R and b) AFAIS this is executed as a python file and so you would need to duplicate the steps the activate script would do (e.g. especially calling the batch files in "%CONDA_DEFAULT_ENV%\etc\conda\activate.d and getting the changes back into the current process).
Any easy solution would be to not call python directly but a batch file which is generated and which does the activate and then exec (on linux) the kernel. The problem is that on windows, there is no exec and the jupyter-client has problem killing such kernels if they need to be killed (e.g. when using "restart" when the kernel is unresponsive) -> https://github.com/jupyter/jupyter_client/issues/104
See also See also this issue: https://github.com/jupyter/jupyter_client/issues/127 which discusses some other ways how to setup the environment variables before starting a kernel.

I agree InteractiveShellApp.file_to_run is probably not an option... because of the things outlined by @janschulz.
From the AEN perspective, I don't see a problem because the user can not conda install in the notebook server environment, and they have the conda ab to actually use conda...
This probably need some of the work already outlined by @janschulz in several of the issues he referenced back.
@ijstokes So... probably this is something to deal with in the future BUT looking how these things evolve and probably not a high priority now compared with other overall priorities (although everyone would like to see it now).

We have a need in our deployment to get this working. I know activating the env via the batch file won't work on Windows, but will you consider a PR that at least fixes it for Linux now?

Just FYI: this is now fixed in the https://github.com/Cadair/jupyter_environment_kernels/ and so the solution there should be copyable into this repo.

@janschulz thanks for the pointer. So it looks like porting that solution here would minimally involve duplicating the magic xonsh script that dumps env vars, and getting those env vars into the kernel spec params.

If this shouldn't be a performance hog at startup time, it also needs to pull in the lazyobj file and usage...

This is fixed by #80.


[FEATURE] Break all the leaves from a tree at one time so Fast Leave decay doesn't do it's work before the log is chopped

that might be laggy for big trees... break the leafs first... logs last... that should solve problems with that.

It does that already but sometimes FLD gets triggered when half of them are broken

that sucks.