fix: privatekey suffix between 3 and 5 chars

Description:
Currently the Regex match for privatekeys only matches 4 "-" characters, but private keys typically end with 5 "-" characters.
I think the current behavior might actual be useful in detecting keys where there last characters has been accidentally ommited, but its a bit of an edge case.
I was using gitleaks to extract private keys from repositories and had issues handling them as they were being parsed out without the final closing "-".  This new signature will greedy match the "-"'s at the end of the key.
Checklist:

[ ] Does your PR pass tests?
[ ] Have you written new tests for your changes?
[ ] Have you lint your code locally prior to submission?

@SimonGurney Thanks for the PR and thorough description.
I believe you'll have to run cmd/generate/config/main.go for your changes to be reflected in the default gitleaks.toml. See here: https://github.com/zricethezav/gitleaks/blob/master/CONTRIBUTING.md

hey I already have a PR for this!!: https://github.com/zricethezav/gitleaks/pull/1043

in file: config/gitleaks.toml
line: 2414
can someone merge this PR please? 😅

@icecream-monster Indeed you do! What do you think about SimonGurney's idea for detecting between 3 and 5 dashes? Could be useful for detecting keys where there last characters has been accidentally ommited...?


python310Packages.pymodbus: 3.5.4 -> 3.6.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pymodbus is: Python implementation of the Modbus protocol
meta.homepage for python310Packages.pymodbus is: https://github.com/pymodbus-dev/pymodbus
meta.changelog for python310Packages.pymodbus is: https://github.com/pymodbus-dev/pymodbus/releases/tag/v3.6.3
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.6.3 with grep in /nix/store/j4s1v676px1gmfl3aw00l58js6bikp8j-python3.10-pymodbus-3.6.3
found 3.6.3 in filename of file in /nix/store/j4s1v676px1gmfl3aw00l58js6bikp8j-python3.10-pymodbus-3.6.3

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
expliot
home-assistant-component-tests.modbus
python310Packages.pymodbus
python311Packages.pymodbus

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/j4s1v676px1gmfl3aw00l58js6bikp8j-python3.10-pymodbus-3.6.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.pymodbus https://github.com/r-ryantm/nixpkgs/archive/c6fea8090dc10be6e8ac73e13f336ad702ac8383.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c6fea8090dc10be6e8ac73e13f336ad702ac8383#python310Packages.pymodbus

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/j4s1v676px1gmfl3aw00l58js6bikp8j-python3.10-pymodbus-3.6.3
ls -la /nix/store/j4s1v676px1gmfl3aw00l58js6bikp8j-python3.10-pymodbus-3.6.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

expliot
python310Packages.pymodbus
python311Packages.pymodbus

Maintainer pings
cc @fabaff for testing.

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

1 package failed to build:

home-assistant-component-tests.modbus

6 packages built:

expliot
expliot.dist
python310Packages.pymodbus
python310Packages.pymodbus.dist
python311Packages.pymodbus
python311Packages.pymodbus.dist


V1.2b update of Help Message and Load Data related

Only edited the files in main; havn't edited test yet!

The UI for the help window can be improved in v1.3. As of now, looks good to merge. Thanks for the effort!


Which ide platform you used for run the app?

What is your description?

Which ide platform you used for run the app?
The app was not built...showing failed


Suggestion for data files section

This section states "For a selected list of organisms, pre-computed index files can be downloaded from here." A) is "here" supposed to be a link?  B) what organisms?

Apparently, FTP links in md are not properly rendered.
Ive taken out the shortcut and exposed the link

Thanks Ben, the link is fixed now.


Image alignment of exported content is not working

Describe the bug
When I save the image position to center and reload the page with the exported data, the image position resets to the left, after doing some small change to the image size it goes to the correct position
To Reproduce
Steps to reproduce the behavior:
https://www.loom.com/share/b971c3b60f7045e495fb11dab5418728
Expected behavior
After loading the exported content image does not go to the expected position i.e. center
Screenshots
https://www.loom.com/share/b971c3b60f7045e495fb11dab5418728
Desktop (please complete the following information):

OS: Windows 11
Browser Chrome, Opera

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

The 2.44.12 version has been updated.
Thank you.

Thanks man god speed


Activate python virtual environment before installing packages with pip

At the bottom of the 10/21 - 10/25 section it gives instructions for updating. These instructions should activate the python virtual environment before calling pip otherwise the packages will be installed globally. This can cause conflicts with package managers on Linux.
Instead you should activate the python virtual environment first, like in https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Xformers

Edited, thanks for pointing this out. If the instructions are still wrong, just send another issue my way and I'll fix it


Add clear dapp browser cache action to Settings tab

For #1244

A simple way to test manually if it works.

Visit a particular URL in dapp browser
Open web inspector and run localStorage.x = "I set this"
Run localStorage.x to verify it's there
Tap Settings > Clear Dapp Brower cache
Repeat (3) and it should be nil.


HHH-13175 - Eager subsequent-select fails when EntityGraph is specifi…

Jira: https://hibernate.atlassian.net/browse/HHH-13175
Alternative to https://github.com/hibernate/hibernate-orm/pull/2709

Squashed the 2 commits and merged, thanks!


Escape IconUrl value before we output it.

Simple-nuget-server threw an unterminated entity reference error when I pushed xunit 1.9.2 to our NuGet repository. The xunit package has IconUrl "http://download.codeplex.com/Download?ProjectName=xunit&DownloadId=365445", which needs to be escaped to "http://download.codeplex.com/Download?ProjectName=xunit&DownloadId=365445".
Moving the string escape to the $entry->addChild invocation at addMeta probably makes more sense, though I haven't tested that.

Same issue happens with ImpromptuInterface 6.2.2 - Added an escape for description. Once again, probably makes more sense to move escape to entry->addChild call though I haven't tested that yet.

Seems fine to me. Thanks!


Improve test automation of UI

Internal reference: SURE-5055

Build out automated tests
Track automated test progress = number of tests and coverage

Will collapse this ticket since it was an epic, so the sub-parts actually need tickets.

Closing this ticket in light of these new ones tied to the specific items:

https://github.com/rancher/dashboard/issues/7488
https://github.com/rancher/dashboard/issues/7489


change mybatis docs start path

@gastaldi I will raise another PR to add mybatis-plus docs when we get it working.


Fix broken kitchen tests

Tests were broken:

with latest version of Berkshelf,
after removing the Java recipe, since no JAVA_HOME env var was found.

I've included the error messages I was getting. Tests should now work!
Please let me know if you need anything else to merge this in.

any luck getting this merged in? Anything I can do to help?

guys, don't you think this should get merged in?

If you wanna rebase this for the latest state of the repo I'll merge it in.  At this point it might be easier to just open a new PR with just the java cookbook fix.

ok sure - lemme just make sure this still runs with the latest changes from upstream and I'll get back to you

@tas50 closing this, in favour of #164.


Fresh run of rebuild target causes error

CMake settings
Build procedure:
$ cd dartpy
$ mkdir build; cd build
$ cmake ..
$ make binding // <-- this causes the above errors
$ cmake ..
$ make binding // Now no error!

Error messages:
[100%] Performing build step for 'dartpy_CHIMERA_REBUILD'
[100%] No install step for 'dartpy_CHIMERA_REBUILD'
[100%] Completed 'dartpy_CHIMERA_REBUILD'
[100%] Built target dartpy_CHIMERA_REBUILD
python/dartpy/CMakeFiles/binding.dir/build.make:54: CMakeFiles/binding.dir/progress.make: No such file or directory
make[3]: *** No rule to make target 'CMakeFiles/binding.dir/progress.make'.  Stop.
CMakeFiles/Makefile2:6246: recipe for target 'python/dartpy/CMakeFiles/binding.dir/all' failed
make[2]: *** [python/dartpy/CMakeFiles/binding.dir/all] Error 2
CMakeFiles/Makefile2:6258: recipe for target 'python/dartpy/CMakeFiles/binding.dir/rule' failed
make[1]: *** [python/dartpy/CMakeFiles/binding.dir/rule] Error 2
Makefile:1761: recipe for target 'binding' failed
make: *** [binding] Error 2

I think that you are right that this is a pathing issue.
The BUILD_IN_SOURCE option is probably changing one of the paths to make this work.  Can you figure out what the listing of those directories actually are, and where the file is actually getting generated?  I would have expected ExternalProject_Add to do the right thing here, but perhaps it is inheriting something from the outer build?

I don't know why but this is resolved by removing the nested project declaration in CMakeLists.txt of the python binding subdirectory. My guess is that some built-in scripts (maybe of ExternalProject_Add or add_custom_target()) use PROJECT_SOURCE_DIR instead of CMAKE_CURRENT_SOURCE_DIR and vice versa.

Wow, this is a good find...
I wonder what is using that...

It might be the full path being generated for PREFIX/EP_PREFIX/EP_BASE?
https://cmake.org/cmake/help/v3.8/module/ExternalProject.html


Consider using native node:crypto to sign requests in sign-fn-url

The src/lambdas/sign-fn-url.ts function uses the @aws-crypto/sha256-js module to sign requests to the function url and provide IAM authentication.
The same module is used by other AWS projects and works just fine, however it's meant to be an isomorphic package. This means it contains code that make it work on both Node.js and the browser.
For Lambda, and specifically for all the current Node.js runtimes, most of the package is not needed since modern implementations of node:crypto can do the job just fine.
In other projects of mine I have replaced the package with the following implementation, which should be a drop-in class for the interfaces required by the SignatureV4 function:
import {
  createHash,
  createHmac,
  type BinaryLike,
  type Hmac,
  type KeyObject,
} from "node:crypto";

class Sha256 {
  private readonly hash: Hmac;

  public constructor(secret?: unknown) {
    this.hash = secret
      ? createHmac("sha256", secret as BinaryLike | KeyObject)
      : createHash("sha256");
  }

  public digest(): Promise<Uint8Array> {
    const buffer = this.hash.digest();

    return Promise.resolve(new Uint8Array(buffer.buffer));
  }

  public update(array: Uint8Array): void {
    this.hash.update(array);
  }
}

The alternative implementation helps reduce the bundle by ~7%, which is admittedly not much, but it's one less dependency to maintain.
Using @aws-crypto/sha256-js:
npx esbuild --bundle ./src/lambdas/sign-fn-url.ts --target="node18" --platform="node" --outfile="assets/lambdas/sign-fn-url/index.js" --sourcemap

  assets/lambdas/sign-fn-url/index.js      185.7kb
  assets/lambdas/sign-fn-url/index.js.map  291.1kb

Using alternate implementation
npx esbuild --bundle ./src/lambdas/sign-fn-url.ts --target="node18" --platform="node" --outfile="assets/lambdas/sign-fn-url/index.js" --sourcemap

  assets/lambdas/sign-fn-url/index.js      172.5kb
  assets/lambdas/sign-fn-url/index.js.map  274.9kb

Hey @dreamorosi, excellent suggestion! However, a Q4 2023 CloudFront feature (OAC Lambda) will negate the need for this CloudFront function. When that feature lands, we can enable it by default so Nextjs Lambdas aren't open to world and more secure. I'll keep this in mind though for the future!


http://www.ostera.io/tldr.jsx/ Broken

http://www.ostera.io/tldr.jsx/ should probably redirect to the new? site: https://tldr.ostera.io/

@TechplexEngineer good catch! I'll fix that now.

A naive fix is in place, using an <meta http-equiv="Refresh" ...>.
I'll look into a better solution for this, but since the site was previously hosted on Github Pages I doubt there's a lot of flexibility when it comes to redirections.
Thanks again for reporting this 👍


[BUG] 验证器方法exclude_if报错

Execute the command and paste the result below.
Command: uname -a && php -v && composer info | grep hyperf && php --ri swoole
Linux VM-8-16-debian 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux
PHP 8.3.7 (cli) (built: Jun 19 2024 14:12:12) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.7, Copyright (c) Zend Technologies
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]?
hyperf/cache                       3.1.27  A cache component for hyperf.
hyperf/code-parser                 3.1.15  A code parser component for Hyperf.
hyperf/codec                       3.1.27  A codec component for Hyperf.
hyperf/collection                  3.1.30  Hyperf Collection package which come from illuminate/collections
hyperf/command                     3.1.22  Command for hyperf
hyperf/conditionable               3.1.27  Hyperf Macroable package which come from illuminate/conditionable
hyperf/config                      3.1.27  An independent component that provides configuration container.
hyperf/context                     3.1.31  A coroutine/application context library.
hyperf/contract                    3.1.28  The contracts of Hyperf.
hyperf/coordinator                 3.1.27  Hyperf Coordinator
hyperf/coroutine                   3.1.29  Hyperf Coroutine
hyperf/database                    3.1.26  A flexible database library.
hyperf/db-connection               3.1.15  A hyperf db connection handler for hyperf/database.
hyperf/devtool                     3.1.15  A Devtool for Hyperf.
hyperf/di                          3.1.15  A DI for Hyperf.
hyperf/dispatcher                  3.1.15  A HTTP Server for Hyperf.
hyperf/engine                      2.10.5  Coroutine engine provided by swoole.
hyperf/engine-contract             1.9.1   Contract for Coroutine Engine
hyperf/event                       3.1.15  an event manager that implements PSR-14.
hyperf/exception-handler           3.1.22  Exception handler for hyperf
hyperf/framework                   3.1.23  A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.
hyperf/guzzle                      3.1.27  Swoole coroutine handler for guzzle
hyperf/http-message                3.1.15  microservice framework base on swoole
hyperf/http-server                 3.1.27  A HTTP Server for Hyperf.
hyperf/logger                      3.1.31  A logger component for hyperf.
hyperf/macroable                   3.1.27  Hyperf Macroable package which come from illuminate/macroable
hyperf/memory                      3.1.27  An independent component that use to operate and manage memory.
hyperf/model-listener              3.1.27  A model listener for Hyperf.
hyperf/pipeline                    3.1.27  Hyperf Macroable package which come from illuminate/pipeline
hyperf/pool                        3.1.27  An independent universal connection pool component.
hyperf/process                     3.1.27  A process component for hyperf.
hyperf/serializer                  3.1.27  A serializer component for Hyperf.
hyperf/server                      3.1.27  A base server library for Hyperf.
hyperf/stdlib                      3.1.27  A stdlib component for Hyperf.
hyperf/stringable                  3.1.29  Hyperf Stringable package which come from illuminate/support
hyperf/support                     3.1.31  A support component for Hyperf.
hyperf/tappable                    3.1.29  Hyperf Macroable package which come from illuminate/tappable
hyperf/testing                     3.1.27  Testing for hyperf
hyperf/translation                 3.1.27  An independent translation component, forked by illuminate/translation.
hyperf/utils                       3.1.27  A tools package that could help developer solved the problem quickly.
hyperf/validation                  3.1.28  hyperf validation
hyperf/watcher                     3.1.19  Hot reload watcher for Hyperf

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 5.1.0
Built => Jun 19 2024 16:43:58
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
sockets => enabled
openssl => OpenSSL 3.0.11 19 Sep 2023
dtls => enabled
http2 => enabled
json => enabled
curl-native => enabled
pcre => enabled
zlib => 1.2.13
brotli => E16777225/D16777225
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_fiber_mock => Off => Off
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608

Description:

Steps To Reproduce:
code：
$this->validationFactory->make($json, [
'params.event' => 'required|string|lowercase|in:get,put',
'params.testing' => 'exclude_if:params.event,get|required',
], $this->messages)->validate();
error：
Method Hyperf\Validation\Validator::validateExcludeIf does not exist.[186]

同样遇到此问题：
FormRequest:
'skus.0.qty' => ['exclude_if:status,1', 'integer|min:1'],


Sample app: filter contacts by accounts

done!

The initial implementation needs to be refactored to a simpler UI to match https://github.com/vestrel00/contacts-android/issues/72

The initial implementation needs to be refactored to a simpler UI to match https://github.com/vestrel00/contacts-android/issues/72

Actually, I'm thinking it's better to just use what we have but improve on it.

[ ] Only show accounts (and blocked numbers) in menu overflow
[ ] Add description TextView in AccountsActivity?


Limit suggestions to current locale, and export engine

Thank you for developing vuepress-plugin-full-text-search2. I am proposing 2 changes in this pull request:

Return suggestions only for the current locale.
Export engine, which will allow useSuggestions to be imported in other components.

An additional suggestion (not in this pull request) is to define a new option:

suggestAllLocales (boolean)
When true, the search engine will return suggestions from all locales.
When false, the search engine will return suggestions only for the current locale.

Thank you for considering this request.

Thank you for this PR.
I'll check locale support when I have time.
I think we need a new entry for export. For example, "./client" : "./lib/client/index.js".


Toolbox does not start when there is no simulation data

When the toolbox points to an emtpy simulation data directory, it does not start.

Solved in 0.5.0.


Allow --site-id on deploy command

- Do you want to request a feature or report a bug?
feature
- What is the current behavior?
deploy uses .netlify/json file.    I would like to pass site id as a parameter.
- If the current behavior is a bug, please provide the steps to reproduce.
- What is the expected behavior?
- Please mention your node.js, and operating system version.

We allow the use of the environment variable NETLIFY_SITE_ID, to override or bypass the link step, but I'm thinking maybe a flag could be helpful here as well.

Specifying a site ID when running the command is very useful when deploying multiple sites at the same time (eg. from a mono repo).

Ok, I decided to to this.  Stay posted.

I released a beta that should address this issue: see https://github.com/netlify/cli/pull/147#issuecomment-429497857
Expect a full release monday.

<EMAIL_ADDRESS>


how to get rlp certs from another deployment?

In our deployment, we want to connect to RLP to stream logs, so the certs are needed. While RLP does not expose its certs, how to get them from another deployment?

To connect to the RLP, you'll need to generate certs that use the loggregator_ca and have the cn rlp-gateway. Example:
https://github.com/cloudfoundry/cf-deployment/blob/a97f26ee7108f179873574b5648c1cbe8cb7b176/cf-deployment.yml#L1984-L1990
Also, consider consuming from the RLP-Gateway. It's a component that allows you to consume the v2 api without needing certs, similar to the firehose.
https://github.com/cloudfoundry/loggregator/blob/925b09a107d4d11286e0b84d5f2f090b30f6a397/docs/rlp_gateway.md

@qibobo please let us know if you need anything else and feel free to reopen the issue. I am going to close this for now, since Travis gave you some correct answers


init_image support

Do any of the drawing modules have support for initialising from an image? I looked but didn't see any inverse FFT code currently in the codebase. If not this might be an interesting feature to consider adding for any models that would easily support such an operation.

all three main methods can start from an image - fft, dwt, rgb.
this feature is very hacky [and kinda broken] though, in line with my understanding of the functions from the lucent lib. the colors usually become seriously distorted on the load; so i would definitely appreciate any hints regarding fixing this.

Thanks - I've found this in the code via the "resume" argument. Agreed the current implementation is a bit rough around the edges, but a useful baseline we might be able to improve over time.

I was looking for a way to initialize fft from an image, for a setup that uses FFT for image generation and VGG19 style transfer and CLIP for guiding the iterations. My FFT implementation was borrowed from here, and I had to rework it (largely by trial and error) to get it to start from a good reproduction of the init image.
You'll find my code here https://github.com/htoyryla/fftstylediver
It will probably not work correctly on the latest pytorch versions (have not tested it and I have changed the FFT dimension thing). I have also done some scaling things differently, and dropped to_valid_rgb from the chain.


Not Downloading any files

Hi,
I have an issue when i'm trying to download any file from page 170 - however page 160 is fetching some movies but not everything (stop after small amount of movies) (downloading not started
Directory:      ./None
Quality:        all
Movie Genre:    all
Minimum Rating: 0
Categorization: none
Minimum Year:   1999
Starting page:  170
Movie posters:  False
Append IMDb ID: True
Multiprocess:   True
Query was successful.
Found 7958 movies. Download starting...
Downloading:   0%|                                                                         | 0/7958 [00:00<?, ?Files/s]
Download finished.
option: If you can include an export option as CSV include (URL 72P - 1080P - 2160P ) + IMDB code instead of downloading all the files from CMD it can be exported as CSV as well

now language option is available but I think you stopped supporting the scraper :(

Sorry for the late reply. I did try to reproduce this issue to no avail. I will try to implement an export CSV option when I have the time.
As for the language option; I did look into it but language info on the API is far from reliable. You can look for yourself and see that lots of non-English movies has English listed as their language. This option can easily be implemented but it won't do the job, so for now I have no intention of implementing it.

Thanks alot
yes CSV will be more reliable when you have time you can do it
for language i randomly checked before it looks most English titles are correct may be iam wrong but if it's easy to implement why not :)

CSV support was added. See:
https://github.com/Ozencb/yts-scraper/commit/f014ba367d45ebfee880eea397a3b0d77a75024e


Button css getting changed on mobile devices

Hello,
I am having trouble in button visibility and alingnment on my mobile device. Need help..
Thank You !

Take a look at this please: https://github.com/kriskbx/whatsapp-sharing/blob/master/ISSUES.md


Make the default command "run" method run a function passed in options

Instead of having to extend "Command" every time, it would be nice to be able to use it like this:
let c = new Command(bot, {
    name: 'add',
    group: 'math',
    description: 'Performs addition.',
    // ....
    run: async function(msg, args) {
        // ....
    }
});

This would allow you to package multiple commands into one class.

You already can do this, simply by overwriting the run method. Remember that methods are just properties in JS.
const cmd = new Command(client, {
    name: 'some-command',
    group: 'idk',
    memberName: 'lol',
    description: 'Does something neat.'
});
cmd.run = async function(msg, args) {
    // stuff
};

The disadvantage of making command instances directly is that it won't support having multiple clients correctly - which is why I'm not exactly encouraging this setup.


[Benchmark] Support XGBoost GPU prediction and remove large CPU overhead in benchmark timing

XGB supports GPU prediction, so we should be able to compare XGB GPU perf and HB + GPU on Torch, TVM.
Also, I found that there is a large CPU overhead in how prediction results are stored in the predictions array.
https://github.com/microsoft/hummingbird/blob/main/hummingbird/ml/_container.py#L103-L115
Before the benchmarking script was merged to the main branch, predictions array was preallocated and results were written directly to it, like this
self.predictions = np.empty([total_size, self.params["n_classes"]], dtype="f4")for i in range(0, iterations):
for i in range(iterations)
    start = i * batch_size
    end = min(start + batch_size, total_size)
    self.predictions[start:end, :] = self.model.predict_proba(predict_data[start:end, :])

This seemingly minor difference results in a serious perf regression for TVM results, compared to numbers I got last month.
I have a WIP branch for this, will send a PR next week.
https://github.com/masahi/hummingbird/tree/xgb-fix

XGB gpu support is added in https://github.com/microsoft/hummingbird/pull/369
More discussion to continue in https://github.com/microsoft/hummingbird/issues/368


material styles in production

do you mind explaining a little about how your app is loading the material styles in production builds? I like the way you created the MdModule, I am trying to implement something similar in the material2 branch of the angular2-webpack-starter repo that this repo is based upon.
Everything appears to work fine in development mode, but in production, I am having trouble trying to correctly load the material styles. I was able to get the tooltips working by using the CopyWebpackPlugin to copy the material assets from node_modules into the dist/assets directory during production builds, and then by loading the overlay.css from dist/assets as a stylesheet in the  head-config.common.js, so that it loads the individual stylesheet in index.html.
I suppose it would be possible to use a similar method to load all of the individual material stylesheets, but I noticed that your repo is importing overlay.css from node_modules in the bootstrap.ts. I was not able to replicate that method successfully in the angular2-webpack-starter repo for production or development builds. Looking around your repo a little more, I couldn't really find anywhere else that would be including the other material styles, except maybe as part of the angular2-material import statements in vendor.ts?
So I am a little bit confused as to how it is working so seamlessly and in such a clean way, without the need to explicitly import all the material styles. I would like to try to replicate this method in the angular2-webpack-starter repo, if you are able to provide any extra information about how exactly your repo is loading the styles so cleanly, I would definitely appreciate the help.
Just an idea I had, but I am not sure if it holds any substance or makes any sense: All of the components in the angular2-webpack-starter repo use the styleUrls property to define their stylesheet locations, while all of your components do not use this property. I am wondering if that might be playing a role in why the material styles aren't being applied?

Hey man, thanks for your input.
I am not home right now but let me take a look at it later today...
Cheers

thanks for the quick response! i appreciate your efforts. just in case you are interested for reference, i have pushed my progress so far to my fork here: https://github.com/dweitz43/angular2-webpack-starter/tree/material2

Hi again, I'm gonna take a look at the things now, just one quick comment:
I'm importing the overlay.css file in my bootstrap to overcome a bug in Material2 alpha 7-4. It is definitely not something that should be needed once the final version comes out. The overlay.css is needed if you want to use md-menu and md-tooltip components.
You can read about it in the GETTING_STARTED document in the Material2-repo:
https://github.com/angular/material2/blob/master/GETTING_STARTED.md
Another note:
You can load css anywhere you like, but where you do, will determine which bundle it will be enrolled into.
Anything imported from the vendors.ts file will be bundled in the vendors bundle.
Anything imported from bootstrap.ts or other application files, will be bundle in the app.bundle.
So it's really up to you where you want it.
The serviceworker setup will make sure that only the bundle that has changed, will be updated in the browser cache, so if your styles don't change that often, put them in the vendors bundle. But if they do, put them in the app bundle...
Also, notice I'm loading the Material fonts in the index.html.. I didn't want to download and import them in this repo, but maybe I should. I a real-world app I would definitely think about putting the icons into my build...
Alright, be back later.. cheers

@dweitz43  so I cloned your repo, but i don't see any Material Design components? Is that the repo you would like to import and use the Material components?

@spock123 thanks for all this info. i do understand all of those items clearly, and i believe i am doing similar things to get the tooltips, icons/fonts loaded properly. i am also importing the components in vendor.browser.ts currently as well. if you clone my repo and switch to the material2 branch, you should find src/app/md.module.ts, in which i attempted to create an NgModule to export all of the material modules together in a similar fashion to how you did in your repo. I import the MdModule from that file inside src/app/app.module.ts. Then, the templates in src/app/app.component.ts, src/app/about/about.component.ts, and src/app/home/home.template.html all contain material components in the markup.
config/head-config.common.js is where i include the overlay.css that eventually gets included in index.html. I am currently using CopyWebpackPlugin in config/webpack.common.js to copy the material styles to the assets folder during the build so that i can include overlay.css in index.html, although it appears there should be a cleaner way, as it looks like you do not do this in your repo.
It looks like the production build does successfully roll the material styles into the vendor bundle, but for some reason, they are not being used when i run the production server. When I run the dev server, all of the styles and components appear to function correctly, without the need to copy anything from node_modules to assets as well.

@dweitz43  Ok sorry I didn't notice the branch, I was using the MASTER, hehehe.. Ok I'll check out the branch..

@spock123 haha no worries I thought that might have been the issue. it is easy to overlook... thanks for your help i truly appreciate it!

Hi @dweitz43 , I've managed to solved  your issues.
I made a new public repo containing your code, including the fixes.
https://github.com/spock123/dweitz43-fixed
I'll try to summon some of the changes:

Overlay.css
I removed the loading in your webpack conf, and inserted the two css rules into your app.styles file instead. It's much easier that way. Remember to remove them once Material2 gets updated to the next version, as it will contain all style you will need.
I also removed it from your header-file in webpack.  Otherwise, you will need to copy assets, and your browser will need http request to get the extra files.
I have removed the overlay.css loading  in that file, as it is no longer needed after the fix.

Loading styles not needed
You don't need to load any Material2 styles - they are included in the modules.

Hammer.js
Some of the Material2 modules require the library hammer.js to be installed.
I have installed it and it is loaded in the vendors file.

ngModules
Remember that "pipes" and "directives" properties in your components are deprecated. All directives and pipes need to be decared in your modules, not in your components. I have removed the properties from your home.component and imported them in the app module.

Angular2 RC5 bug - workaround
There is a bug in Angular2 RC5 that can cause the build to crash.
The temporary workaround is to set mangle to false in your webpack.production configuration.
I have updated your configuration so that it works.

Hope this helps you along
I have tested production build and it works fine now.

@spock123 wow, thank you so much! I believe i realize my mistakes now, your explanation is very clear! Finally I think I can create the pr to update the original angular2-webpack-starter material2 branch, thanks to your help! i was definitely lost on this, i cannot express my gratitude enough for your effort!

@dweitz43  no worries, it was a pleasure... :)
Now I'm going to get drunk, hehe.. have a nice evening (it's 20.08 here)
Cheers


Removed unnecessary catch statement

Description
Removed the catch statement which was never invoked
Related Issues
No tracking issue for this
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Build failing due to flaky test already identified in #10154


argo CLI list command results not predictable with -o name flag

Summary
Using argo CLI I want keep the latest 20 workflows and delete the rest. This runs in a cron job (not argo cron job, normal linux cron)
When I do this
argo list -n argo --no-headers  | tail -n 6
patch-generator-basic-c2pc5      Succeeded   15d   3m   0
patch-generator-basic-vxj92      Succeeded   15d   3m   0
patch-generator-basic-6db47      Succeeded   15d   2m   0
patch-generator-basic-wcwkb      Succeeded   19d   2m   0
patch-generator-basic-tgpqf      Succeeded   20d   2m   0
patch-generator-basic-ldsrb      Succeeded   20d   2m   0

and when I do it with -o name, I get different result
argo list -n argo --no-headers -o name | tail -n 6
patch-generator-basic-6db47
patch-generator-basic-ccklj
patch-generator-basic-tgpqf
patch-generator-basic-mc2bp
patch-generator-advanced-rm76g
patch-generator-basic-vtknt

As you can see both return a different list.
Is there a way to sort the output of argo list in order of creation time? Why ordering is different when -o name is used.
Version: v3.2.4
Kubernetes: v1.21.2
Docker: 20.10.7

Looks like this issue exists in the latest version.
sort.Sort(workflows) will sort the workflows by their CreationTimestamp and FinishedAt:
https://github.com/argoproj/argo-workflows/blob/f1fe3bee498ac7eb895af6f89a0eba5095410467/pkg/apis/workflow/v1alpha1/workflow_types.go#L130-L145
When we list workflows with -o name, these timestamps won't be selected by the field selector, so the workflows we got all have 0001-01-01 00:00:00 +0000 UTC timestamps, making the sorting inconsistent.


Write a baseline energy measurement for training energy consumption

For training energy consumption, write a baseline energy measurement with PMC

This does not seem relevant right now, and too complex to put the effort into, unless we move back to wanting to add a lot of built in measurements.


Increase indenting for sub-puzzles

Something like this?
Meta-Puzzle
    Sub-Puzzle 1
    Sub-Puzzle 2

@rgossiaux does #237 cover this too?

Not specifically but the spacing might be different in the React UI (not aiming for a pixel-identical recreation) and it's just a one-liner to change if we don't like it so not a big deal either way

The React UI now has a larger indentation than the old UI + doesn't show expander arrows for all puzzles so I think it's visually much clearer now.

The React UI now has a larger indentation than the old UI + doesn't show expander arrows for all puzzles so I think it's visually much clearer now.


feat(dependencies): add-jq

@lippertmarkus you did that locally on the github-runner host but never on the repo, right?

yes, thanks for adding!


Allow translation of the entity charge_state and plug_state

Idea for improvement. You can add the following value in the string file to allow translation of the entity charge_state and plug_state:
_CHARGE_STATES = {
    0.0: ['Not charging', 'NOT_IN_CHARGE'],
    0.1: ['Waiting for planned charge', 'WAITING_FOR_PLANNED_CHARGE'],
    0.2: ['Charge ended', 'CHARGE_ENDED'],
    0.3: ['Waiting for current charge', 'WAITING_FOR_CURRENT_CHARGE'],
    0.4: ['Energy flap opened', 'ENERGY_FLAP_OPENED'],
    1.0: ['Charging', 'CHARGE_IN_PROGRESS'],
    # This next is more accurately "not charging" (<= ZE40) or "error" (ZE50).
    # But I don't want to include 'error' in the output text because people will
    # think that it's an error in Pyze when their ZE40 isn't plugged in...
    -1.0: ['Not charging or plugged in', 'CHARGE_ERROR'],
    -1.1: ['Not available', 'NOT_AVAILABLE']

_PLUG_STATES = {
    0: ['Unplugged', 'UNPLUGGED'],
    1: ['Plugged in', 'PLUGGED'],
    -1: ['Plug error', 'PLUG_ERROR'],
    -2147483648: ['Not available', 'NOT_AVAILABLE']

Originally posted by @oncleben31 in https://github.com/epenet/hassRenaultZE/issues/30#issuecomment-711093434

I will work on the PR ;-)


Use atheneum breadcrumbs style

Because it is not obvious that it is a breadcrumb

Something like this

If possible, it would be nice to use the styles extracted of atheneum by @fedescarpa
https://github.com/mumuki/mumuki-styles

Also, the guides breadcrumb should be renamed to course-name

Closed via https://github.com/mumuki/mumuki-classroom/commit/7678a71935e27d9121fb00314c6109d885a15091


.save(cb(err)) not having the callback called

I am using Sails (0.11.1) on node (0.10.33) with waterline (0.10.21).
I am in a controller and trying to update a password in a credential that I looked up, but the save() function is not calling the callback.  I am not sure what I've done wrong (I am new to node/javascript so this may be a newbie question).
The output is below.  All the console.log() calls generate output until the ones in the function for the save().
Attempting to complete account recovery process
Found user: {"userId":84,"emailAddress":"cwoloszynski@me.com","firstName":"charlie","lastName":"woloszynski","emailValidated":false,"id":84,"createdAt":"2015-01-27T15:15:10.823Z","updatedAt":"2015-01-27T15:15:10.823Z"}
found passport credential: {"user":84,"protocol":"local","password":"$2a$10$TqwzBEXCfq/qTe/4FWE6uel/Y3GP3Ee0jCkfXUZlDNr8FYckHh2p2","id":52,"createdAt":"2015-01-27T15:15:11.166Z","updatedAt":"2015-01-27T15:15:11.166Z"}
In Passport.credential.setPasswordViaRecoveryKey()
Setting password to: xxxxxxxxx
password set
done hashing:  err:null
credential after generation: {"user":84,"protocol":"local","password":"$2a$10$ZdH4jB68I87ObWlqbFnRDer.Gr4VcOMBUEzRey8mxafJh6oUpb3Su","id":52,"createdAt":"2015-01-27T15:15:11.166Z","updatedAt":"2015-01-27T15:15:11.166Z","resetPasswordToken":null}
after the validation step
exited out of passwordCredential.save()

The code is below.
Ideas?
    completeRecovery: function(req, res) {
		console.log('Attempting to complete account recovery process');

		var query = {emailAddress: req.body.username};

		User.findOne(query, function (err, user) {
			if (!user) {
				res.status(200).json({errorMsg: 'No user found'});
				return;
			}

			console.log('Found user: '+JSON.stringify(user));

			PassportCredential.findOne({ protocol : 'local', user : user.id }, function (err, passportCredential) {

				if (passportCredential == null) {
					res.status(200).json({errorMsg:'No credential found for this user'});
					return;
				}

				console.log('found passport credential: '+ JSON.stringify(passportCredential));

				passportCredential.setPasswordViaRecoveryKey(req.body.recoveryKey, req.body.password, function (err) {

					if (err) {
						console.log('error in validation key or password');
						res.status(200).json({errorMsg:'Invalid recovery key'});
						return;
					}
					console.log('credential after generation: '+JSON.stringify(passportCredential));
					passportCredential.validate(function(err) {
						if (err) {
							console.log('Error validating the new credential');
						}
						console.log('after the validation step');
						passportCredential.save(function(err, credential) {
							console.log('Entering save callback');
							if (err) {
								console.log('Error saving updated password:'+err);
								res.status(200).json({errorMsg: 'Error saving updated password'});
								return;
							}
							console.log('saved new password in credential');

							res.status(200).json({username: req.body.username});
							return;
						});
					});

					console.log('exited out of passwordCredential.save()');

				});
			});
		});
	}

Interesting, to be honest I don't know if .save() can be used outside a many-to-many/hasMany associations scenario. If you check the adapter tests and the docs those are the only scenarios covered.
Have you tried using the vanilla .update()?
Out of curiosity, have you tried using a different adapter?

Good point about .save(). I converted the code to using .update() and I'm seeing a new error.  Perhaps I have something more fundamental wrong, as this model is also not indicating that it has the .update() function.
Attempting to complete account recovery process
Found user: {"userId":84,"emailAddress":"cwoloszynski@me.com","firstName":"charlie","lastName":"woloszynski","emailValidated":false,"id":84,"createdAt":"2015-01-27T15:15:10.823Z","updatedAt":"2015-01-27T15:15:10.823Z"}
found passport credential: {"user":84,"protocol":"local","password":"$2a$10$TqwzBEXCfq/qTe/4FWE6uel/Y3GP3Ee0jCkfXUZlDNr8FYckHh2p2","id":52,"createdAt":"2015-01-27T15:15:11.166Z","updatedAt":"2015-01-27T15:15:11.166Z"}
In Passport.credential.setPasswordViaRecoveryKey()
Setting password to: winter999

/Users/charlie/hhmedia-w3/api/models/PassportCredential.js:122
						PassportCredential.update(this.id, {password: hash}, function (err){
						                   ^
TypeError: Object #<Object> has no method 'update'
    at /Users/charlie/hhmedia-w3/api/models/PassportCredential.js:122:26
    at /Users/charlie/hhmedia-w3/node_modules/bcryptjs/dist/bcrypt.js:1167:21
    at Object.next [as _onImmediate] (/Users/charlie/hhmedia-w3/node_modules/bcryptjs/dist/bcrypt.js:1047:21)
    at processImmediate [as _immediateCallback] (timers.js:345:15)

The new code (in my data model and removed from my controller) is:
		setPasswordViaRecoveryKey: function (recoveryKey, newPassword, next) {
			 console.log("In Passport.credential.setPasswordViaRecoveryKey()");
			if (this.resetPasswordToken === recoveryKey) {
					console.log('Setting password to: '+newPassword);
					bcrypt.hash(this.password, 10, function (err, hash) {
						if (err != null) {
							next(err);
							return;
						}
						this.resetPasswordToken = null;
						PassportCredential.update(this.id, {password: hash}, function (err){
							if (err) {
								next(err);
								return;
							}
							next(null, this);
						})
					});
			} else {
				return next({errorMsg:'invalid recovery token'});
			}
		}

The data model is in 'api/models' in my Sails application.

The new code (in my data model and removed from my controller)

That doesn't sound like a good idea, something like an Model.update() should be on your controller. api /models/ is meant for model definitions, validation code and maybe massaging some data but not much more.

I appreciate the feedback.  I am new to Sails and I was trying to keep the controller logic just about the REST interface and have a place for some middleware to support re-using the business logic.  I've moved the code back to the controller to follow your suggestion.
Using PasswordCredential.update() has the same symptom; the function is not called.
The output now shows no log from the console.log('In Update').  Since the res.status(200) code is within that block, the HTTP connection hangs (as it has been for my other attempts).
Attempting to complete account recovery process
Found user: {"userId":84,"emailAddress":"cwoloszynski@me.com","firstName":"charlie","lastName":"woloszynski","emailValidated":false,"id":84,"createdAt":"2015-01-27T15:15:10.823Z","updatedAt":"2015-01-27T15:15:10.823Z"}
found passport credential: {"user":84,"protocol":"local","password":"$2a$10$TqwzBEXCfq/qTe/4FWE6uel/Y3GP3Ee0jCkfXUZlDNr8FYckHh2p2","id":52,"createdAt":"2015-01-27T15:15:11.166Z","updatedAt":"2015-01-27T15:15:11.166Z"}
Hashing password
In bcrypt.hash
Calling update

The code in the controller is now:
	completeRecovery: function(req, res) {
		console.log('Attempting to complete account recovery process');

		var query = {emailAddress: req.body.username};

		User.findOne(query, function (err, user) {
			if (!user) {
				res.status(200).json({errorMsg: 'No user found'});
				return;
			}

			console.log('Found user: '+JSON.stringify(user));

			PassportCredential.findOne({ protocol : 'local', user : user.id }, function (err, passportCredential) {

				if (passportCredential == null) {
					res.status(200).json({errorMsg:'No credential found for this user'});
					return;
				}

				console.log('found passport credential: '+ JSON.stringify(passportCredential));

				if (passportCredential.resetPasswordToken != req.body.recoveryKey) {
					console.log('error in validation key or password');
					res.status(200).json({errorMsg:'Invalid recovery key'});
					return;
				}

				console.log('Hashing password');
				bcrypt.hash(req.body.password, 10, function (err, hash) {
					console.log('In bcrypt.hash');
					if (err != null) {
						console.log('Error in creating hash');
						next(err);
						return;
					}
					console.log('Calling update');
					PassportCredential.update(passportCredential.id, {password: hash}, function (err) {
						console.log('In update');
						if (err) {
							next(err);
							return;
						}
						passportCredential.resetPasswordToken = null;
						console.log('credential after generation: '+JSON.stringify(passportCredential));
						res.status(200).json({username: req.body.username});next(null, passportCredential);
					})

				});
			});
		});
	}

Any other thoughts?
Thanks in advance.
Charlie

I was trying to keep the controller logic just about the REST interface and have a place for some middleware to support re-using the business logic.

You can use some other file that is required by your controllers to do that, but avoid using CRUD operations in your model definitions.

Using PasswordCredential.update() has the same symptom; the function is not called.

That is very weird... which adapter are you using? Have you tried using another adapter? Is your data-store busy somehow and hanging on the .update() operation?

I am using sails-disk (0.10.7).
In config/models.js, the connection is 'localDiskDb'.
In config/connections.js, this connection points to adapter 'sails-disk'.
In .tmp, I see the file 'localDiskDb.db' and I have RW permission with it.
I just dumped the database (set the migrate to 'drop') and restarted and the other code that creates a new user worked.  However, this part of the code is still hanging.
I don't think that datastore is likely to hang on .update().

Thank you for helping me with this.  I found the issue. I had a beforeUpdate() in my model and it did not properly call next().
I sincerely apologize wasting your time.

No worries, glad you managed you to figure out the issue.


[Bug]Conflict with kubejs mod

Describe the bug
Rendering errors cause the game to crash.
To Reproduce
Steps to reproduce the behavior:

Launch your game
Create a new world
Open your Creative inventory
Click the next page button(Switch to the page where this mod resides)
The game crash

Expected behavior
The game works
Screenshots
Gif:

Environment

Minecraft: 1.19.2
Fabric Loader: 0.14.9
Fabric API: 0.62.0

See below for more information.
Logs
Pastebin the log [e.g. logs/latest.log] and link it below:

latest.log
crash-2022-10-19_10.27.21-client.txt
Additional context
Mods

This happens not only to ReinforcedChests, but also to Barrels and ShulkerBoxes when used with Kubejs.
I tried to delete the kubejs or ReinforcedChests/Barrels/ShulkerBoxes can play into the game.
I have also reported this problem to the kubejs author, who does not think it is kubejs' problem.
https://github.com/KubeJS-Mods/KubeJS/issues/506

Correction, just now I did a test again and would have no problem in the reinforced-barrels

Thank you for reporting. I tried reproducing it and probably found a clue.
log (without kubejs)
[23:18:57] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/blocks.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 reinfshulker:textures/atlas/copper_shulker_boxes.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 reinfshulker:textures/atlas/iron_shulker_boxes.png-atlas
[23:18:57] [Render thread/INFO]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
[23:18:57] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[23:18:57] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[23:18:57] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 reinfshulker:textures/atlas/netherite_shulker_boxes.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 reinfshulker:textures/atlas/diamond_shulker_boxes.png-atlas
[23:18:57] [Render thread/INFO]: Created: 512x256x4 reinfshulker:textures/atlas/gold_shulker_boxes.png-atlas
[23:18:58] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[23:18:58] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[23:18:58] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[23:18:58] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas

log (with kubejs)
[23:19:58] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/blocks.png-atlas
[23:19:58] [Render thread/INFO]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
[23:19:58] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[23:19:58] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[23:19:58] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[23:19:58] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[23:19:58] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[23:19:59] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[23:19:59] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[23:19:59] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[23:19:59] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas

It seems that the kubejs prevents my mod from creating atlas textures.
So, I think this is kubejs's issue, isn't it?


Question: Not support for AnyCPU build configuration in v.0.8 preview.

Hello!
The Project Reunion  0.8 preview version has a limitation (see subject), described in release notes.
Will this limitation be lifted in the release version?

This change will make us to adapt our building farm and also testing system - this requires significant efforts.
For this reason, we would like to know If you are going to lift this limitation in the next release.

I don't think we are going add anycpu support.  The release notes descirbes why pretty well, in fact I don't think this would even be a limitation.

@MikeHillberg

@StephenLPeters, I apologize for forgetting to clarify that I am talking about the class library, not an application. It is impossible to build a class library with "Any CPU" configuration in Project Reunion Preview 0.8. This is a significant change and we want to know if this change remains in the feature releases.

@StephenLPeters is this intentional change for class libraries as well?

Yeah, this is odd guys, why prevent class libraries from being AnyCPU??

Is this still a limitation?

@llongley do you know?

@StephenLPeters No, I haven't done anything with AnyCPU.  @MikeHillberg or @codendone ?

@Daniellled, no, the last version preview3 works correctly.

This issue is probably better for tracking AnyCpu support:
https://github.com/microsoft/WindowsAppSDK/issues/1217


can error message for overload display more information?

In Overloads section in https://www.typescriptlang.org/docs/handbook/functions.html mentioned that overload is supported, but that about notification in case if arguments is wrong?
According doc's example we have next error message: "Argument of type 'passedArgumentType' is not assignable to parameter of type 'expectedArgumentType'"
The message will be more informative if whole list of overloads will be displayed.

I would expect next message:  "Argument of type '""' is not assignable to parameter of list of types 'number' or '{suit: string; card: number; }[]'"
In this case developer can see all list of available types for overloads what will reduce the search of all supported types.
Please let me know is my proposual correct and can it be implemented?

There can be potentially dozens of overloads and it'd be unreasonable to explain why all of them failed. See existing issues for requests that we detect which overload you were "trying" to call.

Can you explain why is it unreasonable? Usually count of overloads in not so many (2-3 is common practice). I'm not sure that adding one or two more lines with inforamation about supported types will increase error message text to extra large size.
Separately checked it on Java - all supported overloads are displayed.

Obviously knowing the errors for the first two overloads out of five tells me literally nothing about my problem if I'm aiming for a different overload. Visual Studio with C# I believe does (or did at one time) show you the error for each overload as you scrolled through them.


✅ Drafts - Only preview from more options button

We should give the users a clear indication what they can do with a draft to only have in the more options buttons the action: preview.

Take out the link to access the preview by clicking on the title of the draft
Rename View to Preview
Take out the actions: Embed  and Share from the Preview page
Make the banner over the whole width of the chart underneath

Feedback based on testing on TEST:

Take out the link to access the preview by clicking on the title of the draft
- The link now leads to the editor, not the preview mode - I assume that is the expected behaviour @KerstinFaye ?
Rename View to Preview
- Works as expected ✅
Take out the actions: Embed and Share from the Preview page

The actions are moved from the preview page, however, the "Share" option is still shown in the User Profile @bprusinowski @KerstinFaye

Make the banner over the whole width of the chart underneath
- Banner is across the entire width ✅

Thanks for your feedback @sosiology

The first point is the expected behaviour. Clicking on the draft title will bring the user to the editing mode.
✅
Regarding the action buttons: 'Share' was not shown anymore when I tested.
✅


Token has Expired issue

Hi Team,
In the middle of my application I am getting "Token has expired" issue, please help me how to subscribe token expire method and logout the application or else increase the expiry time. Please find below error screenshot for your reference. Thank you in advance.

This is a bit of a broad question without much specifics about your situation or what you've got so far. Might be better suited for Stack Overflow, as the community here is pretty thin. Mind you at SO they also prefer more info to start with.


Update chainlist

[x] Add support for Curio Network: https://github.com/Koniverse/SubWallet-ChainList/issues/217

[x] Add new blockchain explorer for InvArch: https://invarch.statescan.io/

[x] Add explorer for Mythos: https://mythos.subscan.io/

[x] Add explorer for Avail Turing: https://avail-turing.subscan.io/

[x] Update ED for Mythos chain

[x] Update symbol for native token on Commune AI: C -> COMAI

Update symbol for native token on Commune

[ ] AI: C -> COMAI

Version test: http://file.cdmteck.com/s/5HbtHRanzmJdPzz

Add support for Curio Network:

Add new blockchain explorer for InvArch

Add explorer for Avail Turing

Add explorer, update ED for Mythos chain

Update symbol for native token on Commune AI: C -> COMAI


Pantalaimon doesn't handle missing optional 'rooms' key in sync

Since https://github.com/matrix-org/synapse/issues/10479 was closed, Synapse may not send all keys down sync. However, this seems to upset pan.
[2021-10-12 17:00:34.104827] INFO: pantalaimon: Trying to decrypt sync
[2021-10-12 17:00:34.105011] INFO: pantalaimon: Decrypting sync
Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
    resp = await self._request_handler(request)
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.8/site-packages/pantalaimon/daemon.py", line 777, in sync
    json_response = await self.decrypt_body(client, json_response)
  File "/usr/local/lib/python3.8/site-packages/pantalaimon/daemon.py", line 734, in decrypt_body
    return await asyncio.wait_for(
  File "/usr/local/lib/python3.8/asyncio/tasks.py", line 483, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.8/site-packages/pantalaimon/daemon.py", line 727, in decrypt_loop
    return decryption_method(body, ignore_failures=False)
  File "/usr/local/lib/python3.8/site-packages/pantalaimon/client.py", line 940, in decrypt_sync_body
    for room_id, room_dict in body["rooms"]["join"].items():
KeyError: 'rooms'

This seems to have been fixed in a recent version of pan


Web UI becomes unusable under heavy load

Summary
We often run many large workflows simultaneously: ~100 workflows with ~6000-8000 pods per workflow. Under these conditions, the Argo Server web interface fails with the following symptoms:

rows fail to load - the "loading" animation (side scrolling) is displayed
eventually the server shows a Gateway timed out error

This prevents us from being able to observe workflow status once the workload on the cluster reaches a certain size.
Diagnostics

K8s v1.20
Argo Workflows v3.0.7
Docker executor
the web UI is served by the nginx ingress controller, fronted by AWS ELB
actual workflow execution seems unaffected
postgres DB isn't experiencing any unusual load
Argo Server memory usage balloons to 45GB per replica (we tried with 1 to 3 replicas, attached screenshot is with 2 replicas; results are identical.
Workflow controller does not exhibit any unusual behaviour
Argo server log files are flooded with the following messages:

time="2021-06-25T13:23:23.326Z" level=warning msg="Non-transient error: upper: no more rows in this result set"
time="2021-06-25T13:23:23.326Z" level=error msg="finished streaming call with code Unknown" error="upper: no more rows in
this result set" grpc.code=Unknown grpc.method=WatchWorkflows grpc.service=workflow.WorkflowService grpc.start_time="2021-06-25T13:15:59Z" grpc.time_ms=443903.97 span.kind=server system=grpc
time="2021-06-25T13:23:39.133Z" level=info msg="Alloc=572937 TotalAlloc=2151971522 Sys=910939 NumGC=29435 Goroutines=205"
time="2021-06-25T13:28:39.133Z" level=info msg="Alloc=294206 TotalAlloc=2157739650 Sys=910939 NumGC=29464 Goroutines=211"
time="2021-06-25T13:30:23.664Z" level=warning msg="Non-transient error: upper: no more rows in this result set"
time="2021-06-25T13:30:23.664Z" level=error msg="finished streaming call with code Unknown" error="upper: no more rows in this result set" grpc.code=Unknown grpc.method=WatchWorkflows grpc.service=workflow.WorkflowService grpc.start_time="2021-
06-25T13:23:40Z" grpc.time_ms=403471.44 span.kind=server system=grpc
time="2021-06-25T13:33:39.133Z" level=info msg="Alloc=290515 TotalAlloc=2169557577 Sys=910939 NumGC=29523 Goroutines=219"
time="2021-06-25T13:34:14.229Z" level=info msg="finished streaming call with code Canceled" error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.method=WatchWorkflows grpc.service=workflow.WorkflowService grpc.star
t_time="2021-06-25T13:31:47Z" grpc.time_ms=146437.19 span.kind=server system=grpc

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

The argo-server is a stateless application, so should happily run with just a few MB of memory.
Can you confirm which pages seems to have the problem? It's not clear to me.
Can I also ask you try v3.1.0? This includes #6004 which should reduce memory usage by reducing allocs when watching and listing workflows.
If that does not help, then I'll look to create an engineering build that enables a pprof endpoint. for capturing allocs/heap/profile etc.

The /workflows/ pages are problematic - with or without either the namespace, or the ?limit= query arg. I might be able to try 3.1.0 sometime next week, looking forward to it actually, but can't make any changes now.
I do have a bit more info though:

restarting the server (scaling the deployment) did not help;
RAM usage seems to grow only after we try to access one of the /workflows/ pages
I realized that the argo_workflows table in Postgres has grown to 7GB in size. After dropping the argo_* tables and restarting the workflow controller, the server UI loaded immediately
we are able to consistently reproduce this; the server responsiveness and RAM usage seems to be directly correlated with the size of argo_workflows table;
during my latest test I noticed something odd that I haven't reproduced yet. We deleted all workflows (server UI still unresponsive), checked argo_workflows table size, it was at 1.8GB. Scaled down both workflow controller and server, table size immediately dropped to 280MB without any other action from our end.

I'd be happy to make any additional observations/testing that don't require any significant changes for now, and try 3.1.0 or an engineering build at some point in the near future when we can afford it.

It seems that as the number of workflow nodes grows, the server's Postgres query SELECT "uid", "version", "nodes" FROM "argo_workflows" WHERE ("clustername" = $1 AND "namespace" = $2) blocks all further queries, including the ones from the workflow controller. This starts being noticeable (and eventually grinds to a halt) when the total number of workflow nodes (maybe only Running? - unconfirmed) in the namespace grows to tens of thousands. Also, this doesn't seem to be (as much of?) a problem if the UI is already open, but on the initial load (or refresh) it reliably explodes.

How did you testing with v3.1 go?

How did your testing with v3.1 go?

Hoping to get to it next week - sorry, crazy time crunch right now (which is the reason for running these huge workflows in the first place :sweat_smile:

Should be fixed in :latest (v3.2)


Conditionally Wire OAuth2ClientContext

Fixes: gh-1633

Closing this PR - may reopen if the need for it becomes apparent.


Update CODEOWNERS

Signed-off-by: annalisag-spark<EMAIL_ADDRESS>Describe your changes
I added a new approver to the Italia Team
Checklist before opening this PR (put x in the checkboxes)

[x ] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

Hi @annalisag-spark
Thank you for this suggestion ! :)
In a maintainers' meeting, we have decided the maximum approvers for a l10n team is up to four (for now).
Please understand it is to minimize permission maintenance issue. Without the permission, contributors still can contribute.
In case of dev-it, there are four approvers already. If we accept this proposal, the number of team approver will be five.
We've applied this maximum approvers to other l10n teams like this .
I hope to say that not every l10n volunteers need to be an approver. (without being an approver, folks can provide review)
Could the team can select one approver among the candidates ?
Changing approvers may be possible based on their activities, but we don't have a strict policy on that yet.
(The maximum can be changed by a consent in Glossary working group meeting. So, if your team really wants to have more than four approvers please suggest with a reasonable explanation)

Seokho!
Oh no, no, we understand. It’s been a mistake 😅, it’s ok for us to limit
to 4 approvers.
We need to replace Meryem with ugoh16, thus Meryem should be deleted from
the list, unfortunately she’s not been active for months and we need a new
tech person to get help.
Could you please do that for us maybe?
Thanks!
a.
Il giorno mar 1 nov 2022 alle 11:16 Seokho Son @.***>
ha scritto:

Hi @annalisag-spark https://github.com/annalisag-spark
Thank you for this suggestion ! :)
In a maintainers' meeting, we have decided the maximum approvers for a
l10n team is up to four (for now).
Please understand it is to minimize permission maintenance issue. Without
the permission, contributors still can contribute.
In case of dev-it https://github.com/cncf/glossary/tree/dev-it, there
are four approvers already. If we accept this proposal, the number of team
approver will be five.
We've applied this maximum approvers to other l10n teams like this
https://github.com/cncf/glossary/issues/308#issuecomment-1023271978 .
I hope to say that not every l10n volunteers need to be an approver.
(without being an approver, folks can provide review)
Could the team can select one approver among the candidates ?
Changing approvers may be possible based on their activities, but we don't
have a strict policy on that yet.
(The maximum can be changed by a consent in Glossary working group
meeting. So, if your team really wants to have more than four approvers
please suggest with a reasonable explanation)
—
Reply to this email directly, view it on GitHub
https://github.com/cncf/glossary/pull/1414#issuecomment-1298311999, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AT4MYUPMCYHVCKL3TGR7YS3WGDUYZANCNFSM6AAAAAARM6LZRU
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Annalisa Gennaro
Head of Marketing & Communication
Mobile: +39<PHONE_NUMBER> LinkedIN: /annalisagennaro/
Via Gustavo Fara 9, 20124 - Milano (MI) - Italy
www.sparkfabrik.com

#1437 will resolve the issue of this PR.


Create is called twice in buffer factory

Why does a stage call create two times on the bufferfactory? I understand you need a buffer both to read and write from, but why is getSinkSubject then also called twice?

Assume a pipeline with Stage A, B and C (in sequence).
There are 2 buffers, U, between A and B, and V, between B and C.
So the flow is:
A -> U -> B -> V -> C
If stage B starts, it needs to read from buffer U and write to buffer V.
PipelineObject for B calls getMainSource. The topic of that buffer equals the topic of the buffer A writes to. So the parent is taken (A), and its sink topic is requested.
Then the sink buffer is created, for which getSinkSubject is called on the stage itself (B).
So:
B.createSource -> A.getSinkSubject -> BufferFactory.create
B.createSink -> B.getSinkSubject -> BufferFactory.create


[Bitwardenrs] A feature add on for ldapsync and vpn

Description of the change
An integration of the ldapsync and vpn as extra container.
Benefits
It offers the end user an opportunity to use ldapsync and/or vpn should they require.  I have realised that some people are looking for solutions to automatically pull user names from their respective ldap server.
Possible drawbacks
Because the feature can be switched on and off as desired it would be hard to see any drawbacks.  It could be possible that issues may be created within the repo due to not understanding out the feature should work.  I am willing to provide support for that.
Applicable issues
None
Additional information
To make a test run it possible to use the following scenario:
ldapsync enabled and no vpn:
Use the example secret-ldapsync.yaml and populate it with the necessary ldap server config.  You should ensure that ldasync is enabled in the values file.
ldapsync and vpn (extra container):
The same as above but you will need to create another secrets file for the vpn client config.
For both scenarios you can specify a values file is you wish.

Checklist

[*] Chart version bumped in Chart.yaml according to semver.
[x] Title of the PR starts with chart name (e.g. [home-assistant])
[*] (optional) Chart is using our common library as a dependency.
[*] (optional) Variables are documented in the README.md

There's also a lot of conflicts, maybe rebase?

@onedr0p Changes have been made.

@onedr0p Okay that looks better

@all-contributors add @dynamicat for code


Features/118 geolocation

Added geolocation and code to center map in user's current location

@johnkmzhou Done. Can you check and let me know!


Feature request: Lane reverse button

Hey. Not sure where else to make this plus seen others do it. Apologies if this is improper.
First, I'm not entirely sure whether this is possible. If it isn't, I apologise again. I'm not very familiar with how mods interact with roads or whether they can do what I'm thinking.
In short: I would like a button which would allow me to reverse the direction of traffic on a per-lane basis.
I expect it's a very low priority request considering it hasn't been requested before (as far as I'm aware) and may not be entirely possible, especially since you likely have other bugs and features to add which are more pressing than this.
I think this would be most useful during evacuations where traffic often gets backed up on some roads (not due to bad design, but due to unexpected quantity), but also where people just want to close a lane or segment of a lane for visual appeal in imagery.

There are some modern intersections that reverse the direction of some lanes to reduce number of conflict points (merge/diverge/crossing) of traffic flowing over the junction: https://www.citylab.com/solutions/2013/01/could-these-crazy-intersections-make-us-safer/4467/
There are also contraflow lanes, for example to bypass roadworks or emergency evacuation: https://en.wikipedia.org/wiki/Contraflow_lane_reversal
Currently there doesn't seem to be a way to create such roads in the game, so having lane reverse tool would be great.

This is super hard to do because we would have to modify a ton of code. I think it would be easier to create reversed road assets.

The intention of the request was primarily to avoid replacing roads as this causes issues with lane connections and restrictions, custom speed limits, parking settings, zoning (when it has been disabled around the road), and some other things too. The preference being that the lane direction for each individual lane could be toggled as-needed for traffic flow. A 3+3 avenue could be converted on-demand to a 2+4 without replacing the physical asset.

moved


More unit tests for the scoped dictionaries

Add unittest checking that deletion of parent scope
does not delete child scopes.

Fixes #206

Moving to the next sprint.

@jenkins-cscs retry all


User created but unable to login

Followed the steps to create an Admin user and it just reported Error: Exception:
Refreshed page and when tried to login with the same user and password it reports the same error.
Here is what app is reporting on container logs:
info: Auth[0]
05/07/2024
10:10:51 PM
      Connexion by username
05/07/2024
10:10:51 PM
fail: Microsoft.AspNetCore.Server.Kestrel[13]
05/07/2024
10:10:51 PM
      Connection id "0HN3EQ4HUTNJT", Request id "0HN3EQ4HUTNJT:00000001": An unhandled exception was thrown by the application.
05/07/2024
10:10:51 PM
      System.ArgumentOutOfRangeException: IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha512', the key size must be greater than: '512' bits, key has '256' bits. (Parameter 'keyBytes')
05/07/2024
10:10:51 PM
         at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
05/07/2024
10:10:51 PM
         at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
05/07/2024
10:10:51 PM
         at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
05/07/2024
10:10:51 PM
         at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.CreateInstance()
05/07/2024
10:10:51 PM
         at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
05/07/2024
10:10:51 PM
         at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
05/07/2024
10:10:51 PM
         at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
05/07/2024
10:10:51 PM
         at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
05/07/2024
10:10:51 PM
         at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
05/07/2024
10:10:51 PM
         at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
05/07/2024
10:10:51 PM
         at Api.Helpers.Auth.TokenService.GetToken(List`1 claims, DateTime expires) in /source/Helpers/Auth/TokenService.cs:line 68
05/07/2024
10:10:51 PM
         at Api.Helpers.Auth.TokenService.GetAccessToken(TokenInfo info, DateTime expires) in /source/Helpers/Auth/TokenService.cs:line 54
05/07/2024
10:10:51 PM
         at Api.Logic.Auth.AuthLogic.AuthAsync(Connection user, ISettingsContext settings, IUserContext users, HttpContext context, TokenService token, ILoggerFactory logger) in /source/Logic/Auth/AuthLogic.cs:line 121
05/07/2024
10:10:51 PM
         at Microsoft.AspNetCore.Http.RequestDelegateFactory.ExecuteTaskResult[T](Task`1 task, HttpContext httpContext)
05/07/2024
10:10:51 PM
         at Microsoft.AspNetCore.Http.RequestDelegateFactory.<>c__DisplayClass102_2.<<HandleRequestBodyAndCompileRequestDelegateForJson>b__2>d.MoveNext()
05/07/2024
10:10:51 PM
      --- End of stack trace from previous location ---
05/07/2024
10:10:51 PM
         at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
05/07/2024
10:10:51 PM
         at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
05/07/2024
10:10:51 PM
         at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
05/07/2024
10:10:51 PM
         at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
05/07/2024
10:10:51 PM
         at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

It looks like the key you choose in your config is only 256bits and asp.net expect one of 512bit length.
this is something I can fix by adding padding or by using a random key persisted to a volume instead of having the user specify it.
If you want to continue you can add more text to your key to test if it's that.

Worked!
Now put an JWT 256bits length

I've made an update where I pad to key so any key lenght will works.


Updating from 0.1.18 to 0.2.1 broke plugin

Describe The Bug:
I am running Homebridge 4.66.0, and upgrading the plugin to 0.2.1 from 0.1.18 broke the integration.
To Reproduce:
See above. Manually reverting to 0.1.18 restored functionality.
Expected behavior:

Logs:
There was nothing remarkable in the logs. I just stopped getting updates from devices.
Tasmota Device Config:
Please include the Tasmota Module Type / Configuration and Template ( if used )

Screenshots:

Environment:

Tasmota Version: various
Plugin Version: 0.2.1
Homebridge Version: 4.66.0
Node.js Version: 23
NPM Version: 10
Operating System: Ubuntu

Am going to need more details to dig into this further.  I expect the plugin had an issue with a device, and did not setup the status update for it.  It would have logged something during startup, but likely it scrolled away.
As part of the upgrade I did do a lot of testing with the various device types I have available.  So am wondering if one of your devices happens to break status updates for it.  Can you share the Tasmota device config of a device that is not updating status, and I will try to recreate the device and the issue.
As an alternate approach you could setup Homebridge on another device ( don't join it to your home in the Home app ), and run just the plugin with DEBUG logging enabled, and the share log.  If you have a lot of devices you can filter it down to a particular device with the config option filterAllow.  And just list the device your having issues with.
      "filterAllow": [
        "130C86"
      ],

In that example, 130C86 is the unique ID from tasmato of the device that is part of the MQTT discovery topic

Well, I have at least 12 devices, and I have no idea which one might have been responsible - but I was unable to see anything unusual in the logs - the only difference I noticed was that when I reverted the updates came immediately, whereas in the newer version they appeared not to be logged at all.

Where they marked as not responding or just no status updates ?   Regardless am thinking a log with debug enabled from the startup of the plugin would be helpful.  It is pretty verbose during startup, as it enables each device.


Update push-chart-ci.yaml to pass variables through the environmnet

Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[ ] Thanks for contributing!

Passes chart version as an env variable to prevent script injection since the contents of VERSION file may be controlled by external users.
<!-- Enter the release note text here if needed or remove this section! -->

/test


Send messages that stay without updating the old message

What would you like to see added?
Background:
I am moving from OctoPrint and the Telegram plugin that was used there.
So far I like this "plugin" here, but one thing drives me nuts: Updating of the old message.
For me, it is convenient that every message that comes from the bot is a new message and not "Message has been updated":

Instead, it would be nice like I had it in the past that every message stays in the chat and I could observer the progress. It was much easier to check whether the print is currently failing or not. Example:

Did a pull request for exactly that :)


uninitialized constant Downloader::MovieEnum

I created movie_enum.rb in ./lib/
It not loaded when I start bundle exec kimurai crawl movie_spider
So, I add code to config/initializers/boot.rb under the require pipelines
# require lib
Dir.glob(File.join("./lib", "*.rb"), &method(:require))

it works.

Hello @caecity43  !
Yes, any files under lib/ folder should be manually required in config/boot.rb file. Looks like problem is solved, right? So I closing this issue.

@vifreefly yes, problem is solved. :)


v-for use without key in annot-columns.vue is causing warning

I'm getting the following warning from here:

WARN  in ./components/annot-columns.vue?vue&type=template&id=6b92ec6b&        friendly-errors 10:51:55
Module Warning (from ./node_modules/vue-loader/lib/loaders/templateLoader.js): friendly-errors 10:51:55
(Emitted value instead of an instance of Error) : component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.

Originally posted by @jarmoza in https://github.com/metaneuro/annotation_tool/pull/77#discussion_r832291449

@jarmoza, can this be closed?

Yes, this has been addressed.


Bug 2049687: superfluous apirequestcount entries in audit log

Proof: https://github.com/openshift/cluster-kube-apiserver-operator/pull/1304

/lgtm
/approve

/cherry-pick release-4.10


Update from upstream for big sur support

update to latest from upstream for big sur support

What was your testing method for this? Did you uninstall all of brew, delete all packages and reinstall it?
Also, I'm particularly interested in the changes to Library/Homebrew/brew.sh and Library/Homebrew/update.sh

This PR should be accompanied with bringing brew-install up to date: https://github.com/bitdotioinc/brew-install/compare/master...Homebrew:master

This PR should be accompanied with bringing brew-install up to date: bitdotioinc/brew-install@master...Homebrew:master

Yep, done.

What was your testing method for this? Did you uninstall all of brew, delete all packages and reinstall it?
Also, I'm particularly interested in the changes to Library/Homebrew/brew.sh and Library/Homebrew/update.sh

Yep - brew.sh still refers to our location, and I tested by removing all brew and it's folders, installed master, ran install_core_tools/etc, and ran our software - this on both catalina and big sur..


Show wrong class start time at home page

Please fix this issue so the home page can show the true class start time for each class in next and latest class.

This is an issue with adab-android repository, not adab-server.


maximum 365 copilot plugins

Hi,
Currently openai allows maximum 3 active plugins only. With MS 365 Copilot that is released with plugin feature, is there a maximum number of plugins that one can have or is there no limit?
regards,
Amar

@amarmohax Please indicate the document you are referring to and wish to give the feedback for its improvement. Thanks

@amarmohax We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if you see an improvement is required in the specific area of this documentation. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Nested FrameSeparateWidgets causes widget to be stuck in placeholder state

NewsStack is a page containing NewsStackBody and NewsStackMore.
NewsStackBody contains a list of FrameSeparatedWidget where its child is NewsStackCard
NewsStackCard is a widget that renders a FrameSeparateWidget based on switch case
NewsStackMore acts like a suggestion list, when clicked, it pushes the navigator to a new instance of NewsStack
The problem here is that, during the initial open of NewsStack (from home page) everything loads perfectly, however, when opening another NewsStack page by clicking on NewsStackMore, the FrameSeparateWidget seems to always be stuck in the placeholder widget.
The code here is not entirely accurate, more of a pseudocode, but the main idea here is that, on initial open, nested FrameSeparateWidgets work fine, when there are more layers, it gets stuck in placeholder.
Things i tried:

Letting the page load and wait for the child to appear. Yes it does, but it takes a long time (minutes)
Instead of doing two layers of FrameSeparateWidget, I tried using only one layer. Same thing happens, just takes slightly lesser time to load

NewsStack() =>
  return Scaffold(
     body: CustomScrollView(
       slivers: [
           NewsStackBody(),
           NewsStackMore(),
         ],
      ),
  );

  NewsStackBody() =>
   for (var content in list)
    return FrameSeparateWidget(
         placeHolder: customPlaceholder(),
        child: NewsStackCard(),
     );

NewsStackCard()=>
   case (a) => return FrameSeparateWidget(placeholder: customPlaceholder(), child: widgetA(),
   case (b) => return FrameSeparateWidget(placeholder: customPlaceholder(), child: widgetB(),

A new finding that I have while doing a print statement here is that, when opening the first page, the taskQueue's length will increase, approximately to 12,000. After waiting for the taskQueue to be cleared (length == 1), navigating to the next page will immediately load the new page's content.
My conclusion here is that, the delay/persistent state of the placeholder widget is due to the taskQueue not being paused/cleared when navigating to the next page.
A temporary workaround that I have, is to clear the taskQueue of the previous instance upon creating a new instance. I am aware that this is obviously not a good solution especially when there are multiple FrameSeparateWidgets but this is what i found useful for my use case, and it is effective when having minimal amount of FrameSeparateWidgets.
Do update me if you have any new findings @Nayuta403

Is the taskQueue 12000 in length? This is very strange indeed

@Nayuta403
I added the print statement to _runTasks() instead, to print the _taskQueue.length. The link below shows a demo of the frame count increasing to more than 10000. I noticed that initially it's still a very small amount, but as i scroll, the number increases drastically. Is this normal?
If indeed this is not normal, may I know what can I do to prevent this?
https://drive.google.com/file/d/1miVtoa8CwvzHlfE-K-AZASveyYi4EgFM/view?usp=sharing

OMG, this queue length doesn't look normal.
The fastest way is to set this property to control the maximum length of the queue
https://github.com/LianjiaTech/keframe/blob/8b10b65a64f546abb927c858337cc44652dd4d5a/lib/src/frame_separate_task.dart#L24
For example, set it to 100 (this is the maximum number of FrameSepWidget components that can be on the screen at any one time).
Let's see if it works, and then we can see why is it happening
ps: Your app looks so beautiful

At the beginning of the video there is a sudden increase in the number of FramesepWidgets. It seems a little strange. Can you post where FrameSepWidget is used

At the same time,I do not recommend using FrameSepWidget as a child nested with FrameSepWidget.  It should only need to be used on the child.
NewsStackBody() =>
   for (var content in list)
    return FrameSeparateWidget(
         placeHolder: customPlaceholder(),
        child: NewsStackCard(),
     );
NewsStackCard()=>
   case (a) => return FrameSeparateWidget(placeholder: customPlaceholder(), child: widgetA(),
   case (b) => return FrameSeparateWidget(placeholder: customPlaceholder(), child: widgetB(),

you're already using FrameSepWidget in your NewStackCard

@Nayuta403 First off, thank you so much for your time and effort to reply to this thread and looking into this!
As you suggested from this conversation, I tried wrapping only the child with the FrameSeparateWidget, which looks something like this:
  NewsStackBody() =>
   for (var content in list)
      return NewsStackCard();

  NewsStackCard()=>
  	 case (a) => return FrameSeparateWidget(placeholder: customPlaceholder(), child: widgetA(),
     case (b) => return FrameSeparateWidget(placeholder: customPlaceholder(), child: widgetB(),

And also, i adjusted the maxTaskSize to 100 in both line 24, and also modified the resetMaxTaskSize() function to reset to 100. Here is a demo of the page.
It seems to eliminate the high queue issue, and we can see that even stacking NewsStack pages on the navigator does not contain a significant lag as per the previous demo. So, thank you for the suggestion!
May I suggest that a parameter can be introduced so that we can adjust the maxTaskSize based on the app's needs?

There is this parameter, which can be accessed here
https://github.com/LianjiaTech/keframe/blob/8b10b65a64f546abb927c858337cc44652dd4d5a/lib/src/size_cache_widget.dart#L17

@Nayuta403 thanks for the suggestion! will mark this issue as resolved and close this PR


Feature request: pseudo instruction for lw $register, variable($register)

Would it be possible to extend the parser to turn this
lw $t3, list($t1)

into
  la $at, list
  add $at, $at, $t1
  lw $t3, 0($at)

I began looking at this but it looks like the parser looks for all symbols followed by parentheses to expand into macros. Would it make sense to only expand macros if they appear at the start of a line (and not have a separate preprocess step)?

Closing with #4


how to run an agenda/workload without ssh/adb

Is it possible to run an agenda/workload without an ssh/adb connection?
IOW, the workload would be copied to to the target, but the usb/network interfaces would be disabled during the workload execution, and then re-established after workload completion.
The goal here is to measure the power consumption of a workload, but the power consumption of the usb or network connection will affect the power consumption of the workload.

No, this is not possible out of the box -- WA design assumes a direct connection to the target. We typically look at deltas rather than absolute values, so the effect of the connection is assumed to cancel out. We also tend to favour measuring SoC  rather than device power where possible (though with consumer devices, that's rarely the case).
Note that in the case of adb, there no persistent session, unlike SSH, so if you have a means of disabling the connection while the workload is running, WA won't notice, unless you have enabled instrumentation that relies on it (I think logcat polling might be enabled by default these day, but it can be disabled with device configuration).
If you have a means of disabling the connection from the host, you can write a simple instrument to do it. If it needs to be done from the device, then you're probably better off integrating it into the workload --- create a shell script that disables the connection, invokes the workload, waits for the workload to finish, enables the connection, and then target.kick_off() it from the workload. You'd then need some way of figuring out when the workload is finished host-side; doing something like adb_list_devices in a loop to see when it reappears might work.
The sames, in principle, can be applied to SSH-based connections, as WA will automatically try to re-connect if it detects a dropped connection.

Thanks @setrofim for the detailed response.  Very helpful.
Related Q: since WA assumes a direct connect, is a serial console / UART one of the possibilities?  Rather than using adb/ssh (which might consume usb/net power) using just a UART might be another  way of minimizing overall device consumption.

In theory, yes, in practice we do not have a connection implemented for it. We use UART in a limited way on VersatileExpress-based devices (e.g. Juno) to query the IP address as part of establishing the initial connection, but driving the main interaction over UART in a generic way would be problematic due to its various idiosyncrasies, so it's not something we've looked at implemented.

OK, thanks again for all the help.
I see there's something called serialmon for doing basic logging over the serial, but not the main connection: https://workload-automation.readthedocs.io/en/latest/plugins/instruments.html#serialmon