UserWarning: learner.validate is only for classification problems.

When i try to validate i get the following error.
/usr/local/lib/python3.6/dist-packages/ktrain/core.py:111: UserWarning: learner.validate is only for classification problems. For regression, etc., use learner.predict and learner.ground_truth to manually validate.
  warnings.warn('learner.validate is only for classification problems. '

Here is the model
import ktrain
from ktrain import text
MODEL_NAME = 'bert-base-uncased'
t = text.Transformer(MODEL_NAME, maxlen=100,classes=[0,1])
trn = t.preprocess_train(train, y_train)
val = t.preprocess_test(val, y_val)
model = t.get_classifier()

I was not able to reproduce this issue with v0.10.1 of ktrain with either BERT or DistilBERT:
# load text data
categories = ['alt.atheism', 'soc.religion.christian','comp.graphics', 'sci.med']
from sklearn.datasets import fetch_20newsgroups
train_b = fetch_20newsgroups(subset='train', categories=categories, shuffle=True)
test_b = fetch_20newsgroups(subset='test',categories=categories, shuffle=True)
(x_train, y_train) = (train_b.data, train_b.target)
(x_test, y_test) = (test_b.data, test_b.target)

# build, train, and validate model (Transformer is wrapper around transformers library)
import ktrain
from ktrain import text
MODEL_NAME = 'distilbert-base-uncased'
t = text.Transformer(MODEL_NAME, maxlen=500, class_names=train_b.target_names)
trn = t.preprocess_train(x_train, y_train)
val = t.preprocess_test(x_test, y_test)
model = t.get_classifier()
learner = ktrain.get_learner(model, train_data=trn, val_data=val, batch_size=6)
learner.fit_onecycle(5e-5, 4)
learner.validate(class_names=t.get_classes()) # class_names must be string values

# Output from learner.validate()
#                        precision    recall  f1-score   support
#
#           alt.atheism       0.92      0.93      0.93       319
#         comp.graphics       0.97      0.97      0.97       389
#               sci.med       0.97      0.95      0.96       396
#soc.religion.christian       0.96      0.96      0.96       398
#
#              accuracy                           0.96      1502
#             macro avg       0.95      0.96      0.95      1502
#          weighted avg       0.96      0.96      0.96      1502

The loss function for text classification problems should be one of {'categorical_crossentropy', 'binary_crossentropy', 'sparse_categorical_crossentropy'}, which is set automatically by t.get_classifier().  If this was changed somehow, then your model might be detected as a regression model.


refactor(cip30): remove storage.local dependency

Context
The lightwallet application breaks if the webextension-polyfill is imported in anything other than the popup
Proposed Solution
Remove the default import of this package and instead pass in as a required prop
Important Changes Introduced

Looks good, but maybe let's apply the same changes and inject browser.runtime to handleMessages

@mkazlauskas Applied this through the cip30 flow now


fixed checkout box in mobile

Fixes Issue #1673

 #1673
Changes proposed

Screenshots

Note to reviewers

Summary by CodeRabbit

Style

Updated quotation marks in import statements for consistency.
Improved code formatting and readability in various files.

Refactor

Restructured arrays and improved inline styles for better consistency and readability in the Home page.
Removed unnecessary empty lines and adjusted button styling in the Cart page.

hello @codervivek5
please merge this PR


Errors

While scanning a large number of hosts, it generates these kinds of error. Can these errors be suppressed and only print the result when found?

The web server's response contains some data and this cause that. Because fuzzuli sends head request default and the response's body should not data when sending head request. To do fix you can pass "-hm GET" parameter.
I'm so busy nowadays. I will fix this when I will able to free.

If i use it with -hm GET i get this error

Can you try reducing the number of concurrent? I think your resources and bandwidth may not be enough. You need more bandwidth when you send GET request due to response.


feat(iOS): remove usages of UIScreen mainScreen for Trait collections

Summary:
The goal of this PR is to migrate from deprecated [UIScreen mainScreen] and get the displayScale from currentTraitCollection. Both of those return the same values.
Changelog:
[IOS] [CHANGED] - retrieve screen scale from trait collection instead of UIScreen mainScreen
Test Plan:
Go to Dimensions example and check that everything works as expected
Before

After

@javache was there an issue during the Phabricator import?


Upgrades ember-cli from 0.1.9 to 0.1.15

cc @mixonic @sandersonet

@sandersonet ping — after you pull this you'll want to follow the setup and project update steps (skip the last step, ember init) from the ember-cli docs.


[FEATURE]: Expose the tasks to controllers for being called programatically.

Allow controllers to access a clean API for running tasks programatically.

Completed here.
https://github.com/Symbux/Turbo/commit/25969c293fd3ad4bcc00a42d023be5a28c841d84


objFileLoader doesn't load material correctly

I'm using objFileLoader and doing something like this:
const task =
  this._assetManager.addMeshTask('task', '', 'models/', 'myObj.obj');
task.onSuccess = (t) => {
  console.dir(t.loadedMeshes[0].material);
  console.dir(t.loadedMeshes[0]);
};

In the browser console, the first printed item is "undefined". second item is the loaded mesh. but if I inspect the printed mesh object, its "material" property is there.
This probably means the material is being loaded asynchronously but somehow the assets manager doesn't consider that as part of the task, so is saying the task is successful although the material is still being loaded.

I'll have a look!

I'll introduce a new observable: mesh.onMaterialChangedObservable
So as the material loading is asynchronous for obj loading you can still use the addMeshTask.onSuccess to register to this observable


Update attributes.go - add draggable attribute

add draggable attribute

Thanks! Could you add it to the table test as well?

Oh, could you remove the changes to .gitignore as well? :)


Transparent PNG Problem

Hi,
I have a Problem with the croping at PNGs with transparent background.
Normal croping from Kirby works like a charm, but focusCrop() kills the transparent background.

Sorry, it's a global problem. default crop function also kills the background.

Sorry, it's a global problem. default crop function also kills the background.


Speed up Python scan code

Note from a student via Discord:

scan_iter in the code samples run painfully slowly.  Running the faceted search code can take 5 minutes +.  is that normal for such a small sample (referencing cloud redis).   it looks looked like it was doing 1 record at a time so i changed to scan_iter( pattern, count=1000)  - now it runs in a few seconds

This could be improved in each of the following: https://github.com/search?q=repo%3Aredislabs-training%2Fru101 scan&type=code


Improving appearence of the OpenDF and adding a helping and contact page

It would be nice if the app had more colors and use flat design as I posted before for the OpenDf website. So, it would be great if both the web page and the app followed the same style.
Also, it would be nice to change the default icons, the folder and image icon, for example. Instead it would be nice to have minimalistic and well finished icons.
Someone had the idea of adding a contact link in the OpenDF site, and I think it would be good to add a contact page(with information about SCoRe like the webpage link, phone numbers, social media pages, etc...)  or just a link to the OpenDF website or the SCoRe site.
Also, I would suggest to add a ' help ' page with information about the functionality of OpenDF. Another better (but harder) idea is to add like a little tutorial the first time that someone gets into the app, like in the Google Compute Engine web page.
Also, it'd be nice if there is a 'colaborate' link that takes the people to the OpenDF github page.
Well, those are all my suggestions by the time.

I think it would e nice to have some tutorials in place. And I like the idea of having a 'collaborate' link. Thank you for the suggestions.

You are welcome :)


Made some changes to README.md

Made small changes to README.md that makes it look a little better. Hope you like the changes!!

@rohitg00 can you please check the conflicts i can't figure out >>>>main and <<<<< temp markers which are giving error. Thanks

Thanks for this #25, But as you can see - We follow a strict markdown pattern for Readme.md.
Hence, I can't merge this PR currently.


[sunrisegaming-univ2-lp] Add sunrisegaming strategies

Add sunrisegaming strategies

Total token in staking pool
Balances of the underlying token in LP swap and staking pool

@sunrisedao can u move these two strategies into different strategies, it will be easy to review/integrate seperately

@ChaituVR I've created 2 pull requests as below.
https://github.com/snapshot-labs/snapshot-strategies/pull/61
https://github.com/snapshot-labs/snapshot-strategies/pull/62


Implement SAS light-curve creation task

This will essentially be very similar to the creation of spectra I think - the evselect call is slightly different, and a calibration technique needs to be run to account for varying sensitivity and background, but all in all I think it'll be pretty straight forward.
Of course I don't have any XGA product for time series to live in yet but oh well.

It seems to be working properly now, so I will close this issue.


Metrics exporter cache requests that fail with an unrecoverable error

Fixes #765
When the metrics exporter fails to create a new metric descriptor any non-recoverable grpc errors will update the cache, preventing further CMD calls.

/gcbrun

@avilevy18 I'm planning to cut a release later today.  If you can add test coverage by then, then we can include it.  Let me know if we can help direct you.

/gcbrun

you can run make fieldalignment to fix the error

/gcbrun

/gcbrun


Automatic Provisioning for Xamarin.iOS

Trouble shooting page shows:
If you get the error message Authentication Error: Xcode 7.3 or later is required to continue developing with your Apple ID., make sure that the team selected has an active paid membership to the Apple Developer Program. To use a paid Apple developer account, please see the Free provisioning for Xamarin.iOS apps guide.
Instead of To use a paid Apple should be Free dev account?

Thanks for submitting an issue and we apologize for the delayed response. The requested updates haven't been made since the creation of the issue, and the timeline for resolution may vary based on resourcing, so the issue is being moved to an internal repo to better track it.


undefined method `kindOf?' for #Array:0x007fd7dca4c278 (NoMethodError)

Upgrading to 0.1.5, the following error is generated:
/Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-crosspost-to-medium-0.1.5/lib/jekyll-crosspost-to-medium.rb:133:in `crosspost_payload': undefined method `kindOf?' for #<Array:0x007fd7dca4c278> (NoMethodError)
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-crosspost-to-medium-0.1.5/lib/jekyll-crosspost-to-medium.rb:74:in `block in generate'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/hooks.rb:97:in `call'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/hooks.rb:97:in `block in trigger'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/hooks.rb:96:in `each'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/hooks.rb:96:in `trigger'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/document.rb:405:in `trigger_hooks'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/site.rb:172:in `block (2 levels) in render'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/site.rb:169:in `each'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/site.rb:169:in `block in render'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/site.rb:168:in `each'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/site.rb:168:in `render'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/site.rb:59:in `process'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/command.rb:26:in `process_site'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/commands/build.rb:60:in `build'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/commands/build.rb:33:in `process'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/lib/jekyll/commands/build.rb:16:in `block (2 levels) in init_with_program'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `call'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `block in execute'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `each'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `execute'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/mercenary-0.3.5/lib/mercenary/program.rb:42:in `go'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/mercenary-0.3.5/lib/mercenary.rb:19:in `program'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/gems/jekyll-3.1.1/bin/jekyll:13:in `<top (required)>'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/bin/jekyll:23:in `load'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/bin/jekyll:23:in `<main>'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'
rake aborted!
Command failed with status (1): [JEKYLL_ENV=development bundle exec jekyll ...]
/Users/paulrobertlloyd/Sites/paulrobertlloyd.com/Rakefile:29:in `block in <top (required)>'
/Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
/Users/paulrobertlloyd/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'

Seems to relate to the changes made in the commit that coerces tags into an array.

My bad. I typed kindOf instead of kind_of. New daddy brain. Fixed now in 0.1.6.

Doh! Glad it was a simple fix. Thanks!


Add 'version' mapping type

Add attribute mapping and Fluent mapping for the version type (see https://www.elastic.co/guide/en/elasticsearch/reference/master/version.html)
Additional context
See this issue https://github.com/elastic/elasticsearch/issues/48878, https://github.com/elastic/elasticsearch/pull/62692 and https://github.com/elastic/elasticsearch/pull/59786.

Thanks for raising this @fredeil. This is also included in the items in #5096 and is in my list to pick up after the next piece of work with a view to getting it into the next release. I'll close this as we're tracking in the meta ticket.


Create a Low-level Routine Handler

Description
Implement a Low-level Routine Handler capable of selecting and running any needed low-level routines from the Low-level Routine Library. Low-level routines consist of things like driver execution, floating-point operations, data conversions, etc.
Required Features

[ ] Detects when a driver is needed for a newly connected device
[ ] Detects when a floating-point operation or data conversion is needed (?)
[ ] Performs a check to see if a called routine exists

Low-level Routine Handler could just repeatedly run on the UAOS to:

Check for newly connected devices
Call device drivers when needed

Other routines like floating-point operations and data conversions can be called directly from the Low-level Routine Library


G lestrade branch

blah blah test

I merged this into my branch so it should get merged into the master branch when mine does 👍


2.0.44 breaks DbSession in some cases

This commit 12763a146ebc550963b5d368633539701e7884ec breaks DbSession in some cases.
What steps will reproduce the problem?
Calling  the public function regenerateID($deleteOldSession = false) without an existing session will crash.
Source:
public function regenerateID($deleteOldSession = false)
    {
        $oldID = session_id();

        // if no session is started, there is nothing to regenerate
        if (empty($oldID)) {
            return;
        }

        parent::regenerateID(false);
        $newID = session_id();
        // if session id regeneration failed, no need to create/update it.
        if (empty($newID)) {
            Yii::warning('Failed to generate new session ID', __METHOD__);
            return;
        }

        $row = $this->db->useMaster(function() use ($oldID) {
            return (new Query())->from($this->sessionTable)
               ->where(['id' => $oldID])
               ->createCommand($this->db)
               ->queryOne();
        });

        if ($row !== false) {
            if ($deleteOldSession) {
                $this->db->createCommand()
                    ->update($this->sessionTable, ['id' => $newID], ['id' => $oldID])
                    ->execute();
            } else {
                $row['id'] = $newID;
                $this->db->createCommand()
                    ->insert($this->sessionTable, $row)
                    ->execute();
            }
        } else {
            // shouldn't reach here normally
            $this->db->createCommand()
                ->insert($this->sessionTable, $this->composeFields($newID, ''))
                ->execute();
        }
    }

It is valid to call regenerateID() before a session was ever written to the database. The code above tries to retrieve the existing row from the database, but if that fails it goes to the clause annotated with // shouldn't reach here normally.
The issue with this path is that it doesn't go through the writeSession implementation, but instead uses its own implementation of just calling composeFields.
Inside writeSession there is a lot more happening:
            if ($this->writeCallback && !$this->fields) {
                $this->fields = $this->composeFields();
            }
            // ensure data consistency
            if (!isset($this->fields['data'])) {
                $this->fields['data'] = $data;
            } else {
                $_SESSION = $this->fields['data'];
            }
            // ensure 'id' and 'expire' are never affected by [[writeCallback]]
            $this->fields = array_merge($this->fields, [
                'id' => $id,
                'expire' => time() + $this->getTimeout(),
            ]);
            $this->fields = $this->typecastFields($this->fields);
            $this->db->createCommand()->upsert($this->sessionTable, $this->fields)->execute();

Specifically special code is executed to ALWAYS set id and expire.
So we have 1 code path regenerateId that doesn't always set id and expire and another that does.
This makes it so that when expire is a column in a database, without a default value, the regenerateId path fails.
Additional info

Q
A

Yii version
2.0.44

PHP version

Operating system

Ah, so it's not just the tests. Another reason to not make special cases for tests in the code.

Well it's unlikely you're calling regenerateid in production code while no session was saved yet. It's not invalid though..

Btw check my PR, I think it fixes it in a clean way for all cases.

Hm, looks like tests are failing.

Yeah, give me a min.

Hmm, looking into it some more makes me feel like it's quite hacky anyway.
We're essentially caching the composeFields() call in session close because it doesn't work well afterwards etc; very ugly! I'll have a fix ready soon.

@bizley I've reworked it a bit more; let me explain my reasoning.

PHP may call writeSession when the session is closed (as a consequence of closing the session), but also when it is opened (as a consequence of regenerating the session).
The current DbSession will call the write callback, mostly with an open session, except in some cases. Note that the way this is currently implemented means any external session management via the normal PHP functions like session_regenerate_id() and more importantly session_write_close breaks configurations that uses a write callback.

I've updated the code to:

Intercept the regenerateID() function in the same way as close().
I've updated the writeSession callback to call the callback if it wasn't called via the interception earlier

What I have not fixed, and cannot fix is this case:

Session is closed from PHP, so not via ->close().
You have a writeCallback that reads from the session.

This case is not fixable without breaking BC.

When looking at the function regenerateID of DbSession, it should follow the signature from Session's regenerateID
    /**
     * Updates the current session ID with a newly generated one.
     *
     * Please refer to <https://www.php.net/session_regenerate_id> for more details.
     *
     * This method has no effect when session is not [[getIsActive()|active]].
     * Make sure to call [[open()]] before calling it.
     *
     * @param bool $deleteOldSession Whether to delete the old associated session file or not.
     * @see open()
     * @see isActive
     */

so when lookup via db session table and found no record, which is no active session with id (from session_id()) then it should ignore the call. Hence the branch of else // shouldn't reach here normally should be omit IMHO.


[3.6] KSECURITY-2349 Update jetty to 9.4.54.v20240208 for CVE-2024-22201 fix (#1064)

Update jetty to version 9.4.54.v20240208 to fix CVE-2024-22201
Cherry-pick commit from trunk to 3.6
More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Verified that failed tests all pass locally, proceed to merge.


Update streaming docs to reflect Parallelized rendering

What?
With Astro 2.5 Parallelized rendering, it's worth adding some more info here:

See https://docs.astro.build/en/guides/server-side-rendering/#streaming
Why?
Data-loading components higher in the tree (siblings) will no longer block other components also loading data ...

This sounds like a great update! Happy to have someone run with it!  :raised_hands:


Add "delete" key to allow deletion of Nodes and Splines

Add "delete" key to allow deletion of Nodes and Splines

proposed solution https://github.com/cubiq/Mellon-client/pull/17/files


Add e2e for augerctl

This e2e will be tested by make test
Run make test
Vetting
go vet ./...
Testing
go test ./...
?   	github.com/etcd-io/auger	[no test files]
?   	github.com/etcd-io/auger/augerctl	[no test files]
?   	github.com/etcd-io/auger/augerctl/command	[no test files]
?   	github.com/etcd-io/auger/hack/tools	[no test files]
ok  	github.com/etcd-io/auger/cmd	0.021s
ok  	github.com/etcd-io/auger/pkg/client	0.008s
ok  	github.com/etcd-io/auger/pkg/data	0.016s
?   	github.com/etcd-io/auger/pkg/scheme	[no test files]
ok  	github.com/etcd-io/auger/pkg/encoding	0.013s
ok  	github.com/etcd-io/auger/tests/e2e	79.733s

/cc @jmhbnz
/cc @siyuanfoundation

This e2e also needs to do what, please take a look.
There seems to be something wrong with golangci lint
level=warning msg="[runner] Can't run linter goanalysis_metalinter: buildir: failed to load package internal: could not load export data: no export data for \"k8s.io/apimachinery/pkg/util/managedfields/internal\""
  level=error msg="Running error: can't run linter goanalysis_metalinter\nbuildir: failed to load package internal: could not load export data: no export data for \"k8s.io/apimachinery/pkg/util/managedfields/internal\""


Putting all nested views into one ui-view

Is it possible?
I just want to put all my views without names into one ui-view. Unfortunately, only the first view is injected, not all.
        $stateProvider
            .state('root.home', {
                url: '/',
                views: {
                    'main@': {
                        template: '<ui-view/>'
                    },
<EMAIL_ADDRESS>{
                        component: 'componentXXX'
                    },
<EMAIL_ADDRESS>{
                        component: 'componentYYY'
                    }
                }
            });

I don't understand what you mean by "put all my views without names into one ui-view".  Can you rephrase what you're trying to accomplish, and show an example of what the markup would look like?

You can indeed create a main@ with a layout (like your '' example), then target the layout from another view like your example<EMAIL_ADDRESS>{}).
But there are two problems with your example:

<ui-view/> should be <ui-view></ui-view>
You can't have two keys in a javascript object that share the same name (you have two<EMAIL_ADDRESS>keys)

Thanks for the answer. The 2. point is the one I was asking for (a few views that are unnamed).

Well as far as I understand your question, no, its not possible.  This is what named views are for.
May I  suggest creating a parent component that renders the child components
.component('home', {
  bindings: { xdata: '<', ydata: '<' },
  template: `
    <componentXXX xdata="xdata"></componentXXX>
    <componentYYY ydata="ydata"></componentYYY>
  `
})

I'm closing because I think your question has been answered?

Yes, thank you!


[BUG] Chemfig: \usetikzlibrary{decorations.pathmorphing} can't be used

The problem shows as follows:
\usepackage{chemfig}
\usetikzlibrary{decorations.pathmorphing}
\begin{document}
\chemfig{A-[,3,,,decorate,decoration=snake]B}
\end{document}

This code don't work in obsidian


[FEAT] Add atCoder

Just like codechef, codeforces, leetcode and other platforms, also add contests from atCoder.
On version2 branch

@pranshugupta54  Can you assign me this?

Hi @Deka-KEAN ! Thanks for wanting to contribute. To begin, try setting it up on your computer. If you run into any issues or have questions, feel free to join us on Discord. We're here to assist!

Hey @pranshugupta54, Can you assign me this Issue?


Updating email to use the latest python sdk

Updating email in communication extension to use the latest GA version of email python sdk.
This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.

LGTM. Please fix the lint issues in the manual/custom file

@jorge-beauregard  looks like it has succeeded now. Could you merge this change now?


chore: update weights and benchmarks

Re-benchmark all used pallets.
Update some benchmarks according to the last builder review.

Status?

In progress. PR with new weights and benchmarks will be created shortly.
It is actually the same #212


vram

alooo, awesome work, thank you very much for helping to improve baseline reality
so...
how much vram would I need to run this?

All my experiments were done on T4 which has 16GB.


ANR: Input dispatching timed out (7b957de com.xxxxxx.xxxxxx/com.google.android.gms.ads.AdActivity (server) is not responding. Waited 5001ms for FocusEvent(hasFocus=false))

Plugin Version

google_mobile_ads: 0.13.2+1
Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:
"main" prio=5 tid=1 Runnable
  at com.android.webview.chromium.WebViewChromium.removeJavascriptInterface (chromium-TrichromeWebViewGoogle.aab-stable-451513133:1)
  at android.webkit.WebView.removeJavascriptInterface (WebView.java:2015)
  at com.google.android.gms.ads.internal.webview.ac.<init> (com.google.android.gms.policy_ads_fdr_dynamite@212104400@212104400057.375149532.375149532:19)
  at com.google.android.gms.ads.internal.webview.s.a (unavailable:4)
  at com.google.android.gms.ads.internal.webview.v.a (com.google.android.gms.policy_ads_fdr_dynamite@212104400@212104400057.375149532.375149532:5)
  at com.google.android.gms.ads.nonagon.ad.webview.l.b (com.google.android.gms.policy_ads_fdr_dynamite@212104400@212104400057.375149532.375149532:2)
  at com.google.android.gms.ads.nonagon.render.y.a (unavailable:2)
  at beo.a (com.google.android.gms.policy_ads_fdr_dynamite@212104400@212104400057.375149532.375149532:2)
  at beq.run (com.google.android.gms.policy_ads_fdr_dynamite@212104400@212104400057.375149532.375149532:9)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at asu.a (com.google.android.gms.policy_ads_fdr_dynamite<EMAIL_ADDRESS>  at com.google.android.gms.ads.internal.util.f.a (com.google.android.gms.policy_ads_fdr_dynamite@212104400@212104400057.375149532.375149532:1)
  at asu.dispatchMessage (com.google.android.gms.policy_ads_fdr_dynamite<EMAIL_ADDRESS>  at android.os.Looper.loop (Looper.java:239)
  at android.app.ActivityThread.main (ActivityThread.java:8205)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:626)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1016)

Logs

[✓] Flutter (Channel stable, 2.2.3, on Mac OS X 10.14.5 18F132 darwin-x64,
    locale en-CN)
    • Flutter version 2.2.3 at /Users/zhonghanwen/flutter
    • Framework revision f4abaa0735 (6 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/zhonghanwen/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[!] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS
      development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2.3)
    • Android Studio at /Applications/Android Studio 2.0.app/Contents
    • Flutter plugin version 33.4.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 53.1.5
    • Dart plugin version 203.6912

[✓] VS Code (version 1.58.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.25.0

[✓] Connected device (2 available)
    • AOSP on Shamu (mobile) • ZX1G22RP5Z • android-arm    • Android 7.1.1 (API
      25)
    • Chrome (web)           • chrome     • web-javascript • Google Chrome
      92.0.4515.131

! Doctor found issues in 2 categories.

Hi @zhonghanwen,
Thanks for filing the issue, Could you please describe the issue along with a minimal reproducible code sample,  This helps to better investigate the issue.
Thank you.

@zhonghanwen Were you able to fix this?


Whitespace only mode breaks ES6 modules

This is a bit like https://github.com/google/closure-compiler/issues/611
It is concatenating the modules without any module scoping/loading system, and leaving the import / export statements as-is.
This means you can't debug whitespace only mode in Chrome and must wait for a longer compilation.

I'd say this is a current limitation in Chrome. IMO WHITESPACE_ONLY should keep the import / export statements as is. We can revisit this once we have a better story of how module loading works.

It seems like the two-argument goog.loadModule solution outlined by @jplaisted in https://github.com/google/closure-compiler/issues/2647 would fix this.


Transaction Support

#142 continue

Let's get movin @billy1624

Maybe you could include ConnectionTrait in the prelude ? Btw, QuerySelect and QueryOrderare also missing (QueryFilter, QueryResult are included so it feels a bit inconsistent).

@nappa85 well, I tried to rebase the branch onto master, which is quite daunting indeed. Let me know if anything is missing.

Seems ok to me, it's quite difficult to spot a difference on this ocean of
changes, but the key points seems to be there
Il giorno sab 18 set 2021 alle ore 17:01 Chris Tsang <
@.***> ha scritto:

@nappa85 https://github.com/nappa85 well, I tried to rebase the branch
onto master, which is quite daunting indeed. Let me know if anything is
missing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SeaQL/sea-orm/pull/156#issuecomment-922324684, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZXINPCTHSOFYDPGDCP4CDUCSSUBANCNFSM5EAGKC7A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Prevent calling 'Object::cast_to' method on NULL pointer

Make 'Object::cast_to' static which can properly handle NULL pointers
as an argument.
This patch fixes crashes on GCC 6 and makes the sanitizer happy. It
also removes some redundant checks before calling 'Object::cast_to'.

@reduz I found it (https://gcc.gnu.org/gcc-6/porting_to.html)!

Optimizations remove null pointer checks for this
When optimizing, GCC now assumes the this pointer can never be null, which is guaranteed by the language rules. Invalid programs which assume it is OK to invoke a member function through a null pointer (possibly relying on checks like this != NULL) may crash or otherwise fail at run time if null pointer checks are optimized away. With the -Wnull-dereference option the compiler tries to warn when it detects such invalid code.
If the program cannot be fixed to remove the undefined behavior then the option -fno-delete-null-pointer-checks can be used to disable this optimization. That option also disables other optimizations involving pointers, not only those involving this.

I think that is better to use static version of cast_to instead of -fno-delete-null-pointer-checks flag, especially when the patch is ready (needs rebase) and also sanitizer on other compilers complains about it.

guys, your work is enormously appreciated, but I stated again and again that it should be considered a bug in Godot if cast_to<> is called with a null base pointer and as such it should be perfectly valid if it crashes in this situation. We actually want the crash to happen.

Any code that calls cast_to<> with base null pointer is considered bad code and it must be fixed. For this, we need this function to crash.

Ok, so I'll wait :)
I thought about other attempt: making it static, so there won't be necessary to find where NULL can happen (safer, easier, etc.). I also removed all remaining NULL checks in this patch, because there are checks after casting (dynamic_cast from NULL is still NULL).
The goal of my previous comment was to confirm that this is not a compiler bug, but it is intentional change :)

I think if you have sanitizer log in regard to cast_to I think it is best if you attach it here.
Also I think we need some sanitizer target for scons...

Currently I don't have it, but I can prepare a simple sanitizer output :)

Also I think we need some sanitizer target for scons

Yes, and also color output will be nice in scons for GCC >= 5 and Clang (http://stackoverflow.com/questions/9922521/why-doesnt-clang-show-color-output-under-scons)

Is something wrong with current HEAD (compiled with undefiner sanitizer, Clang 3.8.0, -Ofast flag)?
tools/editor/asset_library_editor_plugin.cpp:1285:2: runtime error: member call on null pointer of type 'Node'
and crash. Also a lot of misaligned addresses in Vector<> and DVector<>
Can't start the editor, so can't do anything with current HEAD (f8f30662d93a46eb4b1ece6d45be28760d5ad58c).

@reduz
Godot crashes at startup with sanitizer (GCC 5 or Clang 3.8.0): tools/editor/asset_library_editor_plugin.cpp:1285:2: runtime error: member call on null pointer of type 'Node'
Godot runs w/o sanitizer (I don't know why it doesn't crash w/o sanitizer). It calls method on uninitialized variable library_vb! library_vb is allocated a few lines below, It can cause unexpected crashes at runtime...
Looks like this commit added wrong call: 5a9b18b665b250b54c0d8eb80354dc08e363377c
Call of uninitialized pointer: https://github.com/godotengine/godot/blob/master/tools/editor/asset_library_editor_plugin.cpp#L1285
Allolcation: https://github.com/godotengine/godot/blob/master/tools/editor/asset_library_editor_plugin.cpp#L1372

PR: #5123 for above comment

And three sanitizer outputs on top of #5123 (GCC 5.4.0)
Editor2dPlatformer-ubsan1-crash.txt
Editor2dPlatformer-ubsan2-crash.txt
Game3dPlatformer-ubsan3.txt
A lot of misalignment warnings, etc and crashes because of null-pointer-dereference.
Btw. is it possible to not crash on null-pointer-dereference when using sanitizer?

Rebasing this will take some time :smile: If it is going to merge I can do this later, so what to do?

It's not sure what fixed what between this PR, #4691 and #4883.
I think @reduz wasn't too keen on merging either of them, so I wouldn't spend too much time rebasing until a decision has been reached. At the very least it can serve as a reference for the potential "better" fix that @reduz has in mind for 3.0.

Closing as @reduz has started working on the original issue with a different approach that involves a heavier refactoring of the core types, in line with Godot 3.0 changes.


Fix networking-calico version for 3.5 releases.

Description

Fix networking-calico version for 3.5 releases.
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit 62554b75edf20a4a93f943ad76e2eecb927e0740
https://deploy-preview-2616--calico.netlify.com


[FEAT] Raising error when postgres migration is missing

Problem description
When I first ran Durable State actor connected to Postgres DB, I see the following error
> go run .
panic: interface conversion: ego.State is nil, not *samplepb.Account

goroutine 1 [running]:
main.main()
	/Users/fyaacob/project/personal/ego/example/statestore/main.go:78 +0x578
exit status 2

I ran wrong migration in my postgres database but I need to put a bunch of print statements to finally find out that I ran the wrong migration script on my DB.
Solution description
It would be great if the system validate if the table exists and schema are correct before actually starts the actor system.
Alternative solutions
N/A
Additional context
N/A

@sdil I will add that check

@sdil I don't think we should add that check because we don't know how the developer is going to implement the store. That is why the entity actor does a ping before starting. I want to give room to developers to implement the stores as they wish.

@Tochemey should we check the table existence and schema in Ping method?

@sdil the ping implementation by the developer should take care of that. I don't want to force a schema structure on dev. The postgres one was just an example. The developer can decide whatever he/she wants.

As you can see the stores are interfaces. So up to the dev to do what he/she wants. I hope it makes sense @sdil

@sdil I will add a note on the readme to clarify that. What do you think?

@Tochemey should we check the table existence and schema in Ping method?

Remember someone may use NOSQL which does not require schema. For instance you don't need the kind to be created before inserting the data because it takes care of that.

@sdil I will add a note on the readme to clarify that. What do you think?

Yup that makes sense!

@sdil closing the issue.


docs: Fix a few typos

There are small typos in:

dask/dataframe/io/parquet/arrow.py
dask/dataframe/io/parquet/core.py
dask/dataframe/io/tests/test_parquet.py
dask/utils.py

Fixes:

Should read predicates rather than predictates.
Should read statistics rather than statistiscs.
Should read scenarios rather than scenerios.
Should read ordered rather than orderd.
Should read constant rather than constatn.

Semi-automated pull request generated by
https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

Can one of the admins verify this patch?


Write a plugin for Blender to bake light at the level (.obj)

Instead Blender plugin, I write a light baker on Rust with this lib


Using a static value imported from a different file inside the css props doesn't work

I know it's not possible to use static values imported from other files (only the current one), but dynamic values should be supported through the css prop:
import TOKENS from "./tokens";

function Something(props: React.HTMLAttributes<HTMLDivElement>) {
  return (
    <div
      {...props}
      css={css`
        background-color: ${TOKENS.BLUE};
      `}
    />
  );
}

This results in the following error:
./src/Something.tsx
TypeError: Cannot read properties of undefined (reading 'find')
    at async Promise.all (index 0)

If I change the lookup slightly by "artificially adding" an evaluation step it works again:
import TOKENS from "./tokens";

function Something(props: React.HTMLAttributes<HTMLDivElement>) {
  return (
    <div
      {...props}
      css={css`
        background-color: ${true && TOKENS.BLUE}; // Note the always true conditional
      `}
    />
  );
}

I think this should be relaxed such that static values that are not found in the current file are treated as dynamic values so that the workaround isn't necessary.

this should already be supported...we use dynamic values like this all the time with the css prop. Are you sure there isn't an issue with the token value? Would you mind putting together a reproduction i can run, since this looks more like a bug than anything.


Duplicate entries on double nested form

When editing the given game the perimeter points are duplicated. If there are 4 points, 8 show up in the DOM, four of them referencing the ones in the DB (with id values), and four that are exact copies of the lat/lng values, but without any IDs.
def edit
  @game = Game.includes({ perimeters: :perimeter_points }).find(params[:id])
end

Form
<%= form_for(@game) do |f| %>

      <%= f.fields_for :perimeters do |p| %>
        <%= render 'perimeter_fields', f: p %>
      <% end %>

        <%= link_to_add_association 'Add Perimeter',
            f,
            :perimeters,
            class: "button radius expand" %>

      <%= f.submit class: "button radius expand hidden", id: 'submit-button' %>

<% end %>

_perimeter_fields.html.erb

  <%= link_to_remove_association "remove perimeter", f,
      class: "button radius alert" %>

    <%= f.fields_for :perimeter_points, :wrapper => 'inline' do |pp| %>
      <%= render 'perimeter_point_fields', f: pp %>
    <% end %>

      <%= link_to_add_association 'Add Perimeter Point',
          f,
          :perimeter_points,
          :render_options => { :wrapper => 'inline' },
          class: "button radius expand perimeter-point-button" %>

_perimeter_point_fields.html.erb

    <%= f.hidden_field :lat, class: "lat-field" %>

    <%= f.hidden_field :lng, class: "lng-field" %>

  <%= link_to_remove_association "remove point", f,
      class: "button radius alert remove-point-button" %>

From the code I do not see anything out of the ordinary, that would explain the behaviour. Also cocoon does not automatically "add" new elements. Do you automatically build perimeter-points for a perimeter in your model, e.g. in a after_initialize? That is executed always, also when loading it from the database.
You would be able to reproduce this in the rails console, by just loading a game from the database.

Thanks for the quick response @nathanvda.
I don't have any after_initialize or auto-building code. Cannot reproduce this in rails console.
class Perimeter < ActiveRecord::Base

  # Validations
  # ============================================================================
  validate :greater_than_3_points

  # Relationships
  # ============================================================================
  belongs_to :game

  has_many :perimeter_points, dependent: :destroy
  accepts_nested_attributes_for :perimeter_points

private

  def greater_than_3_points
    if perimeter_points.length < 3
      errors.add(:base, 'You must have three perimeter points to create a perimeter.')
    end
  end

end

class PerimeterPoint < ActiveRecord::Base

  default_scope { order('sequence ASC') }

  # Validations
  # ============================================================================
  validates :lat, presence: true
  validates :lng, presence: true
  validates :sequence, presence: true

  # Relationships
  # ============================================================================
  belongs_to :perimeter

end

I do not see anything wrong in your code as you post it. Cocoon will not create new elements, and definitely not copies of existing elements (technically the link_to_add_association creates a new empty element).
So I am bit baffled. Pretty sure there must be some other problem.
I am willing to take a look if you a github project that can reproduce this.

I do have a project although I don't think I can give you access to it, do you have any idea what this could be other than the after_initialization callback (which I don't have)? Pretty baffled as well.

I see no error in the code you showed, so i am assuming the error is somewhere else. If you make a minimal rails site that reproduced the error, i will take a look (if you can't give me access to your code now). I cannot do more than that at the moment :smile:
Where could you expect such duplication: if your strong parameters do not allow the id, after saving duplicates will be added. But this is not the same as what you described. If you have some javascript that "somehow" copies parts of the form (and blanks the id?), if you have some code in the model or controller that adds new perimeterpoints (but then why would they be identical except for the id??).

I had a similar problem and was because I didn't permitted the ID parameter of the nested model in the controller. Now works as expected after allowing the ID parameter.

I had similar problem but the cause was because I called the cocoon in application.js twice.


[WIP] Placement API

add API definition
add API to boostrap under location feature gate
Signed-off-by: Jian Qiu<EMAIL_ADDRESS>
Summary
Related issue(s)
Fixes #

/assign @sttts

Few nits left, but this looks good.
We have two choices to move forward:

put this under another feature gate (LocationAPI is on by default), and merge early
wait for the implementing before merging the API.


Problems with xlsm file using Https when downloading...

Description

my code:
f, err := excelize.OpenFile(filePath)//*.xlsm
if err != nil {
	slog.Debug("open xlsm file: %v failed.", fileName)
	return
}
slog.Debug("open xlsm file: %v success.", fileName)

w.Header().Set("Content-Type", "application/octet-stream")
w.Header().Set("Content-Disposition", "attachment; filename=\""+fileName+"\"")
w.Header().Set("Content-Transfer-Encoding", "binary")
//w.Header().Set("Content-Length", fmt.Sprintf("%v", len(content)))

_ = f.Write(w.(http.ResponseWriter))

Describe the results you received:
my backend HTTPS server run these code,   the origin xlsm file size is  58341 bytes, but the frontend   received xlsm file size is  100kbytes.
but if I use backend HTTP server , these codes are  OK .
why?What's wrong?
Output of go version:
(paste your output here)

Excelize version or commit ID:
(paste here)

Environment details (OS, Microsoft Excel™ version, physical, etc.):

This problem is not in the scope of this library function, maybe you should be checking the HTTPS service ingress layer, WAF, or something else.


Don't open browser if --no-browser is True

Shouldn't this be simpler? Puzzle opens the browser if I use puzzle view --no-browser /path/to/gemini.db even if --no-browser is set. I have to launch it in debug mode so that it doesn't open the browser.

Coverage remained the same at 79.174% when pulling 7ed131520fd23c8115cc0ab6ecaf3673e53f4ba1 on browser into 650d773c8a55f870e22eb0c5d7f16bd8ce9b7678 on master.

:+1:


Spike: JetBrains Toolbox Architecture open questions

While exploring the new Toolbox architecture, several questions and friction points have surfaced. We should gain clarity on the below:

[ ] JetBrains should fix the token link used to grab the dashboard token as this is showing in the URL twice
[ ] In the main environment list there is an empty view container that JetBrains should cleanup (or possibly we can fix this on our end but we need their input)
[ ] Nice-to-have We should consider adding telemetry so that we can see what IDEs users are using as well as DAU. Right now, all IDE tracking is lumped into one JetBrains bucket (might not make sense to split them up since there is little technical difference). @stirby to poke into the priority of this item.
[ ] It would be nice to understand how Toolbox performs compared to the existing Gateway. JetBrains has not released any performance benchmarking. We should see if a plugin is available within JetBrains to do some benchmarking of our own.

Asked JetBrains about the above, waiting to hear back.


Pressing Ok at custom url screen results in cancel

Hi there.
It seems like in the latest script when leaving the custom url blank as instructed and clicking on ok (with launchers selected) the ok button acts like the cancel button, or at least you cannot continue if the field is left blank.
The cancel button was clicked or no custom websites were entered
+ exit 1

Please see attached log.
Thanks for the great script!
NonSteamLaunchers-install.log

@Jellman01 oops. That was due to my new code last night my fault. I'll get a hot fix in asap. Nice catch btw!

@Jellman01 should be fixed i think.. let me know? i updated the .sh file

Hi there Roy, All working now. Thanks again for the script! Scott


Added Source code for hello world

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Description
(Write your answer here.)
Checklist

[ ] I've read the contribution guidelines.
[ ] I've checked the issue list before deciding what to submit.
[ ] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

hey @maintainers i added c++ problem. Please check this and let me know


Support more banks

For now, only a few banks are supported. It would be great to support more, like for example:

[ ] Bank of America
[ ] Chase
[ ] Citi
[x] Wells Fargo
[ ] Bank of China
[ ] Bank of Japan
[x] PayPal
[ ] Coinbase

That would be better to support them at the weboob's level rather than the kresus level, so that everybody gets the good parts. See also http://weboob.org/

I was afraid you might say this...

Actually, if you want to create particular connectors for these banks, go ahead (but that will need dynamic branching on the connector to use in the backend. Not a big deal, right ;))

I'm not sure I understand. Are you talking about connectors from cozy-data-indexer, or Konnectors from cozy-labs? What do you mean by dynamic branching?

Oh no, I just mean connectors as a high-level construct (not referring to cozy-data-indexer, which isn't used anymore by Kresus, now that Weboob has been imported -- nor referring to Konnectors).
By dynamic branching, I mean that you'll have to switch backend according to the bank (Credit Mutuel would use weboob for instance, while Bank Of China would have to use janx' connector, e.g.).

Missing banks :
ganassurances
groupamaes
I'll propose a PR soon.

If you want 775 more banks (world wide) :
https://www.npmjs.com/package/filist : list of connection informations to ofx server
+
https://www.npmjs.com/package/banking : support of OFX protocole


Unable to get resources which loaded by AppClassLoader.

Consider this test case:
var Opcodes = Java.type("org.objectweb.asm.Opcodes");
var InsnList = Java.type("org.objectweb.asm.tree.InsnList");
var InsnNode = Java.type("org.objectweb.asm.tree.InsnNode");
var JumpInsnNode = Java.type("org.objectweb.asm.tree.JumpInsnNode");
var LabelNode = Java.type("org.objectweb.asm.tree.LabelNode");
var MethodInsnNode = Java.type("org.objectweb.asm.tree.MethodInsnNode");
var MethodNode = Java.type("org.objectweb.asm.tree.MethodNode");
var TryCatchBlockNode = Java.type("org.objectweb.asm.tree.TryCatchBlockNode");
var VarInsnNode = Java.type("org.objectweb.asm.tree.VarInsnNode");

function initializeCoreMod() {
    return {
        "MainTransformer": {
            "target": {
                "type": "CLASS",
                "name": "net/minecraft/client/main/Main"
            },
            "transformer": function (cn) {
                cn.methods.add(new MethodNode(Opcodes.ACC_PRIVATE | Opcodes.ACC_STATIC, "test", "()Lcpw/mods/niofs/union/UnionFileSystem;", null, null));
                for (var i = 0; i < cn.methods.length; i++) {
                    var method = cn.methods.get(i);
                    if (method.name == "test" && method.desc == "()Lcpw/mods/niofs/union/UnionFileSystem;") {
                        var insnList = new InsnList();
                        insnList.add(new InsnNode(Opcodes.ACONST_NULL));
                        insnList.add(new InsnNode(Opcodes.ARETURN));
                        method.instructions = insnList;
                    } else if (method.name == "main" && method.desc == "([Ljava/lang/String;)V") {
                        var l0 = new LabelNode(), l1 = new LabelNode(), l2 = new LabelNode(), l3 = new LabelNode();
                        var insnList = new InsnList();
                        insnList.add(l0);
                        insnList.add(new InsnNode(Opcodes.ACONST_NULL));
                        insnList.add(new MethodInsnNode(Opcodes.INVOKESTATIC, "net/minecraft/client/main/Main", "test", "()Lcpw/mods/niofs/union/UnionFileSystem;", false));
                        insnList.add(new VarInsnNode(Opcodes.ASTORE, 1));
                        insnList.add(l1);
                        insnList.add(new JumpInsnNode(Opcodes.GOTO, l3));
                        insnList.add(l2);
                        insnList.add(new VarInsnNode(Opcodes.ASTORE, 1));
                        insnList.add(l3);
                        method.instructions.insert(insnList);
                        method.tryCatchBlocks.add(new TryCatchBlockNode(l0, l1, l2, "java/lang/Throwable"));
                    }
                }
                return cn;
            }
        }
    };
}

This will get the following exception:
Exception in thread "main" java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: Index 6 out of bounds for length 0
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
	at cpw.mods.bootstraplauncher@0.1.17/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90)
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 6 out of bounds for length 0
	at org.objectweb.asm@9.1.0/org.objectweb.asm.ClassReader.readShort(ClassReader.java:3585)
	at org.objectweb.asm@9.1.0/org.objectweb.asm.ClassReader.<init>(ClassReader.java:194)
	at org.objectweb.asm@9.1.0/org.objectweb.asm.ClassReader.<init>(ClassReader.java:177)
	at org.objectweb.asm@9.1.0/org.objectweb.asm.ClassReader.<init>(ClassReader.java:163)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.TransformerClassWriter.computeHierarchyFromFile(TransformerClassWriter.java:150)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:112)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.TransformerClassWriter.getSupers(TransformerClassWriter.java:83)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.TransformerClassWriter.getCommonSuperClass(TransformerClassWriter.java:63)
	at org.objectweb.asm@9.1.0/org.objectweb.asm.SymbolTable.addMergedType(SymbolTable.java:1202)
	at org.objectweb.asm@9.1.0/org.objectweb.asm.Frame.merge(Frame.java:1299)
	at org.objectweb.asm@9.1.0/org.objectweb.asm.Frame.merge(Frame.java:1197)
	at org.objectweb.asm@9.1.0/org.objectweb.asm.MethodWriter.computeAllFrames(MethodWriter.java:1610)
	at org.objectweb.asm@9.1.0/org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1546)
	at org.objectweb.asm.tree@9.1.0/org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:769)
	at org.objectweb.asm.tree@9.1.0/org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:649)
	at org.objectweb.asm.tree@9.1.0/org.objectweb.asm.tree.ClassNode.accept(ClassNode.java:452)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:133)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50)
	at cpw.mods.securejarhandler@0.9.54/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:110)
	at cpw.mods.securejarhandler@0.9.54/cpw.mods.cl.ModuleClassLoader.lambda$findClass$16(ModuleClassLoader.java:213)
	at cpw.mods.securejarhandler@0.9.54/cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:223)
	at cpw.mods.securejarhandler@0.9.54/cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:632)
	at java.base/java.lang.Class.forName(Class.java:545)
	at MC-BOOTSTRAP/fmlloader@1.18.1-39.0.5/net.minecraftforge.fml.loading.targets.ForgeClientUserdevLaunchHandler.lambda$launchService$0(ForgeClientUserdevLaunchHandler.java:38)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
	... 7 more

This is because in the TransformingClassLoader instance TRANSFORMER, both packageLookup and parentLoaders do not contain cpw.mods.niofs.union (these two fields also do not contain any ASM/BSL/SJH package names)

This issue has been transferred from McModLauncher/modlauncher.

Similar problem It is not possible to use fat-jar libraries and utilities that conflict with Forge. For them to work, you need to add them to the classpath and ignoreModules, however, in this case, the library classes will not be available from the mod. Changing fallbackClassLoader to ClassLoader.getSystemClassLoader() solves this problem. Bytecode modification and transformation is not required and even harmful in my case

Just out of curiosity what libraries are you including in your fat-jar that are also included in Forge?
Cause normally this will cause a module collision, so I am wondering how your change to the fallbackClassLoader resolves this issue?

Similar problem It is not possible to use fat-jar libraries and utilities that conflict with Forge. For them to work, you need to add them to the classpath and ignoreModules, however, in this case, the library classes will not be available from the mod. Changing fallbackClassLoader to ClassLoader.getSystemClassLoader() solves this problem. Bytecode modification and transformation is not required and even harmful in my case

Just out of curiosity what libraries are you including in your fat-jar that are also included in Forge? Cause normally this will cause a module collision, so I am wondering how your change to the fallbackClassLoader resolves this issue?

Yes, without adding fat-jar to ignoreModules module conflicts occur. The library contains ASM and other libraries depending on the configuration. The library remaps its ASM into an internal package to avoid conflicts with most software, however this does not work. Libraries using JNA cannot be remapped

Okey interesting, since you are adding your mod to ignoreModules I wonder how it then is loaded, since it is not part of the module system.

But I guess it is loaded through the loader chain then...
I would need to check something like this.

A library is added to ignoreModules, the mod itself is loaded in the usual way. The mod refers to the library as a dependency, without reflection
If you do not change anything and add the library to the classpath, Forge will not start due to module conflicts.
If you add the library to ignoreModules then Forge loads fine but cannot access the library.
If you change fallbackClassLoader to SystemClassLoader then everything will work

Yeah the fact that it can not access the library is by design.....
That is kind of the issue.
We restart the classloading system in module mode on purpose with a clean slate.
Hence why I am really careful about switching this out, since that would break that compatibility.

If the absence of a class from the ModuleClassLoader and its availability from the SystemClassLoader is expected behavior - it might be worth adding a configurable filter that can be loaded from the SystemClassLoader


fix indicator not updating when someone stops typing & home button injection

Oh my I'm quite shocked at how bad I could mess that up and turn it into shitcode. My bad haha.

There is an issue on Line 108 which causes discord to crash with a React error when the plugin gets disabled, this is most likely due to us uninjecting the HomeButton module, making it re-render with fewer hooks. That would cause it to crash, but I cannot think of a way around this for now.


including RDKit in a C++ program, compilation error: fatal error: 'boost/config.hpp' file not found on MacOS Sonoma 14.3

Describe the bug
MacOS Sonoma14.3 Apple M1
I used conda and mamba to install rdkit and then I want to include rdkit in a C++ program. Followed this: https://greglandrum.github.io/rdkit-blog/posts/2021-07-24-setting-up-a-cxx-dev-env.html
When trying to compile my program, I am getting this error:
In file included from /Users/xxxxxxxx/miniforge3/envs/rdkit_dev/include/rdkit/GraphMol/FileParsers/FileParsers.h:10:
In file included from /Users/xxxxxxxx/miniforge3/envs/rdkit_dev/include/rdkit/RDGeneral/export.h:3:
/Users/xxxxxxxx/miniforge3/envs/rdkit_dev/include/rdkit/RDGeneral/RDExportMacros.h:19:10: fatal error: 'boost/config.hpp' file not found
#include <boost/config.hpp>
^~~~~~~~~~~~~~~~~~
I do not get this error on my Linux machine.
Expected behavior
Successful compilation
Configuration (please complete the following information):

RDKit version: '2023.09.4'
OS: MacOS Sonoma 14.3
Python version (if relevant): 3.12
Are you using conda? yes
If you are using conda, which channel did you install the rdkit from? conda forge

Re-read the blog post and saw there's a note that the instructions don't work on Mac. Will ask this in discussions instead.


Create a Safe contracts deployments summary table

To make it easy to see the deployed Safe contract addresses with their human-readable names and networks in one place. Includes links to the contracts on block explorers.
chains.json was taken from https://github.com/ethereum-lists/chains

I like the idea - the script just needs to be a little polished

Could we remove the chains.json and load this information async from Ethereum lists

I thought about this but chose not to do this because:

Adds an external dependency
Network Requests increase latency and slows down the script
Can be added in a future PR as it's a non-blocking request outside the scope of what I intend this PR to be

load files of subfolders -> deployments

I also thought about this but chose not to do this because:

Requires complex parsing of JSON files and refactoring the entire code
The current method utilizes the safe-deployments scripts and functions so it's more dynamic
Using the safe-deployments is also a way of testing safe-deployments
The contract versions change infrequently enough that it's not that much effort to add a new function if we have a new contract deployment we want to add

In general, I think it's better to use functions like getSafeL2SingletonDeployment over interacting with raw JSON files.


docker build issue

followed instructions provided in github pages to build the container.
getting this error while building the docker container.
error message:
error: failed to run custom build command for `openssl-sys v0.9.99`
15.19
15.19 Caused by:
15.19   process didn't exit successfully: `/usr/src/flipkart-scraper-api/target/release/build/openssl-sys-5a2a29eae8c6e5ff/build-script-main` (exit status: 101)
15.19   --- stdout
15.19   cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
15.19   AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset
15.19   cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
15.19   OPENSSL_LIB_DIR = /usr/lib/x86_64-linux-gnu
15.19   cargo:rerun-if-env-changed=AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
15.19   AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset
15.19   cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
15.19   OPENSSL_INCLUDE_DIR = /usr/include
15.19
15.19   --- stderr
15.19   thread 'main' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.99/build/main.rs:84:9:
15.19   OpenSSL library directory does not exist: ["/usr/lib/x86_64-linux-gnu"]
15.19   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
15.19 warning: build failed, waiting for other jobs to finish...
------
Dockerfile:9
--------------------
   7 |     COPY Cargo.toml .
   8 |     COPY ./src/ ./src
   9 | >>> RUN cargo build --release
  10 |
  11 |     FROM docker.io/debian:bullseye-slim
--------------------
ERROR: failed to solve: process "/bin/sh -c cargo build --release" did not complete successfully: exit code: 101

I guess this is an issue with mac m1. Works fine on windows.

Yeah, I tried to replicate the issue but build succeeded. Also this reason felt strange because that's what docker was supposed to do, but apparently difference in the computer architecture may case builds to break.
One possible solution for Mac would be to try building the cargo project with added dependency of open-ssl with vendored feature enabled.


Add RetentionPolicy.RUNTIME to all synthetic annotations

This change allows na-705 to be reproducible. I discovered this one change was able to reproduce the error when running Specimin with --jarPath path/to/checker-qual.jar. Since @Retention(RetentionPolicy.RUNTIME) is the most generous, it should work for all cases (i.e. CLASS and SOURCE).

Never mind, it looks like @Retention(RetentionPolicy.RUNTIME) was a red herring (the checker jar also only used @Target(TYPE, TYPE_USE). The issue for this was an over-correction in #327, where I included all ElementTypes in @Target. In fact, the only change I needed to make was to add ElementType.Type. I believe that the extra definition of ElementType.Field, in this case, caused the annotation to be incorrectly processed by NullAway.

@theron-wang I think this is still off - now not only is na-705 failing, but na-97 is, too.

@kelloggm Looks like ElementType.FIELD is needed to reproduce na-97, but its presence in na-705 prevents the NullAway from reproducing the bug. I tried removing @Target altogether for both examples, but na-705 still is not being reproduced. I don't think there is way to differentiate between the two cases (we can't check by context either, since both na-97 and na-705 @Nullable annotations apply to fields), so the best way to still reproduce na-705 is to run it with the checker-qual.jar. What are your thoughts? We could just close this PR and add a checker-qual dependency in specimin-evaluation for na-705, but that is an unsatisfying solution.

Closed as per njit-jerse/specimin-evaluation#12.


Make use of Nightscout's provided display of Carbs + Protein + Fat in graph for meal entries

Is your feature request related to a problem? Please describe.
Nightscout provides functionality to display carbs, protein, fat in it's main graph display. Trio has not implemented this. A very simple PR to address this is possible. This is useful for anyone who references carb/fat/protein entries in Nightscout for diabetes management.
Describe the solution you'd like
A very simple PR to add "fatInput" and "proteinInput" alongside the existing "carbInput". Note that this is partially implemented, with fat and protein set to nil. This solution just finishes that half-baked implementation to bring it home!
Describe alternatives you've considered
Writing custom code, or not doing this at all. Any new code would be unnecessary and would add complexity. Making use of the existing implementation is very straight-forward and follows the same pattern used for carbs.
Additional context

Note - Nightscout renders protein before fat. I think most apps/systems in the DIY space tend to show fat before protein (Carbs / Fat / Protein). This rendering is part of Nightscout's implementation, and out of scope of what Trip controls.*
Technical Details
This implements existing code within Trio that simply set fat and protein to = nil. All we will be doing in the PR Needed here is passing along the already existing values for fat and protein, so that Trio sends them to Nightscout alongside Carbs.
User Impact
Any person who uses Trio with fat and protein entries, and who uses Nightscout to review entries will benefit from this.

Resolved by #290


Issues with 0.93 Release

In the 0.93 release I found the zbarcam app wasn't available and bitcoind wouldn't start (timeout error).

You're right, thanks.  After shutting down the quarantined computers (as instructed) it's necessary to again go through the following steps when restarting them to do the test withdrawal:
_Install the application software on the Q1 computer’s RAM disk.
$ cd ~/apps
$ sudo dpkg -i *.deb
Change into the glacier directory. You’ll be using this directory to execute software for the protocol.
$ cd ~/glacier
Prepare GlacierScript for execution.
$ chmod +x glacierscript.py_

The test withdrawal step says to execute the Withdrawal Protocol, and step 5.2.1 says to execute Section VI of the Setup Protocol to prepare the quarantined workspace.
As of Glacier v0.93, there is no "Section VI" but there is a 3.6 titled "Prepare Quarantined Workspaces" that includes the steps which @aurumbarr missed above.
Aside from the erroneous section reference, I don't see any issue with the doc. That section reference should get cleaned up as part of the work being done to convert to Asciidoc.

Thanks - really appreciate the comments.


Text should be vertically centralised for tasks without

Tasks with timings looks fine:

but tasks without things looks unbalanced:

the text in these tasks should be vertically centralised

#179 Resolved


added dlc file support

Added the new patterns for the DLC. I found these from https://github.com/elden-ring-progression-tracker/elden-ring-progression-tracker.github.io/tree/main. Works fine with both pre-1.12 and 1.12.x saves from my testing.

Thank you very much @bgreenfield1802 for solving the problem


fix #11 -Create contribution.md

@Hritikraj8804 I added Korean one in Contribution.md
Thank you for your contribution!


First draft of changelog for 2.3.0; focuses on significant changes

This could probably use some word-smithing. But here's a first pass at the changelog.
I focused on significant changes rather than cataloguing the different PRs. If we want to I can link the PRs from their relevant areas of focus.

Merging!


🐞Image is too big

I noticed this as well; otherwise 👏

Same here -- GNOME Terminal 3.28.1 on Ubuntu Bionic
Screenshots

Tip for the last one: It is a GIF, but it does not work :thinking:

Noticed the issue affects Hyper but not iTerm
Hyper - 👎
iTerm - 👍

This is because your terminal doesn't support image output, so terminal-image is falling back to ANSI escape images.
You should be lucky, though, because you'll getting an even fuller cat experience. I'd say this is a feature.


chore(release): 0.4.0

Types of changes
What kind of change does this PR introduce? (check at least one)

[ ] Breaking change
[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactoring
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[x] Other... Please describe:

Release v0.4.0
Description

Issue Number: N/A

Codecov Report

Merging #43 into master will decrease coverage by 10.9%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #43       +/-   ##
==========================================
- Coverage    83.5%   72.6%   -10.91%
==========================================
  Files           6       4        -2
  Lines          97      73       -24
  Branches       18      13        -5
==========================================
- Hits           81      53       -28
- Misses         13      19        +6
+ Partials        3       1        -2

Impacted Files
Coverage Δ

src/index.ts
85.71% <100%> (-0.96%)
:arrow_down:

__tests__/libs/formToBuffer.ts
36.36% <0%> (-63.64%)
:arrow_down:

src/formToParams.ts

src/binaryToDataURI.ts

Continue to review full report at Codecov.

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


Add Mut::reborrow

Objective

In some cases, you need a Mut<T> pointer, but you only have a mutable reference to one. There is no easy way of converting &'a mut Mut<'_, T> -> Mut<'a, T> outside of the engine.

Example (Before)
fn do_with_mut<T>(val: Mut<T>) { ... }

for x: Mut<T> in &mut query {
    // The function expects a `Mut<T>`, so `x` gets moved here.
    do_with_mut(x);
    // Error: use of moved value.
    do_a_thing(&x);
}

Solution

Add the function reborrow, which performs the mapping. This is analogous to PtrMut::reborrow.

Example (After)
fn do_with_mut<T>(val: Mut<T>) { ... }

for x: Mut<T> in &mut query {
    // We reborrow `x`, so the original does not get moved.
    do_with_mut(x.reborrow());
    // Works fine.
    do_a_thing(&x);
}

Changelog

Added the method reborrow to Mut, ResMut, NonSendMut, and MutUntyped.

I don't think a test is needed for that, since that's just consistent borrow checker behavior. I can add it if you really think it's necessary, though.

Agreed, I don't think that test is needed.

bors r+


Bug: vernemq publishes LastWill on graceful disconnect

Hi,
Current behaviour:

vernemq publishes a LastWill, even if the client gracefully disconnected from the broker.

Expected behaviour:

vernemq should only publish the Last Will Testament, iff the client disconnected ungracefully.

See
http://www.hivemq.com/blog/mqtt-essentials-part-9-last-will-and-testament
http://www.ibm.com/support/knowledgecenter/#!/SSFKSJ_7.1.0/com.ibm.mq.doc/tt60360_.htm
Example:
My clients publish to many topics, whereas the status topic is like the following:
clients/UUID/c/CLIENT_ID/status
Status can be in the following states:

1: connected
0: disconnected gracefully
-1:  disconnected ungracefully (Last Will Testament)

Using this status topic, my server watchdog can clean up after all clients with status == -1.
But what happens in my case:

Clients publish a status = 0 and gracefully disconnects
Watchdog sees status = 0 of client
VerneMQ publishes status  = -1  on behalf of the client
Watchdog sees status = -1

So the last 2 steps should only happen, if the client disconnected ungracefully.
System Specs:

Version: https://github.com/erlio/vernemq/commit/13ee8085365f34c94eb77ab5702b544b4e48ba98

Upgraded vmq_acl plugin to https://github.com/erlio/vmq_acl/commit/b619f4538aa29ebd20c5f90a2928c07dccaa0fca

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
Kernel: 4.2.0-35-generic #40~14.04.1-Ubuntu SMP \
 Fri Mar 18 16:37:35 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Jep, Server must not deliver a Will Message, if client has sent an MQTT DISCONNECT before closing.
Thanks, Jan!

Hi, we've just merged a fix for this to the master branch of the vmq_server repo. If you're building VerneMQ from source you can do a rebar3 upgrade vmq_server and then build as normal (make rel). If not the fix will be included in our next release.
Thanks for reporting and making VerneMQ better!

Thank you! My Earlang foo is... Non exitent


Using Bootstrap toast for notifications, updated Bootstrap version to …

using Bootstrap's Toast component with new notify component
updated Bootstrap js and css versions to use the Toast component
used only 1 version of jQuery (2 versions were being loaded). The slim version doesn't have animation props
added nodemon to devDependencies so we don't have to keep killing the server and restarting
removed notify.min.js file

Make requested changes and then I will again review your pull request.

All set.


Vtk scale bars

Codecov Report

Merging #44 into master will increase coverage by 0.22%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
+ Coverage   76.65%   76.88%   +0.22%
==========================================
  Files          12       12
  Lines        1718     1735      +17
==========================================
+ Hits         1317     1334      +17
  Misses        401      401

Impacted Files
Coverage Δ

meshparty/trimesh_vtk.py
81.06% <100%> (+1.13%)
:arrow_up:

Continue to review full report at Codecov.

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

Looks good to me. Do you think it'd be worth putting a comment or two into the code about some of the more obscure vtk functions (e.g. SetFlyModeToNone) for looking back on in the future?


Init / system-logger containers are not defining the resources to use.

This PR adds supports for fine grained control over the quotas of each default container currently defined by the cass-operator:

server-config-init
cassandra
server-system-logger

Before this PR, only cassandra container had quota configured. This PR makes the configuration of additional containers explicitly visible in the CRD definition:
resourceServerSystemLogger:
    requests:
      memory: 1Gi
      cpu: 1
    limits:
      memory: 1Gi
      cpu: 1
resourceServerConfigInit:
    requests:
      memory: 1Gi
      cpu: 1
    limits:
      memory: 1Gi
      cpu: 1

Thank you for the PR! :) Can you add something similar for the reaper sidecar? Also, are you OK with signing a DataStax CLA? We're getting the website for it updated next week, but we can probably merge this in advance if you're up for it.

@jimdickinson I will update the reaper sidecar by the end of tomorrow. Regarding the CLA, I've just signed it.

@rcosnita left some feedback that was a little nitpicky, but I don't think we can merge it as is without the couple small changes. Thank you for the solid effort here! Which CLA did you sign?

@jimdickinson  Thank you for the review. I will address by the end of tomorrow.  Regarding the CLA, here is a quick screenshot:

@jimdickinson Thank you for the review. I merged all the changes in the PR.

Just as a final info here is a valid configuration now supported with the code from the pr:
systemLoggerResources:
    requests:
      memory: 1Gi
      cpu: 1
    limits:
      memory: 1Gi
      cpu: 1
configBuilderResources:
    requests:
      memory: 1Gi
      cpu: 1
    limits:
      memory: 1Gi
      cpu: 1
reaper:
  enabled: true
  resources:
    requests:
      memory: 1Gi
      cpu: 1
    limits:
      memory: 1Gi
      cpu: 1

Looks great! I think I'll add on whatever we need to make these marked as optional on the CRD.


Feature Request: Popovers

In the debugger I'd like to sometimes use popovers. Specific cases:

A folder selection dialog. Contains a text input (where to type a path in), an auto-completion list (as another popover), OK button, Cancel button.
A quick file open dialog. Similar layout to above.
"Are you sure you want to quit?"
"You opened the debugger without any arguments, type them here:" Then have a text-box and below auto-updating labels that give the command line that's equivalent to the provided args and OK and Quit buttons.

Why would I like popovers / dialogs instead of full-screen views in some cases? Full-screen views have the potential to confuse users that are not yet able to follow the flow of the UI in their head. Popovers leave the UI that prompted the dialog in the background, giving a sense of "the UI I know is still there, one hit of ESC, will surely bring me back."
Sidenote: That's also a reason, why I'd like to keep the buttons at the bottom of the UI always visible, so there is a bit of context that never changes and provides a UI navigation top-level.
References I have in mind: vim autocomplete popovers, ncurses dialogs.

These are definitely a good idea, and have been churning in the back of my head for a while; this is the reason that widgets know their Z index, for example -- to keep track of multiple layers of popovers, dialogs, etc.
I have a proof of concept in another project, but it needs some generalization to be useful as part of T-W itself.


add ironic-client and ironic-image new repo branches to be synced

Also update ironic-image release branches for sync.

/cc @kashifest @Rozzii @Sunnatillo

/cc @smoshiur1237


Handle author, maintainer, copyright list values

Minor enhancement to parsing. (A ton of rebasing!)

Thank you! :)


add action to popup new task dialogue when item is completed

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.

🔖 Feature description
when creating a task there would be an icon to indicate that when the task is marked "DONE", the tasks modal will be popped up to allow the user to enter a new task below/above the just completed task.  For example if  "^" is the icon then with this task:

[ ] this has a next step 📅 2023-07-01 ^

when marked DONE

[ X] this has a next step 📅 2023-07-01 ^

the tasks modal appears and I can add a new task

[ ] this is the next step 📅 2023-07-02
[ X] this has a next step 📅 2023-07-01 ^

this just makes it easier to add next steps, especially if I am completing in a query result and the original task in in a different note
✔ Solution
see above.  a new keywrod is needed, perhaps "due+" and an icon should be chosen
❓ Alternatives
manually like we do today
📝 Additional Context
No response

Thanks for the suggestion. 😃
For context, what kinds of tasks would have variable next steps, and so need the next one to be added upon completion rather than when the task is created.
I mean, how would you know enough when creating the task to add the new icon, but not be able to add more info at the point of creation?
it really helps to have a real world example, both to help prioritising work and eventually to help writing documentation, when/if it is implemented.

Several examples:

I have a doctor visit and at the visit they schedule a blood test.  When I come home to complete the task I want to add the blood test.
I am researching something and as a result I know there is another topic to research.  Actually, since there might be three more itme to add, in the modal, besides apply button, and "Apply and Add" button would also be useful.
I have a call to touch base with a partner and during the call I promise to do something by next Friday for the partner.

Wow, those are really helpful. Thank you very much.

Probably the best bet for this is to use QuickAdd to open the modal and add the next task...

Forgot to paste the link...
https://publish.obsidian.md/tasks/Advanced/Tasks+Api#Usage+with+QuickAdd


... arg missing from ggplot2 calls

Howdy! The package documentation notes that the arg ... can be used to pass arguments to underlying ggplot2 functions (scale_*_gradientn() and discrete_scale()), but looking at the function internals, this is actually missing (found this out when trying to get the limits arg for scale_color_gradientn() to work). It should be a pretty easy add --- let me know if you'd like me to open a PR

er, disregard - this one was user error lol


AVIF size bigger than PNG

Before you start
Please take a look at the FAQ as well as the already opened issues! If nothing fits your problem, go ahead and fill out the following template:
Describe the bug
The AVIF file size is bigger than PNG format.
To Reproduce

Load this image in Squoosh

Convert to AVIF format

Expected behavior
An AVIF file smaller than the original
Version:

OS w/ version: macOS Catalina 10.15.6
Browser w/ version Version 84.0.4147.135 (Official Build) (64-bit)

Is your issue related to the quality of image compression?
Please attach original and output images (you can drag & drop to attach).

Original image

Output image from Squoosh (Zipped, because GitHub don't upload AVIF files 🙈 )

Dctjpeg.avif.zip
Additional context, screenshots, screencasts

Expected behavior
An AVIF file smaller than the original

This shouldn't be an expectation. Different formats are better at different things. PNG is optimised for low numbers of colours and repeating patterns. WebP's lossless mode is even better - it can get this image down to 1.66k.


Add support for Dynatrace Platform Tokens for Authentication

Platform Tokens are likely a suitable alternative for fetching Bearer Tokens via OAuth Clients.
Potential solution for Terraform:

Introduce an environment variable DT_BEARER_TOKEN for authentication
If present, it should supersede the credentials DT_CLIENT_ID and DT_CLIENT_SECRET. The Bearer Token would already be known

@Reinhard-Pilz-Dynatrace I added the following: https://github.com/dynatrace-oss/terraform-provider-dynatrace/issues/590.
Idea: we can scope oauth tokens to a service user permissions, while Platform tokens are bound to a user. For config as code, we'd also like the service user as pipelines can break if some user leaves a company.

@ftmazzone you need account management permission to create a service user, but the service user himself does not need these permissions.

yes, this would be a good solution.
I've tried this morning to create an OAuth client for a service user but got the following error in Dynatrace console:
The user associated with this email address doesn't fulfill all requirements. - See details above.
The details are :
The user associated with the service user email must fulfill

    User has to be active
    User must hold the account-user-management permission


⚠ Bofrost.fr has degraded performance

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

HTTP code: 200
Response time: 992 ms

Resolved: Bofrost.fr performance has improved in a0b91cc after 14 minutes.


Wall of text listed at INSUFFICIENT_GAS contract-create failure

It looks like if you're uploading a contract with insufficient gas, you get a wall-of-text printed on CLI:
StatusError: receipt for transaction<EMAIL_ADDRESS>contained error status INSUFFICIENT_GAS
/home/vic/projects/3vs/headstarter-contracts/node_modules/solc/soljson.js:1
null;var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_
...

RuntimeError: abort(StatusError: receipt for transaction<EMAIL_ADDRESS>contained error status INSUFFICIENT_GAS). Build with -s ASSERTIONS=1 for more info.
    at process.abort (/home/vic/projects/3vs/headstarter-contracts/node_modules/solc/soljson.js:1:13012)
    at process.emit (node:events:527:28)
    at emit (node:internal/process/promises:140:20)
    at processPromiseRejections (node:internal/process/promises:274:27)
    at processTicksAndRejections (node:internal/process/task_queues:97:32)

Node.js v17.8.0

It very much looks like the huge chunk of text is the solidity compiler itself.
We need to not let this happen and protect the developer's CLI from 25MB of non-sensical gibberish.
The problem might also be in the hedera SDK itself. We don't know that for sure.

We don't know for sure if this is the only scenario where this behavior is triggered.

Reported upstream in ethereum/solc-js#493


Fix OIT texture not clearing properly

Fixes a bug @likangning93 noticed where OIT textures would not get cleared correctly because of changes in https://github.com/AnalyticalGraphicsInc/cesium/pull/8205. No CHANGES.md entry required since this change has not been shipped yet.
Previously GlobeDepth would recreate its textures when clearGlobeDepth changed in order to create the primitive framebuffer. This also recreated the main framebuffer, which was fine, but OIT did not have the proper checks to notice that the framebuffer had changed. I considered adding a clearGlodeDepth check in OIT but decided to just separate primitive framebuffer creation and main frambuffer creation in GlobeDepth.
Sandcastle with GeoJSON from http://data.phl.opendata.arcgis.com/datasets/f43e5f92d34e41249e7a11f269792d11_0.geojson. Select CWT from the base layer dropdown to see the bug.

Thanks for the pull request @lilleyse!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Thanks @lilleyse, works as advertised!


Removed unused OAuthToken from source_build

what

Drop OAuthToken

why

It looks like OAuthToken is only applicable to source_build_deploy, so when it is passed to source_build, Terraform detects changes each time because the value is not persisted.

Thanks @FraaJad ! Will have @aknysh and @goruha review

Thank you @FraaJad for the contribution but it does not appear to resolve the issue in the correct manner as github_oauth_token is certainly needed for private repos. We do acknowledge that it's annoying that Terraform detects changes each time.

@FraaJad see the comment here: https://github.com/cloudposse/terraform-aws-cicd/issues/19#issuecomment-389362453
Maybe it's resolved now?

I was able to fix it for my use case by adding the ignore_changes lifecycle property to github_oauth_token as suggested by @aknysh  earlier in the thread.
Thanks for the most excellent communication!


Modifying maximal velocity of hero controlled by autonomous agent using .xosc file

I need to modify the maximal speed the autonomous agent is driving in my scenario. In my scenario.xosc file I tried to modify the maxSpeed value in the ScenarioObject definition, but this does not affect the maximal speed.
...
<Entities>
    <ScenarioObject name="hero">
      <Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
        <ParameterDeclarations/>
        <Performance maxSpeed="2" maxAcceleration="80" maxDeceleration="10.0"/>
        <BoundingBox>
          <Center x="1.5" y="0.0" z="0.9"/>
          <Dimensions width="2.1" length="4.5" height="1.8"/>
        </BoundingBox>
        <Axles>
          <FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
          <RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
        </Axles>
        <Properties>
          <Property name="type" value="ego_vehicle"/>
        </Properties>
      </Vehicle>
    </ScenarioObject>
...

I assume setting an initial speed action does not makes sense, since the hero behaviour is controlled externally.
I have just encountered that the BasigAgent init function has a target_speed parameter: https://github.com/carla-simulator/carla/blob/master/PythonAPI/carla/agents/navigation/basic_agent.py#L29
Is there a way of setting this parameter using the scenario.xosc file, or is there something I am not aware of?

Is there any update on here?
Now the Performance property initialize the maxSpeed on its Vehicle well?

Yes I can confirm. I could pass the velocity by passing the max velocity value to the BasicAgent seehttps://github.com/carla-simulator/carla/blob/master/PythonAPI/carla/agents/navigation/basic_agent.py.
Parameters as maxAcceleration and maxDeceleration, cannot be passed through the agent as it looks like.


Pluralization now can work ?

First of all thank you, this is a very useful package, without it I would have a lot, a lot of work to do.
In the documentation it is written that the i18n plugin does not support pluralization, but from its current documentation, pluralization is part of the core code now.
How can i use this feature now ?

It is not implemented, patch welcome :-)

I think this will work out of the box, just use the latest version of vue-i18 :)

@davidsoderberg Cool, have you tried it out? I've not had time to look into it yet.
As far as I remember, the note in the readme just stated the fact that vue-i18n didn't at the time, support pluralization. If it is different than how Laravel does it, there is currently no code converting to the vue-i18n format.

Pluralization works, just use "single form|multiple form" syntax


[feat] More flexible + implement a filesystem based dataloader variant

WIP
[x] Refactor to enable multiple data pointers generators & backends
[x] Implement a file system based option
[ ] Benchmark against pytorch dataloader on ImageNet

no time to work on this at the moment, but would be a good demo.. Will update and revive in due time


Need to prompt when publishing fails

What did I do
I use emqx broker and refuse to publish for all topics. When I use MQTTX to publish a message whose Qos is not 0, emqx broker rejects the message, but MQTTX does not give any prompt
Expected
Need to prompt when publishing fails
Environment

OS: MacOS 10.15.7
MQTTX version: v1.4.2

Thanks for your suggestion. I'll try to reproduce and enhance the prompt.

I'll reopen this issue when I reproduce this problem.
Here is my local emqx broker ACL.conf configure:
{deny, all, publish,["testtopic/1"]}.
{allow, all}.

And when I pub testtopic/1 with Qos 1 or Qos 2:

It looks like nothing is wrong now and I will close this issue.


feat(plus-17): add StatefulSet construct

This is a first pass at a statefulset construct. It works well for the cases I need and should serve well as a starting point.  Note that I copied the concepts from Deployment so it should look pretty familiar.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@iliapolo Any thoughts on this one?  I know there could probably be a set of higher level constructs still for some common statefulset cases, but this seems like a pretty good place to start as it basically mirrors Deployment.

@abierbaum only glanced through it, looks ok, i'll take a closer look soon.

Dont close

@iliapolo Sorry for the delay.  I got this working to where I was able to use it in production and forgot to come back to clean it up for upstream consumption.  I have reviewed your comments, made some fixes, and added some feedback.  Please let me know your thoughts.  I would love to get this through this week.

Dont close

@iliapolo I think this last update should address the core issue pretty well.  I changed it to take a Service as input.  After seeing it in action, I agree this is a good change for this use case.

@iliapolo Have you had a chance to get back to this one yet?

@iliapolo Have you had a chance to get back to this one yet?

@iliapolo I have made the changes suggested.  I apologize to all for the amount time it took to respond and get everything completed.

@iliapolo I have made the changes suggested.  I apologize to all for the amount time it took to respond and get everything completed.

@abierbaum No worries, i've been lagging as well :)
Thanks so much for this PR, its awesome.

@abierbaum No worries, i've been lagging as well :)
Thanks so much for this PR, its awesome.