the certificate has expired

Environment

OS: Arch Linux x86_64 6.1.4-arch1-1
Kubernetes version: v1.16.14
VirtualBox version: v7.0.4
Vagrant version: 2.3.4

What I did?
I just follow the readme, and copy the conf/admin.kubeconfig to ~/.kube/config. When I use kubectl get nodes, it shows
Unable to connect to the server: x509: certificate has expired or is not yet valid:
current time 2023-01-09T22:08:46+08:00 is after 2023-01-09T09:34:00Z

Messages
when installing node3, it also show that the x509 certificate expired.
node3: deploy coredns
node3: unable to recognize "STDIN": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "STDIN": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "STDIN": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "STDIN": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "STDIN": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "STDIN": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: /home/vagrant
node3: deploy kubernetes dashboard
node3: unable to recognize "/vagrant/addon/dashboard/kubernetes-dashboard.yaml": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "/vagrant/addon/dashboard/kubernetes-dashboard.yaml": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "/vagrant/addon/dashboard/kubernetes-dashboard.yaml": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "/vagrant/addon/dashboard/kubernetes-dashboard.yaml": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "/vagrant/addon/dashboard/kubernetes-dashboard.yaml": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "/vagrant/addon/dashboard/kubernetes-dashboard.yaml": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: create admin role token
node3: unable to recognize "/vagrant/yaml/admin-role.yaml": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "/vagrant/yaml/admin-role.yaml": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: the admin role token is:
node3: Unable to connect to the server: x509: certificate has expired or is not yet valid
node3: Unable to connect to the server: x509: certificate has expired or is not yet valid
node3: login to dashboard with the above token
node3: Unable to connect to the server: x509: certificate has expired or is not yet valid
node3: https://<IP_ADDRESS>:
node3: install traefik ingress controller
node3: unable to recognize "/vagrant/addon/traefik-ingress/ingress.yaml": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "/vagrant/addon/traefik-ingress/traefik-rbac.yaml": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "/vagrant/addon/traefik-ingress/traefik.yaml": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "/vagrant/addon/traefik-ingress/traefik.yaml": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: unable to recognize "/vagrant/addon/traefik-ingress/traefik.yaml": Get https://<IP_ADDRESS>:6443/api?timeout=32s: x509: certificate has expired or is not yet valid
node3: Configure Kubectl to autocomplete

# kubectl get nodes
Unable to connect to the server: x509: certificate has expired or is not yet valid:
current time 2023-01-09T22:08:46+08:00 is after 2023-01-09T09:34:00Z

I'm a newbie learning the k8s. I find this on stackoverflow, but I cannot find /etc/kubernetes/pki/apiserver.crt. Maybe I should modify the change the conf/admin.kubeconfig? Thanks in advanced.

您好，邮件我已收到。

遇到同样的问题，求助

您好，邮件我已收到。

same problem on Ubuntu 22.04

您好，邮件我已收到。

The same! Someone has the solution?

您好，邮件我已收到。


Mu2eII_SM21: removed root and art files

:sunny: The tests passed at 5d9a7fafebff85cd2a50a9012d4cfd584ffb35a4.

Test
Result
Details

merge
:white_check_mark:
Merged 5d9a7fafebff85cd2a50a9012d4cfd584ffb35a4 at ca8f100fc0330848f49370b2bf249c010e5ccc5a

build (prof)
:white_check_mark:
Log file. Build time: 15 min 03 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 5d9a7fafebff85cd2a50a9012d4cfd584ffb35a4 after being merged into the base branch at ca8f100fc0330848f49370b2bf249c010e5ccc5a.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

@sophiemiddleton I have a comment on this PR that needs to be answered.  I will be on vacation starting this evening and won't be back until Wednesday.  If you would like it merged before then, please answer this soon.

@FNALbuild run build tests

:hourglass: The following tests have been triggered for aa3a9ebda9b0af46e3a3df456e4d0a452dcea6cc: build  (Build queue has 7 jobs)

:sunny: The tests passed at aa3a9ebda9b0af46e3a3df456e4d0a452dcea6cc.

Test
Result
Details

merge
:white_check_mark:
Merged aa3a9ebda9b0af46e3a3df456e4d0a452dcea6cc at ca8f100fc0330848f49370b2bf249c010e5ccc5a

build (prof)
:white_check_mark:
Log file. Build time: 14 min 36 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at aa3a9ebda9b0af46e3a3df456e4d0a452dcea6cc after being merged into the base branch at ca8f100fc0330848f49370b2bf249c010e5ccc5a.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

Hi Rob - the update you refer to is an update to the stopped muons for the DIO to point to the Mu2eII stops

This should now be fixed

@FNALbuild  run build tests

:hourglass: The following tests have been triggered for a62d111defc567484b66d0443012cbd1639e3249: build  (Build queue has 7 jobs)

:sunny: The tests passed at a62d111defc567484b66d0443012cbd1639e3249.

Test
Result
Details

merge
:white_check_mark:
Merged a62d111defc567484b66d0443012cbd1639e3249 at ca8f100fc0330848f49370b2bf249c010e5ccc5a

build (prof)
:white_check_mark:
Log file. Build time: 15 min 23 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at a62d111defc567484b66d0443012cbd1639e3249 after being merged into the base branch at ca8f100fc0330848f49370b2bf249c010e5ccc5a.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.


Macros does not allow to use #load directives

I don't know if this is a bug or a known behaviour.
Maybe for this is best to use with compiler extensions?.

[!CAUTION]
Macros are powerful meta-programming mechanisms that can be used in Onyx to extend the language. While using macros is not an anti-pattern in itself, this meta-programming mechanism should only be used when absolutely necessary.

See also: https://hexdocs.pm/elixir/macro-anti-patterns.html#unnecessary-macros

Expected Behaviour
I want to use a macro that loads and use files.
Sample Project
macros.zip
Error code
requires :: [] {
    #load_all "lib"
    use lib
    #unquote lib.__using__()
}

main :: () {
    #unquote requires
}

This is by design. #load-ing files is "top-level" operation, meaning it can only occur in the outermost scope. Code-blocks are parsed as tho they are function bodies, since they currently can only be unquoted in function bodies. You can use in a function however, if you want to keep the use of the package to only a single block.
I normally don't worry too much about #load when I write Onyx. Typically I will just #load_all "." in my main file to load all other files and forget about it, treating it more like C#/Elixir/etc where an entire directory of files that all get loaded without thinking about it.
I see what you are going for here and it is definitely interesting. I will have to think about what it would look like to implement something like __using__ for an Onyx package... :thinking:


Dns from resolv.conf

if an /etc/resolv.conf file exists, then get the DNS servers from there
if not, uses the original defaults
handles IPv6 addresses in resolv.conf and adds port 53 if not specified
Todo:

[x] add tests

Hey there!
Thank you for taking the time to implement this feature.
The change looks fine but I think we should include a log line to tell the user which resolver is being used.
What are your thoughts about this?

Sure, any better?
Though as RecursiveNameservers is a public variable, it could be modified by something and then the wrong details will have been logged.

You are right. I guess L102 is a good spot for it. Just add the information to the existing log statement and use the value of RecursiveNameservers. As this is run right when we are about to run the queries we should get the right values.

@stuart-warren any update on this?

I assume this is what you meant?
2016/11/02 16:06:55 [INFO][example.com] Checking DNS record propagation using [<IP_ADDRESS>:53 <IP_ADDRESS>:53 <IP_ADDRESS>:53 <IP_ADDRESS>:53]

Exactly, thank you for the updated PR.


Update create-the-sap-system-connection-uri.md

Removed following Note from this page:
"Connection Type B only applies to send ports. When configuring a receive location, choose Connection Type A or D."
This is based on discussion with PG in relation to RDTask 21892193:WCF-SAP Adapter: Update documentation to remove note saying that connection type B is for send ports only

Docs Build status updates of commit 6417425:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/adapters-and-accelerators/adapter-sap/create-the-sap-system-connection-uri.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Documentation fix - removed duplicate terms path, pie and pointRanges

In the tree of layer reference, terms 'path', 'pie' and 'pointRanges' are no longer duplicates
Link to issue - https://github.com/Kotlin/kandy/issues/313

Thank you for your contribution!


Fix prometheus histogram metric tracker for multiple pools

Currently it's not possible to use PrometheusMetricsTrackerFactory if you have multiple pools. Even if you create one instance of factory it's not thread-safe and collector created multiple times.
Related to #1331
Fixes #1465

@brettwooldridge Could you please check this. It will be good to have this in. We want to use the Histogram approach, the normal summary approach blocks a huge number of threads in prometheus code blocks for a new pod scaled during peak hours.
Also this looks duplicate of this: https://github.com/brettwooldridge/HikariCP/issues/1465
May be we can close one.

@brettwooldridge Could you please check this. It will be good to have this in. We want to use the Histogram approach, the normal summary approach blocks a huge number of threads in prometheus code blocks for a new pod scaled during peak hours.
Also this looks duplicate of this: https://github.com/brettwooldridge/HikariCP/issues/1465
May be we can close one.

@RabindraRakshit Ok, your chance to play God. Which of the two pull requests is better? Better being: concise and correct with good test coverage.

@RabindraRakshit Ok, your chance to play God. Which of the two pull requests is better? Better being: concise and correct with good test coverage.

Thanks for the honour @brettwooldridge :) I would like to go with  this : https://github.com/brettwooldridge/HikariCP/pull/1692 It looks good to the point except one minor remark about the .* imports. If you are fine with that then we can proceed with this.
Both are somewhat copy paste of this : https://github.com/brettwooldridge/HikariCP/pull/1331

Thanks for the honour @brettwooldridge :) I would like to go with  this : https://github.com/brettwooldridge/HikariCP/pull/1692 It looks good to the point except one minor remark about the .* imports. If you are fine with that then we can proceed with this.
Both are somewhat copy paste of this : https://github.com/brettwooldridge/HikariCP/pull/1331

@brettwooldridge could you please approve this pr so that we can get it merged and possibly a release would be very good. We want to test the histogram and see if it brings any improvement over the classical summary approach!

@brettwooldridge could you please approve this pr so that we can get it merged and possibly a release would be very good. We want to test the histogram and see if it brings any improvement over the classical summary approach!

@RabindraRakshit I intend to release within the next week. Trying to get a few more pull requests integrated.

@RabindraRakshit I intend to release within the next week. Trying to get a few more pull requests integrated.

ok that would be great. Thanks @brettwooldridge

ok that would be great. Thanks @brettwooldridge


Add build and dependency statuses to README

A la Rails…

I had this in there originally, but 1/2 the time the build fails its due to something environmental rather than an actual logical failure. Also, this README is displayed as part of the RDoc, which means that someone looking at the RDoc for the current release will likely be confused and/or discouraged when he/she sees the build is failing.


Make the types for T::Enum.inherited more narrow

cc @neilparikh

Motivation

Pulling out changes from #7212
Test plan

n/a

Our script didn't post the comment, but the build passed.


Picker does not limit selections to provided documentPickerAllowedUTIs

Expected Behavior
files available in picker should be limited by list of documentPickerAllowedUTIs in config similarly to how android picker options are limited by mimeTypes.
Observed Behavior
.mov, .docx, .pdf all available to be uploaded when only config set with only "public.image"
Additional Information
I was not able to find any information regarding this config setting in the documentation.
Picker and config initialization
DispatchQueue.main.async {
        let config = Filestack.Config.builder
          .with(appUrlScheme: "suitable")
          .with(videoQuality: .typeHigh)
          .with(imageUrlExportPreset: .compatible)
          .with(maximumSelectionLimit: 1)
          .with(availableCloudSources: [.dropbox, .googleDrive, .facebook, .instagram])
          .with(availableLocalSources: self.availableLocalSources)
          .with(documentPickerAllowedUTIs: ["public.image"])
          .build()
        self.client = Filestack.Client(apiKey: API_KEY, security: nil, config: config);
        let storeOptions = StorageOptions(location: .s3, access: .public);
        let pickerController = self.client.picker(storeOptions: storeOptions);
        pickerController.delegate = self;
        pickerController.pickerDelegate = self;

        let appDelegate = UIApplication.shared.delegate
        appDelegate?.window??.rootViewController?.present(pickerController, animated: true);
      }

@benRivello Please notice the setting documentPickerAllowedUTIs only applies to documents picked using Apple's document picker (aka "iOS Files" in our picker.) In version 2.0 we added the setting cloudSourceAllowedUTIs which applies to documents picked for cloud sources. You may use both if you want to apply restrictions in both places.
Hope this helps!


AMBARI-22935. Update HttpClient version in Log Search (use 4.4.1 with Solr 6)

What changes were proposed in this pull request?
Solr client is not working properly on secure env. It tries to use methods for SPNego that are not exist. Reason for that spring-kerberos-client override the httpclient version and uses an older one. Spring kerberos client has not used yet, so that is a safe change. (Solr-clientr dependency has multiple dependency on different http components ... when we will upgrade to Solr 7, with that fix we will use those that Solr client provides for us)
How was this patch tested?
Manually, and validated with mvn dependency:tree command
please review @zeroflag @adoroszlai @swagle @kasakrisz

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/482/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/490/
Test PASSed.


novalidate property ignored?

Shouldn't the validation be ignored when "novalidate" property is true on the form element?

The browser's built-in validator UI will be ignored. It doesn't stop the plugin's validator from running.
Feel free to reopen this ticket with an example if you find that not to be the case.

I agree with @screenager. The "novalidate" property is the semantic way to say, "this form should not be validated" and so bootstrap-validator should not validate such forms or fields by default.
Can we reopen this issue? Will you accept a pull request to change this?

No, we have to set novalidate="true" or else the browser's built-in UI will show up when the user submits the form.

I understand how the novalidate attribute is manipulated by the plugin on initialization and destruction of the validator instance, but @screenager is still right. My proposal is to respect the user-set value of novalidate. It can be done like this:

on initialization, read the initial value of novalidate (set by user) and save it, before setting novalidate to true to prevent browser default validation
on destroy, reset novalidate to what was originally set by user
treat user-set [novalidate] fields and fields in [novalidate] forms the same as [data-validate="false"] fields by default, unless [data-validate] is set one way or the other.

Can you elaborate on why you want this functionality? Are you using novalidate for something? As far as your third bullet point, novalidate isn't a standard attribute on InputElements.

The reason I want this functionality is because I think it's the correct thing to do. By specifying novalidate the user has flagged their intention that the form not be validated.
The background is that I've dropped the plugin in onto some existing forms, and expected it to 'just work,' which it does very well, except in this situation where I've got email fields in a form which I don't want to be validated. (I want the email keyboards on mobile, but I also want to allow non-email inputs for certain cases.)
Please ignore my error on novalidate for inputs. There's apparently formnovalidate but it seems a bit unclear and I don't need it myself.

The reason I want this functionality is because I think it's the correct thing to do. By specifying novalidate the user has flagged their intention that the form not be validated.
The background is that I've dropped the plugin in onto some existing forms, and expected it to 'just work,' which it does very well, except in this situation where I've got email fields in a form which I don't want to be validated. (I want the email keyboards on mobile, but I also want to allow non-email inputs for certain cases.)
Please ignore my error on novalidate for inputs. There's apparently formnovalidate but it seems a bit unclear and I don't need it myself.

I get what you mean, but presumably if someone didn't want their form validated they wouldn't be using this plugin? I'm trying to understand a use-case in which someone would want to use this plugin and also set novalidate manually. Seems kind of esoteric, but yes, "correct".
The plugin doesn't use novalidate, nor could it because it has to be set to true or else the browser will clash with the plugin. So it wouldn't really help you in your scenario if the plugin restored its value on destroy. I'd recommend using data-validate="false" on your email fields, but then you'd lose any other validations like required as well. There's no way to turn off only type="email" validation.

Sites have more than one form. Out of all the forms in my site, most work fine and are enhanced by the plugin based on their pre-existing, standard markup. It works as a drop-in enhancement, except for this one form attribute that is not respected.
The plugin unsets novalidate of course, because it replaces the built-in validation. That's fine, it's how it has to work. My suggestion is to take note of the user-set value on construction of the Validator (maybe just set data-validate if it's not set already) before clobbering novalidate (line 70).
My second dot-point suggesting that the value be restored on destroy is the least important of the three, and is just basic clean-up: leave things how you found them (i.e. don't leave novalidate off if it was on initially).
I am using data-validate="false" as a workaround, which works fine. I don't need more specific validation control.
I'm still willing to work on a proper fix, respecting the standard novalidate attribute. You seem to have agreed my suggestion is "correct." Would you accept a pull request along the lines we've outlined?

@1000hz I see that I have missed something obvious, sorry for wasting your time.
The validation needs to be enabled specifically, and I had a script that was being too generous in picking which forms to add validation to.
So your point that you don't use the plugin is valid and solves the problem -- the correct solution is simply not to enable the plugin on forms you don't want it on.


Leakage power in uW

Hi Vahini,
I think its a good idea to report the power in uW directly.

Hi Ankur,
Thanks for suggestion.
I have modified and reported the power in both W and uW.
You can have a look at it. If it seems good you might close this issue.

Yeah it looks good now.


Using native Identifiable protocol

This PR removes the custom identifiable protocol in favor of the native one.

Ready to get this merged


AppService missing

It looks like you forgot to add the needed files for AppService introduced in 01a9b59022a5fcc25eaf1f0b8dd06dabd50e83e2.
ERROR in ./src/app/app.component.ts
(3,28): error TS2307: Cannot find module './app.service'.

ERROR in ./src/main.ts
(6,28): error TS2307: Cannot find module './app/app.service'.

Fixed, thanks!


Add more DNA helix models

Give access to all basic helix models offered by NAB

NAB's fd_helix() doesn't split chains in the PDB file (only bdna() does) - this causes our bond assignment routines to fail.
Easiest fix is to only throw warnings, not exceptions, when we can't assign a bond. Better fix is to split the chains ourselves.

Added a simple fix - just put half the residues in a new chain - works fine for double helices.  Still to do: verify the structures! In particular:

make sure 3' and 5' ends are correctly capped
check formal charge assignments
Check bond orders and protonation


How long can the Wechat Robot stay "logged in"？（微信机器人可以保持登录状态多长时间？）

I have start a wechaty robot.
In my code, i use the sentence:"const bot = Wechaty.instance({ name: 'default' })" to create a default.memory-card.json file to store the landing information, and the robot can login automatically through this file.In this pason file, there are many expires message, is it means the login state will expires and my robot will be offline automatically at the appointed time？the minimal time is only 12 hours, but some time is 10 years

This memory-card file will be updated automatically when your bot is keeping running.

我试过用itchat的机器人，一般几天就需要重新扫码登陆了。 不知道这个限制是微信网页版的限制还是itchat有问题？
用wechaty的PuppetPuppeteer做的微信机器人能够长时间在线吗？

same question.
can the bot keep online?
or is there some mechanism to restore the online state immediately whenever the bot logout.

This depends on which puppet are you using.
If you use web protocol, it may stay only for a few days depends on your wechat account.
If you use ipad protocol, it may stay for several months depends on your wechat account.


Allow decimal places in the allocation.

When allocating votes via the distribution modal, we need to allow for decimal places.  2 decimal places should be sufficient.

Will work on this

Just for a heads up, the Ballot View page is a much higher priority than this one at the moment.


Research if possible to connect to Book API for extracting description

Free APIs are really limited and can not parallelise(without paralleling will run more than 1 day)


Client libraries encoding may be broken if the response writer does not use UTF-8 by default

On AEM 6.x, the composum browser fails to load because the JavaScript is only partially delivered to the client. It appears this is due to the fact that a non UTF-8 encoding is used by the response writer, resulting in a mismatch between the content-length header and the actual content length and a broken encoding (of JS and CSS alike).

thanks a lot


In my opinion this improves the usability of the project. Users can now integrate this anywhere in their existing http applications. The usage of http.Handler and HandlerFunc is well known to all Go developers, whereas negroni is probably not well known to all of them.
Also this pull requests reduces the amount of dependencies.
This PR ist just for coordination to see what you think of these changes.

Ok, I took way way way too long to respond to this, and now there are conflicts, but I do like what you've done here (and a lot of it was fixing my early, less idiomatic, Go code).
Some of the API changes might be too much to just slipstream in, and I don't want to break anything in the current API, but a lot could come in very easily (I love NewSkillHandler rather than making the map).
In short, I'd like to do a lot of this, but feature-by-feature, rather than all at once.

Remove gorilla projects
Improve external API.
Cleaning up the internal code structure of VerifyJSON and ValidateRequest.

Again, my fault for taking so long on getting back to this thread, so if you're not disinterested, I will try to do some of these improvements myself when I can.

Is this implementation near done? I think its a great idea.

I haven't had a much time lately to focus on this. Hoping too in the coming weeks, but if anyone wants to take one of the tasks I listed and starting (using this PR as a reference) I'd love the help.


【Bug】In the release environment of RN‘s new architecture and reanimated

Environment
System:
OS: macOS 14.1
CPU: (8) arm64 Apple M1 Pro
Memory: 84.89 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 21.6.1
path: ~/.nvm/versions/node/v21.6.1/bin/node
Yarn:
version: 1.22.19
path: /opt/homebrew/bin/yarn
npm:
version: 10.2.4
path: ~/.nvm/versions/node/v21.6.1/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.12.1
path: /Users/zhuzhiqin/.rvm/gems/ruby-2.7.2/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK: Not Found
IDEs:
Android Studio: 2023.1 AI-231.9392.1.2311.11330709
Xcode:
version: 15.0.1/15A507
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.10
path: /usr/bin/javac
Ruby:
version: 2.7.2
path: /Users/zhuzhiqin/.rvm/rubies/ruby-2.7.2/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native:
installed: 0.73.6
wanted: 0.73.6
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: true
newArchEnabled: true
Platforms
both iOS and Android
Versions

react-native-modal: 13.0.1
react-native: 0.73.6
react: 18.2.0
react-native-reanimated: 3.6.3

Description
In the release environment of React-Native's new architecture。
If the current page contains animations implemented by react-native-reanimated, when set modal's state to be true, the modal will be a problem that only the backdrop but no content, and click the backdrop cannot disappear modal.
Hope anyone can help me solve this problem, thanks

@rabbitmouse i found same issue, did you find the solution?

I had the same issue, but than i found out that the code i was trying to show a modal while other animation didnt complete.
wrapping with runAfterInteractions solved the issue for me
      InteractionManager.runAfterInteractions(() => {
        navigate('ModalScreen');
      });


Build refresh

Fixes https://github.com/inventree/InvenTree/issues/2591

@SchrodingersGat This applies to Purchase Orders too

@eeintech can you please open a new issue for this? I'll get on it ASAP.

@SchrodingersGat See #2600


The dashboard seems a little unusual.

I followed the official documentation and after starting the service, I noticed that the dashboard would keep reporting errors.

I've noticed that there seems to be a problem with the template, and I'm not sure if I'm misinterpreting it.
https://github.com/ServiceWeaver/weaver/blob/536bcca260218eef352571e31fc61dfaee785faa/internal/status/templates/deployment.html#L165
https://github.com/ServiceWeaver/weaver/blob/536bcca260218eef352571e31fc61dfaee785faa/internal/status/status.pb.go#L136C1-L136C1
type Component struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Name    string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`         // component name (e.g., Cache)
	Pids    []int64   `protobuf:"varint,3,rep,packed,name=pids,proto3" json:"pids,omitempty"` // PIDs of component replicas
	Methods []*Method `protobuf:"bytes,4,rep,name=methods,proto3" json:"methods,omitempty"`   // methods
}

I noticed that there is no definition for Group, so is that what is causing the $c.Group to report an error.

Great finding @kalifun. This is being fixed in #582.


convbin: 3.4 -> 3.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/mateoconlechuga/convbin/releases.
meta.description for convbin is: "Converts files to other formats"
meta.homepage for convbin is: "https://github.com/mateoconlechuga/convbin"
meta.changelog for convbin is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/i6i8dz6bffmklx71276qmf0jvxdwkdvb-convbin-3.7/bin/convbin passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 3.7 with grep in /nix/store/i6i8dz6bffmklx71276qmf0jvxdwkdvb-convbin-3.7

found 3.7 in filename of file in /nix/store/i6i8dz6bffmklx71276qmf0jvxdwkdvb-convbin-3.7

directory tree listing: https://gist.github.com/7290aee5cedb82465aec7a41764e54f8

du listing: https://gist.github.com/df5882549c689ae006aae0fcf3788b4b

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
convbin

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/i6i8dz6bffmklx71276qmf0jvxdwkdvb-convbin-3.7
ls -la /nix/store/i6i8dz6bffmklx71276qmf0jvxdwkdvb-convbin-3.7/bin

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

1 package built:

convbin

Maintainer pings
cc @luc65r for testing.

Result of nixpkgs-review pr 137740 at 4748cc25 run on aarch64-linux 1

1 package built successfully:

convbin

2 suggestions:

warning: missing-phase-hooks
checkPhase should probably contain runHook preCheck and runHook postCheck.
Near pkgs/tools/misc/convbin/default.nix:18:3:
   |
18 |   checkPhase = ''
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/tools/misc/convbin/default.nix:27:3:
   |
27 |   installPhase = ''
   |   ^


[🐞] trailingSlash:false doesn't effect at the root path with query string.

Which component is affected?
Qwik City (routing)
Describe the bug
Configured the Qwik City as qwikCity({trailingSlash:false}) in vite config, all routes turned to be without the trailing slash except the root path with query string.
The URL like this https://example.com?foo=bar is redirected to https://example.com/?foo=bar
although https://example.com and https://example.com/todo?foo=bar doesn't.
I think this is not consistent.
Reproduction
https://stackblitz.com/edit/qwik-starter-znqffd?file=src%2Froutes%2Findex.tsx
Steps to reproduce
See the top page and "demo" page linked from the top page.
These two pages show the loc.url at the top.
Due to the stackblitz's behaviour, we need to reload for each page view to show the real url.
As we cannot see the real address bar, the behaviour of the reproduction is slightly different from the real.
System Info
System:
    OS: macOS 13.4.1
    CPU: (8) arm64 Apple M2
    Memory: 87.33 MB / 24.00 GB
    Shell: 3.6.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 20.5.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.8.1 - /opt/homebrew/bin/npm
    pnpm: 8.6.11 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 116.0.5845.110
    Safari: 16.5.2
  npmPackages:
    @builder.io/partytown: ^0.8.0 => 0.8.0
    undici: 5.22.1 => 5.22.1
    vite: 4.4.7 => 4.4.7

Additional Information
No response

Sorry, can you be more specific on how to reproduce this?
What do I click on? What is expected? What happens instead.

@mhevery Sorry, it's difficult because the stackblitz has only a fake navigation bar so we can't see the real URL redirected to.
Could you use any of your qwik app to have configured that the trailingSlash:false?
And then append the query string in the navigation bar like thishttps://yourapp.com?foo=bar.
It will be redirected to https://yourapp.com/?foo=bar even if we have configured trailingSlash:false.
I expect to see https://yourapp.com?foo=bar in the navigation bar.

I'll do it

it seems that the last slash can't disappear when the pathname is /.

stackoverflow.com/a/2581514/529442
Note that the absolute path cannot be empty; if none is present in the original URI, it MUST be given as "/" (the server root).
My conclusion is that this isn't a bug from my understanding. My English isn't very good; please point out if anything is wrong.

@JerryWu1234 I think we should special-case this. The absolute path must at least be /, but the URL doesn't have to have a trailing /. Redirecting should not happen.

@wmertens
it looks like that the browser didn't support  this feature.
I intercepted the routing jump of window.history.pushState and verified it in the simplest way. The URL in the browser only changes when a / is added.

@wmertens
Do you have any clues about this PR? We can do it


Outdated dependencies

https://david-dm.org/ctavan/express-validator

I went ahead and updated lodash. However Bluebird and validator will need some code changes and a major version upgrade.

For Bluebird we'll be upgrading from v2 to v3.

I think only change that affects us is that settle() is deprecated: http://bluebirdjs.com/docs/new-in-bluebird-3.html#deprecations
We're using settle here: https://github.com/ctavan/express-validator/blob/master/lib/express_validator.js#L177

Validator is the big one. When they upgraded to v5, they removed automatic non-string coercion: https://github.com/chriso/validator.js/pull/496

This breaks a large majority of our tests: https://travis-ci.org/ctavan/express-validator/jobs/115613461
This likely breaks code in the wild too, so upgrading this module will also require a major version upgrade on our end.

I'm always up for PRs. :smile:

Bluebird has been upgraded to v3.3.x in express-validator v2.20.2.

Our current version of validator (4.9.x) will cause the code to output this error:
validator deprecated you tried to validate a undefined but this library (validator.js) validates strings only. Please update your code as this will be an error soon. node_modules/express-validator/lib/express_validator.js:335:41
You can also see various instances of this error when you run our tests (npm test).
While it doesn't break anything, it is annoying to users, and makes this upgrade to v5 a little higher priority.

Validator updated to v5 here: https://github.com/ctavan/express-validator/pull/231
Now in 2.20.4


False Backdoor estimand

I have a dataset with the following graph

Clearly, there is no backdoor path. But when try to identify the causal effect using 'model.identify_effect(proceed_when_unidentifiable=True)'.
I get the following output:

I am wondering why is it showing the estimand type to be backdoor when there is no confounder & thereby no backdoor path.
Am I missing anything? Please help me!
Sincerely,
Asha

There are multiple ways to extract a backdoor set. you can use method="minimal" to obtain what you are expecting.

minimal: the smallest set W that is a valid adjustment set
maximal: the largest set W that is a valid adjustment set (note here X2 is a valid backdoor since the backdoor equation is still satisfied with W=X2)
default: a mix of 1 and 2 (the one you are using)

To see all possibilities of valid backdoor sets, you can set method="exhaustive". It is not efficient for large graphs but will work for your graph.

It is in the causal_model class, here

Ok thank you for the help. I tried with 3 different methods viz., "minimal-adjustment", "maximal-adjustment" & "exhaustive-search". However, I'm getting the same output which I shared with you previously. This one

Can you share a full reproducible code/notebook? What is your treatment and outcome?

Sure, here it is
import numpy as np
import pandas as pd
import dowhy
import dowhy.api
from dowhy import CausalModel
import dowhy.datasets
import matplotlib.pyplot as plt
np.random.seed(101)
N_SAMPLES = 10000
Data generation
##Scenarios with 3 nodes
#a) Correlation case
Create the graph describing the causal structure
graph = """graph[directed 1 node[id "X2" label "X2"]
node[id "X1" label "X1"]
node[id "Y" label "Y"]
edge[source "X1" target "Y"]
edge[source "X2" target "Y"]]""".replace('\n', '')
Generate the data
X1 = np.random.randn(N_SAMPLES)
X2 = np.random.randn(N_SAMPLES)
Y = 0.65X1 + 0.2X2
Data to df
df = pd.DataFrame(np.vstack([X1, X2, Y]).T, columns=['X1', 'X2', 'Y'])
print(df.head(10))
Create a model
model = CausalModel(
data=df,
treatment=['X1','X2'],
outcome=['Y'],
common_causes=['Z'],
graph=graph

)
model.view_model()
plt.show()
display(Image(filename="causal_model.png"))
plt.show()
Generate estimand
identified_estimand= model.identify_effect(method_name = "minimal-adjustment",proceed_when_unidentifiable=True)
print(identified_estimand)

Ah, I understand now. I was assuming that the treatment is X1, but you have assigned both X1 and X2 as treatment.
In that case, the identify_effect method is simply showing that the null set is a valid backdoor adjustment. And hence it indicates that fitting a model for $E[Y|X1, X2]$ will give the true causal effect. If you are interested in the effect of X1 (or X2), try providing only a single one as treatment.

Ok thank you, however if I set treatment to be just 'X1', still I get the bakdoor path from X1 to Y. Not able to understand how can this be a backdoor path?

It means that the empty set {} is a backdoor set for this treatment-outcome pair.
The method is not finding the backdoor paths, it is finding the valid adjustment "backdoor" sets that block any backdoor path between treatment and outcome. In this case, the empty set is enough.

I am sorry. I do not understand what you replied before. How and from where do you comment about the empty set? Meaning where is the empty set in the output picture I posted before? Also, I feel in my graph there is no backdoor path, so there is no need of any adjustment.
Could you please elaborate a bit more?

Sure, the usual backdoor output is E[Y||W] where W is the backdoor set. Since the numerator is simply E[Y] in the backdoor equation, it implies that W is the empty set.
_d_E[Y]/_d_X1 is the same as computing effect without any adjustment.


SDH FATFS in poll mode doesn't work on D0

When running the FATFS demo on D0, CMD17 fails with a timeout when trying to read from the SD card.
M0 is currently running the same FATFS demo but with everything but the init code removed, so the init should start up. I have also tried it with just the dualcore hello world on D0, and the bl808_linux low loader. All have the same result.
FATFS is in the default polling, no interrupts, mode.
Is it possible to get a proper official demo for SDH on D0 with polling mode please, or any suggestion as to what an immediate problem may be if there is an obvious, known answer?
Thanks

When running the FATFS demo on D0, CMD17 fails with a timeout when trying to read from the SD card.
M0 is currently running the same FATFS demo but with everything but the init code removed, so the init should start up. I have also tried it with just the dualcore hello world on D0, and the bl808_linux low loader. All have the same result.
FATFS is in the default polling, no interrupts, mode.
Is it possible to get a proper official demo for SDH on D0 with polling mode please, or any suggestion as to what an immediate problem may be if there is an obvious, known answer?
Thanks

Can you describe how you got the fatfs example working, nothing works on any Ox64 (same bl808 chip)


feat(components): cleanup and extend floating components

Updates and cleans up a bunch of the floating components (ScalarFloating, ScalarDropdown etc.). Theres a few small breaking changes in here but since we're the only ones that use @scalar/components (and it's semver < 1.0.0) I don't think we should have any problems. That being said a quick test of the client and references never hurt.
Overview of changes
In @scalar/components

All components

Cleaned up the stories and docs
Updated them to provide all their FloatingOptions to their ScalarFloating component (e.g. middleware)
Updated their slots to include the menu open state where available (so you can make a chevron flip over in the trigger button or whatever).
Defined all slots

ScalarFloating

Added an example and a story of how to use the middleware prop to adjust the offset.
Updated the type export to be ScalarFloatingOptions to be consistent with the rest of the library.
Refactored the targetRef prop to be target and to take either an HTMLElement or a string for an ID and added tests to that effect.
Remove the isOpen prop which wasn't being used except for in the EnvironmentVariableDropdown.vue (see below). As a primitive ScalarFloating shouldn't really control it's open state and rather should just handle the position of the elements. If we want to hide the floating element we can just put a v-if on the #floating slot (but all the elements using it right now handle their own open and closed state).

ScalarListbox

Extracted the listbox checkbox to be it's own component since we use it in a bunch of places
Updated the the listbox to use square checkboxes if it's in multiselect mode
Added a story showing how multiselect works
Improved the types for multiselect so you can't give it the wrong v-model type
Extracted the listbox item component so it can be reused

ScalarCombobox

Added #before and after# slots so we can add buttons before and after the combobox list (note: this only works a11y because the combobox is actually a popover and you can tab through it unlike the listbox or dropdown).

ScalarDropdown

Remove the isOpen and static props which weren't being used except for in the `EnvironmentVariableDropdown.vue, see below.

ScalarPopover

Just cleaned it up and typed the slots

ScalarMenu

Cleaned the floating props
Removed a negative margin from the button

Outside of @scalar/components

Updated EnvironmentSelector.vue and WorkspaceDropdown.vue to use the standardized <ScalarListboxCheckbox>.
Refactored EnvironmentVariableDropdown.vue to not use ScalarDropdown anymore. It wasn't using very much from <ScalarDropdown> and was basically just rendering an absolutely positioned box in the dropdown (while running floating UI with no reference element). At some point might be worth refactoring the EnvironmentVariableDropdown to actually use FloatingUI to target the code mirror editor column or something.
Updated the prop name from targetRef to target in RequestSidebarItemMenu.vue

great great work!
just spotted the following so far:

environment selector out of window

command request selector extra gap

error on sidebar request dropdown click
```json
Error: Passing props on "template"!
The current component  is rendering a "template".
However we need to passthrough the following props:
  - aria-controls
  - aria-expanded
  - aria-haspopup
  ```

auth dropdown doesn't open
```json
index-BeJdfT_j.js:14 TypeError: Cannot read properties of null (reading 'emitsOptions')
  ```

For some reason I cannot import galaxy into the client (CORS error). Going through the code now

last nit is that is we open a request sidebar menu, and want to open another one, it gets now closed vs swapping as before:

last nit is that is we open a request sidebar menu, and want to open another one, it gets now closed vs swapping as before:

Mmmm okay, I think maybe I'll merge then fix this after


Switch to Yarn for remaining Makefile targets

Switch from NPM to Yarn for bootstrap and integration-test targets
Replace node linking with file copy
Manually change CLI executable permission due to yarn not setting executable permission on the binary

Yes, you're right. I got mixed up because the change from node -> yarn occurred concurrently with the change from linking to file copying.


Parameterless Command in Group/Module injects extra space

[Module("prune"}]
public class PruneCommands {
    [Command]
    public async Task Prune(IUserMessage message) {
    }
}

Produces a Command with Text prune . This is required in addition to the normal space separator and registers an unknown command error if the extra space is not present.
The same happens with GroupAttribute as well.

Yes I understand. It's more of a case where there is both a main command and subcommands exist such as the following:
[Module("prune"}]
public class PruneCommands {
    [Command]
    public async Task Prune(IUserMessage message) {
    }

   [Command("users")]
   public async Task PruneUsers(IUserMessage message, params IGuildUser[] users) {
   }
}

Yeah, that's exactly why I added a parameterless Command.

I'll grab this one; shouldn't be too hard to resolve.


@tailwindcss/forms compatibility (and possibly Skeleton)

Interesting, if you use @tailwindcss/forms with either the full plugin...
import type { Config } from 'tailwindcss';
import forms from '@tailwindcss/forms';

export default {
  // ...
  plugins: [
    forms
  ]
} satisfies Config;

or strategy: 'base'
import type { Config } from 'tailwindcss';
import forms from '@tailwindcss/forms';

export default {
  // ...
  plugins: [
    forms({
      strategy: 'base' // only generate global styles
    })
  ]
} satisfies Config;

defined in tailwind.config.js file, the LayerChart styles (ex. fill-none, etc) are not added to a production build (pnpm build && pnpm preview) but are while in dev (pnpm dev).
pnpm dev

pnpm build && pnpm preview

If using strategy: 'class'
import type { Config } from 'tailwindcss';
import forms from '@tailwindcss/forms';

export default {
  // ...
  plugins: [
    forms({
      strategy: 'class' // only generate classes
    })
  ]
} satisfies Config;

it seems to work.

This is within a Skeleton project as well, which might also be part of the issue as removing Skeleton (join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}') from tailwind.config.js's content makes the issue disappear, but has other (expected) issues

See Discord discussion and related repo for more context.

Problem resolved itself via Discord discussion.  Closing for now unless we identify more to investigate.


[SPARK-23898][SQL] Simplify add & subtract code generation

What changes were proposed in this pull request?
Code generation for the Add and Subtract expressions was not done using the BinaryArithmetic.doCodeGen method because these expressions also support CalendarInterval. This leads to a bit of duplication.
This PR gets rid of that duplication by adding calendarIntervalMethod to BinaryArithmetic and doing the code generation for CalendarInterval in BinaryArithmetic instead.
How was this patch tested?
Existing tests.

Test build #89036 has started for PR 21005 at commit 15c13e3.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2078/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89036/
Test PASSed.

Test build #89047 has started for PR 21005 at commit 4300003.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2088/
Test PASSed.

@maropu it seems a bit of overkill to add a separate trait for this, it also kinda nullifies the effect of this PR.
As for the CalendarInterval's support for divide and multiply. These operations have not been implemented yet, and - correct me if I am wrong - involve a CalendarInterval on the left side and an Integral on the right side; this violates the contract of BinaryArithmetic. Anyway I am not opposed to this, but I think we should do this as a part of a separate JIRA/PR.

yea, I think so and I just suggested we'd better to file a new jira for that. Thanks!

Test build #89047 has finished for PR 21005 at commit 4300003.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89047/
Test FAILed.

retest this please

LGTM

Test build #89052 has started for PR 21005 at commit 4300003.

Test build #89052 has finished for PR 21005 at commit 4300003.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89052/
Test FAILed.

retest this please

Test build #89073 has started for PR 21005 at commit 4300003.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2110/
Test PASSed.

Test build #89073 has finished for PR 21005 at commit 4300003.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89073/
Test PASSed.

Thanks! Merged to master.


Fix keyframe attribute of interpolated shapes

Motivation and context

Fixes #1934
Interpolated shapes were inserted with keyframe = True, so all exported tracks had keyframe=1 everywhere in CVAT for video and other formats.

Fixed keyframe attribute of interpolated shapes
Added tests

How has this been tested?

Unit tests
Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[x] I have added tests to cover my changes
[x] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 6589

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.03%) to 64.972%

Files with Coverage Reduction
New Missed Lines
%

cvat/apps/engine/media_extractors.py
1
77.29%

Totals

Change from base Build 6575:
0.03%

Covered Lines:
11087

Relevant Lines:
16658

💛  - Coveralls


Return Precision (of range)?

Prerequisites

[x] I searched to see if the issue already exists.

Description
My notetaking app distinguishes daily and weekly notes (fwiw also monthly, quarterly, and yearly).
go-anytime works great for targeting notes of a specific day ./notes "last friday". Now I'm trying to think of a way to target the weekly notes eg. ./notes "last week"
This of course gives me last week's day back (relative to today).
parsed_, err := anytime.Parse(args[0], time.Now())
parsedRange, _ := anytime.ParseRange(args[0], time.Now())
[...]
2024-01-21 00:00:00 -0600 CST
{time: 2024-01-21 00:00:00 -0600 CST, duration: 167h59m59s}

That is great for most uses cases, but I "lost" the precision that I wss asking for a week (or maybe a month, or a specific hour).
Would you have an idea of how to target the intended precision?
Steps to Reproduce

What you're describing here is the original motivation for including the ParseRange function. The duration that you see there is 1 week (168h/(24h/d) = 7 days) minus 1 second.
Is there a reason why you can't use that duration as the precision you're seeking? You can add a second to the duration to compensate for my admittedly stupid design choice there.

I see. For some reason I assumed that the range was computed between the parsed range and the relative now. I didn't see that it was already a "precisions".
In the end I use this to convert it to a useful type (for me):
import (
	"fmt"
	"time"
)

type TimePrecision int64

const (
	Day TimePrecision = iota
	Week
	Month
	Year
)

func (tp TimePrecision) hours() int64 {
	switch tp {
	case Day:
		duration, _ := time.ParseDuration("24h")
		return int64(duration.Hours())
	case Week:
		duration, _ := time.ParseDuration("168h")
		return int64(duration.Hours())
	case Month:
		duration, _ := time.ParseDuration("744h")
		return int64(duration.Hours())
	case Year:
		duration, _ := time.ParseDuration("8760h")
		return int64(duration.Hours())
	}
	return -1
}

func isInt(val float64) bool {
	return val == float64(int(val))
}

func BuildTimePrecision(d time.Duration) (TimePrecision, error) {
	fullDurationInHours := (d + time.Second).Hours()
	if !isInt(fullDurationInHours) {
		return -1, fmt.Errorf("Unsupported duration %s. Must be full hour.", d)
	}
	hours := int64(fullDurationInHours)

	if int64(hours/Year.hours()) == 1 {
		return Year, nil
	}

	if int64(hours/Month.hours()) == 1 {
		return Month, nil
	}

	if int64(hours/Week.hours()) == 1 {
		return Week, nil
	}

	if int64(hours/Day.hours()) == 1 {
		return Day, nil
	}

	return -1, fmt.Errorf("Unsupported duration %s. Unknown precision.", d)

}

Am I right to assume that a month is always 31 days, and a year always 365 days as part of go-anytime's understanding of a range?

If I recall correctly, that assumption is not correct. If you specify
January 2024 then you'll get a range with 31 days, whereas if you specify
February 2024 then you'll get 29 days. Also, you'll get different numbers
of days for leap years than for ordinary years.
On Sun, Feb 4, 2024 at 6:51 PM Oliver Schrenk @.***>
wrote:

I see. For some reason I assumed that the range was computed between the
parsed range and the relative now. I didn't see that it was already a
"precisions".
In the end I use this to convert it to a useful type (for me):
import (
"fmt"
"time"
)
type TimePrecision int64
const (
Day TimePrecision = iota
Week
Month
Year
)
func (tp TimePrecision) hours() int64 {
switch tp {
case Day:
duration, _ := time.ParseDuration("24h")
return int64(duration.Hours())
case Week:
duration, _ := time.ParseDuration("168h")
return int64(duration.Hours())
case Month:
duration, _ := time.ParseDuration("744h")
return int64(duration.Hours())
case Year:
duration, _ := time.ParseDuration("8760h")
return int64(duration.Hours())
}
return -1
}
func isInt(val float64) bool {
return val == float64(int(val))
}
func BuildTimePrecision(d time.Duration) (TimePrecision, error) {
fullDurationInHours := (d + time.Second).Hours()
if !isInt(fullDurationInHours) {
return -1, fmt.Errorf("Unsupported duration %s. Must be full hour.", d)
}
hours := int64(fullDurationInHours)
if int64(hours/Year.hours()) == 1 {
return Year, nil
}
if int64(hours/Month.hours()) == 1 {
return Month, nil
}
if int64(hours/Week.hours()) == 1 {
return Week, nil
}
if int64(hours/Day.hours()) == 1 {
return Day, nil
}
return -1, fmt.Errorf("Unsupported duration %s. Unknown precision.", d)
}
Am I right to assume that a month is always 31 days, and a year always 365
days as part of go-anytime's understanding of a range?
—
Reply to this email directly, view it on GitHub
https://github.com/ijt/go-anytime/issues/68#issuecomment-1926083152, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAADZKQ2TE4KEWXEHR7TU4DYSA3KJAVCNFSM6AAAAABCRLDHE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRWGA4DGMJVGI
.
You are receiving this because you commented.Message ID:
@.***>


Update gcs to write tmult values to nexus fault file

This update allows a trans_mult_uuid to be provided when using the 'write_simulator' method. If a uuid is provided, and this property exists on the gcs these values will be used as transmissibility multiplier values on the output file. If not provided, the default of 1.0 is used.

Codecov Report

Merging #567 (4223023) into master (9efa9ed) will decrease coverage by 0.04%.
The diff coverage is 77.27%.

@@            Coverage Diff             @@
##           master     #567      +/-   ##
==========================================
- Coverage   79.11%   79.06%   -0.05%
==========================================
  Files         177      177
  Lines       29674    29708      +34
==========================================
+ Hits        23477    23490      +13
- Misses       6197     6218      +21

Impacted Files
Coverage Δ

resqpy/fault/_grid_connection_set.py
83.85% <77.27%> (-0.31%)
:arrow_down:

resqpy/well/_blocked_well.py
85.84% <0.00%> (-0.95%)
:arrow_down:

resqpy/model/_xml.py
91.13% <0.00%> (-0.28%)
:arrow_down:

resqpy/olio/vector_utilities.py
55.88% <0.00%> (+0.37%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Move WebCmdlet Tests relying on HTTPS to WebListener Module

Now that #4622 has been merged. HTTPS based tests for the WebCmdlets should be moved to the WebListener and no longer rely on external sites. The HTTPS based tests should be grouped under a new context.
References #2504

@iSazonov @SteveL-MSFT  @TravisEz13  You can assign this one to me. I should have a PR for it this weekend.


checkIfClusterStarted  may be not correct.

checkIfClusterStarted  is executed when  received a MemberUp event , then in checkIfClusterStarted use cluster.state to get and filter started Member count .
The problem is sometimes the count is not correct  : received a MemberUp event ,but Member Up node's count is not already current count,(I found is realCount -1 ),may be cluster.state is not sync when received a MemberUp Event. This result the node will never become startedCluster and  it will never run the checkQuorum logic.
There is akka doc say:(at bottom of chapter  https://doc.akka.io/docs/akka/current/cluster-usage.html#subscribe-to-cluster-events)
Instead of subscribing to cluster events it can sometimes be convenient to only get the full membership state with Cluster.get(system).state(). Note that this state is not necessarily in sync with the events published to a cluster subscription.
so how to solve this problem, is it need some delay time to checkIfClusterStarted , or we record MembersUp count by my self instead of use cluster.state?

@frubby You're right. I created a pull request with a fix for this issue #5. Please take a look.


Plutopulp/pipeline build from anywhere

This PR allows for building a pipeline from any directory. Note that currently, no published package with new container stuff on pypi, so to override the pipeline-ai (user defined) package for dev, bind as volume, e.g. docker run -p 14300:14300 -v ./pipeline:/usr/local/lib/python3.10/site-packages/pipeline plutopulp/add-lol

just going to eat lunch then I'll have a gander


I get repeated authentication failure

I followed all the installation instructions, but when it gets to the part in the script below, it hangs on an authentication failure. I get the same results on OSX 10.11 and Windows 10. There is a thread about this sort of issue here, but there is no clear resolution.
vccw.dev: SSH address: <IP_ADDRESS>:2200
vccw.dev: SSH username: vagrant
vccw.dev: SSH auth method: private key
vccw.dev: Warning: Remote connection disconnect. Retrying...
vccw.dev:
vccw.dev: Vagrant insecure key detected. Vagrant will automatically replace
vccw.dev: this with a newly generated keypair for better security.
vccw.dev:
vccw.dev: Inserting generated public key within guest...
vccw.dev: Removing insecure key from the guest if it's present...
vccw.dev: Key inserted! Disconnecting and reconnecting using new SSH key...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...

Just keep waiting. Hangs for a while but then it suddenly works.
Anyway would be nice to get this fixed… :_)

I waited about 4 minutes, then I got this message. It doesn't continue after this.
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...
vccw.dev: Warning: Authentication failure. Retrying...

Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

Do you use a vagrant 1.8.5 ?
The issue is vagrant bug.
https://github.com/mitchellh/vagrant/issues/7610
Maybe it should be solved by using 1.8.4.

Yes, I was using Vagrant 1.8.5 with VirtualBox 5.1.4. I was able to get it working with Vagrant 1.8.4, but I had to first downgrade my VirtualBox to 5.0.26 because Vagrant was complaining about not finding a provider.
Also, I did try building Vagrant from sources and was eventually successful at producing a Vagrant binary (1.8.6.dev) that seemed to do the trick as well.
A third way to get around the problem I tried, which I found  here was to set
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"

in the Vagrant file.
So ultimately, this is supposed be resolved in the next release of Vagrant, but in the meantime there are a few workarounds!


There is an error in the wiki.

There is an error in the wiki.

It should be "configs"

I tried "config," but it doesn't work.

Fixed in https://github.com/ayamir/nvimdots/wiki/_compare/ce55adbe80d4b5b80a531a3c3b35b3b8c0228c87

已修复https://github.com/ayamir/nvimdots/wiki/_compare/ce55adbe80d4b5b80a531a3c3b35b3b8c0228c87

棒棒


Recognition using resnet50

closes #20

@akshitagupta15june Plzz review it

@akshitagupta15june  Also how much points do I get for this pr ?? Do I get extra 2 points each  for opening the issues in VGG19 and Resnet50 respectively????

Awesome

+20 points updated


Fixing typos (an List -> a List)

Hello from GR8Conf EU 2015

Greeting to GR8Conf EU 2015. :)

Line endings should be unmodified now

Thanks! :+1:

Thank you! Thanks for helping me demonstrate how to contribute to Groovy :D

Great first commit! Now keep them coming!


build jit with --prod

OS

Windows 7, 8 or 10

Versions.
@angular/cli: 1.0.0-beta.31
node: 6.9.5
os: win32 x64
@angular/common: 2.4.8
@angular/compiler: 2.4.8
@angular/core: 2.4.8
@angular/forms: 2.4.8
@angular/http: 2.4.8
@angular/platform-browser: 2.4.8
@angular/platform-browser-dynamic: 2.4.8
@angular/router: 3.4.8
@angular/flex-layout: 2.0.0-beta.5
@angular/cli: 1.0.0-beta.31
@angular/compiler-cli: 2.4.8
Message
I found --aot defaults to true in --prod at beta.28,so how can I build my web in --prod with JIT . I need compiler to do something in the runtime . there is no '--jit' flag I found to use.

try --no-aot.  Allow boolean options can be negated using the --no- form.

it works , thanks for your help .

Hi, I am reopening the issue because in my case it keeps complaining about lambda function.
I use:
ng build --no-aot --prod

And I receive this error:
ERROR in Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function
Thanks for the help!

@sebelga I tried to run with --no-aot and it helps me at first run. When I run the same command again I got the error about encountered resolving symbol values statically. I've investigated the @angular/cli documentation carefully and couldn't find any references about --no flag. Just found this one https://github.com/angular/angular-cli/commit/e15433e74a8832f5eec57df5776894a19dd5d344#diff-38fa56d60acdab051b2b22316bdf16acR62


Hibernate 6, postgres and jsonb columns no longer need JsonBinaryType

Hibernate 6, postgres and jsonb columns.
In the process of updating to Hibernate 6, we discovered that we no longer seem to use JsonBinaryType for our @Type defs anymore. JsonType is sufficient.
Perhaps this documentation for postgres should be updated if this special handling is no longer required?

PostgreSQL
You should use this JsonBinaryType to map both jsonb and json column types.
For more details, check out this article.

Fixed by this commit.

Thanks! We also found that JsonType worked as expected for H2 db (used in tests), but the JsonBinaryType had the unexpected behavior of wrapping the string in " and also escaping all inner "
i.e. json that should be
{"name": "joe"}

Turned into
"{\"name\": \"joe\"}"

Not sure if this happened on the insertion side or the selecting side of the cycle though.


Integration of MLSL library

This PR will break nGraph-MXNet distributed training, since ngraph kvstore uses MPI calls. Have you tested with the bridge?

@wenzhe-nrv asked me to assign this to myself; probably since some of the changes include changes to the code on the /doc/examples/mnist_mlp example, the docs here and here will need reviewed

Distributed training in the nGraph-MXNet bridge  will be updated to work with MLSL right after merge of this PR

Please have a WIP PR in place so that it can go in right after this one.

PR with update of  nGraph-MXNet bridge
https://github.com/NervanaSystems/ngraph-mxnet/pull/388

@lnguyen-nvn This PR adds support to replace OpenMPI with Intel MPI. Could you work on adding support for Intel MPI in CI (both ngraph and ngraph-mxnet)? @AlekseyMarchuk can help with Intel MPI version, how to get it, etc.

@AlekseyMarchuk CI failed somehow to fetch the code (I think the current is a fork in your repo). Could you please push this code to a branch in nGraph repo and assign only @sfvaroglu and me as reviewer since both @rkimballn1 and @jbobba both approved the PR? And close this PR after that. thanks.

Created new PR https://github.com/NervanaSystems/ngraph/pull/1520


Name Validation Error

I'm not clear what the benefit of creating a profile is since I'm only given a logout or profile option in the nav menu, but regardless... I'm unable to create a profile because my name never validates

Saving the profile is still a work in progress. I'll tried to implement it soon.

what benefit is there having a profile?

Most of the web apps have a profile page, feel free to remove it in your app. This page also serves as an example on how to write a react based frontend.
Saving the profile is now partially implemented in the master branch.

Changing the username is working right now.


Update deps

RR to v2023.3.11
PHP to 8.3.3
Go to 1.22
cockroach to v23.2.0

Wait when PHP will be 8.3.3 without RC1


FileNotFoundException: /etc/cas/thekeystore

I always get the same error message:
2017-02-17 10:50:07,199 ERROR [org.apache.tomcat.util.net.SSLUtilBase] - <Failed to load keystore type [JKS] with path [file:/etc/cas/thekeystore] due to [/etc/cas/thekeystore (No such file or directory)]>
java.io.FileNotFoundException: /etc/cas/thekeystore (No such file or directory)
        at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_77]

I checked the "/etc/cas/thekeystore" file found that does not exist, I try to create such a path, but the follow-up was covered.
I think it is "$ {APP_HOME}/etc/cas" The following file overwrites it, so manually creating the keystore file under this path, but the strange thing is that this file has not been copied in the past.

Either create the keystore, or change its location to point to an existing keystore.

I obtained two files from the certificate management website, namely "xx.crt" and "xx.key". I used the following method to generate the above missing files:
keytool -keystore keystore -import -alias security-dev -file /usr/local/nginx/xx.crt -trustcacerts

Then I am in the "cas.properties" file is configured as follows...
# Embedded Tomcat
server.ssl.keyStore: file:/etc/cas/config/keystore
server.ssl.keyStorePassword=xxxx
server.ssl.keyPassword=xxxx

My question is the whole process are not used to "xx.key", I can not find the place to configure it, please give me more tips, thank you!
I did not find the corresponding attribute in this link https://apereo.github.io/cas/5.0.x/installation/Configuration-Properties.html

CAS (or Spring Boot) really just looks at server.ssl.keystore to find your certificate. How you create that keystore is up to you, and it's not a CAS project concern really. Either you have misconfigured the keystore, or you put the setting in a place that CAS/Boot is not looking. Examine your configuration, your settings and study the configuration profiles. It's likely that your build is not looking at the cas.properties file, or the file is misplaced.

Here is the key:
https://apereo.github.io/cas/5.0.x/installation/Configuration-Properties.html#embedded-tomcat
Also:
https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html

The problem initially raised has been solved, but now there is a new problem, the program is stopped during the startup process, and there is no task error level prompt.
[allen@localhost cas-server]$ ./gradlew bootRun
Starting a Gradle Daemon (subsequent builds will be faster)
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
        at build_aunsf55on4umafo74n30sbe5k$_run_closure1.doCall(/www/allen/cas-server/build.gradle:16)
Copying configuration /www/allen/cas-server/etc/cas/config to /etc/cas/config
:cas:compileJava UP-TO-DATE
:cas:processResources UP-TO-DATE
:cas:classes UP-TO-DATE
:cas:findMainClass
:cas:bootRun

  __  ____     _     ____  __
 / / / ___|   / \   / ___| \ \
| | | |      / _ \  \___ \  | |
| | | |___  / ___ \  ___) | | |
| |  \____|/_/   \_\|____/  | |
 \_\                       /_/

CAS Version: 5.0.2
Apache Tomcat Version: Apache Tomcat/8.5.9
Build Date/Time: 2017-02-16T10:19:44Z
System Temp Directory: /tmp
Java Home: /usr/local/jdk1.8.0_77/jre
Java Vendor: Oracle Corporation
Java Version: 1.8.0_77
JCE Installed: no
OS Architecture: amd64
OS Name: Linux
OS Version: 2.6.32-573.18.1.el6.x86_64

2017-02-17 17:14:37,174 WARN [org.apereo.cas.services.InMemoryServiceRegistryDaoImpl] - <Runtime memory is used as the persistence storage for retrieving and persisting service definitions. Changes that are made to service definitions during runtime WILL be LOST upon container restarts.>
2017-02-17 17:14:51,744 WARN [org.apereo.cas.config.CasSecurityContextConfiguration] - <>
2017-02-17 17:14:51,756 WARN [org.apereo.cas.config.CasSecurityContextConfiguration] - <

 ____   _____   ___   ____   _
/ ___| |_   _| / _ \ |  _ \ | |
\___ \   | |  | | | || |_) || |
 ___) |  | |  | |_| ||  __/ |_|
|____/   |_|   \___/ |_|    (_)

CAS is configured to accept a static list of credentials for authentication.
While this is generally useful for demo purposes, it is STRONGLY recommended
that you DISABLE this authentication method (by SETTING 'cas.authn.accept.users'
to a blank value) and switch to a mode that is more suitable for production.
>
2017-02-17 17:14:51,770 WARN [org.apereo.cas.config.CasSecurityContextConfiguration] - <>
2017-02-17 17:15:23,228 WARN [org.apereo.cas.ticket.registry.DefaultTicketRegistry] - <Runtime memory is used as the persistence storage for retrieving and managing tickets. Tickets that are issued during runtime will be LOST upon container restarts. This MAY impact SSO functionality.>
2017-02-17 17:15:23,515 WARN [org.apereo.cas.util.cipher.TicketGrantingCookieCipherExecutor] - <Secret key for encryption is not defined. CAS will attempt to auto-generate the encryption key>
2017-02-17 17:15:23,542 WARN [org.apereo.cas.util.cipher.TicketGrantingCookieCipherExecutor] - <Generated encryption key ZRD6C_jVB6MUJZMWhqN7aF3PSZPn11H2Ct5otjaBb2s of size 256. The generated key MUST be added to CAS settings.>
2017-02-17 17:15:23,554 WARN [org.apereo.cas.util.cipher.TicketGrantingCookieCipherExecutor] - <Secret key for signing is not defined. CAS will attempt to auto-generate the signing key>
2017-02-17 17:15:23,555 WARN [org.apereo.cas.util.cipher.TicketGrantingCookieCipherExecutor] - <Generated signing key 8yklzb0P5kd_t2FT4E7foEtVoB7W_xg6qIe-66tIpcetJVtcg0jFFItn_qupUNfP4eU3rtULXXghW5jQ0rZFwQ ofsize 512. The generated key MUST be added to CAS settings.>
2017-02-17 17:15:25,983 WARN [org.apereo.cas.util.cipher.WebflowConversationStateCipherExecutor] - <Secret key for signing is not defined. CAS will attempt to auto-generate the signing key>
2017-02-17 17:15:25,985 WARN [org.apereo.cas.util.cipher.WebflowConversationStateCipherExecutor] - <Generated signing key pg_Cw-LgaphvTe5yMGc21NVro-yarG9TvKdTeKHe1QYD7_iiky0blq5DphYBPAPNcsMpaUS_ifoPZiDvvRNpkw of size 512. The generated key MUST be added to CAS settings.>
2017-02-17 17:15:25,987 WARN [org.apereo.cas.util.cipher.WebflowConversationStateCipherExecutor] - <No encryption key is defined. CAS will attempt to auto-generate keys>
2017-02-17 17:15:25,989 WARN [org.apereo.cas.util.cipher.WebflowConversationStateCipherExecutor] - <Generated encryption key YaIOyzPVrLKBaMee of size 16. The generated key MUST be added to CAS settings.>
> Building 80% > :cas:bootRun

I waited for a long time, but the procedure seemed to have stopped. Here is my profile:
# CAS Server
cas.server.name: https://cas.xxx.com:8443
cas.server.prefix: https://cas.xxx.com:8443/cas

# Admin Status Endpoints
cas.adminPagesSecurity.ip=127\.0\.0\.1

# Logging
logging.config: file:/etc/cas/config/log4j2.xml

# Resource-based Service Registry
# cas.serviceRegistry.config.location: classpath:/services

# Embedded Tomcat
server.contextPath=/cas
server.port=8443
server.ssl.keyStore: file:/etc/cas/config/keystore
server.ssl.keyStorePassword=xxxx
server.ssl.keyPassword=xxxx

Adjust logs to see more of tomcat, or run with Boot's debug flag to see what might be going on.

I suggest that you provide a quick start document, like some other open source projects, the document has a chapter dedicated to minimize the operation of the project, so that beginners get the most real experience. Such as adding a section, the name is ten minutes This is the most real request for me as a beginner.
I'm sure some configurations need to be modified because the default configuration can not start the project at all, so it is certain that the configuration is not set correctly. I need a little bit of scheduling, which increases the difficulty of learning CAS projects.
Next, I plan to adjust the log level to DEBUG in order to confirm what the problem has led to the construction of the action to 80 percent, and then the terminal on the cardton there.

The process is blocked when the log content, please help me analyze what is the reason?
2017-02-18 12:19:24,920 DEBUG [org.springframework.integration.transaction.PseudoTransactionManager] - <Initiating transaction commit>
2017-02-18 12:20:24,837 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Loading services from InMemoryServiceRegistryDaoImpl>
2017-02-18 12:20:24,837 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Adding registered service ^(https|imaps)://.*>
2017-02-18 12:20:24,837 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Adding registered service ^https://www.apereo.org>
2017-02-18 12:20:24,837 INFO [org.apereo.cas.services.DefaultServicesManagerImpl] - <Loaded 2 services from InMemoryServiceRegistryDaoImpl.>
2017-02-18 12:20:24,921 DEBUG [org.springframework.integration.transaction.PseudoTransactionManager] - <Creating new transaction with name [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner.clean]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT; 'ticketTransactionManager'>
2017-02-18 12:20:24,921 DEBUG [org.springframework.web.context.support.SpringBeanAutowiringSupport] - <Current WebApplicationContext is not available for processing of DefaultTicketRegistryCleaner: Make sure this class gets constructed in a Spring web application. Proceeding without injection.>
2017-02-18 12:20:24,921 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Attempting to acquire ticket cleanup lock.>
2017-02-18 12:20:24,921 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Acquired lock.  Proceeding with cleanup.>
2017-02-18 12:20:24,921 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <0 expired tickets found.>
2017-02-18 12:20:24,921 INFO [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <0 expired tickets removed.>
2017-02-18 12:20:24,921 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Releasing ticket cleanup lock.>
2017-02-18 12:20:24,921 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Finished ticket cleanup.>
2017-02-18 12:20:24,921 DEBUG [org.springframework.integration.transaction.PseudoTransactionManager] - <Initiating transaction commit>
2017-02-18 12:21:24,838 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Loading services from InMemoryServiceRegistryDaoImpl>
2017-02-18 12:21:24,838 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Adding registered service ^(https|imaps)://.*>
2017-02-18 12:21:24,838 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Adding registered service ^https://www.apereo.org>
2017-02-18 12:21:24,838 INFO [org.apereo.cas.services.DefaultServicesManagerImpl] - <Loaded 2 services from InMemoryServiceRegistryDaoImpl.>
2017-02-18 12:21:24,922 DEBUG [org.springframework.integration.transaction.PseudoTransactionManager] - <Creating new transaction with name [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner.clean]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT; 'ticketTransactionManager'>
2017-02-18 12:21:24,922 DEBUG [org.springframework.web.context.support.SpringBeanAutowiringSupport] - <Current WebApplicationContext is not available for processing of DefaultTicketRegistryCleaner: Make sure this class gets constructed in a Spring web application. Proceeding without injection.>
2017-02-18 12:21:24,922 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Attempting to acquire ticket cleanup lock.>
2017-02-18 12:21:24,922 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Acquired lock.  Proceeding with cleanup.>
2017-02-18 12:21:24,922 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <0 expired tickets found.>
2017-02-18 12:21:24,922 INFO [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <0 expired tickets removed.>
2017-02-18 12:21:24,922 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Releasing ticket cleanup lock.>
2017-02-18 12:21:24,922 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Finished ticket cleanup.>
2017-02-18 12:21:24,922 DEBUG [org.springframework.integration.transaction.PseudoTransactionManager] - <Initiating transaction commit>
2017-02-18 12:22:24,838 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Loading services from InMemoryServiceRegistryDaoImpl>
2017-02-18 12:22:24,839 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Adding registered service ^(https|imaps)://.*>
2017-02-18 12:22:24,839 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Adding registered service ^https://www.apereo.org>
2017-02-18 12:22:24,839 INFO [org.apereo.cas.services.DefaultServicesManagerImpl] - <Loaded 2 services from InMemoryServiceRegistryDaoImpl.>
2017-02-18 12:22:24,923 DEBUG [org.springframework.integration.transaction.PseudoTransactionManager] - <Creating new transaction with name [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner.clean]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT; 'ticketTransactionManager'>
2017-02-18 12:22:24,923 DEBUG [org.springframework.web.context.support.SpringBeanAutowiringSupport] - <Current WebApplicationContext is not available for processing of DefaultTicketRegistryCleaner: Make sure this class gets constructed in a Spring web application. Proceeding without injection.>
2017-02-18 12:22:24,923 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Attempting to acquire ticket cleanup lock.>
2017-02-18 12:22:24,923 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Acquired lock.  Proceeding with cleanup.>
2017-02-18 12:22:24,923 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <0 expired tickets found.>
2017-02-18 12:22:24,923 INFO [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <0 expired tickets removed.>
2017-02-18 12:22:24,923 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Releasing ticket cleanup lock.>
2017-02-18 12:22:24,923 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Finished ticket cleanup.>
2017-02-18 12:22:24,923 DEBUG [org.springframework.integration.transaction.PseudoTransactionManager] - <Initiating transaction commit>
> Building 80% > :cas:bootRun

The following is the content just printed out, just as I write the current comment.
> Building 80% > :cas:bootRun
2017-02-18 12:23:24,839 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Loading services from InMemoryServiceRegistryDaoImpl>
2017-02-18 12:23:24,839 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Adding registered service ^(https|imaps)://.*>
2017-02-18 12:23:24,840 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Adding registered service ^https://www.apereo.org>
2017-02-18 12:23:24,840 INFO [org.apereo.cas.services.DefaultServicesManagerImpl] - <Loaded 2 services from InMemoryServiceRegistryDaoImpl.>
2017-02-18 12:23:24,924 DEBUG [org.springframework.integration.transaction.PseudoTransactionManager] - <Creating new transaction with name [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner.clean]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT; 'ticketTransactionManager'>
2017-02-18 12:23:24,924 DEBUG [org.springframework.web.context.support.SpringBeanAutowiringSupport] - <Current WebApplicationContext is not available for processing of DefaultTicketRegistryCleaner: Make sure this class gets constructed in a Spring web application. Proceeding without injection.>
2017-02-18 12:23:24,924 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Attempting to acquire ticket cleanup lock.>
2017-02-18 12:23:24,924 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Acquired lock.  Proceeding with cleanup.>
2017-02-18 12:23:24,924 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <0 expired tickets found.>
2017-02-18 12:23:24,924 INFO [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <0 expired tickets removed.>
2017-02-18 12:23:24,924 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Releasing ticket cleanup lock.>
2017-02-18 12:23:24,924 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Finished ticket cleanup.>
2017-02-18 12:23:24,924 DEBUG [org.springframework.integration.transaction.PseudoTransactionManager] - <Initiating transaction commit>
2017-02-18 12:24:24,840 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Loading services from InMemoryServiceRegistryDaoImpl>
2017-02-18 12:24:24,840 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Adding registered service ^(https|imaps)://.*>
2017-02-18 12:24:24,840 DEBUG [org.apereo.cas.services.DefaultServicesManagerImpl] - <Adding registered service ^https://www.apereo.org>
2017-02-18 12:24:24,840 INFO [org.apereo.cas.services.DefaultServicesManagerImpl] - <Loaded 2 services from InMemoryServiceRegistryDaoImpl.>
2017-02-18 12:24:24,925 DEBUG [org.springframework.integration.transaction.PseudoTransactionManager] - <Creating new transaction with name [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner.clean]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT; 'ticketTransactionManager'>
2017-02-18 12:24:24,925 DEBUG [org.springframework.web.context.support.SpringBeanAutowiringSupport] - <Current WebApplicationContext is not available for processing of DefaultTicketRegistryCleaner: Make sure this class gets constructed in a Spring web application. Proceeding without injection.>
2017-02-18 12:24:24,925 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Attempting to acquire ticket cleanup lock.>
2017-02-18 12:24:24,925 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Acquired lock.  Proceeding with cleanup.>
2017-02-18 12:24:24,925 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <0 expired tickets found.>
2017-02-18 12:24:24,925 INFO [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <0 expired tickets removed.>
2017-02-18 12:24:24,925 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Releasing ticket cleanup lock.>
2017-02-18 12:24:24,925 DEBUG [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <Finished ticket cleanup.>
2017-02-18 12:24:24,925 DEBUG [org.springframework.integration.transaction.PseudoTransactionManager] - <Initiating transaction commit>
> Building 80% > :cas:bootRun


 There is need to redo things in right way.
See #344

[ ] Should repeat URL struct at package level (/api/links) should be api.links package
[ ] Naming MethodItemRestController (example:  DeleteLinkRestController)
[ ] Return ResponseEntity
[ ] Dokumentation

https://stackoverflow.blog/2020/03/02/best-practices-for-rest-api-design/


Prepare official 1.1.7 release

Once people test and confirm it's good to go.

I plan on releasing this on 06/01 barring any more bug reports.


Test - added  tests to jest-test-result action

:tada: This PR is included in version 1.5.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add support for dynamic time integrators and riemann solvers

Is your feature request related to a problem? Please describe.
For some models, like the shallow water equations or the compressible navier stokes, we want to have a suite of choices for the integrators, riemann solvers, or source terms.
Describe the solution you'd like
To allow for dynamic selection of these methods within main programs, we can use procedure pointers as attributes in the SELF_Model* classes for these methods. The SELF_Model module can define all of the time integrators and default riemann solver methods that do nothing. The individual models (shallow water, compressible ideal gas, etc.) can define the suite of Riemann solvers that can be selected in main programs doing something like
! Set the time integrator
this % TimeIntegrator => SELF_RK3()

! Set the Riemann Solver
this % RiemannSolver => SELF_LocalLaxFriedrichs_CompressibleIdealGas()

https://riptutorial.com/fortran/example/11869/referencing-a-procedure
Describe alternatives you've considered
In the code we currently use an integer flag for the time integrator and a SELECT CASE block for running with the correct time integrator. As we add more integrators, we'll need to continue writing this boiler-plate code. With procedure pointers, we can write the subroutines, and simply allow for the user to assign the procedure pointer in their program.
Additional context
Procedure Pointers example

So far, this feature is working well for time integrators in the SELF_Model class. Users can assign the time integrator using the model % timeIntegrator procedure pointer attribute. I've added explicit integrators that are being verified ( AB2, AB3, AB4, RK2, RK4)


oversized icon - bland queso pumping in queso river

Fixed in v0.31.5, feel free to reopen if you're still seeing the issue.


Added Sneat Vuetify VueJS Admin Template

General

✏ Mark the necessary items without changing the structure of the PR template.

[x] Pull request template structure not broken

Type

ℹ  What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[ ] Fix
[ ] Feature

Checklist

ℹ  Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉  Put an x in the boxes that apply.

[x] Title as described
[x] Make sure you put things in the right category!
[x] Always add your items to the end of a list

Open Source

[ ] Link description does not contain a link to an author / third-party resource
[ ] The documentation (README) contains a description of the project, illustration of the project with a demo or screenshots and a CONTRIBUTING section
[ ] The documentation is in English.
[ ] The project is active and maintained.
[ ] The project accepts contributions.
[ ] Not a commercial product

Apps/Websites

[ ] The website is available without errors or ssl certificate problems, and load in a reasonable amount of time.
[ ] The website is using vuejs intensively. It should detect vue with vue-devtools.

If you cannot detect vue with vue-devtools due to work at non public pages (e.g. for enterprise website), you can send Pull Request with screenshot that detected it.

[ ] The website is original and not too simple. For that reason, blogs and simple landing pages are rejected.
[ ] A commercial product using Vue, provided that guests could reasonably check out how Vue was used (i.e. A headless CMS which uses Vue for the Admin/editor Area and offers a free tier).

I have placed it on https://github.com/vuejs/awesome-vue#commercial-products which is for commercial products.  It would be great if you can guide me to understand which category should it be placed in.

Its not open source, nor is it an app/site on its own.

I have placed it on https://github.com/vuejs/awesome-vue#commercial-products which is for commercial products. It would be great if you can guide me to understand which category should it be placed in.

It does not comply with:

A commercial product using Vue, provided that guests could reasonably check out how Vue was used (i.e. A headless CMS which uses Vue for the Admin/editor Area and offers a free tier).


South migration is broken

Hi there, when I run python manage.py migrate I get the error:
django.core.exceptions.ImproperlyConfigured: App with label cron could not be found
django_cron is installed in installed apps as described!
Thanks

Might have been a bug. Should be fixed now. Thanks for reporting!


Garbage arrives in payload?

I have node-red v0.19.3 running on armbian on an orangepi zero.
I have a snap of mosquitto running on the orangepi zero, so it is running default settings with no fiddling by me.
I have a WEMOS D1 R2 MINI as client.
I sent a payload of 123456 from node-red as either string or number (I have tried byte buffer as well to no avail).
Even if I hand unpack the payload byte by byte at WEMOS end, I get chars 2,3,8,3,,r instead of 1,2,3,4,5,6 or bytes [49,50,51,52,53,54] so it looks like I am receiving [50,51,56,51,0,114] instead.
Payload is sent using out of the box inject node loaded with string 123456 as payload and sent by out of the box mqtt output node.
Unpacking at WEMOS end is otherwise the standard:
String resultString = "";
for (unsigned int i=0; i<length; i++) {
resultString += (char)payload[i];
}
I am otherwise not having problems with the topics since, obviously, I need to catch a topic to see the problem with the payload.
Topic length is a mere 28 characters of the format:
/xxxxxxxxxxxxxx/yyyyyyy/z/f
xxxxxxxxxxxxxx is the app I am building and is there to set it apart from other app I am running through the MQTT server.  I have tried shortening this to xx but that did not make any difference.
yyyyyyy will be the chipID of the WEMOS I am talking to
z is a relay index on the WEMOS
f is 0 for off or 1 for on
The errant payload is a time it milliseconds for the relay to turn on.
I have only one topic using the payload.
I am otherwise stuck at the moment as it is quite a straight forward payload unpacking problem, using code other people have used. The length being returned with the payload always appears to be the length of the string I have sent.
I set up a node-red mqtt listener on the topic and the string arrives back from the mqtt fine to the node-red server.
Any ideas please?
Cheers,
A

https://github.com/knolleary/pubsubclient/issues/928


Game update (14059)

Game update (14059)

dwViewAngles is apart of offsets so offsets.json.

That I'm not too sure of. I haven't needed to manually reverse offsets and strucs in awhile since A2X handles most of it.