How to inference on my own images?

Thank you for your great work! what are the necessary steps to test your given model on my own datasets?

Dear Authors I have a similar problem. I have adapted the testing script from the IRR repository , however I get nonsense outputs using your checkpoints and model. Is there some preprocessing or post processing I should apply to the inputs or outputs. Attached you can find a snippet of my testing script and an output sample.
`checkpoint_path = '/home/USER/optical_flow_networks/ScopeFlow/checkpoints/'
model_ckpt = 'T3/checkpoint_best.ckpt'
model_checkpoint_path = os.path.join(checkpoint_path,model_ckpt)
output_png_pth = '/home/USER/training/plots/test_scopeflow.png'
img1 = imread(im1_pth).astype(np.float32)/ np.float32(255.0)
img2 = imread(im2_pth).astype(np.float32)/ np.float32(255.0)
im1_tensor = vision_transforms.transforms.ToTensor()(img1).unsqueeze(0).cuda()
im2_tensor = vision_transforms.transforms.ToTensor()(img2).unsqueeze(0).cuda()
@dataclass
class Config:
bilateral_mask = False
model = PWCNet(args=Config())
checkpoint  = torch.load(model_checkpoint_path, map_location=torch.device('cpu'))
model = torch.nn.DataParallel(model)
model.load_state_dict(checkpoint, strict=False)
model.cuda().eval()
input_dict = {'input1' : im1_tensor, 'input2' : im2_tensor}
output_dict = model.forward(input_dict)
flow = output_dict['flow'].squeeze(0).detach().cpu().numpy()
imsave(output_png_pth, flow_to_png_middlebury(flow))`


Added the main Tagline

Made the site's main title short by dividing it into two lines. Also added a short tagline which would require everyone's concern. Made small changes to my previous about us section. Nothing much of significance done.

Good job. 👍 Thanks @shaharao


Added word rendering comparision

Deployed to: http://staging.quran.com:32817

Deployed to: http://staging.quran.com:32818

Deployed to: http://staging.quran.com:32820

Deployed to: http://staging.quran.com:32823

Deployed to: http://staging.quran.com:32824

Awesome!

@naveed-ahmad i am good to merge this. Are you?

Deployed to: http://staging.quran.com:32768

@mmahalwy ready for merge, one issue I found and can't fix so far. Select any verse and copy the text, see arabic is joint there need to be a space between each word. Tried putting empty space   this will fix the issue but then break the ayah numbers positions. Can you give it a try ?
صِرَاطَالَّذِينَأَنْعَمْتَعَلَيْهِمْغَيْرِالْمَغْضُوبِعَلَيْهِمْوَلَاالضَّالِّينَ007

Deployed to: http://staging.quran.com:32772

Yeah, to fix it, add   in between the words. It will fix it :)

Deployed to: http://staging.quran.com:32774

@naveed-ahmad let me know when we good!

Deployed to: http://staging.quran.com:32779

Salams,
If this only for Chrome and Opera (chromium?) what fall-back method does it use for other browsers?
The reason I'm asking is that there's some interesting things in build 32779 from above. I'm not sure if they were fixed in this PR or in another.
Firefox 52.0.2

Pause signs are showing and are not being cut. (#645)
The missing Alif on some ayahs like 19/26 is fixed (#645)

Edge 38.14 and IE11(Win10, 1607)

End of ayah markers are missing. Problematic for reading mode.

Chrome 57.0.X

Some ayah markers are cut off but gets fixed when

changing the font size on the website directly (unrelated but increasing the font size is missing, decrease is working OK.)
zooming in or out with browser controls
changing browser window width

All browsers
There is also some overlap in the diacritics. I'm not sure if this is a specific issue with ج

@naveed-ahmad ^^

@ysofi these new fonts only worked on Chrome and Opera, Firefox and Safari don't support ligature fonts on Mac. Can't test these fonts on other browsers/OS. I guess these fonts will also works with FireFox on Windows but didn't tested. We're fallbacking to old fonts for other browsers.

Here is mini test for these fonts: https://ligga.herokuapp.com, if you can test on different browsers and post results in a new issue with list of browsers which render text correctly that would be very helpful and we can add more browsers. New ISSUE please :)

Will create the issue shortly insha'Allah.


SUBMARINE-395. Fix the typo in submarine installer

What is this PR for?
Fix the typo in submarine installer
What type of PR is it?
[Bug Fix ]
Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-395
How should this be tested?
https://travis-ci.com/arbaobao/hadoop-submarine/builds/150786670
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

+1 LGTM


JuiceFS metadata engine sending bad request to Consul server?

What happened:
I am working on adding support for Consul KV for metadata engine, but I am running into an issue where juicefs is sending a request to Consul that the Consul server does not like (it always responds with a 400 Bad Request).
What you expected to happen:
The request to Consul should succeed.
How to reproduce it (as minimally and precisely as possible):
I have a personal fork where I am doing my work, so repro may be challenging, but I can provided if required.
Anything else we need to know?
Environment:

JuiceFS version (use juicefs --version) or Hadoop Java SDK version:

Latest version pulled (as of ~7 days ago or so)

Cloud provider or hardware configuration running JuiceFS:

N/A

OS (e.g cat /etc/os-release):

N/A

Kernel (e.g. uname -a):

N/A

Object storage (cloud provider and region, or self maintained):

Local filesystem for testing

Metadata engine info (version, cloud provider managed or self maintained):

Consul (WIP)

Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):

N/A

Debug Logs
In the debug logs below, juicefs is trying to initialize the metadata engine, but it errors out and aborts:
./juicefs --trace -v format --capacity 5 consul://localhost:8500/fs foobar123

2024/09/11 11:14:59.431222 juicefs[287057] <DEBUG>: maxprocs: Leaving GOMAXPROCS=8: CPU quota undefined [maxprocs.go:47]
2024/09/11 11:14:59.431361 juicefs[287057] <INFO>: Meta address: consul://localhost:8500/fs [interface.go:504]
2024/09/11 11:14:59.431456 juicefs[287057] <DEBUG>: Debug agent listening on <IP_ADDRESS>:6060 [main.go:321]
2024/09/11 11:14:59.431559 juicefs[287057] <DEBUG>: Consul KV GET 'fs/setting' [tkv_consul.go:53]
2024/09/11 11:14:59.432618 juicefs[287057] <DEBUG>: Creating file storage at endpoint /home/kmott/.juicefs/local/ [object_storage.go:167]
2024/09/11 11:14:59.432684 juicefs[287057] <INFO>: Data use file:///home/kmott/.juicefs/local/foobar123/ [format.go:484]
2024/09/11 11:14:59.433015 juicefs[287057] <DEBUG>: Iterating objects from file:///home/kmott/.juicefs/local/foobar123/ with prefix  start "" [sync.go:81]
2024/09/11 11:14:59.433085 juicefs[287057] <DEBUG>: Listing objects from file:///home/kmott/.juicefs/local/foobar123/ marker "" [sync.go:110]
2024/09/11 11:14:59.433334 juicefs[287057] <DEBUG>: Consul KV GET 'fs/setting' [tkv_consul.go:53]
2024/09/11 11:14:59.433712 juicefs[287057] <DEBUG>: Consul KV GET 'fs/AI' [tkv_consul.go:53]
2024/09/11 11:14:59.433871 juicefs[287057] <DEBUG>: Error during Consul KV GET for 'fs/AI': Unexpected response code: 400 () [tkv_consul.go:56]
2024/09/11 11:14:59.433958 juicefs[287057] <FATAL>: format: get fs/AI: Unexpected response code: 400 () [format.go:519]

After scratching my head for a while, I decided to take a tcpdump capture to see what juicefs was sending across the wire.  It seems to be sending chars that Consul does not like?

Additional Information
Note that I have not yet tried to use a newer consul API client, since the go.mod already referenced an existing consulapi version (1.15.2, which is used for metrics, I believe)?  I may try upgrading the API client next, and seeing if that will help (but I don't think it will).
I also have all of the unit tests working, so I am not sure what I am missing--any help or pointers would be greatly appreciated.
Thank you!!

After digging some more, this appears to be a limitation of Consul (can't have non-printable chars in keys), so I am going to switch to using etcd.


Make sure ethernet interface is DOWN before renaming and changing MAC

This is a continuation to fix https://github.com/lf-edge/eve/commit/6ffa07f2f2725a5cf428a4d34a9712295623befc
On some devices, we were still encountering the error Device or resource busy.
It turned out we had overlooked a few cases where NIM attempted
to change the MAC address while the interface was in the UP state.

In addition, should this be labeled stable for backporting?

This is fix for bug introduced by https://github.com/lf-edge/eve/pull/4160, which was merged in 13.1.0
So this only needs to be backported to 13.x if we decide that an already released version is going to be LTS.

Nice, eden tests are all green on the first attempt

@milan-zededa should we backport it to 13.4-stable now?

@milan-zededa should we backport it to 13.4-stable now?

Yes, will do.


Update patch-smart-agent.sh

Add securitytContext to enable privilege for smart-agent container.
This is required for ping to work in an OpenShift environment

Thanks for making the fix.


vars defined at the global level in dbt_project.yml v2 don't end up in schema parsing

Steps to reproduce
(copy+pasted from Claire in slack)
Add a variable to a package, e.g.:
name: 'marketo_source'
version: '1.0.0'
require-dbt-version: '>=0.17.0'
config-version: 2
vars:
    schema: marketo
    database: raw

Call the var in the same package:

version: 2
sources:
  - name: marketo
    schema: "{{ var('schema') }}"
    database: "{{ var('database') }}"
    tables:
      - name: lead

Install the package in another project, and dbt compile

Get this error:

Compilation Error
  Required var 'database' not found in config:
  Vars supplied to <Configuration> = {}

Move the vars to be package scoped:

name: 'marketo_source'
version: '1.0.0'
require-dbt-version: '>=0.17.0'
config-version: 2
vars:
  marketo_source:
    schema: marketo
    database: raw

Try again, everything works.

Expected behavior:
The var should be resolved in both instances. Vars available in the global scope should behave as if they were in package scope unless overridden by package scope.
System information
Which database are you using dbt with?

[ ] postgres
[ ] redshift
[ ] bigquery
[ ] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
dbt 0.17.0rc1

Any OS, any Python, any database

closed by https://github.com/fishtown-analytics/dbt/pull/2477


portable sed replacement when creating new recipes

There are portability issues with in-place substitution (-i) between the GNU (most linux distros) and BSD (mac osx) versions of sed.
See https://stackoverflow.com/a/21243111 for details.

@3ddyy Let us know if this fix works on your system.

It works! Thanks


C++: Implement language-neutral IR type system

The C++ IR currently has a very clunky way of specifying the type of an IR entity (Instruction, Operand, IRVariable, etc.). There are three separate predicates: getType(), isGLValue(), and getSize(). All three are necessary, rather than just having a getType() predicate, because some IR entities have types that are not represented via an existing Type object in the AST. Examples include the type for an lvalue returned from a VariableAddress instruction, the type for an array slice being zero-initialized in a variable initializer, and several others. It is very easy for QL code to just check the getType() predicate, while forgetting to use isGLValue() to determine if that type is the actual type of the entity (the prvalue case) or the type referred to by a glvalue entity. Furthermore, the C++ type system creates potentially many different Type objects for the same underlying type (e.g. typedefs, using declarations, const/volatile qualifiers, etc.), making it more difficult to tell when two entities have semantically equivalent types.
In addition, other languages for which we want to enable the IR have somewhat different type systems. The various language type systems differ in their structure, although they tend to share the basic building blocks necessary for the IR.
To address all of the above problems, I've introduced a new class hierarchy, rooted at the class IRType, that represents a bare-bones type system that is independent of source language (at least across C/C++/C#/Java). A type's identity is based on its kind (signed integer, unsigned integer, floating-point, Boolean, blob, etc.), size and in the case of blob types, a "tag" to differentiate between different classes and structs. No distinction is made between, say signed int and plain int, or between different language integer types that have the same signedness and size (e.g. unsigned int vs. wchar_t on Linux). IRType is intended for use by language-agnostic IR-based analyses, including range analysis, dataflow, SSA construction, and alias analysis. The set of available IRTypes is determined by predicate provided by the language library implementation (e.g. hasSignedIntegerType(int byteSize).
In addition to IRType, each language now defines a type alias named LanguageType, representing the type of an IR entity in more language-specific terms. The only predicate requried on LanguageType is getIRType(), which returns the single IRType object for the language-neutral representation of that LanguageType. All other predicates on and subclasses of LanguageType are language-specific. There may be many instances of LanguageType that map to a given IRType, to allow for typedefs, etc.
Most of the changes are mechanical changes in the IR construction code, to return the correct type for each IR entity. SSA construction has also been updated to avoid dependencies on language-specific types.
I have not yet removed the original getType() predicates that just return Type. These can be removed once we move the remaining existing libraries to use IRType.
Test results are, by design, pretty much unchanged. Once case changed for inline asm, because the previously IR generation for it played a little fast and loose with the input/output expressions. The test case now includes both input and output variables. The generated IR for Conditional_LValue is now more correct, because we now have a way to represent an lvalue of an lvalue. syntax-zoo is still a hot mess. Most of the changed outputs are due to wobble from having multiple functions with the same name, but with a slightly different order of evaluation due to the type changes. Others are wobble from already-invalid IR. A couple non-wobbly places have improved slightly, though.
The C# part of this change is waiting for #2005 to be merged, since that has some of the necessary C# implementation.

This PR has been merged with master, but there's still more feedback to address before it's ready for merge.

I just went through my comments and resolves the ones that no longer apply. Three are left.

I just ran my first query after this was merged and noticed that the new predicates here are evaluated six times! We need to add cached in strategic places to avoid that.


Sync stage branch to bbe-1.2.0 branch

Purpose
$subject
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.12 out of 13 committers have signed the CLA.:white_check_mark: azinneera:white_check_mark: praneesha:white_check_mark: wggihan:white_check_mark: daneshk:white_check_mark: rdhananjaya:white_check_mark: BuddhiWathsala:white_check_mark: kalaiyarasiganeshalingam:white_check_mark: shafreenAnfar:white_check_mark: warunalakshitha:white_check_mark: sameerajayasoma:white_check_mark: keizer619:white_check_mark: KavinduZoysa:x: nadeeshaanYou have signed the CLA already but the status is still pending? Let us recheck it.


[Bug] Datatable inside mat-tab not visible until scroll

Do you want to request a feature or report a bug?
Bug
Bug Report

Go there - https://teradata.github.io/covalent/#/components/data-table
look for table with title "Data table with components
Scroll table a bit (important!)
Go to Code tab
Go back to Demo tab
you won't see any data until you scroll a bit (look for the first data table you can see (or not) here. It is the selected table, it appears much lower than it should.

What is the expected behavior?
Data is always visible, no need to scroll after switching tabs
What is the motivation / use case for changing the behavior?
It's not working corectly i guess :)
Which version of Angular and Material, and which browser and OS does this issue affect?
The one that is used in docs. Localy i have Angular 5.2.3, Material 5.2.3, Covalent core 2.0.0-beta.2
Did this work in previous versions of Angular / Material?
Yes
Other information
I guess there is something wrong with virtual scroll, but i'm not sure yet.
What i found out is that after switching tabs (with scrolling previously) TranslateY should be opposite to Height (you can see it on screenshots below). When transform === -height it's all working well, but it appears that after re-rendering after clicking on tab transform is wrong.

So there goes another edit..
I'm not sure, but i guess there is an issue here (covalent-core-data-table.js):
        if (scrolledRows > TD_VIRTUAL_OFFSET) {             for (var index = 0; index < this.fromRow; index++) {                 offset += this._rowHeightCache[index];             }         }         this._offsetTransform = this._domSanitizer.bypassSecurityTrustStyle('translateY(' + (offset - this.totalHeight) + 'px)'); I think that scrolledRows is not 0 here, probably because some variable that is used to set scrolledRows is not re-set, it's kept as it was or something..

@kkulikowski facing the same issue. Did you find any solution? If so please do share.


I have doubts. Self-signed https image how to load

Now i want to use your project, but can not the image be loaded, can there be any good solution

@CHENDONGY have you correctly configured for app transport security: https://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/
Or perhaps the issue is that the image is served using a self signed certificate.

I used AsyncDisplayKit in my project, and AsyncDisplayKit relied on your project. I use the certificate is self-signed. Use ASNetworkImageNode to load the network image when loading does not come out
An error occurred NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
I have tried it PINRemoteImageManager (- (void)setAuthenticationChallenge:(nullable PINRemoteImageManagerAuthenticationChallenge)challengeBlock)
like this
- (AFSecurityPolicy *)customSecurityPolicy {

    NSString *cerPath = [[NSBundle mainBundle] pathForResource:@"inpet" ofType:@"cer"];

    NSData *cerData = [NSData dataWithContentsOfFile:cerPath];

    AFSecurityPolicy *securityPolicy = [AFSecurityPolicy policyWithPinningMode:AFSSLPinningModeCertificate];

    securityPolicy.allowInvalidCertificates = YES;

    securityPolicy.validatesDomainName = NO;

    NSSet *cerDataSet = [NSSet setWithArray:@[cerData]];

    securityPolicy.pinnedCertificates = cerDataSet;

    return securityPolicy;

}

PINRemoteImageManager *pin = [PINRemoteImageManager sharedImageManager];

    [pin setAuthenticationChallenge:^(NSURLSessionTask * _Nullable task, NSURLAuthenticationChallenge * _Nonnull challenge, PINRemoteImageManagerAuthenticationChallengeCompletionHandler  _Nullable aHandler) {

        SecTrustRef serverTrust = [[challenge protectionSpace] serverTrust];

        [[self customSecurityPolicy] evaluateServerTrust:serverTrust forDomain:nil];

        NSURLCredential *credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust];

        aHandler(NSURLSessionAuthChallengePerformDefaultHandling,credential);

        return [[challenge sender] useCredential: credential

                      forAuthenticationChallenge: challenge];

    }];

But still reported the same mistake, so I would like to know what good way?

Hmm, I'm not sure, I don't know a lot about SSL validation. Are you able to download the images in Safari? If not, my guess is you won't be able to with PINRemoteImage either because iOS won't allow it :(


Smelters are not refining ore

When starting a new game on mars, and building a mine, the seed smelter is not processing raw resources. I'm unsure if this is a trucking route issue or a smelter issue? I can provide a saved game if needed, but it seems reproducible quickly each game I start.
Build: Windows x64 debug, 18 June 21 master branch

This is simple enough to check out. Thanks for reporting!

Okay, got it. Made a mistake during renaming from Numbers.h -- ended up accidentally using RobotCommRange in the route solver instead of RouteBaseCost. So stuff was moving, just really really slowly. Whoops.
Good catch!


update to wechaty-puppet-wechat 1.18.4

I'm submitting a...
[ ] Bug Fix
[ ] Feature
[- ] Other (Refactoring, Added tests, Documentation, ...)

Checklist

[ ] Commit Messages follow the Conventional Commits pattern

A feature commit message is prefixed "feat:"
A bugfix commit message is prefixed "fix:"

[ ] Tests for the changes have been added

Description
please describe the changes that you are making
for features, please describe how to use the new feature
please include a reference to an existing issue, if applicable
Does this PR introduce a breaking change?
[ ] Yes
[- ] No

Thank you very much for your contribution!
You are welcome to join Wechaty Contributor Program
1. Join Wechaty Organization

You've invited choogoo to Wechaty! They'll be receiving an email shortly. They can also visit https://github.com/wechaty to accept the invitation.

I have invited you to join our Wechaty GitHub Organization, please accept it by following the above message. (See also: wechaty/PMC#16)
2. Update Your Wechaty Contributor Profile

Please open Contributor Hall of Fame and add yourself to the end of the list, so that other contributors will know you better!
Please add yourself to our Website Contributors by creating a PR and refer to this PR link as well.

3. Join The Contributor Only WeChat Room
We also have a WeChat room for contributors only which can discuss Wechaty at a deeper level, you are welcome to join and if you are interested.
Please add @lijiarui wechat: ruirui_0914 and send her this pr link. She will invite you into Wechaty Contributor Room
Cheers!


<EMAIL_ADDRESS>hash check failed

Installing OBS Studio fails with the following error message:
>scoop install obs-studio
Installing 'obs-studio' (26.0) [64bit]
OBS-Studio-26.0-Full-x64.zip (94.9 MB) [======================================================================] 100%
Checking hash of OBS-Studio-26.0-Full-x64.zip ... ERROR Hash check failed!
App:         extras/obs-studio
URL:         https://cdn-fastly.obsproject.com/downloads/OBS-Studio-26.0-Full-x64.zip
First bytes: 50 4B 03 04 14 00 00 00
Expected:    a4364e2a8ebc95af870add36e56fd4d8ddabb356dc39fe7277ade875c47eae8d
Actual:      825a4e9ff3146f668564ea5d6e0e5531dcdc5f3640f046b9d555a83f0a25bf22

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/lukesampson/scoop-extras/issues/new?title=obs-studio%4026.0%3a+hash+check+failed

Version info:
>scoop --version
Current Scoop version:
6df80c1a (HEAD -> master, origin/master, origin/HEAD) fix(tests): Force pester v4 (#4040)

'extras' bucket:
1a5e913b9 (HEAD -> master, origin/master, origin/HEAD) q-dir: Update to version 8.95

'main' bucket:
a40d293d (HEAD -> master, origin/master, origin/HEAD) direnv: Update to version 2.22.1

@rasa :D

520ff6326b6131d709ad21816a06c4b98f4d7329


New Cases 7-7

Want to confirm there were no new cases reported for any zipcode in St. Louis County on 7-7-2021. There were 97 cases reported on 7-6.

hi @lgfelton - Thanks for reaching out! The data show no change because both the City and the County's ESRI servers were down last night. Hoping they'll be back up tonight and will show change. FWIW the ZIP code data are pretty imperfect measures of day-to-day change. That's why I report 14-day averages for them.

Christopher,Thanks for the reply. I appreciate the work you have put into this site.LarrySent via the Samsung Galaxy S10+, an AT&T 5G Evolution capable smartphone
-------- Original message --------From: Christopher Prener @.> Date: 7/8/21  2:10 PM  (GMT-06:00) To: slu-openGIS/covid_daily_viz @.> Cc: lgfelton @.>, Mention @.> Subject: Re: [slu-openGIS/covid_daily_viz] New Cases 7-7 (#2)
hi @lgfelton - Thanks for reaching out! The data show no change because both the City and the County's ESRI servers were down last night. Hoping they'll be back up tonight and will show change. FWIW the ZIP code data are pretty imperfect measures of day-to-day change. That's why I report 14-day averages for them.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

My pleasure!


DayPickerRangeController: absence of modifier when focusedInput is null

react-dates version
<EMAIL_ADDRESS>Describe the bug
Modifier CalendarDay__hovered_offset doesn't show when prop focusedInput={null}
Source code (including props configuration)
Steps to reproduce the behavior:

Use props startDateOffset and endDateOffset
Set focusedInput to null

Expected behavior:
Days falling into offset have class .CalendarDay__hovered_offset
Actual behavior:
Class isn't applied
<DayPickerRangeController
  onDatesChange={this.onDatesChange}
  onFocusChange={this.onFocusChange}
  initialVisibleMonth={moment()}
  startDate={startDate}
  endDate={endDate}
  focusedInput={null}
  startDateOffset={(day) => day.startOf('week')}
  endDateOffset={(day) => day.endOf('week')}
/>

Screenshots/Gifs

Is the issue reproducible in Storybook?
http://localhost:6006/?path=/story/daypickerrangecontroller--with-current-week-range-selection

@szklanko I'm not sure that is wrong behavior, there is https://github.com/airbnb/react-dates/commit/72f3bcdc8fbfcbd92cfbe6b5e634da155efe15d9 so there is condition to check if focusedInput is true value.


About the Migrate endpoint

Naming:
Typically, migrate is understood to be the importation of data in bulk. The current migrate endpoint provides inputs for one membership, one user, and one application (as an aside, the application input appears to be mandatory as well, but not optional as the README states), so I think the functionality of this endpoint is more of an initiate by its very nature.
Prerequisites:
The previous (March 21 when I tested it) version of the migrate did not need to provide the secret_key and slug for the membership, both of which can be generated automatically. A recent test found that both of these and the default_language have become required while "migrating", not sure if this is a newly created bug in a code update or a change in design thinking?
Transaction (not really an issue but concern):
This may be because some of the validations are at the API level and some are at the CRUD level. the Application passes the API level validation, but fails the CRUD level validation (the role name is incorrect). However, both Membership and User have already been written in the database, and a default role admin is also created.

Naming: Typically, migrate is understood to be the importation of data in bulk. The current migrate endpoint provides inputs for one membership, one user, and one application (as an aside, the application input appears to be mandatory as well, but not optional as the README states), so I think the functionality of this endpoint is more of an initiate by its very nature.
Prerequisites: The previous (March 21 when I tested it) version of the migrate did not need to provide the secret_key and slug for the membership, both of which can be generated automatically. A recent test found that both of these and the default_language have become required while "migrating", not sure if this is a newly created bug in a code update or a change in design thinking?
Transaction (not really an issue but concern): This may be because some of the validations are at the API level and some are at the CRUD level. the Application passes the API level validation, but fails the CRUD level validation (the role name is incorrect). However, both Membership and User have already been written in the database, and a default role admin is also created.

At least one membership and at least one user must be created for ErtisAuth to be ready for use. (Therefore, at least one role must also be created)
Just as ErtisAuth performs the authorization control of any resource of application through its roles, it also performs the authorization control of its own resources (user, application etc) with the same mechanism.
At this point we encounter a problem. How can we authorize the creating of these initial resources when there are no memberships, roles and users yet in the initial installation?
The "migrate" endpoint was developed to provide a solution to this problem. Authorization control is ensuring with the database connection string on the header. After the first membership and admin role users are created, all other resources can be created via the API. So, the term "migrate" does not mean bulk import. However, you may be right about the naming, perhaps it would have been better to choose "initiation".
I will also examine the other validation problems you experienced during the test first chance i get.
Thanks for your valuable feedback.


Suport for RN >= 60?

Does this sdk support RN >= 60?
The example provided use RN.59, and the documentation shows that we need to run link command, Doe this library support autolinking?
Thanks!

Hi @kayzenkayzen,
We'd be glad to assist with your inquiry.
This package supports RN >= 60 through manual linking. Please follow the docs here:
https://pushy.me/docs/additional-platforms/react-native


It's not working in macOS

I used PyCharm and IDLE, both of them are not working, here's my code.
`from pytube import YouTube
yt = YouTube('https://www.youtube.com/watch?v=9bZkp7q19f0')
yt.title`
Here's the error code
`/usr/local/bin/python3.7 "/Users/ibobby/PycharmProjects/YouTube Downloader/test.py"
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1317, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1244, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1290, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1239, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1026, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 966, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1414, in connect
server_hostname=server_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 423, in wrap_socket
session=session
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 870, in _create
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 1139, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/ibobby/PycharmProjects/YouTube Downloader/test.py", line 2, in
yt = YouTube('https://www.youtube.com/watch?v=9bZkp7q19f0')
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pytube/main.py", line 88, in init
self.prefetch_init()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pytube/main.py", line 96, in prefetch_init
self.prefetch()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pytube/main.py", line 160, in prefetch
self.watch_html = request.get(url=self.watch_url)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pytube/request.py", line 21, in get
response = urlopen(url)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 543, in _open
'_open', req)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1360, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1319, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)>
Process finished with exit code 1
`

Is there something wrong with my code? It's also not working in my windows 7 virtual machine, but the error code is a different one.
`"C:\Users\iBobby\PycharmProjects\YouTube Downloader\venv\Scripts\python.exe" "C:/Users/iBobby/PycharmProjects/YouTube Downloader/test.py"
Traceback (most recent call last):
File "C:/Users/iBobby/PycharmProjects/YouTube Downloader/test.py", line 2, in
yt = YouTube('https://www.youtube.com/watch?v=9bZkp7q19f0')
File "C:\Users\iBobby\PycharmProjects\YouTube Downloader\venv\lib\site-packages\pytube_main_.py", line 88, in init
self.prefetch_init()
File "C:\Users\iBobby\PycharmProjects\YouTube Downloader\venv\lib\site-packages\pytube_main_.py", line 96, in prefetch_init
self.prefetch()
File "C:\Users\iBobby\PycharmProjects\YouTube Downloader\venv\lib\site-packages\pytube_main_.py", line 162, in prefetch
raise VideoUnavailable('This video is unavailable.')
pytube.exceptions.VideoUnavailable: This video is unavailable.
Process finished with exit code 1
`
I saw a lot of videos about pytube, but they are working well. Is there a bug recently?

Can anyone help me? I'm new to python.

The SSLCertVerificationError is a problem with permissions on Python 3.6 in macOS.
http://www.cdotson.com/2017/01/sslerror-with-python-3-6-x-on-macos-sierra/
I was able to fix it by running
open /Applications/Python\ 3.7/Install\ Certificates.command
in the Terminal from the directory my project was in.
The VideoUnavailable error I'm not sure about. With pytube-9.5.2 I get 403 urllib.error.HTTPError: HTTP Error 403: Forbidden. This error is expanded on in this issue #453 , specifically the solution in this comment https://github.com/nficano/pytube/pull/453#issuecomment-538099715 (running pip install -e git+https://github.com/bigg215/pytube.git#egg=pytube from the Terminal as opposed to pip install pytube) seems to have solved the problem for me.


Please add Sierra College

@jenniferhorace I am sorry, the domain sierracollege.edu is blacklisted because the school allows to register an email address there even if you are not a student of the school. If you are the student of this school, please apply with official document (OFFICIAL DOCUMENT tab at https://www.jetbrains.com/shop/eform/students).


AutoPaging  If Content increase in jspdf

Currently I do not find any properties , through it the automatically new page added while content exceed from page.
When I have created table using jspdf.plugin.cell.js, the pager is added automatically. but if I added simple text then data hide if exceed.
is there any alternative ways to do this?

please refer to this link.
have written the fix here
http://stackoverflow.com/questions/25904440/jspdf-addhtml-multiple-canvas-page

I am printing a table into pdf but the problem is, row count is dynamic. Sometime i is 10 only and sometime it is 10000 also. Now when content goes beyond the limit of page it throws error. Any one can help me...?

Please open your own Issue.


yank latest SnoopCompile release

It breaks Plots.jl while it seems this release was intended to be non breaking. cc @timholy

Already done

Superseded by https://github.com/JuliaRegistries/General/pull/74176.


When the component is not used directly, the component is not used

PS: Vue 3.2.0 support namespaced component tags when using

This would be a very nice feature to have!

Now that Vue 3.2 is officially released, any updates on this issue? I know it's not a very high-priority feature, but it's a welcome addition and could reduce endless imports.


Create PetersonNumber.java

Added Java code for finding whether a number is a Peterson Number or not

Hi Dear @shinigamiii07
Great code
Thanks for your contribution......
Show your support on my youtube channel web Pixar(The institute of coding)
like , share , subscribe
Youtube - https://youtu.be/5qnQjgdpFPg
Telegram-channel - https://t.me/WebPixar
Join our telegram channel for more goodies , swag packs.
You can also join - https://devfolio.co/signup?ref=33d4a02bef
And search for - HackNITR 3.0
There is too  many rewards..


Playback of track using multiple channels (surround/Dolby Atmos)

Hi there,
We are using Wavesurfer with great success (love it!).
One of our users are trying to playback a wav file containing multiple channels on a mix with Dolby Atmos, however it errors out when attempting to render the waveform.
Has anyone had any success playing back files like this, or is it even possible? :)
Best regards, Casper

thanks for testing this.
Please include your wavesurfer.js config, and the output of ffprobe (part of ffmpeg) of the audio file.

owever it errors out when attempting to render the waveform.

What errors specifically?


May we have some examples for the commands?

[Enter feedback here]

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

ID: a159aad7-5ec5-ab9d-6455-df52d15f216a
Version Independent ID: 3241c062-d442-1324-0cea-adf0af0df3b9
Content: az network routeserver peering
Content Source: latest/docs-ref-autogen/network/routeserver/peering.yml
Service: virtual-network
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

network


YARN-11463. Node Labels root directory creation doesn't have a retry logic - addendum

Change-Id: Ice44690b47e6850f33a0ff0dd109b1d3a48c5a16
Description of PR
The original change for retry logic called mkdirs first time outside of the try-catch block, and if an exception occurred, the retry didn't happened. Addressing this problem by moving all mkdirs command into the try-catch block.
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 36s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
42m 18s

trunk passed

+1 :green_heart:
compile
0m 51s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
0m 44s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
checkstyle
1m  2s

trunk passed

+1 :green_heart:
mvnsite
0m 49s

trunk passed

+1 :green_heart:
javadoc
0m 55s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 45s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
3m 10s

trunk passed

+1 :green_heart:
shadedclient
23m 16s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 40s

the patch passed

+1 :green_heart:
compile
0m 44s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
0m 44s

the patch passed

+1 :green_heart:
compile
0m 37s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
javac
0m 37s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 25s

the patch passed

+1 :green_heart:
mvnsite
0m 40s

the patch passed

+1 :green_heart:
javadoc
0m 37s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 38s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
1m 42s

the patch passed

+1 :green_heart:
shadedclient
21m  1s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
5m 21s
/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-common.txt
hadoop-yarn-common in the patch passed.

+1 :green_heart:
asflicense
0m 35s

The patch does not generate ASF License warnings.

107m 14s

Reason
Tests

Failed junit tests
hadoop.yarn.nodelabels.TestFileSystemNodeLabelsStore

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5614/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5614

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 48ec9c05f01f 4.15.0-206-generic #217-Ubuntu SMP Fri Feb 3 19:10:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / e62ffb3267bc37bafc7e3d8ff6d980872c5b0bc6

Default Java
Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5614/1/testReport/

Max. process+thread count
555 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5614/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 35s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
35m 16s

trunk passed

+1 :green_heart:
compile
0m 45s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
0m 40s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
checkstyle
0m 41s

trunk passed

+1 :green_heart:
mvnsite
0m 45s

trunk passed

+1 :green_heart:
javadoc
0m 56s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 46s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
1m 50s

trunk passed

+1 :green_heart:
shadedclient
21m  9s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 32s

the patch passed

+1 :green_heart:
compile
0m 36s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
0m 36s

the patch passed

+1 :green_heart:
compile
0m 31s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
javac
0m 31s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 26s

the patch passed

+1 :green_heart:
mvnsite
0m 34s

the patch passed

+1 :green_heart:
javadoc
0m 38s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 37s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
1m 34s

the patch passed

+1 :green_heart:
shadedclient
20m 42s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
5m 24s

hadoop-yarn-common in the patch passed.

+1 :green_heart:
asflicense
0m 37s

The patch does not generate ASF License warnings.

96m 36s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5614/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5614

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 8d07886868e5 4.15.0-206-generic #217-Ubuntu SMP Fri Feb 3 19:10:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 7bc1a81307731d9496d5e00f453780739d17ef94

Default Java
Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5614/2/testReport/

Max. process+thread count
763 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5614/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Accept CancellationToken in higher-level APIs

The higher-level APIs (eg, ConsulClient.Catalog.Service()) do not accept CancellationToken arguments. It would be nice if they did.
It appears that the methods they call into (eg, Consult.GetRequest<T>.Execute()) do accept a CancellationToken, so it should just be a matter of adding method overloads and passing the argument through.

Thanks for the report! I think this is an overly specific interpretation on my part of the spec which says:

The nodes and services endpoints support blocking queries and tunable consistency modes.

But now that I think about it, I don't see why the node and service (singular) endpoints shouldn't support blocking queries. Some of the endpoints do not (e.g. datacenters) and thus it doesn't make sense to have a CancellationToken for that datacenters() but for node and service it absolutely does if they support blocking queries.
You are correct, it would be extremely simple to add them by adding another overload to the method - see services vs service.

I tend to think they should all support CancellationTokens.  And I don't see any particular harm that would come from allowing most operations to be cancellable at that level.

The only reason I put in CancellationTokens in the signatures in the first place was to allow long polls (watches) to be aborted, but I see your point. Generally you're accessing <IP_ADDRESS> with this API so if you've got network latency to localhost something else is very wrong, but it's a valid use case and I don't see a reason not to support cancelling all requests.

I'm actually planning on using it to monitor changes from a machine that will (probably) not be running a Consul Agent locally. But I might just be weird. :)

As I said, a perfectly valid use case!

Due to the amount of work required to add 1.5x the amount of methods in every existing interface/source file, I'm going to push work on making all calls abortable to another issue and target making all calls abortable with 0.7.0 unless you have a pressing need (e.g. you're running into problems where your service is failing because you can't abort a non-longpoll call). The release <IP_ADDRESS> should resolve this specific issue and add the two missing overrides though, and the package is uploaded to Nuget. Please don't hesitate to let me know if you have any further issues.


Content for Build Systems

Merged both the readme into a single Readme
Added a table of contents

@PritK99, kindly update the table of content similar to this

I've removed the build target since the project doesn't need it, and the root makefile simply helps with the opencv and dependency install. Readme was also updated for the same, please review.


Settings Redesign

Adds settings options to configurator, as part of #77.

[x] Configure different devices
[ ] Change options
[x] Remove backwards and forwards icons on controller for settings cog

Closes #77

Having an issue with HOCs and component composition - MUI animations do not complete because the components are re-rendered, presumably due to the HOC also re-rendering?

@inderpreet99 @sbaljeet13

Animation for which component are you referring to?
What is expected behavior?

The components declared inside SettingComponent.js
The animations should complete, so the toggles, for example, should slide, instead of just re-rendering into the correct state

@sbaljeet13

Issues sorted. ESLint needs to be satisfied, then ready to merge


migrate azure blob for beit checkpoints

Motivation
We are going to use a new blob account to store the checkpoints.
Modification
Modify the azure blob storage URLs for BEiT checkpoints.

@donglixp thanks


Delete unnecessary spaces

When copying from the web page, there is an unnecessary space after the code.

@changeworld @Mikejo5000 - We're in the process of pulling these commits to the private repo, so we can verify the content on staging. We'll post a new PR # shortly and then close this PR.

@changeworld @Mikejo5000 - The commits in this PR were moved to the private repo (PR #3849) for validation and staging. We'll close this PR now.


Adding CSS (Scss)

Added Scss files for styling.
Updated (and hopefully improved) the UI.
Added new screenshots to the README file.
Included a couple lines to the README file so everyone knows how to add/update styles.

@priscilamtzfraire It seems like you have made some changes which conflict with my current version. Would you be able to merge my current branch to your fork and then get your css working I am having trouble sorting through the conflicts?


[11.x] Update console.stub to make new commands lazy by default

The AsCommand attribute was introduced quite some time ago (March 2024) in most or even all framework Artisan commands. For some examples, see:

https://github.com/laravel/framework/pull/50617
https://github.com/laravel/jetstream/pull/1455
https://github.com/laravel/sanctum/pull/502

So I guess it's time that this is also added to console.stub to motivate everyone to make commands lazy by default when using php artisan make:command.
Short explanation of what this magic AsCommand attribute does:

Applying the attribute allows us to not instantiate a command when running a different command.

Not a big fan of the current interpretation of those attributes. They should be used sparingly. Like override or deprecated. We can define commands differently. But then again, I am not using artisan make commands.

@henzeb

Not a big fan of the current interpretation of those attributes. They should be used sparingly. Like override or deprecated. We can define commands differently. But then again, I am not using artisan make commands.

What do you mean by "should be used sparingly"? We don't need to be fan of everything. If this is the current recommended way of the framework to make commands lazy, we should also use that attribute for all of our custom Artisan commands in our own projects. If you know a better way of doing it, please PR to the framework. Very much interested in your solution!

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If applicable, please consider releasing your code as a package so that the community can still take advantage of your contributions!


MatTableDataSource should have a constructor that takes MatSort, MatPaginator as parameters

Bug, feature request, or proposal:
feature request
What is the expected behavior?
Have a constructor that, at least optionally, takes a MatSort and/or a MatPaginator as parameters.
What is the current behavior?
Currently, you have to create a new MatTableDataSource with only data as a parameter. However, you always have to set the matSort and paginator of the MatTableDataSource after construction. I had to make a class that extends this class to have this, which seems superfluous.
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
To make the creation of MatTableDataSources easier.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 5.0.1
Material: 5.0.0-rc0
OS: Windows 10 Pro
TypeScript: 2.6.1
Browser: Google Chrome 62.0.3202.94 (Official Build) (64-bit)
Is there anything else we should know?

Potentially a breaking change, needs discussion

I am facing a similar issue. I am generating data Dynamically, and displaying it in Data Table, but Im unable to  link Paginator with the data table.  Data is getting displayed in the table. Following is the sample code snippet:
sCollectionList = null;
dataSource = new MatTableDataSource(this.sCollectionList);
displayedColumns: string[] = [];
// SCollectionService Holds my custom HTTP methods //
constructor(private stColServ: SCollectionService) {
}
// Calling it when a Button from UI is clicked //
submitFilter() {
// stFilter is a valid objet which is getting passed to my custom post request//
this.stColServ.stationFilter(this.stFilter).subscribe(
  data => {
  this.sCollectionList = data;

  this.displayedColumns = ['System Data' , 'Product Identifer' , 'Collected Date' , 'No Stations ?' , 'No Smnp ?', 'Export'];

this.dataSource.data = this.sCollectionList;
//      this.streamOfDataUpdates.subscribe(newData => this.dataSource.data = this.sCollectionList);
this.dataSource.paginator = this.paginator;
},
);
}
@ViewChild(MatPaginator) paginator: MatPaginator;
/**

Set the paginator after the view init since this component will
be able to query its view for the initialized paginator.
*/
ngAfterViewInit() {
this.dataSource.paginator = this.paginator;
}

`

The reason for it not being a part of the constructor is because I didn't want to confuse users into thinking they could use their view children for the MatSort and MatPaginator before the view is initialized. Maybe we can add them as params but then I'd like to set it up so that the paginator and sort notify the data source when they're ready

Sorry to say this, but in my opinion this whole mat-table component is buggy and only semi functional to say the least.

Ek bedoel regtig... Basics bois!


Clear values for InvokeAction with parameters

When invoking deployment's action which receives inputs, the value for these parameters is saved between invocations. It would be nice if we'll clear them.

Totally agree. This issue is part of a larger task to move modals to their own routes, which should resolve this for all modals.


nullifempty annotation on input parameters

To help with some Windows APIs, string/unistring/binary input parameters can be annotated with a nullifempty to pass a NULL pointer if the arg is zero length.

Done


merge from template-node-app

package.json

chore(deps): add ^11.9.1 remove ^11.8.14 (devDependencies.npm-pkgbuild)

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

npm package (@latest dist-tag)
v6.4.4
GitHub release

Your semantic-release bot :package::rocket:


Base model is overwritten by intermediate table (morphedByMany) when executing get() on the EloquentQuery

Laravel Version: 5.7.19
PHP Version: 7.2.11
Database Driver & Version: mysqlnd 5.0.12

Description:
When connecting two models with a Many To Many (Polymorphic) relationship, normally querying related models is not a problem.
Take the following as an example:
A user can manage many flats and/or many properties.
And a flat/property can be managed by many users.
A simple $user->flats()->get() would get you a collection of Eloquent Flat-Models with the pivot table included as a 'pivot' (MorphPivot) object. So far so good.

But if you run $user->flats()->getQuery()->get() (for instance to pass the base query to Spaties QueryBuilder), Laravel merges the attributes of pivot table into the base model, without a pivot_ prefix.

This is especially bad because of the id that gets overwritten (see how the flat got id '5' now)
If this is for the same reason as https://github.com/laravel/framework/issues/20805 and https://github.com/laravel/framework/issues/23548 - then it should at least be documented somewhere.
If you need sample code to reproduce the issue: https://github.com/phillipfickl/laravel-getquery-bug
Let me know if you need more information, or if this works as designed in your opinion.

This is the expected behavior. ->getQuery()->get() calls Builder::get() which doesn't know anything about the relationship and just executes the query.
The pivot relation can only be hydrated by calling BelongsToMany::get(). For the same reason, methods like chunk() and paginate() have their own implementations in the BelongsToMany class.
It's not related to #20805 and #23548.

Alright, thanks for explaining!


Timestamp on db entrys?

Note: for support questions, please join our Discord server

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository

Action taken (what you did)

Expected result (what you hoped would happen)

Actual result (unexpected outcome)
Hello, is there a way to extract timestamps to db so i can data query in my db client? I am noob and i gess im missing something obvious but cant find the way. Thanks!!!

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

"start" is the timestamp field for the start of each candle, in seconds epoch time. So SELECT start from candles_ASSET_CURRENCY

oh ok i see.


Many battery defaults don't represent LFP parameters

Describe the bug
Despite setting the default battery type to LFP, many of the parameters on the battery page are still holdovers from NMC:
When loading the page:

When selecting LFP from the drop down menu:

(note change in cell capacity)
Update the default values to be consistent

Closed with https://github.com/NREL/SAM/pull/1818


Warning and console messages should not be visible on execution of any commands accounts/bucket/config

Environment info

NooBaa Version: 5.15  noobaa-core-5.15.0-20231121.el8.x86_64
Platform: standalone

Actual behavior
[root@ramya-23 ~]# node /usr/local/noobaa-core/src/cmd/manage_nsfs account list
Error accrued while getting the data from /etc/noobaa-server/jwt: Error: ENOENT: no such file or directory, open '/etc/noobaa-server/jwt'
Error accrued while getting the data from /etc/noobaa-server/server_secret: Error: ENOENT: no such file or directory, open '/etc/noobaa-server/server_secret'
Error accrued while getting the data from /etc/noobaa-auth-token/auth_token: Error: ENOENT: no such file or directory, open '/etc/noobaa-auth-token/auth_token'
2023-11-29 09:23:16.006715 [PID-2058013/TID-2058013] FS::GPFS GPFS_DL_PATH=NULL, fs_napi will call default posix system calls
init_rand_seed: starting ...
read_rand_seed: opening /dev/random ...
Nov-29 9:23:16.168 [/2058013]   [LOG] CONSOLE:: read_rand_seed: reading 32 bytes from /dev/random ...
Nov-29 9:23:16.171 [/2058013]   [LOG] CONSOLE:: NSFS config root dir exists: /etc/noobaa.conf.d
Nov-29 9:23:16.179 [/2058013]   [LOG] CONSOLE:: read_rand_seed: got 32 bytes from /dev/random, total 32 ...
Nov-29 9:23:16.179 [/2058013]   [LOG] CONSOLE:: read_rand_seed: closing fd ...
Nov-29 9:23:16.180 [/2058013]   [LOG] CONSOLE:: NSFS config root dir exists: /etc/noobaa.conf.d/buckets
Nov-29 9:23:16.189 [/2058013]   [LOG] CONSOLE:: init_rand_seed: seeding with 32 bytes
rand_seed: OpenSSL 3.0.10+quic 1 Aug 2023 seeding randomness
Nov-29 9:23:16.189 [/2058013]   [LOG] CONSOLE:: NSFS config root dir exists: /etc/noobaa.conf.d/accounts
Nov-29 9:23:16.201 [/2058013]   [LOG] CONSOLE:: NSFS config root dir exists: /etc/noobaa.conf.d/access_keys
Nov-29 9:23:16.216 [/2058013]   [LOG] CONSOLE:: Account list: [ 'noobaa1', 'noobaa1', 'account11', 'ramytest1223432', 'ramytweest1145', 'test2345' ]
Nov-29 9:23:17.011 [/2058013]   [LOG] CONSOLE:: generate_entropy: entropy_avail 2241
Nov-29 9:23:17.011 [/2058013]   [LOG] CONSOLE:: init_rand_seed: done
[root@ramya-23 ~]# node /usr/local/noobaa-core/src/cmd/manage_nsfs account list
Error accrued while getting the data from /etc/noobaa-server/jwt: Error: ENOENT: no such file or directory, open '/etc/noobaa-server/jwt'
Error accrued while getting the data from /etc/noobaa-server/server_secret: Error: ENOENT: no such file or directory, open '/etc/noobaa-server/server_secret'
Error accrued while getting the data from /etc/noobaa-auth-token/auth_token: Error: ENOENT: no such file or directory, open '/etc/noobaa-auth-token/auth_token'
2023-11-29 09:23:49.209768 [PID-2059109/TID-2059109] FS::GPFS GPFS_DL_PATH=NULL, fs_napi will call default posix system calls
init_rand_seed: starting ...
read_rand_seed: opening /dev/random ...
Nov-29 9:23:49.351 [/2059109]   [LOG] CONSOLE:: read_rand_seed: reading 32 bytes from /dev/random ...
Nov-29 9:23:49.352 [/2059109]   [LOG] CONSOLE:: NSFS config root dir exists: /etc/noobaa.conf.d
Nov-29 9:23:49.356 [/2059109]   [LOG] CONSOLE:: read_rand_seed: got 32 bytes from /dev/random, total 32 ...
Nov-29 9:23:49.356 [/2059109]   [LOG] CONSOLE:: read_rand_seed: closing fd ...
Nov-29 9:23:49.357 [/2059109]   [LOG] CONSOLE:: NSFS config root dir exists: /etc/noobaa.conf.d/buckets
Nov-29 9:23:49.364 [/2059109]   [LOG] CONSOLE:: init_rand_seed: seeding with 32 bytes
rand_seed: OpenSSL 3.0.10+quic 1 Aug 2023 seeding randomness
Nov-29 9:23:49.365 [/2059109]   [LOG] CONSOLE:: NSFS config root dir exists: /etc/noobaa.conf.d/accounts
Nov-29 9:23:49.365 [/2059109]   [LOG] CONSOLE:: NSFS config root dir exists: /etc/noobaa.conf.d/access_keys
Nov-29 9:23:49.376 [/2059109]   [LOG] CONSOLE:: Account list: [ 'noobaa1', 'noobaa1', 'account11', 'ramytest1223432', 'ramytweest1145', 'test2345' ]
Nov-29 9:23:50.214 [/2059109]   [LOG] CONSOLE:: generate_entropy: entropy_avail 2199
Nov-29 9:23:50.215 [/2059109]   [LOG] CONSOLE:: init_rand_seed: done
Expected behavior
We should not see the console outputs in the cli command outputs
Steps to reproduce

More information - Screenshots / Logs / Other output

should be fixed by - https://github.com/noobaa/noobaa-core/pull/7640, adding request validation label, please notice you should add 2> /dev/null to your commands


Added integration support for DataDog APM Tracing

What does this PR do?
Adds integration support for DataDog APM Tracing
Motivation
Given that DataDog Tracing is OpenTracing API compliant, and Traefik already has support for DataDog monitoring, having ability to also send tracing would be beneficial

Thanks @aantono for this PR, I will take a look ;)


GPU Hang Error using Impeller on iPad Pro 9.7 with iPadOS 16

Steps to reproduce
Using repo https://github.com/mtallenca/flutter_typeahead, run the example program on an iPad Pro 9.7 running iOS 16.7.10. in profile mode.
It also only happens in release (and profile builds), and only if Impeller is turned on.
Expected results
Expected the app to work without GPU Hang Errors.
Actual results
Once the GPU Hang Error occurs the app is in a state that cannot recover. The screen may still be flickering, but the app is unresponsive.
Code sample
Code sample
// Run the example program in repo https://github.com/mtallenca/flutter_typeahead

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
logs.txt

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.3, on macOS 14.6.1 23G93 darwin-arm64, locale en-US)
    • Flutter version 3.24.3 on channel stable at /Users/mike/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (2 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/mike/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/mike/Library/Android/sdk
    • Java binary at: /Users/mike/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2024.1)
    • Android Studio at /Users/mike/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] IntelliJ IDEA Ultimate Edition (version 2024.2.3)
    • IntelliJ at /Users/mike/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 81.1.3
    • Dart plugin version 242.22855.32

[✓] Connected device (5 available)
    • Michael’s iPad (2) (mobile)     • f3dc95991d1b14a5bc3430040228accee7477ba7 • ios            • iOS 16.7.10 20H350
    • Michael’s iPad (mobile)         • 00008103-000329C9363B001E                • ios            • iOS 18.0 22A3354
    • macOS (desktop)                 • macos                                    • darwin-arm64   • macOS 14.6.1 23G93 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                    • darwin         • macOS 14.6.1 23G93 darwin-arm64
    • Chrome (web)                    • chrome                                   • web-javascript • Google Chrome 129.0.6668.60

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @mtallenca, does this work as expected on other iPad versions? I don't have the device in question and when I tested on my M1 iPad AIR, it worked as expected

Yes, repo works as expected on other ipads.  In our released product we see this hang when using this package on older ipads / iPhones (iPad mini 4, iPhone 6s, and iPad pro 9.7). I am only able to see the hang immediately with this repo using the ipad pro 9.7.  Also see https://github.com/flutter/flutter/issues/153574

Hi @mtallenca, is this issue still occurring on the latest master/beta channels?

The repo does not cause GPU hang in beta.

Hi @mtallenca, curious, does your app itself work as expected on the beta channel?

No. There is a crash in platform view code. a repo was submitted and https://github.com/flutter/engine/pull/55334 addresses it. But that's not in beta yet.

Hi @mtallenca, per our triage policy, issues should be closed when they are fixed on the master/main channel. Since it appears that this has been fixed on the master channel, is there anything more we need to address in this issue?


fix Crash if manager deleted before tags fetched

Fix #149

I don't see anything actually modifying getTagsReply. The only place it's ever referenced is the line where it's initialized to nullptr. Did we forget to connect it up?

I don't see anything actually modifying getTagsReply. The only place it's ever referenced is the line where it's initialized to nullptr. Did we forget to connect it up?

Yes and lets in that case use this PR to clean up this widget

Sounds good. The reason I went looking was I was curious if we were going to run into a race condition with this. Is Qt inherently threaded or any of the networking code?


Support for implicit tileset traversal (and metadata handling)

This is built based on the state from https://github.com/CesiumGS/3d-tiles-tools/pull/16, and should only be merged after this PR is merged
The 3d-tiles-validator includes code for the traversal of implicit tilesets. Compared to the fairly trivial traversal of explicit tiles, a generic traversal of implicit tilesets entails quite some infrastructure:

Subtree files have to be loaded. Availability information has to be extracted and made accessible.
There have to be low-level classes for Quadtree/Octree coordinates.
Metadata values may override certain tile properties. So a proper, generic traversal requires an infrastructure for metadata access.
Subtrees may contain metadata in binary form. This basically combines all of the above...

Code for all this already exists in the validator. Large parts of this code had just been ported from a private project to TypeScript, meaning that the structures already had been somewhat generic and independent of the task of validation (even though some specific functionality had to be added for the validator).
The goal of this PR is to carve these functionalities out, and offer them in a form that can be used for various operations that are part of the 3d-tiles-tools functionality.
There are some "conceptual" differences that require some more work:

The validator could perform many operations under the assumption that certain structures had already been validated, whereas in the generic case, more error handling will be necessary
There's the question which parts of this (large) chunk of infrastructure are supposed to be exposed on the API level
There are currently basically zero unit tests for the part that has been moved here, because most of the tests in the validator focussed on detecting whether the right validation issues have been reported, whereas the specs here will have to focus more on the right error handling and tests of the exposed parts of the API

The current state is a first pass of moving the code here. The "core" of the functionality that is supposed to be offered is shown in a first draft of a demo:
    await TilesetTraverser.traverse(tileset, schema, resourceResolver,
      async (traversedTile) => {
        const tile = traversedTile.asTile();
        // Do something with the `Tile` here...
        return true;
      },
      depthFirst
    );

It should be possible to just traverse a tileset, and receive each Tile (regardless of whether it's explicit or implicit), to perform operations on it. But many details still have to be sorted out.

This is replaced by https://github.com/javagl/3d-tiles-tools/pull/2 , which targets the base branch of the main PR.


K3S logs don't always have timestamps

When setting up a 4 node K3S cluster using Amazon EC2 for the nodes, logs are being shipped over to endpoint but notice that some logs are formatted in a manner that doesn't include the timestamp as a column.
[{'log': 'Apr 22 18:30:20 ip-172-31-11-255 systemd[8530]: run-snapd-ns-lxd.mnt.mount: Succeeded.'}, {'log': 'Apr 22 18:30:20 ip-172-31-11-255 systemd[1]: run-snapd-ns-lxd.mnt.mount: Succeeded.'}, {'log': 'Apr 22 18:30:20 ip-172-31-11-255 systemd[8530]: tmp-snap.rootfs_QyXyfh.mount: Succeeded.'}, {'log': 'Apr 22 18:30:20 ip-172-31-11-255 systemd[1]: tmp-snap.rootfs_QyXyfh.mount: Succeeded.'}, {'log': 'Apr 22 18:30:20 ip-172-31-11-255 lxd.activate[26332]: => Starting LXD activation'}, {'log': 'Apr 22 18:30:20 ip-172-31-11-255 lxd.activate[26332]: ==> Loading snap configuration'}, {'log': 'Apr 22 18:30:20 ip-172-31-11-255 lxd.activate[26332]: ==> Checking for socket activation support'}, {'log': 'Apr 22 18:30:20 ip-172-31-11-255 lxd.activate[26332]: ==> Setting LXD socket ownership'}, {'log': 'Apr 22 18:30:20 ip-172-31-11-255 lxd.activate[26332]: ==> LXD never started on this system, no need to start it now'}, {'log': 'Apr 22 18:30:20 ip-172-31-11-255 systemd[1]: snap.lxd.activate.service: Succeeded.'}, {'log': 'Apr 22 18:30:20 ip-172-31-11-255 systemd[1]: Finished Service for snap application lxd.activate.'}, {'log': 'Apr 22 18:30:20 ip-172-31-11-255 systemd[1]: Started snap.lxd.hook.configure.8eb69d5c-a61f-4349-96a4-db87f691600c.scope.'}, {'log': 'Apr 22 18:30:20 ip-172-31-11-255 systemd[1]: snap.lxd.hook.configure.8eb69d5c-a61f-4349-96a4-db87f691600c.scope: Succeeded.'}, {'log': 'Apr 22 18:30:21 ip-172-31-11-255 snapd[25819]: storehelpers.go:551: cannot refresh: snap has no updates available: "core18", "lxd", "snapd"'}]

The Rancher logging is setup by using the Rancher server, creating a chart repository based on this the charts repository and the dev-v2.5 branch.

caused by https://github.com/k3s-io/k3s/issues/3392

The solution to this is going to be to write custom parsers for all the k3s system logs.  As of right now I know of the following formats:

k3s
klog
etcd

@SheilaghM , assigning it to @nickgerace since he's the other Logging SME and we cannot have it validated by who implemented it (Jacob).

Validation: FAILED
Steps to recreate:

Create a DO droplet, install docker and install k3s using curl -sfL https://get.k3s.io | sh - which installs v1.21.3+k3s1 (1d1f220f) and spins up a cluster
From an HA cluster (3 nodes on DO droplets clustered with rke version v1.2.11), running rancher v2.6.0-rc (installed using helm install)
Import existing k3s cluster
On the imported k3s cluster, install rancher-logging
Add an additional chart repo >>  name: example, type: git, git repo: https://github.com/paynejacob/rancher-logging-examples.git, branch: master
Go to charts and install the rancher-logging example from the new example you added
On local machine run docker run -p 24224:24224 fluent/fluent-bit /fluent-bit/bin/fluent-bit -i forward -o stdout -p 'format=json_lines'
On local machine run ngrok tcp 24224
Go to logging, cluster  outputs and edit the all-logs output as yaml and change the spec so that it looks like the following

spec:
  forward:
    servers:
    - host: 4.tcp.ngrok.io
      port: 13690

but use your own host and port that is output from your ngrok run
10. Wait a few minutes and see logs start to populate from pods
11. I do not see any logs being pulled from k3s
12. From the node running k3s, I run journalctl -eu k3s -f and see k3s is logging and none of those logs are being picked up.

@brendarearden I think your environment was misconfigured for this.  Can you test on a cluster using ubuntu with systemdLogPath: /var/log/journal in your values.yaml.

Since all the fixes pushed for this PR are to rancher/charts, I am reproducing the issue in the older version of the chart shipped with 2.5.10 and available in 2.6.0 and testing the fix in the latest version of the chart, both using the latest RC of rancher/rancher.
Reproducing in: Rancher 2.6.0-rc4, Logging 3.9.400
Testing fix in: Rancher 2.6.0-rc4, Logging 100.0.0+up3.12.0

Since no environment information was provided (and is probably not necessary), I will test this out on imported k3s clusters using 1 controlplane, 3 worker nodes.
For each of these nodes, I will also use the AMI ami-00399ec92321828f5 corresponding to Ubuntu Server 20.04 LTS (HVM), SSD Volume Type (64-bit x86)

I will test two scenarios: a fresh install and an upgrade of the Logging chart.

Steps to Reproduce
Provision imported k3s cluster

Provision an EC2 instance with AMI ami-00399ec92321828f5 for your controlplane node and install k3s on it: curl -sfL https://get.k3s.io | sh -
Once k3s is provisioned, grab the IP address of the ec2 instance for K3S_SERVER_IP below and the output of sudo cat /var/lib/rancher/k3s/server/node-token for K3S_SERVER_NODE_TOKEN
Provision 3 more EC2 instances with the same AMI for your worker nodes and install k3s on it:

K3S_SERVER_IP=<insert-ip-here>
K3S_SERVER_NODE_TOKEN=<insert-token-here>

curl -sfL https://get.k3s.io | K3S_URL=https://${K3S_SERVER_IP}:6443 K3S_TOKEN=${K3S_SERVER_NODE_TOKEN} sh -

NOTE: keep the controlplane node's SSH session open since you will need it as part of importing it into Rancher.
Provision a FluentBit node

Provision a single node and install Docker on it: curl https://releases.rancher.com/install-docker/20.10.sh | sh
Install fluent-bit with the following script via Docker

docker run -d --name fluentbit -p 24224:24224 fluent/fluent-bit /fluent-bit/bin/fluent-bit -i forward -o stdout -p 'format=json_lines'

Also install jq: sudo apt-get install jq -y

This will install a fluent-bit instance that is listening on port 24224 for logs that are then forwarded to stdout in JSON format.
NOTE: keep track of the fluentbit node's IP address since you will need it as part of configuring the ClusterOutput below.
Provision Rancher

Provision a single node and install Docker on it: curl https://releases.rancher.com/install-docker/20.10.sh | sh
Install Rancher on the single node

RANCHER_VERSION=v2.6.0-rc4

docker run -d --restart=unless-stopped \
  -p 80:80 -p 443:443 \
  --privileged \
  rancher/rancher:${RANCHER_VERSION}

Log into Rancher
Click on Import Existing -> Generic and name the cluster. Create it and follow the instructions to add the k3s cluster created in the previous step to the Rancher cluster via supplying the kubectl apply command on the controlplane node
Navigate to the newly created cluster and go to Apps & Marketplace -> Charts -> Logging and click on the Chart Version on the right that corresponds to the Logging version that will be installed (e.g. 3.9.400 or 100.0.0+up3.12.0). Click on Install
On the next page, select System for Install Into Project and click Next
On the last page, ensure that on clicking Compare Changes the systemdLogPath is patched to /var/log/journal, not /run/log/journal. If not, click on Edit YAML and manually patch it before continuing.

This is a current UI issue and a workaround mentioned in https://github.com/rancher/dashboard/issues/3945#issuecomment-902882917.

For testing

Install the Logging V2 chart
Once installed, create the following resources in the Kubernetes cluster via kubectl apply -f after setting spec.forward.servers[0].host=FLUENT_BIT_HOST_IP below, where FLUENT_BIT_HOST_IP is the IP of the host you created in the previous step that is listening for logs:

apiVersion: logging.banzaicloud.io/v1beta1
kind: ClusterFlow
metadata:
  name: all-logs
  namespace: cattle-logging-system
spec:
  globalOutputRefs:
    - local
---
apiVersion: logging.banzaicloud.io/v1beta1
kind: ClusterOutput
metadata:
  name: local
  namespace: cattle-logging-system
spec:
  forward:
    servers:
    - host: FLUENT_BIT_HOST_IP
      port: 24224
    buffer:
      flush_interval: 1s
      flush_mode: interval

Check Logs
Collect Logs
On the FluentBit Node, run the following command:
docker logs fluentbit | jq 'select(.kubernetes)' > fluentbit.logs

Upgrade-Specific Instructions
On the FluentBit Node, run the following command:
docker logs fluentbit | jq 'select(.kubernetes)' > fluentbit-pre-upgrade.logs

Then run docker stop fluentbit && docker rm -f fluentbit to remove the fluent-bit pod.
Proceed with upgrading to the latest version of the Logging chart in 100.0.0+up3.12.0.
Wait for 2 minutes and then re-run the command to start up the docker container:
docker run -d --name fluentbit -p 24224:24224 fluent/fluent-bit /fluent-bit/bin/fluent-bit -i forward -o stdout -p 'format=json_lines'

Then collect the logs after a period of time:
docker logs fluentbit | jq 'select(.kubernetes)' > fluentbit-post-upgrade.logs

When following the above steps, it was observed that no k3s logs showed up in fluentbit logs at all. I reached out to @paynejacob and it seems like the issue is due to an error in the fluentbit pod:
[2021/08/20 20:37:16] [error] [parser] cannot parse '2021-08-20T17:41:01.604126273Z'
[2021/08/20 20:37:16] [ warn] [parser:rancher] invalid time format %FT%TZ for '2021-08-20T17:41:01.604126273Z'

Reopening this issue and https://github.com/rancher/rancher/issues/33328 since both will be impacted as no k3s logs will be emitted.
Also, when this issue is resolved and put back to test, I will use the same setup for this issue and https://github.com/rancher/rancher/issues/33328 to test.

Validation: PASSED
Steps to recreate:

Create a EC2 instance, install docker and install k3s using curl -sfL https://get.k3s.io | sh - which installs v1.21.3+k3s1 (1d1f220f) and spins up a cluster
From an HA cluster (3 nodes on DO droplets clustered with rke version v1.2.11), running rancher v2.6.0-rc (installed using helm install)
Import existing k3s cluster in rancher
From the rancher ui, go into the k3s cluster, install logging - make sure to edit the values.yaml and change the systemdLogPath is set to /var/log/journal
Add an additional chart repo >> name: example, type: git, git repo: https://github.com/paynejacob/rancher-logging-examples.git, branch: master
Go to charts and install the rancher-logging example from the new example you added
On local machine run docker run -p 24224:24224 fluent/fluent-bit /fluent-bit/bin/fluent-bit -i forward -o stdout -p 'format=json_lines'
On local machine run ngrok tcp 24224
Go to logging, cluster outputs and edit the all-logs output as yaml and change the spec so that it looks like the following

spec:
  forward:
    servers:
    - host: 4.tcp.ngrok.io
      port: 13690
but use your own host and port that is output from your ngrok run

Wait a few minutes and see logs start to populate from pods
Validate that I see logs with timestamps:

{"date":1629835249.449112,"stream":"stderr","logtag":"F","message":"time=\"2021-08-24T20:00:49Z\" level=info msg=\"getting history for release fleet-agent-ec2-k3s\"","kubernetes" .....

{"date":1629829804.352445,"level":"warn","ts":"2021-08-24T18:30:04.352Z","caller":"etcdserver/util.go:163","msg":"apply request took too long","took":"476.926929ms","expected-duration":"100ms","prefix":"read-only range .......

I am not seeing the [error] [parser] cannot parse  errors

Note: Not all logs will have a timestamp, but those that are able to, will.
Example of log without timestamp
{"date":1629843775.863137,"stream":"stdout","logtag":"F","message":"</ROOT>","kubernetes":{"pod_name":"rancher-logging-fluentd-configcheck-80f7505b","namespace_name":"cattle-logging-system","pod_id":"<redacted>","labels":{"app.kubernetes.io/component":"fluentd-configcheck","app.kubernetes.io/managed-by":"rancher-logging","app.kubernetes.io/name":"fluentd"},"host":"<redacted>","container_name":"fluentd","docker_id":"<redacted>","container_image":"rancher/mirrored-banzaicloud-fluentd:v1.12.4-alpine-1"}}


Fix capitalization of PathPrefixStrip in kubernetes doc

Description
This changes the doc and example from pathprefixstrip to PathPrefixStrip.
With v1.3 pathprefixstrip does not work, with the following error:
time="2017-06-01T11:46:32Z" level=error msg="Error creating route for frontend cheeses.minikube/wensleydale: Error parsing rule: Error parsing rule: 'pathprefixstrip:/wensleydale'. Unknown function: 'pathprefixstrip'"
time="2017-06-01T11:46:32Z" level=error msg="Skipping frontend cheeses.minikube/wensleydale..."

Note to reviewers: this was implicitly changed through #1630 where we removed the custom rules list from the k8s provider. While the change of behavior represents a bit of a breaking change, I think there's too little value in holding on to the lower case variants.


Store opening in new tab is odd

Last night we merged in our new store page and made it open in a new tab so users wouldn't be taken completely away from our site when checking out. However, this introduced a new problem:
The store page itself is still a part of our site, so using the navbar there gives you two tabs with the site in it.
Instead, we should see if we can use some js magic to make Square's checkout button open in a new tab and keep the store in the original tab.

The problem here is that the store is embedded using an <iframe src="https://squareup.com/...">. The checkout button is in that iframe and we can't bind events to it due to security reasons. :-(
I don't think we'll be able to do that with JS. Maybe there is an option to provide to Squareup in order to have this behaviour?

@emersion I looked in the Square dashboard last night and didn't see anything, but I'll keep digging.

Yeah, getting Square's iframe to open in a new tab is not gonna happen. So that means either:

We link to the store externally altogether, and open it in a new tab, or
We keep the store embedded and live with the fact that the user goes offsite when they give us money.

Yeah I'm also on board with #2. Closing this issue

Uuuuh reopening until I implement number 2 :stuck_out_tongue:


Fix documentation for Step 0 to Step 1 in docker build

The indexing of steps in the output of docker build starts with Step 1. However, there are several places in the docs that start with Step 0.
This fix addresses the issue and changes Step 0 to Step 1 (and subsequent steps).
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

LGTM

LGTM


implemented Control flow ops

Created op executor for merge/switch/enter/exit/nextIteration/loopCond
Updated the op execute method signature to allow providing the ExecutionContext that tracks the current frame and iteration.
Add a demo page that showcase the while_loop graph execution.

This change is

Awesome work. One comment that's pretty important, I'd love to talk about this over video chat if you have some time tomorrow (when Daniel is back since he has opinions about this).

Review status: 0 of 49 files reviewed at latest revision, all discussions resolved, some commit checks failed.

demo/control_flow/index.html, line 1 at r1 (raw file):


Facilitate the choice of BLAS provider (specifically MKL) at runtime

As conda-forge successfully demonstrated, it is possible to compile numpy and scipy against the netlib reference implementation of BLAS and LAPACK, and then switch to OpenBLAS, MKL, or BLIS at runtime.
To be able to switch to MKL without some functions segfaulting (#3193), one of the following should be done:

build scipy with SCIPY_USE_G77_ABI_WRAPPER=1 (introduced in #10591 for conda-forge by @isuruf),
have MKL_INTERFACE_LAYER=LP64,GNU in the environment at runtime (introduced by Intel to fix #3193) (also done in conda-forge, just in case?).

To facilitate the work of distributors, it would make sense for the default build options to be maximally compatible. From #10591, "this wrapper works for all cases and incurs only a tiny overhead", which seems like a good tradeoff. Is there any other reason not to always use those wrappers? Or at least make it the default?

The default build options correspond to BLAS that ABI-compatible with the Fortran compiler used.
The Fortran ABI is something that the binary distributor has to coordinate across all packages, and using ABI-incompatible compiler/library combo requires some sort of hack in all Fortran programs, so Scipy is not special. Most environments (Linux distributions, HPC environments, etc.) install libraries that are compatible with the Fortran compilers they are providing.
The MKL(g77)+gfortran combination in conda/conda-forge is a strange outlier with the ABI-incompatibility. AFAIK, MKL has also gfortran ABI-compatible libraries, but I'm not familiar with conda-forge so I don't know the reason why those are not used.
 Part of them uses cblas and is Fortran ABI-independent, but not everything is. E.g. the following Cython module:
from scipy.linalg.cython_lapack cimport cladiv
cdef float complex a = 1, b = 1
print("This should print (1+0j):")
print(cladiv(&a, &b))

prints garbage with wrong wrappers vs. ABI --- under conda-forge this works only for MKL with MKL_INTERFACE_LAYER env var unset (i.e. the case the wrappers are intended to work in). Arpack no longer uses these functions in versions several years ago, so the impact from these wrong results due to incompatible LAPACK is currently probably not critical in practice.

AFAIK, MKL has also gfortran ABI-compatible libraries, but I'm not familiar with conda-forge so I don't know the reason why those are not used.

Only on Linux. Not available on OSX

I think the wrappers would be more cleanly implemented as a separate ABI-compatibility wrapper library, which would provide compatible symbols. The hurdle here is mainly distutils and getting the linker flags etc. right on all platforms. (For distributors, the distutils issue does not exist and there's better control over compilers etc. to get it right vs. platforms.)
This would allow us to stop patching sources, make it easier to provide 100% coverage of the relevant blas/lapack API instead of piecemeal, and avoid mistakes and the maintenance annoyance with the patching.
For Accelerate I remember seeing such existing (3rd-party) blas/lapack wrapper libraries --- maybe they exist also for MKL on OSX?

Thanks for the detailed explanations @pv.

AFAIK, MKL has also gfortran ABI-compatible libraries

So there's a third option: instead of symlinking libblas.so and liblapack.so to libmkl_rt.so and exporting MKL_INTERFACE_LAYER=LP64,GNU, we could symlink to another MKL library and avoid the export. @isuruf, do you know which library we should symlink to on Linux? (Maybe that's also what conda-forge should do to avoid the issue mentioned by @pv.)
Wouldn't a longer-term fix be to update cblas (upstream) to provide the full interface, and rely on cblas only?

The «correct» solution to the ABI problem would be to use Fortran 2003 to write a C callable interface for each Fortran subroutine, and then export this as a DLL that is statically linked with MKL or OpenBLAS. The problem is you would have to do this for each Fortran subroutine in the exported C API (which presumably includes LAPACK as well as BLAS).

The problem in this issue is that the Fortran compiler ABI is not compatible with MKL. Fortran 2003 won't help here, unless you use it to call the MKL C-API.

@pv, thanks for the info. Looks like conda-forge setting doesn't work for cladiv and zladiv, although cdotc, cdotu, zdotc, zdotu works fine with MKL and OpenBLAS.
Looks like the wrapper can be improved here, https://github.com/scipy/scipy/blob/8dba340293fe20e62e173bdf2c10ae208286692f/scipy/_build_utils/src/wrap_g77_abi_f.f#L41
Any interest in fixing this? If so, I can send a PR.

@isuruf: The problem is that cladiv/zladiv AFAIK don't exist in the LAPACK C-API, so you can't call them easily in an ABI-independent way. The wrapper code should be correct as is, but if you set MKL_INTERFACE_LAYER=LP64,GNU then MKL switches to gfortran ABI, and you'd need to have Scipy compiled without the wrappers.
Of course, it might be possible to look up MKL-dependent environment variables on the first call to cladiv/zladiv etc., but that gets ugly. However, that might be better as a conda-forge specific patch.

How about vendoring the netlib code? It's just 2 lines. https://github.com/Reference-LAPACK/lapack/blob/9fb29d8ea47d643ad44a67d3da5de36e280143f5/SRC/cladiv.f#L89-L91

That probably works.
But in long term, I would prefer to drop the wrappers altogether. For the OSX wrapper libraries I mentioned earlier: https://github.com/mcg1969/vecLibFort/ --- that could probably be adapted for MKL, and would solve the issues on a better level.

@pv, one issue is that we want to support libraries linking directly to MKL as well. If the same process loads the wrapper library and MKL, there'll be symbol clashes right?

https://github.com/scipy/scipy/pull/11863

@isuruf: If you are able to swap libblas -> openblas(gfortran ABI) without things bombing, then I think a shim library as libblas.so won't be a problem either?
The details of how the shim libraries work I think depend on how the symbol resolution works out on the platform, and there are some differences between how it works in OSX and Linux/ELF.

If a process loads both libblas.so -> libmkl_rt.so and libmkl_rt.so, then the symbol does the same thing. We don't recommend using libblas.so -> libopenblas.so and libmkl_rt.so both in the same process. It might work, it might not.
But cladiv from MKL and the wrapper library does two things, right?
(Yes, symbol resolution is complicated and I don't know enough about the differences)

Right, I understood the main aim was to make libblas safe to swap for openblas-gfortran, so that all symbols in it should have gfortran ABI?
Mixing incompatible libs in same program I think is orthogonal to this (and I did not get earlier that this is your main concern). So yes, patching sources to avoid using incompatible symbols can solve that, and work for that is mostly done in Scipy.
However, from what I understand, the dynamic linking on osx has different namespace concept than Linux/ELF, and it might be worth to look if that can solve the name clash issues in a general way. There could also be a way to rename symbols as a postprocessing step on the built objects. These approaches could be better in the long run that patching Fortran sources.


Unable to control M5 board after it reboots - 0x09 error on iOS chiptool

Problem: If M5 board reboots or crashes, controller eg. iOS chiptool is no longer able to control the board when it powers back up
SHA: d86a7d49e050f6d9eec438934ea205aa93ce77fd

Pair M5 board with iOS chiptool app
Verify able to toggle light via iOS chiptool
Press Red button on M5 board to reset it
Verify able to toggle light via iOS chiptool

In step 4, I'm seeing 0x09 error on CHIPtool . Not able to toggle light anymore

M5-reboot-0x9error-controlling-it-CHIPtool-logs.txt
reboot-M5-0x9error-controlling-it-M5-logs.txt
Possibly same as  https://github.com/project-chip/connectedhomeip/issues/15766 .. filing new GitHub since seeing a 0x09 error instead of 0x01

This issue has severe impact on any Living on/Dogfood type program since if the accessory or M5 board reboots, we can no longer control it

This is a duplicate of the "we keep trying to use the dead CASE session" issue, no?

Duplicate of #15766


Refactor adding factories

Now the creaton of parameter resources is handled by factories
specific for every type of resource. ParamGetters are heavily
simplified and only return plain data.
This change is mostly backwards compatible. Because of that
ParamManager behaves inconsistently -- the new interface
returns different references than the old one.
There are some problems with missing database fields.
Workarounds are in place, hopefully temporarily.
This does not work with current examples -- root fails to generate
some dictionaries, because of the c++11 'using' directives in
one of the headers. Since we might be moving to
ROOT 6 soon [citation needed]  I didn't want to fix that yet.

Rebased after latest changes. Had to use a try-catch block in one place, removing it would be tricky.
Also the last paragraph in the original message is no longer valid -- the offending "using" directives have been changed to "typedef".


Fixes in RC 1 --> RC 2

Hi @f2prateek ,
here are a couple of fixes that I had to do when using Dart 2.0 RC1 into the Groupon app :

some types where not handled correctly (mainly array types) --> 1st commit & 3rd commit
the classes of Android cannot be referenced in a code Generator. This issue is complex and is explained in more details in a parceler issue. The problem is that Maven and Gradle don't invoke the JVM that runs the annotation processor with the same classpath. With maven this classpath is the same as the classpath used to compile classes. In gradle it is a simpler classpath that doesn't include the bootclasspath of the classpath used to compile classes. The workaround, same as used in ButterKnife apparently, is to use the class names explicitely and not to refer to android classes from within a Generator. --> 2nd commit
there was an issue when integrating Dart 2.0 with our app : we use a type that is both Serializable and Parcelable and Dart didn't know how to deal with this, being unable to know which overload of the bundler's put method to use. the workaround is to give priority to Parcelable over Serializable. The implementation has a limitation : the class must directly implement Parcelable, not via a super class. --> 4th commit.
in the case where there is no common package for classes using extras (which is needed by Henson to generate the Henson class into), the common package is then the default package and I had to fix this. -->5th commit. Note that this was not really mandatory as you can still use an annotation processor option (detailled in javadoc and README.MD to configure the package of the generated Henson class).

I also added tests when necessary and changed some to reflect the changes.
I am still working on the integration but I believe these will be the main issues.

lgtm!