Debugging AOT apps throws "Cannot read property 'get' of null"

For all AOT apps I've tried, the Augury debugger (v1.2.1) throws the following error in the console:
backend.js:34621 Uncaught TypeError: Cannot read property 'get' of null

The line of code within Augury that throws this error is:
var ngZone = root.injector.get(ng.coreTokens.NgZone);

It seems like the extension is failing to resolve the root injector on AOT apps.
Ideally the extension should support the debugging of AOT apps but, if not, this error should be replaced with a more readable log message.

It looks like we are going to have great difficulty debugging AoT applications in Augury. This is because the values we get back from ng.probe do not contain any of the debug information that we use inside of Augury.
However, I am not sure there really is a need to support AoT applications in Augury. After all, AoT is a performance optimization and I'm not sure what the use-case is for enabling it on debug builds -- especially if it is going to make debugging difficult. What do you think?
Here is what we get back from ng.probe, as you can see it's essentially blank:
ng.probe($('app-root'))

DebugElement {_debugInfo: null, nativeNode: app-root, parent: null, listeners: Array[0], properties: Object}, _debugInfo: null, attributes: Object, childNodes: Array[2], children: (...), classes: Object, componentInstance: null, context: null, injector: null, listeners: Array[0], nativeElement: app-root, nativeNode: app-root, parent: null, properties: Object, providerTokens: (...), references: (...), source: (...), styles: Object, __proto__: DebugNode}

The main properties we need are componentInstance and injector. Those both appear to be null for all components in an application with AoT enabled. Therefore there's not really going to be any utility that Augury can provide.

I think what you've said makes sense - AOT shouldn't really be used for debug builds and you can't expect all the normal tools to work with an AOT app when most of the Angular internals have been stripped out of it.
However I do think that Augury should handle this a bit more elegantly than it does at the moment, perhaps just by catching this use case and emitting a console warning about not supporting AOT builds. Especially when the error message is so cryptic at the moment :)

I would like to use AoT for all development, for example so that the extra restrictions on ng2 apps to be AoT-compatible are enforced earlier.
@tbosch is there some reason we cannot emit all the same debug symbols in the ngfactory files to make it work?

We already do. Just make sure the "debug" flag is set. Augury might just
not know how to read our down leveled decorators...
On Mon, Oct 17, 2016 at 4:05 PM Alex Eagle<EMAIL_ADDRESS>wrote:

I would like to use AoT for all development, for example so that the extra
restrictions on ng2 apps to be AoT-compatible are enforced earlier.
@tbosch https://github.com/tbosch is there some reason we cannot emit
all the same debug symbols in the ngfactory files to make it work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rangle/augury/issues/733#issuecomment-254360256, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAqKf0PwfcEau4QQrB3zN6YA55EojZO1ks5q0_9QgaJpZM4KWxfL
.

@alexeagle @tbosch Indeed ng.probe works and returns data inside of a debug-mode build with AoT. (Whereas in production builds, ng.probe is undefined -- as expected). But with AoT enabled, the data inside the DebugElement structure is essentially empty. componentInstance is null even for the root component (which must have a class instance associated with it, right?) injector is null. Is this the expected behaviour?

Until we are able to come to a better resolution of this issue (i.e. we find a way to get all the DebugElement info we are already getting for non-AoT apps), this PR produces a friendly error when someone tries to debug an app with AoT enabled: https://github.com/rangle/augury/pull/741

Ah, sorry, to be a bit more clear, the user has to do the following:

use AOT with debug = true
NOT call enableProdMode() in their application

In the future, we want to remove the flag enableProdMode and just derive
it from how the application was compiled.
On Tue, Oct 18, 2016 at 6:50 AM Christopher Bond<EMAIL_ADDRESS>wrote:

Until we are able to come to a better resolution of this issue (i.e. we
find a way to get all the DebugElement info we are already getting for
non-AoT apps), this PR produces a friendly error when someone tries to
debug an app with AoT enabled: #741
https://github.com/rangle/augury/pull/741
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rangle/augury/issues/733#issuecomment-254513397, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAqKf9kDh58xB7PQbztjippaCWc-7TEJks5q1M6pgaJpZM4KWxfL
.

Hey Tobias. Maybe I am doing something egregiously stupid, but this is not my experience. I created a new app with "ng new" and then ran with "ng serve --aot=true --debug=true".
In my Console it says: lang.js:255 Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
Then if I try to get the DebugElement for the root component using ng.probe($('app-root')), I get this object back:
DebugElement {_debugInfo: null, nativeNode: app-root, parent: null, listeners: Array[0], properties: Object…}
_debugInfo: null
attributes: Object
childNodes: Array[2]
children: (...)
classes: Object
componentInstance: null
context: null
injector: null
listeners: Array[0]
nativeElement: app-root
nativeNode: app-root
parent: null
properties: Object
providerTokens: (...)
references: (...)
source: (...)
styles: Object
__proto__: DebugNode

On this object, both injector and componentInstance are null.

@tbosch When you say "use AOT with debug = true", how is that debug flag set, and has it changed in recent versions? Using 1.0.0-beta.17, --debug is not a recognized option for ng serve (as reported in a warning in the output).

It's an option for angularCompilerOptions in the tsconfig.json:
<EMAIL_ADDRESS>On Wed, Oct 19, 2016 at 9:06 AM Steven Kampen<EMAIL_ADDRESS>wrote:

@tbosch https://github.com/tbosch When you say "use AOT with debug =
true", how is that debug flag set, and has it changed in recent versions?
Using 1.0.0-beta.17, --debug is not a recognized option for ng serve (as
reported in a warning in the output).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rangle/augury/issues/733#issuecomment-254860105, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAC5I1-4w02R-TcIlzLSG_nAqZPL_QGnks5q1j_9gaJpZM4KWxfL
.

@alexeagle Thanks! That was our misunderstanding, and the issue looks to be resolved.

Alright, I think I understand now. Even if the application is running in debug mode and prints "Angular 2 is running in development mode" to the console, it's not actually in debug mode until you add "angularCompilerOptions": {"debug": true} to your tsconfig.json. Also angularCompilerOptions/debug had no effect on my machine whatsoever because I was using beta.16. When I upgraded to beta.17, all of a sudden the debug info started appearing. Sorry for the confusion!

@tbosch should the message about the debug mode still appear on the console even if the flag for the debug mode is not set in tsconfig.json? is it a bug or am I missing something?

These 2 flags are sadly independent right now. In the future, we want to
remove enableProdMode, but right now they can be out of sync.
On Wed, Oct 19, 2016 at 11:10 AM Igor Kamenetsky<EMAIL_ADDRESS>wrote:

@tbosch https://github.com/tbosch should the message about the debug
mode still appear on the console even if the flag for the debug mode is not
set in tsconfig.json? is it a bug or am I missing something?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rangle/augury/issues/733#issuecomment-254895023, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAqKf8kJ-ocC1oJmBrl6Zwjh2wrxn5Laks5q1l0hgaJpZM4KWxfL
.

Note that one is "development mode" and one is "debug mode". The latter is
for AoT, the former is for runtime (AoT or JIT) so they are really
different things.
On Wed, Oct 19, 2016 at 1:36 PM Tobias Bosch<EMAIL_ADDRESS>wrote:

These 2 flags are sadly independent right now. In the future, we want to
remove enableProdMode, but right now they can be out of sync.
On Wed, Oct 19, 2016 at 11:10 AM Igor Kamenetsky<EMAIL_ADDRESS>
wrote:

@tbosch https://github.com/tbosch should the message about the debug
mode still appear on the console even if the flag for the debug mode is
not
set in tsconfig.json? is it a bug or am I missing something?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rangle/augury/issues/733#issuecomment-254895023,
or mute
the thread
<
https://github.com/notifications/unsubscribe-auth/AAqKf8kJ-ocC1oJmBrl6Zwjh2wrxn5Laks5q1l0hgaJpZM4KWxfL
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rangle/augury/issues/733#issuecomment-254933117, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAC5I5AHKH45LrjMtFxR2dMppzYGdmhsks5q1n9JgaJpZM4KWxfL
.

@alexeagle thanks, this makes perfect sense now. We will add a section about AoT support in our readme and close this issue after.


Shipment.create does not return all rates

This is relevant for shippo==2.0.0rc1
When I create a shipment, as per the examples, I'd expect to get a list of all the rates available to me.
    shipment = shippo.Shipment.create(
               address_from = addresses["From"],
               address_to = addresses["To"],
               parcels = [parcel_default],
               api_key = SHIPPO_TOKEN,
               extra = extra)

This doesn't actually happen - I'm returned just 3, and they are for one provider (usps). Your support suggested that I filter carriers, but this is hugely buggy - if I were to want even more than one carrier I'd likely only get three from whichever comes first.
To get the full list of rates (N=10) I'm forced to take the object_id and pass it back into the Shipment class:
rates = shippo.Shipment.get_rates(shipment.object_id, api_key=SHIPPO_TOKEN)['results']

And then manually update the rates
shipment['rates'] = rates

This is hugely unintuitive, and for someone using your Python client, it's confusing, as they will likely go through weeks to a month of back and forth with you to figure out why the rates aren't appearing. I've provided inordinate details directly with your support team if you need more details. Thanks!

@vsoch Thanks for raising this issue.
What's the status of the shipment object after you call shippo.Shipment.create?

heyo @assislucas  thanks for jumping in! The status is "QUEUED"

It looks like there is delay in your API returning the FedEx rates - the original response doesn't include Fedex, we need to query again. Here I am taking the shipment.object_id and getting it again, and this time seeing fedex:
retry = shippo.Shipment.retrieve(api_key=os.environ.get('SHIPPO_TOKEN'), object_id=shipment.object_id)

# here are the providers for the retry request with the same object_id
[x['provider'] for x in retry['rates']]
['FedEx',
 'FedEx',
 'FedEx',
 'FedEx',
 'FedEx',
 'FedEx',
 'FedEx',
 'USPS',
 'USPS',
 'USPS']

and here were the original providers
[x['provider'] for x in shipment['rates']]
['USPS', 'USPS', 'USPS']

So I think it would be helpful to document this somewhere, that retrieving a QUEUED status means that the rates aren't fully populated, and the client should wait and then re-request the shipment or the rates. Thoughts? Do you know why this is happening on your side, and the response isn't returned after the rates are generated?

hey @vsoch :)
Okay that explains it. When you make the shippo.Shipment.create API call it's an asynchronous Shipment creation, so all rates all be available when the status is "SUCCESS".
Since it's asynchronous you need to poll the Shipment using the object_id until the status becomes success then all rates will be available.
It's expected that different providers' rates appear at different times because each one has a different response time. Once the shipment status is SUCCESS you should expect that all rates for the valid providers which support this shipment are available.
Let me know if this explanation helps.

It does! Where is this documented for the user looking to get rates?

It's available in the Shippo API Docs: https://goshippo.com/docs/reference?version=2018-02-08#shipments

The average user is going to be following the instructions here  to generate a shipment, and there is no indication to check a status and retry to get all rates. Given the stress / trouble this caused my group, I'd suggest adding a note there, something like:

If you don't see rates for all carriers, take the shipment.object_id and request it again, and continue until status goes from QUEUED to SUCCESS to be sure that the rates are done being generated.

We in fact did look over the docs you linked many times, and didn't think to look at status (or that it was relevant at all).

@vsoch That page doesn't talk about the status because the shipment is created in this way:
shipment = shippo.Shipment.create(
    address_from = address_from,
    address_to = address_to,
    parcels = [parcel],
    async = False
)

Note the async = False parameter. When async = False is passed the shipment is created synchronously, so when you receive the response it will have all available rates. That's an alternative to the polling solution I mentioned previously.

ah ok, so async must be True by default? The average user won't know that, and might be confused if inputting data into the function and not getting the rates returned.
I understand you are explaining to me why this should be crystal clear, but in reality it wasn't - it led to weeks of support from your staff (with still no answer until I've talked to you) and much extra debugging / work to try and understand why. If you could add one or two sentences to explain how this works, in plain english, this would hugely help future users (and would have saved us much debugging time).
Are the docs open source? If you don't have the bandwidth to make the change I can do it for you.

@vsoch Unfortunately those docs are not open source, I'll follow up internally to update them.
I understand your frustration and appreciate the feedback, we will add a note about the sync vs async API calls.

Thank you! I really appreciate it, and thank you again for addressing the issue. I think we’ve addressed both the original question and a future update to the docs to help others avoid it, so I’m going to close the issue.


Run now api call for check debugging

A simple 'run now' ability that has sensu run a check immediately for check/remediation debugging would be very useful

@selbyk you can issue a check request with the current API, POST /request https://sensuapp.org/docs/0.23/api/checks-api.html#the-request-api-endpoint

But it isn't possible to run a check on a specific client if the client does not subscribe to itself?

We could add a base/included client subscription, named after the client name. This would enable this functionality while maintaining Sensu's model.

@portertech that would be great but please filter them out in the Uchiwa subscription list. Otherwise the subscription filter would become useless because of too many entries.

@portertech That would be great.  I was actually thinking about doing that with our setup or maybe using the port 3030 to manually check check requests. Opening up port 3030 for WAN access seems like a bad idea, though.

This will be fixed by https://github.com/sensu/sensu/issues/1327 (adding a client:NAME subscription to all clients by default).

The 0.25 release is going to hit today with fewer features than originally anticipated & primarily only some internal improvements. Moving this issue to 0.26.

Thanks for the update, @calebhailey

I'm going to close this issue since Caleb's more concise and accurate issue covers it.


feat: add support for opening url in windows os

The web view didn't work on windows, this change makes it work.

very good!


chore: enforce stricter eslint rules

In #376 we detected that our current setup was missing a lot of relevant use-cases, such as async await detection.
I have configured the project according to these docs: https://typescript-eslint.io/getting-started/ and already fixed about 100 warnings or so. But those were the easiest ones. I'm out of time to continue working on this now.

[ ] fix all those warnings
[x] consider if we are able to solve all those warnings, especielly the any related warnings, or if we need to disable this rule globally as a last resort.
[ ] re-enable checking of the website project (currently caused problems because of the appropriate ´tsconfig.json` / project currently ignored by rules)
[x] consider using strictTypeChecked instead of recommendedTypeChecked

consider using strictTypeChecked instead of recommendedTypeChecked

tbh, I think recommendedTypeChecked is good enough for our use-case. I'm not that big of a fan of eslint rules that hold strong opinions over the logic of the code, so strictTypeChecked is a bit too opinionated for my taste. For instance, @typescript-eslint/no-dynamic-delete feels a bit silly

I was under the same impression you mentioned here before trying it out. After seeing the errors that came up, I decided to commit on strict mode as many of them were useful.
As you said, some of those rules are questionable, but overall I think enabling strict mode is an improvement. And if we don't agree with some rules, we always have the possibility to disable them. In fact, that's what I have done with two rules already.
"@typescript-eslint/no-unnecessary-condition": "off",
"@typescript-eslint/no-dynamic-delete": "off",

This PR is ready, but I'll wait for #379 to avoid merge conflicts there.

Blocked by #382

/publish-preview

Ignoring the refactoring of the website types for now, as we don't exactly know if this site will still be required after rewrite of the official svelte site.


[fixes slow render] Use FlatList for optimal performance

Solves this issue: https://github.com/fateh999/react-native-paper-dropdown/issues/48
Ran on ios and android with list of 250 countries and runs noticeably faster.
Learn more about optimisation here: https://www.callstack.com/campaigns/download-the-ultimate-guide-to-react-native-optimization

Hey @mxmkhv excelente solution!
I found a minor issue, the useCallBack renderItem is missing the value dependency.


Blend importer doesn't build

Building with the Blend format enabled causes link errors about missing symbols in the Assimp::Compression namespace. Probably just a missing source file

Try again with latest build.

Builds correctly now! It still doesn't like my  blend files, but that's probably assimp's fault :)


Release 4.0.0 is not available on rubygems

May be related to https://github.com/logstash-plugins/logstash-output-zeromq/issues/19

neither 3.0.0 or 3.0.1 have been published..fixing

In order to fix logstash-plugins/logstash-output-zeromq#19, we need to release this gem.
@avishai-ish-shalom can you add dev_ops AT elastic.co to the gem owners?

+1 - also will not work with logstash/ELK 5.x -- probably due to https://github.com/logstash-plugins/logstash-mixin-zeromq/blob/master/logstash-mixin-zeromq.gemspec#L20

Would be greate if the new builds could be released as the version mismatch causes issues when installing the logstash-filter-zeromq plugin (see https://discuss.elastic.co/t/logstash-filter-zeromq-does-not-install-version-conflict-on-logstash-5-1/69146)

I have submitted a PR to fix the dependency for ELK 5.x in the gemspec: https://github.com/logstash-plugins/logstash-mixin-zeromq/pull/9


some nodes will fire out errors if set httpAdminRoot:false

What are the steps to reproduce?
try to load an exisit simple flow,with a inject and a debug node inside,and set the httpAdminRoot=false
var flows=[{"id":"dc77e143.33e97","type":"tab","label":"flow1","disabled":false,"info":""},{"id":"7bd58677.985428","type":"debug","z":"dc77e143.33e97","name":"","active":true,"tosidebar":true,"console":true,"tostatus":false,"complete":"true","x":476,"y":289,"wires":[]},{"id":"32ec7bb.86cd484","type":"inject","z":"dc77e143.33e97","name":"","topic":"","payload":"hello world","payloadType":"str","repeat":"1","crontab":"","once":true,"onceDelay":0.1,"x":237,"y":254,"wires":[["7bd58677.985428"]]}];
const http = require('http');
const server = http.createServer((req, res) => {
  res.end();
});
server.listen(8000);
var r=require('node-red');
r.init(null,{httpAdminRoot:false})
r.start().then(()=>{
        r.runtime.flows.setFlows({flows:{flows}});
    })

What happens?
got some error,and
18 May 15:57:13 - [warn] ------------------------------------------------------
18 May 16:04:01 - [warn] [node-red/inject] Error: Route.post() requires a callback function but got a [object Undefined] (line:113)
18 May 16:04:10 - [warn] [node-red/debug] Error: Route.post() requires a callback function but got a [object Undefined] (line:151)
18 May 16:04:10 - [warn] [node-red/rpi-gpio] Error: Route.get() requires a callback function but got a [object Undefined] (line:364)
18 May 16:04:10 - [warn] [node-red/udp] Error: Route.get() requires a callback function but got a [object Undefined] (line:133)
18 May 16:04:10 - [warn] ------------------------------------------------------

later
18 May 16:04:10 - [info] Waiting for missing types to be registered:
18 May 16:04:10 - [info]  - debug
18 May 16:04:10 - [info]  - inject

What do you expect to happen?
i found the code in @node-red\nodes\core\core\20-inject.js line 113, it says
RED.httpAdmin.post("/inject/:id", RED.auth.needsPermission("inject.write"), function(req,res) {
...

however RED.auth.needsPermission("inject.write") return undefined, then error occured
all the four nodes inside the warning looks have same problem
Please tell us about your environment:

[ ] Node-RED version: v0.20.5
[ ] node.js version: v10.14.2
[ ] npm version:
[ ] Platform/OS:
[ ] Browser:

added a PR with modify the default auth.needPermission function in
<EMAIL_ADDRESS>from
needsPermission: function() {}

to
needsPermission: function() {return function(req,res,next) {next()}}

https://github.com/node-red/node-red/pull/2167

Fixed in master and dev branches via #2167


Adjusting ESLint and rules to match existing TSLint config

feat: adding lint and prettier as dev dependencies in root package
feat: creating lint, lint-fix, and prettier run scripts
feat: creating github workflow to trigger lint
feat: adding lint and prettier run configs
feat: adjusting rules to match existing tslint config. Adding prettier rc and ensuring that eslint rules are not interfering with prettier rules.
chore: applying lint fixes to entire codebase

Checkout the feature branch and run npm run lint-fix. Seems some files still need lint fix?

Checkout the feature branch and run npm run lint-fix. Seems some files still need lint fix?

hmm this is very strange - when I check out latest feature/lint-and-prettier-config-changes and run npm run lint-fix it seems to work properly and I do not have any changed files. Do you have the latest version of the branch pulled?

Checkout the feature branch and run npm run lint-fix. Seems some files still need lint fix?

hmm this is very strange - when I check out latest feature/lint-and-prettier-config-changes and run npm run lint-fix it seems to work properly and I do not have any changed files. Do you have the latest version of the branch pulled?

I remove the local branch and retest. No more changed files. Sorry for the confusion.


drop() should mutate the input object

I've already completed this in a branch but I'll wait to add it until the update to 0.7.0 ... Also, I updated the readme and added a test.

Will go into 0.8.0.


[python/systemd] allow compiling systemd support into python builds

Add GRPC_PYTHON_BUILD_WITH_SYSTEMD environment variable to setup.py
The variable sets the required compile time define and adds the required link time library to the build process

@nipil Can you please provide some more details on the exact use case that this solves?

Nevermind, I see now.


dubbo网关选择或者说如何实现

现在我已经搭建了几个dubbo服务，但是在不同机器上，缺少统一的入口，关于网关这块有什么集成或者实现吗

You may wait for Dubbo 2.7.3 release, it will provide more convenient for the implementation of Gateway

You may wait for Dubbo 2.7.3 release, it will provide more convenient for the implementation of Gateway

thanks，Is this inside information?Where is the gateway-related message?

网关有选择了吗

Here is a demo to build a gateway powered by Apache Dubbo


Remove unused variable in test code

remove unused variable in test code
use deep equal to compare diff keys

Codecov Report

Merging #1157 (8562745) into master (50ddb89) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1157      +/-   ##
==========================================
+ Coverage   47.08%   47.10%   +0.01%
==========================================
  Files         190      190
  Lines       14749    14749
==========================================
+ Hits         6945     6947       +2
+ Misses       6881     6880       -1
+ Partials      923      922       -1

Impacted Files
Coverage Δ

catalog/mvcc/cataloger_create_repository.go
62.96% <0.00%> (ø)

catalog/mvcc/cataloger_create_entry.go
100.00% <0.00%> (+5.26%)
: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 50ddb89...8562745. Read the comment docs.

Codecov Report

Merging #1157 (8562745) into master (50ddb89) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1157      +/-   ##
==========================================
+ Coverage   47.08%   47.10%   +0.01%
==========================================
  Files         190      190
  Lines       14749    14749
==========================================
+ Hits         6945     6947       +2
+ Misses       6881     6880       -1
+ Partials      923      922       -1

Impacted Files
Coverage Δ

catalog/mvcc/cataloger_create_repository.go
62.96% <0.00%> (ø)

catalog/mvcc/cataloger_create_entry.go
100.00% <0.00%> (+5.26%)
: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 50ddb89...8562745. Read the comment docs.


V1 dev

1.21.2 release

@AJIXuMuK
Hi Alex, first of all Happy New Year 2022!
Do you have an approximative date of V1 release ?
Regards


[FEATURE] Adaptive Random Forest Regressor

The Adaptive Random Forest Regressor is an adaptation of the Adaptive Random Forest classifier.
The implementation of this method is somewhat straightforward given that the original (classification) version and the base learner (Fastand Incremental Model Trees) are already implemented in scikit-multiflow.

Refrences
Gomes, H.M., Bifet, A., Read, J., Barddal, J.P., Enembreck, F., Pfharinger, B., Holmes, G. and Abdessalem, T., 2017. Adaptive random forests for evolving data stream classification. Machine Learning, 106(9-10), pp.1469-1495. (paper)

@AlbandeCrevoisier will be working on this. Pining @smastelini for support.

There is an ARF regressor implemented in MOA which can be used for reference (maybe comparisons?). The main difference is that it uses FIMT-DD as the base learner.

@AlbandeCrevoisier Please create a PR when you have an initial version of the implementation so we can provide feedback.

I — finally — opened a PR, looking for feedback :)

Closing since it was addressed in #145 and #237.


[Gnosis]: New notification/transactions system

Description
New transaction/notification system that supports Gnosis/Ethereum/Polygon transactions.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Other

How should this be tested?
Please provide instructions so we can test. Please also list any relevant details for your test configuration.

[ ] Make a trade (ERC20<>ERC20) for Gnosis orders.
[ ] Make a trade (ETH->ERC20) or wrap/unwrap for ETH transactions.

Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code where relevant, particularly in hard-to-understand areas
[x] My changes generate no new console warnings
[x] The base of this PR is master if hotfix, develop if not

@garethfuller I fixed all the issues.
For Gnosis trades - it seems like their production API is not up to date with the dev API so this is why I couldn't resolve the orders. I've put in place a solution that works (which is what CowSwap uses), but after they update it we can switch to a better one.
For the refresh issue - you would be able to track pending transactions after local storage persistence is re-enabled.


Handle RPC return codes appropriately

Currently we either return E_OK or MT_RESPONSE on SOME/IP side
i.e handle this TODO
and this correctly

dibs

Done!

Hoikily dokily, assigned


Add hide method to react-native-lock-ios

Adds hide method to react-native-lock-ios. Api is same as generic auth0 lock api.

Thanks for the PR, I've been busy with other stuff so I missed most of the PRs in this repo.

No problem! Thanks for putting this module together!


Caused by: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported Android N

Caused by: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported
on android Nougat but i see the latest version is released in september and you made changes 7 days back to make it private.
are you going to release next version for nougat compatibility
seems you need to make your shared_prefs worldredable
also xposed can not read prefs on FBE enabled devices now

added unofficial build for nougat
https://forum.xda-developers.com/showpost.php?p=74205487&postcount=1224

I've worked on making it world readable. Haven't released it yet. So is there any work around for FBE enabled devices? What was your approach for making it world readable?

Hi,i used File APi to setreadable(true,false) rrr to all now this works fine, so making worldreadable with fle api to prefs is possible :)

you could use root to chmod as well

Yeah i used root. Setting it to rw for all.

For some reason I am not able to get it to work. I've pushed the changes in master. Can you please see whats wrong. The world readable related code is in Utils.java and I'm calling the function in onpause.
Please see I dont have a phone with android N

added pull request


yadda package is bundled into vendor.js instead of test-support.js

It seems when using the addon the yadda/lib/* modules land in vendor.js, i.e. get shipped to the user! 😩
I believe the underlying issue is more related to ember-auto-import not correctly putting it into the right bundle. Will file an issue there also, but keep this up here for visibility.

For reference: https://github.com/ef4/ember-auto-import/issues/284
Not sure if we really need this re-export here: https://github.com/albertjan/ember-cli-yadda/blob/master/addon-test-support/index.js. AFAIK this kind of package namespace highjacking is discouraged anyway in the new embroider era. Instead we could let users (and our feature parser import directly from 'yadda'.


<Transition appear> breaks click event listener

Vue version
3.3.11
Link to minimal reproduction
https://stackblitz.com/edit/github-sbgmta?file=src%2Fpages%2FHome.vue,src%2Fcomponents%2FFullscreenBackground.vue
Steps to reproduce
It seems that the click event listener on an element inside <Transition appear> isn't being properly handled.
Steps to reproduce:

open the reproduction

click on the semi-transparent fullscreen div

nothing happens even though it should have set its visibility to false

remove appear from the <Transition> component in FullscreenBackground.vue

repeat the same steps & now the click is properly handled

What is expected?
The click event should be handled the same way as it is handled without appear
What is actually happening?
Most of the time, the click event doesn't fire - though there were times where I got it to fire after clicking for a while 🤷♂
System Info
No response
Any additional comments?
This seems to only be an issue when using Vue SSR. I couldn't reproduce it in client-side Vue.

This bug was introduced with https://github.com/vuejs/core/pull/8859
/cc @edison1105
It seems that the elements we get from the server-rendered template tag don't get hydrated and thus are missing event listeners.

I guess that's because when el is a template element, hydrating the children will fail because el here is still pointing to the <template> element, not the content we previously extracted from it?
https://github.com/vuejs/core/blob/a6503e3e77b04a1ab8c07078e07091b06d51131d/packages/runtime-core/src/hydration.ts#L435-L438

Here we replace the template element with its contents:
https://github.com/vuejs/core/blob/a6503e3e77b04a1ab8c07078e07091b06d51131d/packages/runtime-core/src/hydration.ts#L410-L411
But el still refers to the template element, so when a bit further down we try to hydrate the children, that won't effect the new nodes we just inserted:
https://github.com/vuejs/core/blob/a6503e3e77b04a1ab8c07078e07091b06d51131d/packages/runtime-core/src/hydration.ts#L435-L438
so maybe all we need to do is this?
 replaceNode(content, el, parentComponent)
 vnode.el = el = content
el = content

I think that's because we handle the template element after the fastpath for click handlers?


Inserting BigDecimal with scale into Postgres is broken

Setup
Versions

Rust:
1.43

Diesel:
current master, commit 968e7f79c

Database:
Postgres

Operating System
Linux

Feature Flags

diesel:
postgres, numeric

Problem Description
First, thanks for continuing to maintain Diesel.
Inserting a BigDecimal as a numeric in Postgres is and probably has always been broken for any number with power of ten > 0 (or scale < 0 in BigDecimal terms). Looking at the current code https://github.com/diesel-rs/diesel/blob/master/diesel/src/pg/types/numeric.rs#L90, it's full of unchecked casts and arithmetic which are vulnerable to silent overflows.
Given this, I'd recommend to anyone inserting BigDecimals into Postgres that you avoid using the Diesel support and instead cast text values to numeric.
What are you trying to accomplish?
Insert a BigDecimal with a scale.
What is the expected output?
It works.
What is the actual output?
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value:
DatabaseError(__Unknown, "invalid scale in external \"numeric\" value")', src/main.rs:31:5

Are you seeing any additional errors?
No.
Steps to reproduce
Run this https://github.com/leoyvens/diesel-numeric-bug.
Checklist

[x] I have already looked over the issue tracker for similar issues.
[x] This issue can be reproduced on Rust's stable channel. (Your issue will be
closed if this is not the case)

I would be happy to review a PR fixing this, otherwise I do not plan to work on this in foreseeable future by myself.
For a potential fix the provided example should be used as test case. Adding additional test cases would be great.


3D vector animations

I was wanting to animate some rotations of vectors 3d, and tried looking at this code, but the complexity got a bit too high and am going to try manim now.
Was a bit surprised because I thought visualizing group actions on R2 and R3 would be the most useful thing to do with animation software.
Perhaps you would want to provide some examples like these https://www.youtube.com/watch?v=60z_hpEAtD8 https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab?
I imagined that the idioms in reanimate would be nicer than manim, but I doesn't appear this way for 3d.

Actually 3D is clunky in manim. Guess it will take some working out a good idiom


Problem while trying to import package

Hi, I am using google colab to run this project, last week I ran my project smoothly but today this error comes, could anyone help me how to solve this error? The day before, it tells that I dont have utils module, but today it tells I dont have dataio module
ModuleNotFoundError                       Traceback (most recent call last)
 in ()
8 import speechbrain as sb
9 from speechbrain.utils.data_utils import get_all_files, download_file
---> 10 from speechbrain.dataio.dataio import read_audio
ModuleNotFoundError: No module named 'speechbrain.dataio'

Could you try starting from a clean kernel? Then, you may also have to follow the instructions on issue #1131 at the moment.

Right, periodically that happens due to some unknown issue in the colab.
Usually a clean start fixes that.
On Thu, 18 Nov 2021 at 06:34, Aku Rouhe @.***> wrote:

Could you try starting from a clean kernel? Then, you may also have to
follow the instructions on issue #1131
https://github.com/speechbrain/speechbrain/issues/1131 at the moment.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/speechbrain/speechbrain/issues/1138#issuecomment-972783789,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEA2ZVXEN3NB3UHTBZ3MBDTUMTQDDANCNFSM5IJBCQZA
.

Could you please try it now?

@fadlanhidayat , is it working for you ?

Hi! Yes, it's working right now. Thank you very much!

Hello! Just now, it happens again, I couldn't import the package. I have started my project from the beginning then it happened again. Could you please tell me what to do? thank you

Hi! if I changed my runtime to GPU, then the error appears again. Could you help me with what should I do?

Again, this seems like an issue of the notebook state. Probably just restarting the notebook kernel is the solution again, but if you need some temporary solution (e.g. don't want to lose current state) then you can try explicitly importing the missing package, here e.g. import speechbrain.dataio.dataio.


Chapter1/homework/10

I implemented Encrypt and Decrypt methods;
I added methods for cracking encrypted message;
I added console menu for  user interaction.

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 3

Complexity increasing per file
==============================
- Src/BootCamp.Chapter/Utils.cs  2
- Src/BootCamp.Chapter/CaesarCipher.cs  5
- Src/BootCamp.Chapter/UserInteraction.cs  12
- Src/BootCamp.Chapter/ArrayOps.cs  6

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 1

Complexity increasing per file
==============================
- Src/BootCamp.Chapter/CaesarCipher.cs  5
- Src/BootCamp.Chapter/Utils.cs  2
- Src/BootCamp.Chapter/UserInteraction.cs  12
- Src/BootCamp.Chapter/ArrayOps.cs  6

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 1

Complexity increasing per file
==============================
- Src/BootCamp.Chapter/UserInteraction.cs  11
- Src/BootCamp.Chapter/CaesarCipher.cs  5
- Src/BootCamp.Chapter/ArrayOps.cs  6
- Src/BootCamp.Chapter/Utils.cs  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 1

Complexity increasing per file
==============================
- Src/BootCamp.Chapter/ArrayOps.cs  6
- Src/BootCamp.Chapter/UserInteraction.cs  11
- Src/BootCamp.Chapter/CaesarCipher.cs  5
- Src/BootCamp.Chapter/Utils.cs  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1

Complexity increasing per file
==============================
- Src/BootCamp.Chapter/Utils.cs  2
- Src/BootCamp.Chapter/CaesarCipher.cs  5
- Src/BootCamp.Chapter/ArrayOps.cs  6
- Src/BootCamp.Chapter/UserInteraction.cs  6

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1

Complexity increasing per file
==============================
- Src/BootCamp.Chapter/Utils.cs  2
- Src/BootCamp.Chapter/ArrayOps.cs  6
- Src/BootCamp.Chapter/CaesarCipher.cs  5
- Src/BootCamp.Chapter/UserInteraction.cs  6

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1

Complexity increasing per file
==============================
- Src/BootCamp.Chapter/Utils.cs  2
- Src/BootCamp.Chapter/UserInteraction.cs  6
- Src/BootCamp.Chapter/ArrayOps.cs  6
- Src/BootCamp.Chapter/CaesarCipher.cs  5

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1

Complexity increasing per file
==============================
- Src/BootCamp.Chapter/CaesarCipher.cs  5
- Src/BootCamp.Chapter/Utils.cs  2
- Src/BootCamp.Chapter/ArrayOps.cs  6
- Src/BootCamp.Chapter/UserInteraction.cs  6

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1

Complexity increasing per file
==============================
- Src/BootCamp.Chapter/ArrayOps.cs  6
- Src/BootCamp.Chapter/Utils.cs  2
- Src/BootCamp.Chapter/UserInteraction.cs  6
- Src/BootCamp.Chapter/CaesarCipher.cs  5

See the complete overview on Codacy

Please remove the unrelated code pieces like array ops.
This one I forgot about it.
Also it seems that you overdid it a bit. When applying to a job, doing too much is sometimes even considered a mistake. Try doing just enough.
I know, this was just practice for me. But to my defense instructions were not clear on how to decrypt a message when key is not known :))
I removed unused code from ArrayOps in 06ca1d0

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1

Complexity increasing per file
==============================
- Src/BootCamp.Chapter/CaesarCipher.cs  5
- Src/BootCamp.Chapter/UserInteraction.cs  6
- Src/BootCamp.Chapter/Utils.cs  2
- Src/BootCamp.Chapter/ArrayOps.cs  6

See the complete overview on Codacy


Add documentation

Hi, thanks for your work, the idea is pretty neat.
Since it seems like the merge with whatevergreen won't happen, could you provide few lines of documentation (if someone who already has SSDT-PNLF in ACPI needs something else to change to use this kext/ or he/she just has to build it and copy it to the /EFI/OC/Kexts folder)
Thanks in advance

Hi, I'm trying to build this kext but no luck so far. I've cloned and build Lilu.kext (debug) and copied it in the master directory alongside MacKernelSDK but the build still fails. Could you provide some releases just to test this please?

I have pushed the fix for compiling with new Lilu. Please try again.
About documentation, I plan to do it in a few days.

Thanks a lot. I made a workaround before by commenting those lines, but I'll clone the repo and build again
I'll report back

If you have Coffee Lake
I'm on Whiskey Lake (i5 8265U) does this apply as well as CoffeeLake?

My device is
| |   | |   "AAPL,ig-platform-id" = <0900a53e>

This is part of my DSDT, should I remove it or merge your SSDT-PNLF?

You need to understand why SSDT-PNLF exists. Its purpose is to make AppleBacklight loaded. Only these lines are needed to do that:
Device(_SB.PCI0.GFX0.PNLF)
{
    Name(_ADR, Zero)
    Name(_HID, EisaId("APP0002"))
    Name(_CID, "backlight")
    // _UID is set depending on device ID to match profiles in WhateverGreen
    // 14: Arrandale/Sandy/Ivy
    // 15: Haswell/Broadwell
    // 16: Skylake/KabyLake
    // 17: custom LMAX=0x7a1
    // 18: custom LMAX=0x1499
    // 19: CoffeeLake 0xffff
    Name(_UID, 0)
    Name(_STA, 0x0B)
}

However, only so is not enough to make backlight working. There is a mismatch in PWM MAX between macOS and our laptop, so we need to fix that, either by patching macOS (which AppleBacklightSmoother and WhateverGreen's CoffeeLake patch does) or set PWM MAX in hardware to match that of macOS (which the traditional SSDT-PNLF does). In addition, we also need to set UID to match profiles defined in WhateverGreen). But each platform needs a different value. If you look into SSDT-PNLF (both from this repo and WhateverGreen), you would see it contains device-id of various IGPU. They are used for automatically detecting platform and injecting corresponding value.
SSDT-PNLF from WhateverGreen also set PWM MAX, but as I said before, it's not needed for AppleBacklightSmoother as it patches macOS to work with all PWM MAX.
TLDR: If you want to keep things simple, no need to use SSDT-PNLF from this repo. You only need to change _UID to match your platform. You have Whiskey Lake, so you should set it to 19 (or 0x13).

Ok thanks for clarifying.
I'll edit _UID shown in the picture: (now set to 0x0A) to 0x13

p.s. of course this device is under _SB.PCI0, do I need to move it to PCI0.GFX0?

I left the PNLF device where it was, also, is there any precaution on when this kext shoud be loaded? Such as right after WhateverGreen or is that ok to be after AppleALC or in general I can put this at the end?

Injection order doesn't matter as long as it is injected after Lilu

Ok, about the location of the device, is it fine under Device(_SB.PCI0.PNLF) or does it require to be under Device(_SB.PCI0.GFX0.PNLF) ?

I'm not sure about that

@hieplpvip
Sorry for asking again, but some time ago you said:

you also need to turn off WhateverGreen's backlight patch with boot argument igfxcflbklt=0

Does this apply to Whiskey Lake as well (since its a derivative of CoffeeLake) or it is not necessary for the i5 8265U?

@hieplpvip
Sorry for asking again, but some time ago you said:

you also need to turn off WhateverGreen's backlight patch with boot argument igfxcflbklt=0

Does this apply to Whiskey Lake as well (since its a derivative of CoffeeLake) or it is not necessary for the i5 8265U?


Document known limitation re: can not IMPORT into REGIONAL BY ROW tables

Just what it says above.  We should add this to our Known limitations.

A good place to start is here: https://github.com/cockroachdb/cockroach/pull/62899/files
Look at this comment, and the steps we're taking to make this into a "fake" RBR table.  We might want to document this as one possible workaround:
	// Convert fake table to full RBR table. This test is only required until we
	// support IMPORT directly to RBR tables. The thinking behind this test is
	// that this _could_ be one way that customers work-around the limitation of
	// not supporting IMPORT to RBR tables in 21.1. Note that right now we can't
	// make this column hidden (#62892).


@now/node and @now/node-server isn't working for me!!!

I am using a monorepo like this 👇
https://github.com/iqubex-technologies/adify/tree/backend-integration
The backend is equipped with Express.js and TypeScript while the frontend is based on Next.js...
I succesfully deployed my frontend at https://adify.tech, but the backend at the api route still isn't functioning as expected.
Here's my now.json:
{
  "version": 2,
  "name": "adify",
  "public": true,
  "alias": ["adify", "adify.tech", "www.adify.tech"],
  "scope": "iqubex-technologies",
  "build": {
    "env": {
      "ADIFY_GA_TRACKING_ID": "@adifygatrackingid",
      "ADIFY_STEIN_API_KEY": "@adifysteinapikey",
      "ADIFY_STEIN_API_USERNAME": "@adifysteinapiusername",
      "ADIFY_STEIN_API_PASSWORD": "@adifysteinapipassword"
    }
  },
  "builds": [{
    "src": "packages/web/package.json",
    "use": "@now/next"
  }, {
    "src": "packages/backend/src/index.ts",
    "use": "@now/node-server@canary"
  }],
  "routes": [{
    "src": "/api/(.*)",
    "dest": "packages/backend/src/$1"
  }, {
    "src": "(.*)",
    "dest": "packages/web$1",
    "continue": true
  }]
}

You can check out the complete repository branch here: https://github.com/iqubex-technologies/adify/tree/backend-integration
I searched throughout StackOverflow and the Internet but found nothing that works. I tried using both @now/node and @now/node-server. Also tried the canary versions of it. I tried altering the dest and src in builds and routes... Nothing deployed my backend at the api route!
Thanks in advance!

Hi @KumarAbhirup
The @now/node-server builder has been replaced with @now/node.
Can you explain what "isn't functioning as expected" when using @now/node?
What did you try and what did you expect to happen? Thanks!

What I expect to happen:
At the /api route, the /packages/backend/src/index.ts should start. But it gives me a 404 error.
What I tried:
I tried altering the dest and src in builds and routes... Nothing deployed my backend at the API route!
Please check this branch, here see all the commits starting with the prefix TRY... That is all that I've tried.
https://github.com/iqubex-technologies/adify/tree/backend-integration

The error message says TypeError: express_1.default is not a function
Try setting esModuleInterop: true in tsconfig.json.
Also, I would recommend avoiding routes and use Next.js api middleware like this: https://nextjs.org/docs#api-middlewares

Found the solution here: https://spectrum.chat/zeit/now/cant-seem-to-get-routing-to-work-on-monorepo~7057d6b7-e663-4bae-a0dc-fe7936ee8213
Thank you so much for the help ❤


Documentation📄: gather_files.md is out of sync

What is the current documentation state?
The gather_files.md file is substantially out of sync. I can't make informed decisions on how to merge them. An SME should review.

https://github.com/open-horizon/open-horizon.github.io/blob/master/docs/hub/gather_files.md
https://github.ibm.com/Edge-Fabric/docs/blob/4.3/hub/gather_files.md

Where is this stated?
No response
Why do you want to improve the statement?
No response
Proposed Statement
No response
Additional context.
No response

The #221 and this #218 issue are coupled from a strategy perspective on how to split the OH docs from the IBM product docs

@naphelps Can you please help us find an SME to walk us through how to "gather files" and package them for the Exchange/CSS?  The current instructions are only valid for downstream IEAM.  We need something specific to OH.  If someone is available to "teach the teacher", we'll capture the details and document.


Confussion between the concrete type and the type constructor

Sometimes we consider the data type Tag as been the model of the Concept: e. g. Tuple is declared as a concrete type of a Functor  and as a concrete type of a Foldable.
However Functor has instances F such that
"
Given F a Functor, the signature is transform:F(T)×(T→U)→F(U)
"
and Foldable has instances F(T) such
"
Given a Foldable xs of data type F(T), a function f:S×T→S and an initial state s of data type S, the signatures for fold.left are
fold.left:F(T)×S×(S×T→S)→S
"
How Tuple can be a model of Foldable?

IIUC, you are asking why Tuple is both defined as a F(T) and a F, in different concepts, right? That's just an abuse of notation. A Foldable is a F too.

Ok, so technically, what should be written is:
Given a tag F which is a Foldable, an object xs of tag F and a function f of type S x T -> S, the signature of fold.left is
    fold.left : F(T) x S x (S x T -> S) -> S

However, I think the way it is currently written is also perfectly comprehensible.

I agree. A `Foldable is a type constructor, and as such must be defined. What about
Given F a Foldable, the signature of fold.left is
    fold.left : F(T) x S x (S x T -> S) -> S

Works for me.


Attempt to reconnect when server connection lost

psql will attempt to reestablish a connection to the server in case of a restart or pg_terminate_backend call. For example, if we establish a connection to a local service
~$ psql -h localhost postgres postgres
psql (9.3.5, server 9.4.1)
WARNING: psql major version 9.3, server major version 9.4.
         Some psql features might not work.
Type "help" for help.

postgres=# select 1;
 ?column?
----------
        1
(1 row)

and then restart the server in another terminal, psql detects the broken connection and attempts to reset it:
postgres=# select 1;
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.
postgres=# select 1;
 ?column?
----------
        1
(1 row)

postgres=#

pgcli detects a broken connection gracefully but does not attempt to reset it:
~$ pgcli -h localhost postgres postgres
Version: 0.16.3
Chat: https://gitter.im/amjith/pgcli
Mail: https://groups.google.com/forum/#!forum/pgcli
Home: http://pgcli.com
postgres> SELECT 1
+------------+
|   ?column? |
|------------|
|          1 |
+------------+
SELECT 1
Command Time: 5.00679016113e-06
Format Time: 0.000869035720825

The first command issued after restarting the database produces:
postgres> SELECT 1
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

and subsequent commands yield:
postgres> SELECT 1
connection already closed
postgres>

It would be nice if pgcli mimicked this behavior. In my development workflow, I frequently use the template option to CREATE DATABASE to create fast database snapshots or restore from a previous state, but this requires disconnecting active clients, so I see this behavior fairly frequently.
Notice that psql does not attempt to re-issue the command that failed. This is probably sensible behavior that we should preserve.

Yes. I like this idea. I'm sure psycopg2 throws an exception when the connection is broken, we can find out the exception type and catch that and reattempt a connection?


BepInEx-IL2CPP version needs to query BepInEx for the unhollowed path

The correct path might not always be BepInEx\unhollower, but you should be able to get the path from BepInEx.IL2CPP.Preloader.IL2CPPUnhollowedPath.
To reproduce set this in BepInEx.cfg:
UnhollowedAssembliesPath={BepInEx}\{ProcessName}

Alright. I will update the plugin to use this path instead.

Fix released now in 5.2.0


wdb cannot start

Hi
I have a fresh install of DOODBA on Ububtu 20.4 my project is  ODOO 14, all work fine but when I try to use wdb on http:localhost:14081 this cannot connect.

Thank's a lot for your help

The port is 14069

Sorry, I read incorrectly, reopening.

Yes, still the issue is that the port is different. It should be http://localhost:14984/


Prompt for update not working on iOS

When we release an update for our application, iOS user's (specifically iPads) don't receive a prompt to update.
This functionality works as expected outside of iOS (ie: Chrome on Windows).
The only way we can get the app to update on iPad, is by exiting/closing the app via the app drawer/app switcher. Upon launching the app again, it's immediately running the new version.
We're running vite 4.4.9 along with vite-plugin-pwa 0.16.4.
Does iOS not support update prompts? Am I missing something necessary for this to function correctly on iOS?
// vite.config.js

VitePWA({
  registerType: 'prompt',
  includeAssets: ['favicon.ico'],
  manifest: {
    name: 'My App',
    short_name: 'My App',
    description: 'My App',
    theme_color: '#BADA55',
    background_color: '#000000',
    display: 'standalone',
    orientation: 'landscape',
    icons: [ ... ]
  }
})

// main.js

import { registerSW } from 'virtual:pwa-register'

const updateSW = registerSW({
  onNeedRefresh() {

    // note: we're using vue-sweetalert2 for dialog UI.
    // sweetalert works fine elsewhere in the app; so thats
    // not an issue here.
    Vue.swal({
      title: 'New Version',
      html: `New app version available. Reload?`,
      preConfirm: () => {
        return new Promise(resolve => {
          resolve()
        })
      }
    })
    .then(result => {
      if (result.value) {
        updateSW(true)
      }
    })
  }
})

@phuze
Unfortunately macOS/iOS is a problem, it mainly depends on the version of OS and Safari. Trying to debug it is difficult, other than I don't have any macOS/iOS devices right now.
During the development of elk.zone we have encountered many problems on macOS/iOS (also in Firefox): for example, when installing the PWA, the keyboard was not displayed to compose a message. We also ran into the problem you describe, it seems that updating the version of macOS/iOS and Safari should fix it (Safari on iOS and iPadOS 16.4 b1 adds support for: https://twitter.com/firt/status/1626332953633603586?t=SIKmOJ8n1EtNDCSlaPMLzw&s= 33)

Thank you for the feedback. I can confirm I was running ipadOS 16.1 at the time of posting. I tried updating as you suggested -- the latest version being 16.6 in my case. Unfortunately, it had no effect.
Interestingly, returning to the iPad several hours after having pushed an update, I noticed that a prompt appeared alerting me that a new app version was available. This was surprising, but important, as it confirmed the update prompts technically function.
As I understand it, typically a waiting service worker will only become active once the currently active service worker is released and becomes redundant. From what I understand, this happens in one of two scenarios:

A user navigates away from the page, thereby releasing the previous active worker.
A period of time has passed, thereby releasing the previous active worker.

I tried enabling skipWaiting -- in Chrome on Windows, it just immediately activated the new service worker, rendering the update prompt meaningless. On the iPad, it effectively had no effect, since we weren't seeing update prompts to begin with.
VitePWA({
  registerType: 'prompt',
  workbox: {
    skipWaiting: true
  },
  ...
})

With this in mind, I decided to implement an "update check" (a page reload) as part of route changes within my Vue app. I store  a timestamp for comparison, and trigger a page reload every 15 minutes, at the end of a route change. This provides an opportunity for any waiting service workers, and thus a user is presented with the update prompt.
I don't yet fully understand why iOS/ipadOS behaves the way it does, in comparison to Chrome in Windows or Android environment (which works flawlessly), but at least this method ensures app updates effectively reach our iPad users.
Here's an quick example demonstrating the approach I took within my app, incase anyone finds it helpful:
// router
router.afterEach(() => {
  store.dispatch('checkUpdates')
})

// state
{
  lastUpdateCheck: null
}

// getter
lastUpdateCheck: state => {
  return state.lastUpdateCheck
}

// action
checkUpdates({ commit, getters }) {
  if(getters.lastUpdateCheck === null) {
    commit('setLastUpdateCheck')
  } else {
    if( ((Math.floor(Date.now() / 1000)) - getters.lastUpdateCheck) > 900) {
      commit('setLastUpdateCheck')
      window.location.reload()
    }
  }
}

// mutation
setLastUpdateCheck(state) {
  state.lastUpdateCheck = Math.floor(Date.now() / 1000)
}


Gencode exon adapter

Implemented GencodeExonAdapter to process Gencode dataset file and extract exon information for the knowledge graph.

Hi Dawit, thanks for the PR. Can you include the sample file used in the samples directory and also make relevant changes to adapters_config.yaml not just the adapters_config_sample.yaml file?

Hi Abdulrahman, thank you for the feedback. For this adapter the sample file already exists gencode_sample.gtf.gz. I have updated the adapters_config.yaml.

can you update the path following the similar path as the one that exists for the other adapters?

can you update the path following the similar path as the one that exists for the other adapters? That is, using the same directory structure as the path for the other adapters

Path updated following consistent structure.


Cert-manager gave up on renewing a certificate

Bugs should be filed for issues encountered whilst operating cert-manager.
You should first attempt to resolve your issues through the community support
channels, e.g. Slack, in order to rule out individual configuration errors.
Please provide as much detail as possible.

Describe the bug:
Cert-manager gave up on renewing a certificate.
Expected behaviour:
Cert-manager retires non-fatal errors
Steps to reproduce the bug:
N/A, not sure what triggered it.
Anything else we need to know?:
The last available status is:
    Last Transition Time:  2018-07-30T19:08:49Z
    Message:               Failed to determine order status: Get https://acme-v02.api.letsencrypt.org/acme/order/35597112/6720071: dial tcp: i/o timeout
    Reason:                ValidateError
    Status:                False
    Type:                  Ready
    Last Transition Time:  <nil>
    Message:               Order validated
    Reason:                OrderValidated
    Status:                False
    Type:                  ValidateFailed

Environment details::

Kubernetes version (e.g. v1.10.2): version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.2", GitCommit:"81753b10df112992bf51bbc2c2f85208aad78335", GitTreeState:"clean", BuildDate:"2018-04-27T09:10:24Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Cloud-provider/provisioner (e.g. GKE, kops AWS, etc): bare metal
cert-manager version (e.g. v0.4.0): v0.3.0-alpha.2
Install method (e.g. helm or static manifests): static manifests

/kind bug

Nevermind, updating to 0.4.1 solved it.


fix(neo4j.js): support transaction-rx

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feat: Use ruff as linting tool and remove flake8

xbitinfo version:
Python version:
Operating System:

Description
ruff is fastest linter and code formatter written in rust.
https://github.com/astral-sh/ruff

Cool! 😎 Do you like to do a PR?

Cool! 😎 Do you like to do a PR?
Yeah I can start working on the PR 🤞


[build.sh] Print stderr when curl fails

Fixes #3023.
The used CURL options are the following for reference:
-f: (HTTP) Fail silently (no output at all) on server errors.
-s: Silent or quiet mode.
-S: When used with -s it makes curl show an error message if it fails.
-L: Follow redirects.
-o: Write output to given path

LGTM :+1:

In general I'd prefer to use the long-form of flags whenever they aren't totally obvious. Here that'd be curl --fail --silent --show-error --location "$CORE_URL" -o "${CORE_TMP_TAR}" which I think is somewhat more understandable.

Fair point. I saw that as well, but decided instead to document them in the commit message. I don't think that e.g. the meaning of --location is really obvious.


Need a logo designed for the application

Is your feature request related to a problem? Please describe.
Currently, there are no brand logo for the application
Describe the solution you'd like
We need a new logo for the app.
Additional context
Before submitting a PR, feel free to share the mock of the design(this could be a Figma link or a canva design).

Completed.


Player icons use data URLs in deployed site

For some reason Vite is converting the role and job icons to data URLs instead of just linking to the images. This makes saved scenes much larger than they need to be.

Fixed in 0ae96403bd0dc6313ee5a39f769813f109982749


Resolve Build Errors

This pull handles the error during netperf build. The errors are given below.
netserver.c:259:14: error: assignment to expression with array type
     FileName = NETPERF_NULL;
              ^
netserver.c:260:19: error: ‘Filename’ undeclared (first use in this function)
     where = fopen(Filename, "w");

Hi Sourabh!
This seems to address the same issue as my previous pull request:
https://github.com/HewlettPackard/netperf/pull/11
Was something wrong with the previous pull request?
(Other than the fact it's not been processed yet)

I forgot to see there is a PR for the same problem.
I will close my PR request.
Regards,
Sourabh Jain
On Thu, Mar 29, 2018 at 6:56 AM, grundlerchromium<EMAIL_ADDRESS>wrote:

Hi Sourabh!
This seems to address the same issue as my previous pull request:
#11 https://github.com/HewlettPackard/netperf/pull/11
Was something wrong with the previous pull request?
(Other than the fact it's not been processed yet)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HewlettPackard/netperf/pull/15#issuecomment-377090921,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARYg7dfR2co9ShPrtC3DEQI9cHSFEyA4ks5tjDg1gaJpZM4S8hHd
.

No worries - my apologies for breaking this in the first place.


Updated requirements and workflows

Updated the workflow to take into account python versions.
Fixed most of the dependencies versions on requierements.txt
Missing updating on setup.py

Codecov Report

Merging #48 (82ae13e) into development (55fea6b) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 82ae13e differs from pull request most recent head eb440c3. Consider uploading reports for the commit eb440c3 to get more accurate results

@@             Coverage Diff              @@
##           development      #48   +/-   ##
============================================
  Coverage        71.59%   71.59%
============================================
  Files               31       31
  Lines             1394     1394
============================================
  Hits               998      998
  Misses             396      396

Flag
Coverage Δ

unit-tests
71.59% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update index.html.haml

@jpechane, this one is for you :)

I think the "might be" already expresses a reasonable amount of vagueness.
Let's not over-complicate things :)

@gunnarmorling ok, applied, but the more vague statements the better ;-)


Can Spring RestTemplate work?

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ *] Bug
[ ] Requirement
[ ] Feature or performance improvement

Bug

Which version of SkyWalking, OS, and JRE?
SkyWalking master     windows   openjdk version "1.8.0_242"
What happened?
code is very simple

@SpringBootApplication
public class MessagingStompWebsocketApplication {
	public static void main(String[] args) {
		RestTemplate restTemplate=new RestTemplate();
		String result = restTemplate.getForObject("http://<IP_ADDRESS>3:8080/", String.class);
		System.out.println(result);
	}
}

and I run
java -jar build/libs/myjar.jar -javaagent:skywalking-agent.jar

I user wireshark to catch the packet.The result is right, But no http head sw8 is added.

Read at least the first line of the introduction.

SkyWalking: an APM(application performance monitor) system, especially designed for microservices, cloud native and container-based architectures.

You are not running a service at all.

I use  https://github.com/spring-guides/gs-spring-boot.git
and
@RestController
public class HelloController {

	@RequestMapping("/")
	public String index() {
		RestTemplate restTemplate=new RestTemplate();
		String result = restTemplate.getForObject("http://<IP_ADDRESS>3:8080/", String.class);
		System.out.println(result);
		return "Greetings from Spring Boot!";
	}

}

and everthing is the same.

We wouldn't debug your codes for you if you want to find our test codes, they ar here, https://github.com/apache/skywalking/tree/master/test/plugin/scenarios

Thank you.

i know it's too late, i had the same problem (I'm using resttemplate 6.x) but already found the solution, you can use optional plugin
just copy optional-plugins/apm-resttemplate-6.x-plugin-9.3.0.jar to plugins and restart your service
https://skywalking.apache.org/docs/skywalking-java/next/en/setup/service-agent/java-agent/supported-list/


Ambiguous reference to member 'onSwipe'

hi , i have this error
sensitive installed via Podfile
and on the view.onswipe i see that error
(it found 2 candidates, bot from Sensitive.UIView )

@boardmain Hi,
Which version of Swift are you using?

@boardmain Try it with Swift 4. It should work properly. I'm closing this issue because I haven't received a response from you. Feel free to reopen the issue if the bug appears when using Swift 4.


Integrate CUDNN v8 frontend API for convolution

This PR integrates the new cuDNN Frontend API (https://github.com/NVIDIA/cudnn-frontend) for the convolution backends.
FYI. @nluehr

I have split the PR into multiple commits ranging from backend (configs, stream executor, autotuner utils) towards frontend (conv2d, conv3d). PTAL. @timshen91

@kaixih Can you please check @sanjoy's comments and keep us posted ? Thanks!

I think all the above comments are addressed. PTAL. @timshen91

Just addressed the new comments. PTAL. @timshen91

Just made a couple of new changes. PTAL @timshen91

Thanks for the reviews. @timshen91 @sanjoy
I think only this Windows Bazel GPU test fails. The log indicates it fails to find the third_party/gpus/cudnn/cudnn_backend.h. I have a feeling that this error is related to the CI settings and the windows tests may not take this branch https://github.com/tensorflow/tensorflow/blob/master/third_party/gpus/cuda_configure.bzl#L1103 to copy all the headers for cudnn. Can you help check it?

Hi Kaixi, you are absolutely right, that line should say if cuda_config.cudnn_version.rsplit("_", 1)[-1] >= "8":.
I will submit a fix shortly.

Retest this please.

Thanks Christian!


Conversion Script for all raw data sessions

Add script to iterate through all the raw data sessions and run the conversion pipeline on each.

Is that covered by the loop at this line? https://github.com/catalystneuro/datta-lab-to-nwb/blob/main/src/datta_lab_to_nwb/markowitz_gillis_nature_2023/convert_session.py#L181


Here is the reason why lottie is crashing on Expo android

I notice when i make a changes to a lottie in the website, maybe i change the color of the lottie, if i download it and use the JSON in my expo, it will crash on android, but work on ios
Please fix that

I am facing the same issue with Lottie JSON version 5.7.0 and Lottie React Native version 5.1.6. It works well on iOS, but not on Android. Following is the console error that appears when using android.
Warning: Cannot update a component (ForwardRef(BaseNavigationContainer)) while rendering a different component (index). To locate the bad setState() call inside index, follow the stack trace as described in https://reactjs.org/link/setstate-in-render

Please try installing the latest version. Closing this for now!

I am facing the same issue with Lottie JSON version 5.7.0 and Lottie React Native version 5.1.6. It works well on iOS, but not on Android. Following is the console error that appears when using android.
Warning: Cannot update a component (ForwardRef(BaseNavigationContainer)) while rendering a different component (index). To locate the bad setState() call inside index, follow the stack trace as described in https://reactjs.org/link/setstate-in-render

There is something wrong in your codebase. Nothing related to lottie.


Tests with same name but different classes should not be marked as "duplicates"

Describe the Bug
Jasmine "describe" with the same name as another test is marked with a triangle in testing UI (duplicates?). In Angular it's very common for large projects to have multiple services with the same name (for example StateService) but only provided within one specific component. Allowing for service to be disposed when component is destroyed.
I'm not sure if this issue is related to this extension, or if this belongs to vscode-test-explorer project.
Steps to Reproduce the Behavior
(see provided screenshots below for a visual representation)

Create a new Angular project
Create two components with with different names (like test-comp-one and test-comp-two)
Create two services with the same name (for example StateService) and provide these in one component each.
Open "testing" panel in VSC

Describe the Expected Behavior
Test UI should not report an error.
Provide Debug Logs
No issue with running so excluding logs
Screenshots
Result in testing UI

Two different services, living in unique folders but share the same name

Please Provide the Following Information

OS: Windows 10 build 19043.1348
Karma Test Explorer version: 0.3.0
Test Adapter Converter version: 0.1.4
Test Explorer UI version: 2.21.1

@krilllind I believe this is a limitation of Karma - those two tests will both run as StateService should be created and not have anything that explicitly associates them each to their individual test files or the components being tested.
I would recommend changing just the top-level describe of each in order to distinguish them from each other - perhaps by also including the different components they are each testing. So basically, ComponentOne StateService vs ComponentTwo StateService.

@lucono That is a good work around, but the fact that new scaffolded tests by Angular does not do this automatically makes it a bit harder to establish as a rule in enterprise development. Is there any way we can include the entire path from /src/ to detect if test name is already in use?
I guess that might defeat the purpose of this validation, so maybe have it as a setting?
Just throwing options out there. Let me know your thoughts

@krilllind The beta branch now has a new karmaTestExplorer.flagDuplicateTests boolean setting which can be used to disable test duplication flagging. Test that out to confirm if it addresses the issue. You can download the .vsix artifact from the CI build, or build it from the beta branch.

Works like a charm, tested out version 0.3.1 (preview) and I can confirm that I was able to locate this new setting and that it applies as intended 👍

@krilllind unfortunately, this change presents a potential for false positive test results and was therefore not released. For duplicate fully qualified test names, Karma Test Explorer does not have enough information to confidently assign each test to the exact test definition for which the test was originally discovered by the underlying test framework and so it must show a warning of potential misreporting of test results for those tests. This is because the test framework does not provide any file information for the discovered tests - Karma Test Explorer does an independent discovery of the test definitions in your test files.
Karma Test Explorer is just a very sophisticated reporter, and other reporters face similar or related issues (comment) when it comes to duplicate tests. Linter plugins also exist (such as this and this) to help identify test duplication.


How to restrict descheduler activity to the certain namespace and node groups?

I have a problem with restricting descheduler's activity to only certain namespaces and node groups. I mean - I need to descheduler process only pods in the certain namespace named "dev" and node group with the label "env=dev". First, I tried to replace default ClusterRoleBinding with two role bindings:
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: descheduler-cluster-role
  namespace: kube-system
rules:
- apiGroups: [""]
  resources: ["events"]
  verbs: ["create", "update"]
- apiGroups: [""]
  resources: ["nodes"]
  verbs: ["get", "watch", "list"]
- apiGroups: [""]
  resources: ["pods"]
  verbs: ["get", "watch", "list", "delete"]
- apiGroups: [""]
  resources: ["pods/eviction"]
  verbs: ["create"]
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: descheduler-sa
  namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: descheduler-cluster-role-binding
  namespace: kube-system
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: descheduler-cluster-role
subjects:
  - name: descheduler-sa
    kind: ServiceAccount
    namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: descheduler-cluster-role-binding
  namespace: dev
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: descheduler-cluster-role
subjects:
  - name: descheduler-sa
    kind: ServiceAccount
    namespace: kube-system

but that didn't work
I0817 12:30:08.173707       1 node.go:45] node lister returned empty list, now fetch directly I0817 12:30:08.177200       1 descheduler.go:85] Unable to get ready nodes: nodes is forbidden: User "system:serviceaccount:kube-system:descheduler-sa" cannot list resource "nodes" in API group "" at the cluster scope
Is there any way to solve my problem?

You can set startup parameter node-selector in descheduler to let descheduler run only on nodes that matches the node labels. e.g.
command:
  - "/bin/descheduler"
args:
  - "--policy-config-file"
  - "/policy-dir/policy.yaml"
  - "--v"
  - "3"
  - "--node-selector"
  - "env=dev"

also you can refer to Filter Pods and set include namespace in every strategy to let them excute over certain namespaces. e.g.
apiVersion: "descheduler/v1alpha1"
kind: "DeschedulerPolicy"
strategies:
  "PodLifeTime":
     enabled: true
     params:
        maxPodLifeTimeSeconds: 86400
        namespaces:
          include:
          - "dev"

@disparo13 I second what @lixiang233 says

I agree with @lixiang233 and @ingvagabund that the correct way to restricts the nodes that descheduler process is to use the --node-selector CLI option.
But ...
I think the real problem is that we do not provide k8s RBAC recommendations and documentation for running the descheduler against a single namespace. What is the minimum k8s RBAC required to run the descheduler against a single namespace?
Ideally we would provide a separate RBAC YAML manifest here for running against a single namespace. It would also be nice to update the helm chart too.
/kind documentation
/help

@lixiang233 Thank you very much!

@seanmalloy  Is there a real usecase that we should restrict descheduler's permissions by RBAC? In this issue I think @disparo13  just wants to evict pods on certain namespaces and nodes, and that's nothing about access control, besides, descheduler will list pods in all namespaces, so I think using RBAC to restrict namespace does not make sense by now.

Yeah ... I think we can close this. @disparo13 please reopen if you think we missed something. Thanks!
/close


Overriding Default AmazonSQSAsync Bean For FIFO Queue Support Does Not Seem To Work

Type: Bug
Component:
"SQS"
Describe the bug
Using spring-cloud-aws-messaging version 2.4.2.  Trying to configure a custom AmazonSQSAsync bean as suggested in the docs here . When I do this the application still warns AmazonSQSBufferedAsyncClient that Spring Cloud AWS uses by default to communicate with SQS is not compatible with FIFO queues. Consider registering non-buffered AmazonSQSAsyncClient bean. . I haven't yet been able to determine if this is an error with the configuration or the logging (i.e. if the message is being logged incorrectly or not). Application functionality still seems to work though.
Sample
See this StackOverflow question I opened for more detail: https://stackoverflow.com/questions/73394319/how-to-override-default-sqs-configurations-for-spring-cloud-aws-messaging

I believe this thread indicates that the underlying bug is foxed but again, not positive. If it can be confirmed than the warning msg should be removed from the logs

Looks like it was an error with configuration. I had mistakenly left the xml configuration <aws-messaging:annotation-driven-queue-listener />   active which was the source of the erroneous SQS client.


[Chess] Be able to re-define moving/capturing behavior

This has two aspects (i think): (a) in what ways can a piece move on an empty board, and (b) in what ways can a piece move in order to capture. These two things can technically be different (for example, a pawn can move forward 1 square (or 2 if it's in the original position) as long as the destination isn't occupied, but it can only capture diagonally).
Corollaries would be:

how do we change en passant rules? (a pawn can capture an enemy pawn if the enemy pawn has advanced two squares and arrived at the same rank as the attacking pawn)
how do we change castling rules? (if either the king or the rook has moved, then castling on that side is illegal; and there can't be pieces between the king and the rook)

this is explained in the wiki articles "How the user or developer can create custom pieces and thus variants (chess.js and chessboard.jsx)" and "Chess.js"


Add documentation for AddPathPlugin and BaseUriPlugin

... and also for the AddHostPlugin
I believe we should have one page for all these 3 plugins because they are very related.
Ping @Soullivaneuh
Related to https://github.com/php-http/client-common/pull/48

I believe we should have one page for all these 3 plugins because they are very related.

What name for the page? Uri manipulation?

BaseUriPlugin?
"The BaseUriPlugin consist of two other plugins..."

oh, AddHostPlugin was not documented at all. maybe "Request URI Manipulations"?

oh, AddHostPlugin was not documented at all

Yeah, I found the documentation by listing the Plugins source directory. :trollface:

maybe "Request URI Manipulations"?

I like that.


[WIP] Adding Personal Finance Guides

In response to issue #133

wooot. one suggestion - move finance folder under the "skills" folder. currently the sub folders under guides/ auto populate the guides page, and i think having finance on that page would confuse people. plus, it is a skill
also up to you but if you want instead of doing banking/index.md you can do banking.md up to you. having the banking folder is good if you are going to add multiple pages under that

👌, and yeah my goal is to separate different components of banking into separate guides

Closing because it's been 1+ yr with no guides written. Sorry not sorry 😤😤

I'm taking over this guide lol


windows x64 uses SOCKET (64bit) instead of int (32 bit) as descriptor. BIO_new_socket takes int

In windows the descriptor for socket is SOCKET rather than int.
When building in x64, SOCKET is 64 bits. I see that the following methods assume that a socket is int:
BIO_new_socket
BIO_connect
BIO_listen
BIO_accept_ex
BIO_closesocket
BIO_sock_error
BIO_sock_info
Is it possible to add support for x64 windows sockets?

@leleftheriades could you say something about why you closed the issue?

sorry, yes, I closed it because I realized that the authors were aware of this issue yet rationalized the current implementation. In include/internal/sockets.h I found the following comment:
Even though sizeof(SOCKET) is 8, it's safe to cast it to int, because
the value constitutes an index in per-process table of limited size
and not a real pointer. And we also depend on fact that all processors
Windows run on happen to be two's-complement, which allows to
interchange INVALID_SOCKET and -1.
While by no means this rationalization makes me happy, I thought it pointless to open an issue on something the authors were aware.
I examined bio_ssl.c, bio_sock.c, bio.h, bio_lib.c to figure out if there is an easy solution but i got ping-ponged between these files unable to figure out the flow

@leleftheriades thanks for the explanation; I am sure that it will be helpful to someone else in the future when they search for this topic and find the closed issue


Use @actions/tool-cache

@paulo-ferraz-oliveira I think this is ready for review.
Gleam and Rebar3 are still not using the tool-cache but I don't use them and don't want to deal with more merge conflicts so I am only doing Elixir and OTP in this PR. If someone wants to use to contribute the tool-cache for Gleam and Rebar3 that would be great.
I also learnt tool-cache is only caching between usages in a single workflow, it doesn't cache between different CI runs. So if we actually want proper caching we need to use @actions/cache. But tool-cache is still an improvement because it adds retries and removes the shell files and much of the different handling between linux and windows.

Gleam and Rebar3 are still not using the tool-cache but I don't use them and don't want to deal with more merge conflicts so I am only doing Elixir and OTP in this PR. If someone wants to use to contribute the tool-cache for Gleam and Rebar3 that would be great.

This is great. I think the main rub was OTP anyway.

We have a failing job, I'd be in favor of removing it or altering the job so it doesn't test with rebar. I believe that version of rebar isn't supported anymore, at the very least that version of  OTP supported isn't supported by rebar itself.  If we really want to test OTP 20 with rebar, we should probably bump the rebar version in there, thoughts?

If someone wants to use to contribute the tool-cache for Gleam and Rebar3 that would be great.

I created an issue to track this: https://github.com/erlef/setup-beam/issues/204. If somebody wants to give it a go, it's there.

We have a failing job

Which one? It's probably one of those I recently fixed, but wanna be in sync with this comment.

@ericmj, if/when you have time do you think you could summarise "I also learnt tool-cache is only caching between usages in a single workflow, it doesn't cache between different CI runs. So if we actually want proper caching we need to use @actions/cache. But tool-cache is still an improvement because it adds retries and removes the shell files and much of the different handling between linux and windows." in a new issue, for later tackling? Thanks much.

I don't know yet if it's a good idea to do that, still looking into it. I can't find other actions using @actions/cache to cache installations.

I don't know yet if it's a good idea to do that, still looking into it. I can't find other actions using @actions/cache to cache installations.

Late to the party here, but I do think that kind of caching should be left up to the user.

Released in v1.16.0 / v1.16. Tag v1 moved up...


Sum avg time of all descendants or provide hot path(s)

The column "Total Time" label is misleading - it is only an avg time spent explicitly in this task. It doesn't count time spent in child tasks.
I suggest a column is required to sum up all the descendants' times or an automated hot-path identifier.
If this isn't provided, from what I saw in the channel 9 video, the user can't easily find hot paths - instead the user has to drill down into every single task and all its descendants

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

ID: 6a1ff01f-ec92-a385-f11b-83ed8919b056
Version Independent ID: 8ffd1f76-0577-d50e-4277-713284897974
Content: Analyze performance of .NET asynchronous code - Visual Studio
Content Source: docs/profiling/analyze-async.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @esteban-herrera
Microsoft Alias: esherrer

@Camios -- Cameron, thank you for your feedback.  @esteban-herrera may be able to address your first issue.  For the second issue, please add your suggestion here:

Suggest a feature, track product issues, and find answers in the Visual Studio Developer Community.

@Camios Closing this since it is a suggestion for a product improvement. Suggest a feature, track product issues, and find answers in the Visual Studio Developer Community. @Sagar-S-S @esteban-herrera for visibility.

I think I see what you mean; in the screenshot, it appears that Total Time includes the time spent in child tasks, if I'm reading it right. I look into this.

@Camios I tested the async profiling tool using the async operator example code.
Would you clarify which version of .NET "dot point 1" refers to? I tested this on .NET Core 1.1, 2.1, and 3.1, along with .NET F 4.7.2. (Doesn't work at all in 1.1)
I only see Start Time, End Time, and Total Time that show expected values, and the Total Time appears inclusive of all the nested async tasks (for example, the Program.Main task always ends last, and its values appear inclusive). Let me know if I'm missing something, and what it is in the doc that needs to be corrected. Thanks!

@Mikejo5000 sorry it has been a while since I raised this and I didn’t check it again when You closed. Thank you for the confirmation it is working as documented. I can close the ticket


ClipRect the chewie player caused to Black screen

I show a list of videos in a GridView like the Instagram's explore page. My videos have diffrent ratios but I want to show them in a 1:1 tile. The important thing is they have to be shown like fit: BoxFit.cover.
So I did something like this:
return ClipRect(
  child: OverflowBox(
    maxHeight: double.infinity,
    maxWidth: double.infinity,
    child: FittedBox(
      fit: BoxFit.cover,
      child: Chewie(
        controller: chewieController,
      ),
    ),
  ),
);

and this is my Controller configuration:
videoPlayerController = VideoPlayerController.network(itemData.url);
chewieController = ChewieController(
  videoPlayerController: videoPlayerController,
  autoPlay: true,
  showControls: false,
  looping: true,
  allowMuting: true,
  isLive: true,
);

It works well in debug mode although the scroll is a bit laggy but when I run app in release mode, All the tiles are black and nothing is shown.

It was nothing related to Chewie. I had forgot to add Internet permission to manifest... It's not a problem in debug mode in flutter somehow! :D


remove token URL field

I think we can remove the token URL field? For cheminfo it is always the same and it uses the current session context to figure out the rest.
https://github.com/aiidalab/aiidalab-eln/blob/1772dcd53856e6d9da8a8eb8225fd02ccb428713/aiidalab_eln/cheminfo/__init__.py#L49

[ ] update the "token" page to extract the ROC instance from URL parameter
[ ] update the code to send this URL parameter


On start if missing internet blank page

On my kde5 station the internet connection start after the launch of kde and I have plaidchat in the bootup but I get a blank page because is not connected to internet in that moment.
Maybe get an alert and a timeout for retry the connection will be useful.

Did some research on this, unfortunately there is no onerror event for an iframe failing to load =/
Slack's official client seems to listen to online and offline browser events as well as leverage navigator.onLine:
https://developer.mozilla.org/en-US/docs/Online_and_offline_events
      if (this.onlineEvent == null) {
        this.onlineEvent = rx.DOM.fromEvent(window, 'online');
      }
      if (this.offlineEvent == null) {
        this.offlineEvent = rx.DOM.fromEvent(window, 'offline');
      }
      if (this.isOnline == null) {
        this.isOnline = (function() {
          return navigator.onLine;
        });
      }

But for keeping the solution simple, I propose we check navigator.onLine,  inform them they are offline, and give them a button to refresh the page.

any news for that?

I think I was waiting for feedback from others

Any news for that?

I have no feedback to add.  The feature that @twolfson suggested is probably the best course of action.


📖 Document our CI cluster setup (blog post)

Find a way to remove "sensitive" information from the repo (ConfigMap as template? Github secret?)
Make the repo public (flatten git history?)
Write a blog post about it.

We can use mozillla sops to encrypt sensitive files (and possible have  a .sample file unencrypted next to them). This way we can make our repo public.

@jimmykarily can you use the FOSDEM talk for this?

@jimmykarily can you use the FOSDEM talk for this?

I guess it's a good opportunity to do so


Add a feature for update DB on Telegram

This one seems not needed now.
Maybe can be added, but not really necessary.


0.0.16 release (User auto-complete)

This release update the mapping to automatically add a "suggest_user" field to objects which contains the result of combining "firstName", "lastName", "displayName", and "email" attributes.
Only object which contain one of those attributes will have a "suggest_user" field added. That seems to be Contributor and User. The values are treated as keywords with case ignored. (This is important for email completion to work nicely.) The name "suggest_user" is mean to distinguish it from native fields and exempt it from the special handling of "NAME_suggest" as well as indicate that a user object is being suggested. Is there a better naming scheme? But the field will also be added for Contributors. Should we use a different name? Perhaps "suggest_person"?
The "suggest_user" field can be used with the completion service just like journalName_suggest. Note that the "suggest_user" field is produced entirely by the mapping, not by any action of pass-indexer.
In order to test, try out pass-indexer on a fresh Elasticsearch, push User records to Fedora and call the completion service like so:
 curl 'http://localhost:9200/pass/_search?pretty' -H 'Content-Type: application/json; charset=UTF-8' --data-binary '
 {
    "suggest": {
        "mysuggest": {
            "prefix": "bes",
            "completion": {
                "field": "suggest_user"
            }
        }
    }
}'

You can use the docke-composer setup for ITs to make this simpler. Just docker-compose up, wait for it to settle, and then 'mvn verify', After that finishes there will be some User records.
Check that expected objects match.
When we are happy, I will release the cli on github.
Closes #16

@markpatton suggest-person sounds good.
So does the fact that this field exists for both Contributor and User mean that when suggestions are made, they are made with matching Contributor objects AND matching User objects? Or can the suggestions be filter by type?

The suggestions will come from both object types. Remember in Elasticsearch these are all just documents.
In order to filter, you would have to add a category to each suggest field which distinguished the documents based on something like the value of @type. (I actually did this in an earlier version of the auto-complete support.) Then when using the completion service the client specifies a category to restrict the completions.

@markpatton @htpvu I agree wrt suggest-person.
We definitely will need to filter out Contributor data for the user search - we made a conscious decision that Contributor would be messy and potentially have a lot of redundancy. Is another change required in order to make that possible? Or would that be done in Ember?

@karenhanson
Yes.  Adding categories is work for the indexer, but then the pass-ember completion service will need work.

@markpatton Please add support for filtering by type to the indexer.

Tested - it works exactly as described - but I'm wondering if we need to revisit how we want this to work.
I had an offline discussion with Mark . Currently the completion suggestion search matches one of lastName, firstName, email, displayName based on "prefix". The example we discussed was:
firstName: Karen
lastName: Hanson
displayName: Cassy Hanson
email<EMAIL_ADDRESS>

If they search Kar they will get all Users where one of these fields matches kar* (case insensitive) including the above record.
If they type Karen, it will match the above record based on firstName and any other Users where any of the fields start with karen* - potentially a lot.
If they then type Karen Hanson, they will get no results, because this does not match any one field.
Note that, if the display name was Karen Hanson, this would return the correct record.
If they type Hanson it will work if there are less than 5 in the database - typing Hanson Karen will return nothing.

We need to discuss whether we are OK with those constraints, or if it should behave differently - I have a mock up of what I consider to be the perfect result, which may or may not be plausible.

After further discussion, we are going in a different direction with this integration. Will close this for now.


rke2: Editing and downloading the yaml of machine nodes in explore cluster page results in error

rancher server: v2.6-head ba95a58

Created a node driver rke2 cluster DO 1 node all roles
From explore cluster page --> Cluster kube Nodes --> edit the yaml file of the node

Result:
Stuck in loading and errors are seen in the console
if we try to download the yaml file, same errors are seen in the console
Expected result:
Should have been able to edit the yaml
Errors in console:
vue.runtime.esm.js:1888 TypeError: Cannot read property 'doneOverride' of null
    at f.r (index.vue?cc80:1)
    at f.t._render (vue.runtime.esm.js:3548)
    at f.r (vue.runtime.esm.js:4066)
    at _n.get (vue.runtime.esm.js:4479)
    at _n.run (vue.runtime.esm.js:4554)
    at gn (vue.runtime.esm.js:4310)
    at Array.<anonymous> (vue.runtime.esm.js:1980)
    at ie (vue.runtime.esm.js:1906)

Errors in response:
<ip>/k8s/clusters/c-m-8c295e46/api/v1/nodes/anu-group-e-mm47p
Request Method: GET
Status Code: 403 Forbidden

I don't see any recent dashboard PRs in this area of code but the bug appears to be fixed anyway; I can't reproduce it with a fresh 2.6-head rancher server.

Verified on v2.6-head 69055ba
I do not see this issue any more.
Will re-open the issue if its seen again.


It's not flagging the correct expansion

Most of items are either Vanilla or BFA. But I also noticed that some items are being marked as something else when they should have been BFA. An example would be the Nazjatar Battle Commendation

Should be fixed by #4


Use canonicalizeJar from nixpkgs

Fixes #21

👍
You're not a collaborator, feel free to merge

s/not/now/