Consider displaying the hooks failed if any of the commands failed during deployment

Hi,
I'm running a D8 environment, drush 8.1.15 on platform. My config yamls were not being implemented on my platform environment after committing these changes to the environment.
After a couple hours of troubleshooting, I ssh'ed into the environment and I decided to run the hooks in my D8 environment's .platform.app.yaml. While running drush -y config-import while ssh'ed into the environment (one of the same commands that is run as a hook in platform.app.yaml, I received an error that the configuration import had failed because there was configuration yaml present for a module that was no longer installed.
Perhaps I'm naive, but I reasoned that because no error output displayed in the console following git push platform nameenvironment, the problem wasn't immediately with the configuration-import (or with any of the hooks/drush commands that are run). I assumed that if any of those commands failed and would return an error, the output would be included.
I would really appreciate that you would include any error output of the drush commands or any other hooks, in the output to the terminal after issuing git push platform nameofenvironment.
I did read https://docs.platform.sh/configuration/app/build.html#hooks but that has by default, that only the last hook; there may be reasons to continue even if the first or 2nd action fails;

That sounds good, but it's not something the CLI can do directly; it's a feature request for the platform.sh Git component.
The full output of the deploy hook is logged to /var/log/deploy.log, which can be read via platform log deploy (for a running environment).
Just to explain the "last hook" issue: treat each of the "build hook" and "deploy hook" as single shell scripts. Like any shell script, all the commands in the script will be run, and the exit code of the final command determines the exit code of the script. Unless you switch on the errexit flag using the command set -e, which means any failing command will cause the script to exit immediately. More reading via https://stackoverflow.com/a/19622569


The Nov. 2013 articles are probably mis-dated

Is this even worth fixing? I think the day and month were added to those articles in a non-standard order. There are probably other instances of the same and those just stick out.

[ ] ask kyle what he thinks
[ ] if he says yes, add to final import tasks

Answer: Kyle doesn't care. Leave it.


Update ProfileFile link to ProjectLayout class in working_with_files.adoc

Fixes wrong link in Gradle user manual: The copying_single_file_example should not link to Project.file as it is not used in the example
This is a Documentation change ONLY.
Context
This has been requested as per issue: https://github.com/gradle/gradle/issues/24500

@bot-gradle test bd

I've triggered the following builds for you:

BuildDistributions build

@bot-gradle test and merge

I've triggered a build for you.

Pre-tested commit build failed.

I've triggered a build for you.


Fix typo in line 75 of README.md

Simple PR to fix a small typo in README.md.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Ignore case when comparing string values

Hi when I tested the demo the string values are not ignore case comparision. I'm using "RuleExpressionType": "LambdaExpression".
for example
if I have an expression
"Expression": "input1.country== "india""
input1.country.Contains("ind")
pass the country value india the result will be true. however if change the case to INDIA or India the result is giving false.
Is there a way I can say to rule engine to use ignore case when comparing strings

Hello,
You can just tell the expression to be case insensitive when comparing them, like you would when comparing strings in .NET.
Something like this:
"Expression": "input1.country.Contains("india",StringComparison.OrdinalIgnoreCase) == true"

@gvsireesh i am closing this issue since @David-Moreira has provided the correct answer. Feel free to reopen this if you are still facing this issue


New version: Baidu.BaiduNetdisk version 7.30.5

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.4 schema?


i am not able to add my username

not able to create my username here

Your PR checks were failing for different reasons. Your latest PR #109 passed the pipeline and it's been merged

links.dev/registry.yaml
my name registered on this file but https://links.dev/mohanshetty this showing page not found

You can look at the FAQ section for the reason. In the meantime, I
invalidated the cache for you.
On Tue, Dec 27, 2022 at 12:33 PM mohanshetty @.***>
wrote:

links.dev https://github.com/fatih-yavuz/links.dev/registry.yaml
my name registered on this file but https://links.dev/mohanshetty this
showing page not found
—
Reply to this email directly, view it on GitHub
https://github.com/fatih-yavuz/links.dev/issues/110#issuecomment-1365837843,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEMGXREVBER6XDVUV5X5AO3WPLHZXANCNFSM6AAAAAATKLB7M4
.
You are receiving this because you commented.Message ID:
@.***>

now working thank you

How to add custom js like adding custom css


OsuApi ApiKey attribute is readonly

As title says, it is readonly.
https://puu.sh/EDTcG/aa7ded9bd5.png
Can't set it like that.

Example needs an update. It doesn't use
IOsuSharpConfiguration IConfig = new OsuSharpConfiguration()

My bad. The "fully fledged example" does contain it. Sorry for this.


Update Composer dependencies (2022-03-30-00-06)

Visual regression test passed!
View the visual regression test report


Used any to pass config values

based on https://github.com/openvinotoolkit/openvino/pull/7750

CI passed: https://github.com/intel-innersource/frameworks.ai.openvino.ci.product-configs/pull/666


[Feature Request] Mark nonnullable attributes as required in RESTApiHandler get requests

When using the RESTApiHandler and OpenAPI plugin, the return types for attributes in a get request are currently all optional (<type> | undefined). Since JSON:API responses always include all the attributes, they should not be marked as optional. This can be achieved with listing the attributes in a required array in the openapi schema.
Basically what we want is for the attributes to go from e.g.
Before
{
  myString: string | undefined
  myNullableString: string | null | undefined
}

After
{
  myString: string
  myNullableString: string | null
}

See Discord discussion for more details.
This change does not apply to RPCApiHandler since it allows selecting which attributes to return, so they're all optional in practice.

Hi @thomassnielsen , JSON:API actually has a feature called sparse fieldset that allows selecting fields per type:
https://jsonapi.org/format/#fetching-sparse-fieldsets
It's not implemented by ZenStack yet, but we may add it in the future. Does the current optional typing affect you adversely in some way?

It's not implemented by ZenStack yet, but we may add it in the future. Does the current optional typing affect you adversely in some way?

We're using Zenstack to remove direct db access for a project and instead going through an API. If Zenstack had non-optional typing we could replace the Prisma calls with a generated API client as a drop in replacement. As it stands, we either need to override the types or rewrite the code to handle optionals.
I think it makes sense for Zenstack to require these fields as long as sparse fieldset is not implemented, and probably also only use optional types when sparse fieldset is in use.
I may have some time to look at implementing this (required fields, not sparse fieldsets yet) tomorrow or next week.

It's not implemented by ZenStack yet, but we may add it in the future. Does the current optional typing affect you adversely in some way?

We're using Zenstack to remove direct db access for a project and instead going through an API. If Zenstack had non-optional typing we could replace the Prisma calls with a generated API client as a drop in replacement. As it stands, we either need to override the types or rewrite the code to handle optionals.
I think it makes sense for Zenstack to require these fields as long as sparse fieldset is not implemented, and probably also only use optional types when sparse fieldset is in use.
I may have some time to look at implementing this (required fields, not sparse fieldsets yet) tomorrow or next week.

I see. Yes, I agree with making the fields non-optional. We can revisit this when implementing the feature. A PR is greatly appreciated as always!


Authy.download fails

Unfortunately your Authy.download recipe is failing due to a curl error:
% autopkg run -v Authy.download
Processing Authy.download...
URLTextSearcher
URLTextSearcher: Found matching text (url_to_download): https://electron.authy.com/download?channel=stable&arch=x64&platform=darwin&version=latest&product=authy
URLDownloader
Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://electron.authy.com/download?channel=stable&arch=x64&platform=darwin&version=latest&product=authy', '--fail', '--output', '/Users/gpugh/Library/AutoPkg/Cache/local.download.Authy/downloads/tmp6mrgu6tw']' returned non-zero exit status 22.
Failed.

If the --location flag is removed, the curl command will succeed, but in discussion with @nmcspadden this is not possible without building out your own processor. He says you can supply a raw curl command which can be read by the URLGetter from within your own processor, but I haven't had time to figure out how to do this - it doesn't seem to be documented.

It is indeed documented: https://github.com/autopkg/autopkg/wiki/Downloading-from-the-Internet-in-Custom-Processors#bring-your-own-building-blocks-with-selfdownload_with_curlcurl_cmd

I decided to take a stab at this, and I was barking slightly up the wrong tree. The problem is that the URL that is grabbed during the redirect contains a space:
https://s3.amazonaws.com/authy-electron-repository-production/authy/stable/1.8.3/darwin/x64/Authy Desktop-1.8.3.dmg

curl seemingly cannot handle this, although Safari can.
So, I created a new processor URLDownloaderForAuthy, which is a copy-paste of the standard URLDownloader processor, and functions the same by default. But, I added an additional key prefetch_and_encode_redirect_url, which, when True, pre-fetches the redirect URL and encodes it, before continuing on to get the content of the redirected URL. This is achieved largely through a new function, also with the name prefetch_and_encode_redirect_url.
I could attempt to PR URLDownloader itself to add this functionality, but I'm not sure if it would be accepted. Anyway, it solves the problem for Authy.

That feels like the wrong solution to me. The URL should be escaped before it gets handled, which implies that either there's a bug in the URL collation happening in URLDownloader, or that something about the download recipe is passing in a value at the wrong time.

I guess it's an edge case that a URL would contain a space, more so the redirect URL, not the one supplied by the recipe. News to me that a URL could even have a space in it! Maybe it's a curl headers artefact.
But, I don't see another way to fix the problem when it's the URL being obtained by curl's redirect_url that has the space in it. But of course, open to ideas and especially open to it being solved in URLDownloader itself.

URLs can't actually contain spaces; the browsers automatically convert spaces to %20. Looks like Authy's redirect to Amazon assumes it will always come from a browser that does that for them, because they're being lazy.
I think it makes more sense to add the escaping of URLs a bit farther up the chain in URLDownloader, then...

Upstream issue fixed in curl 7.67.0: https://github.com/curl/curl/issues/4445

Unfortunately, we have to work with what Apple give us:
gpugh@Grahams-M1-MacBook-Air ~ % curl --version
curl 7.64.1 (x86_64-apple-darwin20.0) libcurl/7.64.1 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.41.0
Release-Date: 2019-03-27
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz MultiSSL NTLM NTLM_WB SPNEGO SSL UnixSockets

Unfortunately, we have to work with what Apple give us:

Agreed.  I just wanted to share that the root cause of the issue was in the client.  As a server guy, I couldn't let the accusation of laziness on the server side go unanswered.  :smile:

This can be fixed by using the brew version of curl ...
<key>CURL_PATH</key> 				<string>/usr/local/Cellar/curl/7.75.0/bin/curl</string>
Or scraping the url from from the appcast url in the macupdater.net authy.rb
It would seem that the folk(s) at corecode.io have written the code necessary to clean spaces and other nasty bits from poorly constructed redirects.
https://macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://electron.authy.com/download%3Fchannel=stable%26arch=x64%26platform=darwin%26version=latest%26product=authy

Unfortunately, we have to work with what Apple give us:

Agreed. I just wanted to share that the root cause of the issue was in the client. As a server guy, I couldn't let the accusation of laziness on the server side go unanswered. 😄

To be clear though, this isn't technically a curl issue. It's an issue with Authy making a lazy assumption and providing an invalid url with a space in it. The curl project looks to have given up and allowed now allows malformed url's that have spaces.

I still feel that the only short-term solution is to use a custom processor such as the one I have included in my PR #10. I guess I can use my own fork in the meantime.

  I agree that a custom processor is the "right" way to go, but unless your changes were folded into the primary autopkg URLDownloader tying this a Authy Desktop download recipe to an up-to-date curl from brew is easier on my brain. For me it's less overhead and and a current curl is easier to maintain than yet another processor.
All that said, bravo, on the processor. Considering 10.12.1 has a curl build from March 2019, the functionality you added should probably get into URLDownloader as we're likely not going to see curl 7.67.0+ for some time.

I don't want to install brew on my AutoPkg server :) And, that would be unscalable for those people with ephemeral AutoPkg runners.
I'm not sure whether it's worth editing URLDownloader for apparently one broken recipe due to lazy app development, especially when there is a prospect of it being fixed via an update to curl.
I guess another alternative, which would improve the predictability of AutoPkg, would be to bundle a known version of curl in with the AutoPkg package. @nmcspadden any comments on that?

Or barring a the overhead of bundling a known curl, perhaps a CURL_PATH like the GIT_PATH in the com.github.autopkg preference domain?

I note that my fork is no longer successfully downloading the DMG. This recipe is therefore currently dead in all its forms, with no obvious fix. I've reached out to Twilio support to see if they have a solution such as an alternative URL.

Any luck with that?


Incorrect Model Fit

Hi @AliciaSchep
I am having difficulties with the model fit for NucleoATAC. The model is fitting to all my reads, which includes FR and RF reads. The FR read insert length patterns match closely with my ATAC Tn5 banding patterns and expected output from this technique whilst the RF reads do not. I am unsure on how to exclude these, as a result the model may be over-representing the NFR regions and under-representing the nucleosome reads.
Can you comment on how the model affects the output of NucleoATAC? If I use my own insert length file, based on the FR reads only, this finds fewer NFR regions and nucleosome positions.

Can you include some plots of the fragment size to show what you mean?

Hi @AliciaSchep. I have attached the insert length histogram from Picard as well as the model for the NucleoATAC using the default setting under "nucleoatac run'' and when I use my own insert length text file based on the FR reads only.
ATAC_FACS_Pool_Merged_insert_size_histogram.pdf
nucleoATAC_Default.occ_fit.pdf
nucleoATAC_FR_Read_Ins_Leng.occ_fit.pdf

The RF reads, could they be due to smaller read lengths <75bp (75bp PE sequencing, NEXTSeq) and these reads overlapping and being mapped in the wrong orientation, but are reads to be included in the analysis? If so, the model from NucleoATAC would be correct?

I would recommend re-examining how the adapter trimming & alignment is being performed, because there should be no reason for the RF reads to have different distribution than FR, and the sharp cutoff suggests that there is some kind of issue with the alignment that RF framgents longer than the read length are not getting mapped. There also seems to be a general dip of fragments around the read length for the FR reads, which also suggests that the adapter trimming isn't being fully effective at catching cases when only a couple of basepairs of adapter are included.
In general, the fragment length distribution from NucleoATAC might be a little bit different than what you get from Picard because only fragments within the peaks are queried.

Hi Alicia. Thanks, I have been using trim_galore to do the adapter trimming. Would you recommend using the "-nextera" option or the "-a (sequence adapter)." Unless you have another trimming tool you find works better?
I am getting 90-95% mapping for my libraries with Bowtie2 on default settings, except "-X 2000."


Cannot create /etc/sysconfig/nomad

I spun up 2 servers. One using the consul module and one with the nomad module.
The consul module worked perfectly, the nomad module gives warning
Error: Cannot create /etc/sysconfig/nomad; parent directory /etc/sysconfig does not exist
Error: /Stage[main]/Nomad::Config/File[/etc/sysconfig/nomad]/ensure: change from 'absent' to 'directory' failed: Cannot create /etc/sysconfig/nomad; parent directory /etc/sysconfig does not exist

cat /etc/issue
Ubuntu 18.04.2 LTS \n \l

Debug: Exec[/opt/staging/nomad/nomad-0.9.3.zip](provider=posix): Executing 'curl  -f -L -o /opt/staging/nomad/nomad-0.9.3.zip https://releases.hashicorp.com/nomad/0.9.3/nomad_0.9.3_linux_amd64.zip'
Debug: Executing: 'curl  -f -L -o /opt/staging/nomad/nomad-0.9.3.zip https://releases.hashicorp.com/nomad/0.9.3/nomad_0.9.3_linux_amd64.zip'
Notice: /Stage[main]/Nomad::Install/Staging::File[nomad-0.9.3.zip]/Exec[/opt/staging/nomad/nomad-0.9.3.zip]/returns: executed successfully
Debug: /Stage[main]/Nomad::Install/Staging::File[nomad-0.9.3.zip]/Exec[/opt/staging/nomad/nomad-0.9.3.zip]: The container Staging::File[nomad-0.9.3.zip] will propagate my refresh event
Debug: Staging::File[nomad-0.9.3.zip]: The container Class[Nomad::Install] will propagate my refresh event
Notice: /Stage[main]/Nomad::Install/File[/opt/staging/nomad-0.9.3]/ensure: created
Debug: /Stage[main]/Nomad::Install/File[/opt/staging/nomad-0.9.3]: The container Class[Nomad::Install] will propagate my refresh event
Debug: Exec[extract nomad-0.9.3.zip](provider=posix): Executing 'unzip  /opt/staging/nomad/nomad-0.9.3.zip'
Debug: Executing: 'unzip  /opt/staging/nomad/nomad-0.9.3.zip'
Notice: /Stage[main]/Nomad::Install/Staging::Extract[nomad-0.9.3.zip]/Exec[extract nomad-0.9.3.zip]/returns: executed successfully
Debug: /Stage[main]/Nomad::Install/Staging::Extract[nomad-0.9.3.zip]/Exec[extract nomad-0.9.3.zip]: The container Staging::Extract[nomad-0.9.3.zip] will propagate my refresh event
Debug: Staging::Extract[nomad-0.9.3.zip]: The container Class[Nomad::Install] will propagate my refresh event
Notice: /Stage[main]/Nomad::Install/File[/opt/staging/nomad-0.9.3/nomad]/mode: mode changed '0755' to '0555'
Debug: /Stage[main]/Nomad::Install/File[/opt/staging/nomad-0.9.3/nomad]: The container Class[Nomad::Install] will propagate my refresh event
Notice: /Stage[main]/Nomad::Install/File[/usr/local/bin/nomad]/ensure: created
Debug: /Stage[main]/Nomad::Install/File[/usr/local/bin/nomad]: The container Class[Nomad::Install] will propagate my refresh event
Info: /Stage[main]/Nomad::Install/File[/usr/local/bin/nomad]: Scheduling refresh of Class[Nomad::Run_service]
Debug: Class[Nomad::Install]: The container Stage[main] will propagate my refresh event
Error: Cannot create /etc/sysconfig/nomad; parent directory /etc/sysconfig does not exist
Error: /Stage[main]/Nomad::Config/File[/etc/sysconfig/nomad]/ensure: change from 'absent' to 'directory' failed: Cannot create /etc/sysconfig/nomad; parent directory /etc/sysconfig does not exist
Notice: /Stage[main]/Nomad::Config/File[/lib/systemd/system/nomad.service]: Dependency File[/etc/sysconfig/nomad] has failures: true
Warning: /Stage[main]/Nomad::Config/File[/lib/systemd/system/nomad.service]: Skipping because of failed dependencies
Debug: /Stage[main]/Nomad::Config/File[/lib/systemd/system/nomad.service]: Resource is being skipped, unscheduling all events
Notice: /Stage[main]/Nomad::Config/Exec[nomad-systemd-reload]: Dependency File[/etc/sysconfig/nomad] has failures: true
Warning: /Stage[main]/Nomad::Config/Exec[nomad-systemd-reload]: Skipping because of failed dependencies
Debug: /Stage[main]/Nomad::Config/Exec[nomad-systemd-reload]: Resource is being skipped, unscheduling all events
Notice: /Stage[main]/Nomad::Config/File[/etc/nomad]/ensure: created
Debug: /Stage[main]/Nomad::Config/File[/etc/nomad]: The container Class[Nomad::Config] will propagate my refresh event
Notice: /Stage[main]/Nomad::Config/File[nomad config.json]/ensure: defined content as '{md5}8011cdd10184902f13c72742caa7df53'
Debug: /Stage[main]/Nomad::Config/File[nomad config.json]: The container Class[Nomad::Config] will propagate my refresh event
Debug: Class[Nomad::Config]: Resource is being skipped, unscheduling all events
Info: Class[Nomad::Config]: Unscheduling all events on Class[Nomad::Config]

I think replacing the systemd section to closer match the consul systemd magic will fix this
      'systemd': {
        systemd::unit_file{'nomad.service':
          content => template('nomad/nomad.systemd.erb'),
          notify  =>Class['nomad::run_service'],
        }
      }

This has already been fixed in master, but has not been pushed to the puppet forge
https://github.com/dudemcbacon/puppet-nomad/issues/20

Since it's merged in master, I'm closing this now.

Since it's merged in master, I'm closing this now.

That's fine, can you push a new version to the forge? The forge is behind

That's fine, can you push a new version to the forge? The forge is behind

Hoping to get that done today or tomorrow

Hoping to get that done today or tomorrow


Secondary button styles missing in Light HC

Compared to Dark HC

Ah yea, will close as a dup. Thanks!


Define Document Size

Any ability to define paper size and orientation?

See here http://pdfkit.org/docs/getting_started.html#adding_pages. List of predefined paper sizes is here: https://github.com/devongovett/pdfkit/blob/master/lib/page.coffee#L73-L122.


Issues with taxonomy tree

Create an annotation using category with taxonomy: Data tab opened and taxon tree showed

There should be 'closed" tree, only root categories should be shown
Taxon tree doesn't have open-close arrows for non-leaf nodes
When clicking on arrow - child nodes should be loaded
Node titles are cut

fixed https://github.com/epam/badgerdoc/pull/269

@DaryaGurtovenko pls check (when env is ready)

Fixed


Run "Getting started" from README.md on Arch Linux and provide improvements

Does Antergos do the trick?

Sure. \o/


Signal for active device

In devices tab, there is a lot of same-named devices, it's hard to distinguish which device need to checked and get invisible.
It's good to have a feature that Highlights the device which Interacted/Button-Pressed and then user knows that device is the thing!

This is out of scope, the way the current client is designed would basically require a partial rewrite and not worth it.
If someone wants to build a companion solution with this feature, be my guest.


chore(deps): update dependency @tailwindcss/typography to v0.5.14

This PR contains the following updates:

Package
Type
Update
Change

@tailwindcss/typography
devDependencies
patch
0.5.13 -> 0.5.14

Release Notes

tailwindlabs/tailwindcss-typography (@tailwindcss/typography)
v0.5.14
Compare Source

Fix table text alignment (#346)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: pnpm-lock.yaml
Scope: all 3 workspace projects
Progress: resolved 1, reused 0, downloaded 0, added 0
shoelace-ember                           |  WARN  deprecated<EMAIL_ADDRESS>Progress: resolved 569, reused 0, downloaded 0, added 0
Progress: resolved 1362, reused 0, downloaded 0, added 0
 WARN  34 deprecated subdependencies found<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Progress: resolved 1895, reused 0, downloaded 0, added 0, done
 ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies

shoelace-ember
└─┬ ember-source 5.10.2
  └─┬ ember-auto-import 2.7.4
    ├─┬ babel-loader 8.3.0
    │ └── ✕ missing peer webpack@>=2
    ├─┬ css-loader 5.2.7
    │ └── ✕ missing peer<EMAIL_ADDRESS>|| ^5.0.0"
    ├─┬ mini-css-extract-plugin 2.7.6
    │ └── ✕ missing peer<EMAIL_ADDRESS>    └─┬ style-loader 2.0.0
      └── ✕ missing peer<EMAIL_ADDRESS>|| ^5.0.0"
Peer dependencies that should be installed:
<EMAIL_ADDRESS><6.0.0-0"

hint: If you want peer dependencies to be automatically installed, add "auto-install-peers=true" to an .npmrc file at the root of your project.
hint: If you don't want pnpm to fail on peer dependency issues, add "strict-peer-dependencies=false" to an .npmrc file at the root of your project.


Feature request: Offer declaration name as autocompletion when writing GoDoc comment

Consider that you're writing this in some editor:
package main

// Some<caret>
type Something struct {
  ...

The autocompletion at this point should offer Something as the top choice, since you're writing a GoDoc comment about this particular declaration. This ought to be the behaviour for any GoDoc comment.

FTR: Ctrl-N in Vim.

Gocode actually tries to perform autocompletion even if you are in a comment section. But many editors block autocompletion request in this scenario. If that's what you want, I can't help you, ask editor plugin authors. If you want some additional logic for entity comment specifically, not sure about that.

VSCode does show completions, but it doesn't show the right completion. For example, if I have this:
type Something struct {}
type SomethingElse struct {}

// S<caret>
type SomethingElseEntirely struct {}

It would be greatly appreciated if the first completion offered is SomethingElseEntirely, not the other two. In fact, it's worse than that:

Even when I am more specific, the order is not helpful:

Sorry I won't implement it. It's up to user what he puts in the comment. Having autocompletion like that would encourage stub comments (it's so easy to just press ctrl+space or whatever the key is). I think some of the go linters insist on comments like these - very bad idea.
Also what I see in your screenshots is generic plain text autocompletion by vscode, I assume it falls back to text autocompletion when you're in a comment. I think it's an okay idea to do so. But again, if you were using gocode here it would only suggest the actual language entites (types, vars, funcs, etc). Gocode is not responsible for all autocompletion in your editor, it only does Go code analysis, but often text editors mix in different completion providers like in this case. Autocompletion suggestions are marked with "abc" logo for a reason, it's a sign of plain text autocompletion. Gocode simply cannot do text-based autocompletions, there is no code which would lead to that kind of result.

Sounds like VSCode should specifically have an autocompleter heuristic that looks if you're at the start of a GoDoc declaration comment, and if so, look for the next declaration. I don't know enough about VSCode's internals, nor about gocode, to say where the missing functionality needs to go.

Having autocompletion like that would encourage stub comments

I don't see why. The only point is to allow me to quickly complete the name of the thing I'm writing a comment for; the whole point of autocompletion is to automate work. It's my own responsibility to write a good comment.


LUISResult custom event logging the details related to Intents that come back from LUIS

For a given utterance, LUIS retuns multiple intents along with their predictions scores. Top intent might not always be the "right" intent for a given utterance. It makes sense to store the intents and along with the prediction scores so that analyst can evaluate the LUIS model and identify the gaps.
Log the Intents Json as it is, which can be parsed later on in the Telemetry Data Pipeline.
"intents": [
{
"intent": "intent1",
"score": 0.9888772
},
{
"intent": "intent2",
"score": 0.874704821
}
],

@daveta - do you know if is this happening in the telemetry client or at LUIS?

@smallangi: Yes, we adopted your suggestion, we're pulling the top two now..  If you need it sooner, you can copy the files over your existing code and it should work.  Ping me know if you have any issues..
https://github.com/Microsoft/botbuilder-dotnet/blob/master/libraries/Microsoft.Bot.Builder.AI.LUIS/LuisRecognizer.cs#L220


Reduce Bundle Size

Big Wins:

[ ] Replace BigCalendar with custom Calendar. (~41.4%)
[ ] Use preact. (~21%)
[ ] Get rid of react-mdl*? (~6.2 + loss of extraneous assets)
[ ] ...

Small Wins:

[ ] Use webpack 2 tree shaking, code splitting etc #84 .

[ ] Use more webpack uglification/optimization plugins.

[ ] Use better babel presets. Modern app can target modern browsers I guess?

[ ] Move nitnem constants to docs/json/ and get them by network requests. (~0.5).

[ ] ...

*Note: I am seriously reconsidering the use of any UI kit. One kit doesn't fit all IMO. I think styled-componets would be good enough.

You may dig lodash-webpack-plugin.

Thank you so much @jdalton

Useful talk from CDS2016

#104 Is dealing with it in rewrite branch.


Does v1.6 support spark on yarn?

Hi,
In reference.conf I set (and some other minor options):
# The execution modes in Sparta are: local, mesos or marathon
sparta.config.executionMode = yarn
# Yarn cluster name
sparta.yarn.master = yarn
# Cluster or Client. If the user need more than one policy running is necessary use "cluster". Is the same as the variable spark.submit.deployMode
sparta.yarn.deployMode = cluster
I have a correct workflow which can run on local mode, but after switching to yarn mode, I get below logs. It seems like sparta cannot connect with Resource Manager. Could anybody help with this issue?
02 Jul 2018 15:29:31.053        INFO    c.s.s.s.c.a.ClusterLauncherActor        Sparta submit options initialized correctly
02 Jul 2018 15:29:31.062        INFO    c.s.s.s.c.a.ClusterLauncherActor        Updating context d23359d0-de5b-4589-bb5a-236b1bde8eed with name test1:
Status: Failed  --->    NotStarted
Status Information:     The checker detects that the policy not start/stop correctly    --->    Sparta submit options initialized correctly
Submission Id:  undefined       --->    undefined
Submission Status:      LOST    --->    LOST
Marathon Id:    undefined       --->    undefined
Last Error:     undefined       --->    undefined
Last Execution Mode:    yarn-cluster    --->    yarn-cluster
Resource Manager URL:   undefined       --->    undefined
02 Jul 2018 15:29:31.103        INFO    c.s.s.s.c.a.ClusterLauncherActor        Launching Sparta Job with options ...
Policy name: test1
Main Class: com.stratio.sparta.driver.SparkDriver
Driver file: http://<IP_ADDRESS>:9090/sparta/driver/driver-1.6.0-SNAPSHOT.jar
Master: yarn
Spark submit arguments: --deploy-mode -> cluster,--num-executors -> 1,--properties-file -> /etc/spark2/conf/spark-defaults.conf,--proxy-user -> hdfs
Spark configurations: spark.sql.parquet.binaryAsString -> true,spark.app.name -> test1-2018/07/02-03:29:30,spark.driver.memory -> 1G,spark.driver.cores -> 1,spark.mesos.driverEnv.SPARK_USER -> ,spark.executor.memory -> 1G,spark.executor.cores -> 1
Driver arguments: Map(plugins -> ICw=, clusterConfig -> eyJ5YXJuIjp7ImRlcGxveU1vZGUiOiJjbHVzdGVyIiwiZHJpdmVyQ29yZXMiOjEsImRyaXZlck1lbW9yeSI6IjFHIiwiZXhlY3V0b3JDb3JlcyI6MSwiZXhlY3V0b3JNZW1vcnkiOiIxRyIsImtpbGxVcmwiOiIvdjEvc3VibWlzc2lvbnMva2lsbCIsIm1hc3RlciI6Inlhcm4iLCJudW1FeGVjdXRvcnMiOjEsInByb3BlcnRpZXNGaWxlIjoiL2V0Yy9zcGFyazIvY29uZi9zcGFyay1kZWZhdWx0cy5jb25mIiwicHJveHktdXNlciI6ImhkZnMiLCJzcGFyayI6eyJzcWwiOnsicGFycXVldCI6eyJiaW5hcnlBc1N0cmluZyI6dHJ1ZX19fSwic3BhcmtIb21lIjoiL29wdC9jbG91ZGVyYS9wYXJjZWxzL1NQQVJLMi0yLjEuMC5jbG91ZGVyYTItMS5jZGg1LjcuMC5wMC4xNzE2NTgvbGliL3NwYXJrMiJ9fQ==, detailConfig -> eyJjb25maWciOnsiYWRkVGltZVRvQ2hlY2twb2ludFBhdGgiOmZhbHNlLCJhdXRvRGVsZXRlQ2hlY2twb2ludCI6dHJ1ZSwiYXdhaXRQb2xpY3lDaGFuZ2VTdGF0dXMiOiIxODBzIiwiYmFja3Vwc0xvY2F0aW9uIjoiL29wdC9zZHMvc3BhcnRhL2JhY2t1cHMiLCJjaGVja3BvaW50UGF0aCI6Ii90bXAvc3BhcnRhL2NoZWNrcG9pbnQiLCJkcml2ZXJQYWNrYWdlTG9jYXRpb24iOiIvb3B0L3Nkcy9zcGFydGEvZHJpdmVyIiwiZHJpdmVyVVJJIjoiaHR0cDovLzAuMC4wLjA6OTA5MC9zcGFydGEvZHJpdmVyL2RyaXZlci0xLjYuMC1TTkFQU0hPVC5qYXIiLCJleGVjdXRpb25Nb2RlIjoieWFybiIsImZyb250ZW5kIjp7InRpbWVvdXQiOjUwMDB9LCJwbHVnaW5QYWNrYWdlTG9jYXRpb24iOiIvb3B0L3Nkcy9zcGFydGEvcGx1Z2lucyIsInJlbWVtYmVyUGFydGl0aW9uZXIiOnRydWV9fQ==, storageConfig -> IA==, policyId -> d23359d0-de5b-4589-bb5a-236b1bde8eed, zookeeperConfig -> eyJ6b29rZWVwZXIiOnsiY29ubmVjdGlvblN0cmluZyI6IjEwLjAuMTEuMjI6MjE4MSwxMC4wLjExLjMwOjIxODEsMTAuMC4xMS4zMToyMTgxIiwiY29ubmVjdGlvblRpbWVvdXQiOjE1MDAwLCJyZXRyeUF0dGVtcHRzIjo1LCJyZXRyeUludGVydmFsIjoxMDAwMCwic2Vzc2lvblRpbWVvdXQiOjYwMDAwfX0=)
02 Jul 2018 15:29:31.128        INFO    c.s.s.s.c.a.ClusterLauncherActor        Sparta cluster job launched correctly
02 Jul 2018 15:29:31.131        INFO    c.s.s.s.c.a.ClusterLauncherActor        Updating context d23359d0-de5b-4589-bb5a-236b1bde8eed with name test1:
Status: NotStarted      --->    Launched
Status Information:     Sparta submit options initialized correctly     --->    Sparta cluster job launched correctly
Submission Id:  undefined       --->    undefined
Submission Status:      LOST    --->    UNKNOWN
Marathon Id:    undefined       --->    undefined
Last Error:     undefined       --->    undefined
Last Execution Mode:    yarn-cluster    --->    yarn-cluster
Resource Manager URL:   undefined       --->    undefined
02 Jul 2018 15:29:31.205        INFO    c.s.s.s.c.a.ClusterLauncherActor        Cluster context listener added to test1 with id: d23359d0-de5b-4589-bb5a-236b1bde8eed
02 Jul 2018 15:29:31.218        INFO    c.s.s.s.c.a.ClusterLauncherActor        Starting scheduler task in awaitPolicyChangeStatus with time: 180s
02 Jul 2018 15:29:33.764        INFO    c.s.s.s.c.a.ClusterLauncherActor        Submission state changed to ... CONNECTED
02 Jul 2018 15:29:33.767        INFO    c.s.s.s.c.a.ClusterLauncherActor        Updating context d23359d0-de5b-4589-bb5a-236b1bde8eed with name test1:
Status: Launched        --->    Launched
Status Information:     Sparta cluster job launched correctly   --->    Sparta cluster job launched correctly
Submission Id:  undefined       --->    undefined
Submission Status:      UNKNOWN --->    CONNECTED
Marathon Id:    undefined       --->    undefined
Last Error:     undefined       --->    undefined
Last Execution Mode:    yarn-cluster    --->    yarn-cluster
Resource Manager URL:   undefined       --->    undefined
02 Jul 2018 15:29:34.299        INFO    c.s.s.s.c.a.ClusterLauncherActor        Submission state changed to ... LOST
02 Jul 2018 15:29:34.301        INFO    c.s.s.s.c.a.ClusterLauncherActor        Updating context d23359d0-de5b-4589-bb5a-236b1bde8eed with name test1:
Status: Launched        --->    Launched
Status Information:     Sparta cluster job launched correctly   --->    Sparta cluster job launched correctly
Submission Id:  undefined       --->    undefined
Submission Status:      CONNECTED       --->    LOST
Marathon Id:    undefined       --->    undefined
Last Error:     undefined       --->    undefined
Last Execution Mode:    yarn-cluster    --->    yarn-cluster
Resource Manager URL:   undefined       --->    undefined
02 Jul 2018 15:29:51.657        INFO    c.s.s.s.core.actor.StatusActor  Updating context d23359d0-de5b-4589-bb5a-236b1bde8eed with name test1:
Status: Launched        --->    Stopping
Status Information:     Sparta cluster job launched correctly   --->    Sparta cluster job launched correctly
Submission Id:  undefined       --->    undefined
Submission Status:      LOST    --->    LOST
Marathon Id:    undefined       --->    undefined
Last Error:     undefined       --->    undefined
Last Execution Mode:    yarn-cluster    --->    yarn-cluster
Resource Manager URL:   undefined       --->    undefined
02 Jul 2018 15:29:51.678        INFO    c.s.s.s.c.a.ClusterLauncherActor        Stopping message received from Zookeeper
02 Jul 2018 15:29:51.678        INFO    c.s.s.s.c.a.ClusterLauncherActor        The Sparta System don't have submission id associated to policy test1
02 Jul 2018 15:29:51.679        INFO    c.s.s.s.c.a.ClusterLauncherActor        Node cache to cluster context listener closed correctly

@compae

Solved


Another Mixin solution

It would be better to show the following solution in https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Mixins.md.
https://github.com/Microsoft/TypeScript/issues/2919#issuecomment-173384825

I spent two hours trying to reach a good approach to mixins. This was the most close to Object Oriented Programming I found. Any update on this? Needs help?


[flake] macos cmake-super build failed with "Command failed: 2" and no other error message

Seen once on 2020-07-30 in the macos cmake-super build: log
There is no useful error message I can see, the curl-project-build-*.log the error refers to is not present in the "artifacts" tab.
The total build duration was <5 minutes so this does not appear to be a timeout issue.
[ 74%] Performing build step for 'curl-project'
CMake Error at /Volumes/BuildData/tmpfs/src/github/google-cloud-cpp/cmake-out/macos/external/curl/src/curl-project-stamp/curl-project-build-.cmake:49 (message):
  Command failed: 2

   '/usr/local/Cellar/cmake/3.16.4/bin/cmake' '--build' '/Volumes/BuildData/tmpfs/src/github/google-cloud-cpp/cmake-out/macos/external/curl/src/curl-project-build' '--' '-j' '4'

  See also

    /Volumes/BuildData/tmpfs/src/github/google-cloud-cpp/cmake-out/macos/external/curl/src/curl-project-stamp/curl-project-build-*.log

make[2]: *** [external/curl/src/curl-project-stamp/curl-project-build] Error 1
make[1]: *** [CMakeFiles/curl-project.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

No repeats for 90d, closing.

Similar flake, building grpc this time, on 2020-12-15.
As above, the log it refers to is not present in "artifacts", and the build duration is ~5 minutes (slightly over - 5:37 this time)
https://source.cloud.google.com/results/invocations/c07b4159-17c6-4db4-8fda-72a9af7e04cc/targets/cloud-cpp%2Fgithub%2Fgoogle-cloud-cpp%2Fmaster%2Fmacos%2Fcmake-super/log
[ 84%] Performing build step for 'grpc-project'
CMake Error at /Volumes/BuildData/tmpfs/src/github/google-cloud-cpp/cmake-out/macos/external/grpc/src/grpc-project-stamp/grpc-project-build-.cmake:49 (message):
  Command failed: 2

   '/usr/local/Cellar/cmake/3.16.4/bin/cmake' '--build' '/Volumes/BuildData/tmpfs/src/github/google-cloud-cpp/cmake-out/macos/external/grpc/src/grpc-project-build' '--' '-j' '4'

  See also

    /Volumes/BuildData/tmpfs/src/github/google-cloud-cpp/cmake-out/macos/external/grpc/src/grpc-project-stamp/grpc-project-build-*.log

make[2]: *** [external/grpc/src/grpc-project-stamp/grpc-project-build] Error 1
make[1]: *** [CMakeFiles/grpc-project.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

This is not a user-facing issue. It's a CI flake that's more like a cleanup.

No repeats in over 90d.  Seems related to download failures in super builds, we have download errors in other builds too, maybe we should consider all download failures the same "flake".


NodeJs: Regions is not defined

Hi, I'm getting the following error:
ReferenceError: regions is not defined
    at d (/var/app/current/node_modules/moment-holiday/build/moment-holiday-us.min.js:6:3117)
    at Object.add (/var/app/current/node_modules/moment-holiday/build/moment-holiday-us.min.js:6:5870)
    at Object.<anonymous> (/var/app/current/node_modules/moment-holiday/build/moment-holiday-us.min.js:16:116)
    at Object.<anonymous> (/var/app/current/node_modules/moment-holiday/build/moment-holiday-us.min.js:16:138)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/var/app/current/bin/src/app/utils/cost/strategies/publicHoliday.strategy.js:5:1)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)

Any idea why this is happening?
I'm using NodeJs v8.4.0 on AWS with typescript compiler.
The library is included as follows:
import * as moment from "moment";
import "moment-holiday";

I found out, that strict_mode causes this error.
This script seems not to work on NodeJs in strict_mode.

There are several variable declarations missing.
If someone is interested in how to get this library working in strict mode, please check out my fork: https://github.com/MartinLoeper/moment-holiday

@MartinLoeper are you planning to do a pull request to get your changes into this upstream repo (and thus, hopefully, into the NPM module)? I'd love to get these strict/minification issues resolved in the module to get my build working with less fuss.
For me, I had to move that variable declaration out to the top module scope to avoid minification errors. (https://github.com/bjhewitt/moment-holiday/commit/388ec0a573cdab20431868cb0892df70c5e287ca#diff-5ecd2a99d029816f5c37fce3481f99bd)

I provided the PR =)
However, I did not notice any minification errors. Everything worked well for the following command:
node_modules/.bin/gulp --name=moment-holiday-de.js --locale=Germany --locale=Easter --set=Germany --set=Easter


Register Oceananigans: 0.5.3

Registering: Oceananigans
Repository: https://github.com/climate-machine/Oceananigans.jl
Version: v0.5.3
Commit: c4635ffde94464f6440d20ae957ece4ddbe7dbde
Proposed by: @ali-ramadhan
Reviewed by: @ali-ramadhan
Reference: https://github.com/climate-machine/Oceananigans.jl/issues/198

Consider enabling TagBot to make sure the release is persistent in your repo, see https://discourse.julialang.org/t/ann-tagbot-creates-tags-and-releases-for-your-julia-packages-when-theyre-registered/23084


Icons on Project view not loading

Hi
I just tried the new latest, and seems like there is an issue with the icons:
When going into Projects->{Select a Project}-> see the non-working icons on the bottom.

Thanks, and btw the new design looks amazing!

Which icons are not working?
Gantt and Table are not implemented.

Oh I see!


native videos not working properly

The video can't be played.
URL > https://herencia.net/2018-04-15-salida-de-la-vi-duatlon-cross-villa-de-herencia/

@orballo what was happening? Is it related to the youtube "ur-only" problem?

@luisherranz You can see the fix in the commit linked above. The controls attribute of <video> after being parsed by himalaya was returning null instead of true and it was overwriting the controls attribute in the LazyVideo component.


Empty Session creation

Affected Symphony version(s) : 2.7.0+
PHP version(s) : 5.5.9
OS(es) : Ubuntu
When creating a session, there is a short circuit to prevent saving "empty" sessions in the database by checking if Session::read returns null. Since this commit, the Session::read casts it's output to a string, meaning the check will never fulfil, and empty sessions are likely created.
Fixing this will likely improve performance and reduce unnecessary session creation. This is a regression in the 2.7.x branch.

How bad. I wouldn't even see this as "Minor" bug (see label). For sites with a significant number of page impressions this can be really bad.

Agree @michael-e, I submitted a PR with the patch that I added to my client's site so we can get 2.7.5 released quickly 👍

Thanks guys !


Create new variables and constraints to have a max/min energy incoming/outgoing flow for assets, using the base periods

Description
This epic issue is part of the different levels of detail in the operation module for M3.
The base periods allow for inter-representative period constraints since they recover chronological information, e.g., having maximum/minimum total energy flow for other types of assets (e.g., producers).
Example: A gas contract with a max/min monthly limit: if we have base periods 1...365, i.e., for each day of the year, then with a partition that represents a monthly time block (i.e., 1x31+1x28+1x31+1x30...), then we can set maximum/minimum limits for the monthly gas flow.
For this issue you can use as a reference the existing storage_level_inter_rp variable, constraints, and dataframes, since their temporal structure should be similar.
Sub issues

[ ] Create the necessary input data, for example, create data in the Norse case for producers following the storage data as a reference.
[ ] Create the dataframe from the partition definitions for the variables and constraints. If there is no defined profile, there should be no constraints. We should apply this type of constraint if we have the data; otherwise, they are superfluous.
[ ] Create the energy variables e.g,. asset_outgoing_energy_flow_inter_rp (or a better name, and also maybe for the incoming energy flow, depending on the asset)
[ ] Create the constraints for the maximum and minimum energy limit
[ ] Update the outputs of the model (and maybe also in TulipaPlots)
[ ] Include either an example, tutorial or how-to in the documentation
[ ] Update the mathematical formulation in the documentation

Add anything else that you can think of during the development of the epic...happy coding! 😄

For my own clarification, this is for operational considerations in the investment decision.
For instance, setting a min production of green hydrogen for the total year.


Wrong lens path for puppet enterprise

A user reported an issue with the lens location on puppet enterprise, https://github.com/mwhahaha/puppet-pgpool/issues/12. It looks like https://github.com/camptocamp/puppet-augeas/blob/master/manifests/params.pp#L6 might need a conditional for puppet enterprise as the path might need to be /opt/puppet/share/augeas/lenses/dist/.

This still affects puppet opensource:
puppet-agent.x86_64                  1.2.5-1.el6
ruby-augeas.x86_64                   0.4.1-3.el6

I upgraded puppet-agent to 1.2.7 and still see this issue:
puppet-agent.x86_64                  1.2.7-1.el6
ruby-augeas.x86_64                   0.4.1-3.el6
It continues to look in /var/lib/puppetlabs/lib/augeas/lenses for lenses (according to debug mode) but the lenses are actually installed under /opt/puppetlabs/puppet/share/augeas/lenses/dist/.
I tried to rm the default and symlink to the real dir but all my lenses got deleted and the default files repopulated:
-rw-r--r--. 1 root root 19697 Mar 11 17:03 functions
-rw-r--r--. 1 root root   387 Mar 11 17:03 init_d_functions.aug
drwxr-xr-x. 2 root root  4096 Mar 11 17:03 tests
Ive looked around but cant find any info on configuring augeas where to look for lenses.
Any thought?

You can configure augeas resources with a load_path oarameter. That said, I'd welcome a PR for the current issue.

Disregard, I was using "lens => 'Limits'". it has to be "lens => 'Limits.lns'"


sort by points if category points same

closes #96

@Ritesh-Aggarwal can we do this sorting inside getStaticProps()?
The order wouldn't change for a given day right, so let the server side do the computation and keep the client-side light.

I don't think that would improve performance as we have sorting/filtering parameters like show/hide core members, and many more in client side, so we need to have this logic in client side itself.
If we pre-calculate all the sorted arrays for every condition it may increase the size of page and nextjs recommends only passing required data in getStaticProps()
https://nextjs.org/docs/messages/large-page-data


Facebook API not returning email and last_name

I am using the Facebook API, but it isn't returning the user's email and last_name. I have set the fields and scope parameters and they seem to be sending correctly, but the info that the json response returns doesn't have the correct data. It is as if no params were sent with the request.
My repo can be found here

Your project doesn't appear to use this app. It looks like it uses https://github.com/pennersr/django-allauth

It used it yesterday, but I had to change it because of this problem. You can see the previous version that uses this app here

Looks like you've customized everything correctly to me. I'll have to investigate some more. It's worth noting that you are never guaranteed an email from the FB API as noted here: https://developers.facebook.com/docs/facebook-login/permissions#reference-email

Note, even if you request the email permission it is not guaranteed you will get an email address. For example, if someone signed up for Facebook with a phone number instead of an email address, the email field may be empty.

Users are also able to decline any additional permissions other than public_profile so regardless of the app you chose to use, you'll need to handle the missing email case.

I see. This doesn't explain why I also couldn't get first_name and last_name though. I tried to look into the issue, but wasn't able to pinpoint it. I would be interested to help with what I can.

Admittedly I haven't been keeping up with the recent changes in the FB API. The docs for this project currently recommend using https://graph.facebook.com/v2.8/me to get the user info after the login but there might be a better endpoint or it's missing some additional parameters to pass.
Let me know if you find anything and I'll be happy to merge in any fixes you have :heart:

I tried to use this endpoint through the browser and it returns everything just fine. I will be looking into it.

I just took another look at it and saw the problem immediately. Right now you are able to set the scope for the Facebook API, but you need to send some additional params ('fields') as of version 2.4 of the Facebook API. I made a pull request that adds the needed functionality.
#75


Shrank Npm to 299 bytes

I shaved 2 bytes off of npm.svg by rearranging its path commands

This is what we like to see!


Add support for taxonomy pages

The theme currently renders a blank white page for taxonomies. This change will render a list of pages tagged with the current taxonomy.

Merged, thank you!


[DOC] Informations on non talos hosts

Hi Peter,
Thanks for your great job !
I try to rebuild your environment at home but could not find any informations for your hosts pikvm, pinut and zwave-coordinator.
In the ansible part, we can find how to install these hosts, but nothing about used os and hardware (suppose this are rpi-4b ?), and ops upgrading...
Could you add a dedicated part for these hosts ?
Thanks
Math

Hi, it's really fun to hear that others has a use for this repo. You have a valid point and I will definitely add some docs about these hosts. But to give you an idea (and to try to answer your questions):

PiKVM is a RPi4 with a POE hat and a HDMI to CSI-2 bridge. It's running PiKVM-OS and it's connected to a TESmart 8 Port KVM Switch.
pihut is a RPi4 with a POE hat running Ubuntu 23.04 and it's connected to two Eaton 3S UPS.
zwave-coordinator is a RPi Zero W Rev 1.1 with a POE hat running Raspbian 11 and a Zwave-stick connected through USB. ser2net is installed so that Zwave-JS can connect to the USB stick.

I haven't set up any gitops flow to keep them up to date for various reasons and I also tend to not wanting to mess with these because I heavily rely on them being online:

I haven't found a good way to do this for PiKVM and to quote the docs: "This is ONLY recommended if you need a feature...".
The zwave-coordinator doesn't have many things running on it but an apt update should be enough but I would only do that if I absolutely need and when I have time to fix any issues that might occur. My smart home relies heavily on this host being online.
pinut on the other hand could have some gitops in place for at least updating the Docker image used for the two containers. I haven't thought much about it since NUT is such a mature project with barely any updates. I might add this sometime in the future.

Let me know if you have any more questions and I will do my best to answer!


fix example command line documentation in README

Thank you for fixing this. Even small details count :D


Clarification on "Zonal Option" for VMs

If user pinpoints specific zone (1 or 2 or 3) during VM creation Vs user does not pinpoint zone, how that would impact the availability behavior for VM?
In the first case, will the VM and associated managed disks and resources be copied to other zones (in addition to the selected zone) for redundancy? Or only available in selected zone.
In the second case, will the VM and associated managed disks and resources be deployed randomly in any availability zone and all the VM resources be copied across all 3 zones in that regions?

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

ID: 2088898f-dda1-7334-55dc-382f99338e2c
Version Independent ID: fcc858bb-5309-4115-5555-e3b9d5d1c414
Content: Azure regions and availability for Windows VMs
Content Source: articles/virtual-machines/windows/regions-and-availability.md
Service: virtual-machines-windows
GitHub Login: @cynthn
Microsoft Alias: cynthn

@githubavi Thank you for posting. I will review and get back to you at the earliest.

@githubavi ,To clarify your question, there are two categories in Availability Zones:
Zonal services – you pin the resource to a specific zone (for example, virtual machines, managed disks, IP addresses), or
Zone-redundant services – platform replicates automatically across zones (for example, zone-redundant storage, SQL Database).
It is similar to Availability sets but provides you data center level redundancy. For Zonal Service, while creating new Virtual Machines, you manually assign each Virtual machine with respective zone (1,2,3). In Zone redundant service, just deploy and platform will make sure it is spread across zones.
Let me know if you have any further questions.

Hi Karthik,
So, do you mean that in Zonal mode (Azure VM) platform does not get replicated automatically multiple zones in a region?
If Yes, then in that case if the zone includes only 1 data center, then how it differs or resilient for a datacenter level failure? (as per documentation single zone can have 1 or more data centers)
-Avijit

From: KARTHIK SRINIVAS<EMAIL_ADDRESS>Sent: 10 February 2019 21:42
To: MicrosoftDocs/azure-docs
Cc: Avijit Samanta; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Clarification on "Zonal Option" for VMs (#24666)
@githubavihttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgithubavi&data=02|01||1b73995c50404355e75808d68fe3aa71|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636854605308229539&sdata=vwAWu6%2BTJaI5tY8W0pylBTQKRR5SvOAbbJPmI48ZjYE%3D&reserved=0 ,To clarify your question, there are two categories in Availability Zones:
Zonal services – you pin the resource to a specific zone (for example, virtual machines, managed disks, IP addresses), or
Zone-redundant services – platform replicates automatically across zones (for example, zone-redundant storage, SQL Database).
It is similar to Availability sets but provides you data center level redundancy. For Zonal Service, while creating new Virtual Machines, you manually assign each Virtual machine with respective zone (1,2,3). In Zone redundant service, just deploy and platform will make sure it is spread across zones.
Let me know if you have any further questions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F24666%23issuecomment-462224318&data=02|01||1b73995c50404355e75808d68fe3aa71|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636854605308239544&sdata=QcBMlvJEWRDpNG85ilHDzxl5e5ZX%2B7Zmiv7a%2F8825C8%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADz4vsCY-M0DbSmN3jt_VJByg8cK9pZyks5vMQKwgaJpZM4azgZK&data=02|01||1b73995c50404355e75808d68fe3aa71|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636854605308249549&sdata=9Kav5ikrWqPcNZWJicvs7MuJhyGpOtdDnLHkIU11du4%3D&reserved=0.

@githubavi , yes it will not replicate automatically. You will need to create new Virtual Machines in by specifying the Zone.
It is similar to Availability Sets, where VMs placed in Availability sets will be in different Fault Domains and Update Domains and in Availability Zones, when you create VMs in all Zones or more than one Zones, you get Data Center level resilience.

Thanks Karthik, for the explanation. You can close it now.
-Avijit
Get Outlook for Androidhttps://aka.ms/ghei36

From: KARTHIK SRINIVAS<EMAIL_ADDRESS>Sent: Monday, February 11, 2019 6:17:01 PM
To: MicrosoftDocs/azure-docs
Cc: Avijit Samanta; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Clarification on "Zonal Option" for VMs (#24666)
@githubavihttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgithubavi&data=02|01||2a178ea16cce4d19a1a308d6901f057f|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636854860235097693&sdata=JbngC79AgFlE%2FYsObDeQZI0i2UBxX6%2Fk0IAeFpx%2F9LQ%3D&reserved=0 , yes it will not replicate automatically. You will need to create new Virtual Machines in by specifying the Zone.
It is similar to Availability Sets, where VMs placed in Availability sets will be in different Fault Domains and Update Domains and in Availability Zones, when you create VMs in all Zones or more than one Zones, you get Data Center level resilience.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F24666%23issuecomment-462315418&data=02|01||2a178ea16cce4d19a1a308d6901f057f|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636854860235107698&sdata=8ykMKIH7SIm4SI96a1symz7pQEVq4lpYxF7EQqkHcCg%3D&reserved=0, or mute the threadhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADz4vuhDbN3owd_lbs9v6C4LqRmwPB6vks5vMWZFgaJpZM4azgZK&data=02|01||2a178ea16cce4d19a1a308d6901f057f|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636854860235117709&sdata=E%2B1zA1JxPpdj036o3aVNESr27%2Bgwt4KvHFMd9Nbjack%3D&reserved=0.

@githubavi Thank you for your confirmation.


Incompatible with expo EAS due to node version

Description
Can't use unistyles right now with expo EAS, as they only support node 18. Is there a real reason why the node engine is enforced to 20 in unistyles?

Steps to reproduce

Create an expo app
Try to build using eas

Snack or a link to a repository (optional)
No response
Unistyles version
2.10.0
React Native version
0.75.4
Platforms
Android, iOS
Engine
Hermes
Architecture
Fabric (new)

Hey 👋
There is no real reason. I'm just following Node release cycles:

Node 18 has not been active for a year. I didn’t know EAS was still using it 🤯
I want to release today new version, so I will move it back to Node 18.

Thanks!

@jpudysz the same problem is happening now with version 3.0.0-beta.1

Ah thanks for pinging me @Mark-Pineda-C
I've updated it on 2.x branch only.
Will add it to beta.2.


[dataset]: Added tracing to create_item

This adds some tracing to monitor item creating time to the create_item task. After an item is created, we'll log a messaage to an application insights instance with some custom dimensions

type: pctasks.create_item for filtering
collection_id: The collection ID, for filtering
asset_uri: unique(ish) identifier for what assets were cataloged
duration_seconds: The time it took to create the item

For collections to use this, they just need to include APPLICATIONINSIGHTS_CONNECTION_STRING in the environment section of the dataset.yaml. We might consider automatically loading that into the environment.

I'm pretty stumped by that CI failure at https://github.com/microsoft/planetary-computer-tasks/actions/runs/4799407304/jobs/8538988373. I can't reproduce it locally.
>       assert len(logger.handlers) == 1
E       assert 0 == 1
E        +  where 0 = len([])
E        +    where [] = <Logger monitor.pctasks.dataset.items.task (INFO)>.handlers

Debugging in b1abb2b2c5fa5bc2ea0caeb0693ae4655922b52c.

Failed with the same issue. I'm hoping that 96068d8c00ecb3f37c4c47b10347ef468e8119d9 fixes it by cleaning up some state that potentially leaks between tests. We don't want to try to initialize the Azure logger in every single create item task. I've set it up to only try initializing once.
I think an earlier test might have tried to initialize it, but failed since there was no APPLICATIONINSIGHTS_CONNECTION_STRING set. And then our test didn't even try to initialize it again.


Minor performance improvements

Fixed a type inference issue with dims_howmany, removed a few other unneeded array allocations.
Using imfilter from ImageFiltering.jl, this is the result:
Before: 457.400 μs (173 allocations: 1.21 MiB)
After: 436.100 μs (130 allocations: 1.20 MiB)

Based on current master, it looks like this PR is not necessary. I'm not seeing any difference between the two in terms of performance now.


Content hub one starterkit initial

There are two .env examples in the project. Maybe you can combine both files into one? Typcally .env.local takes priority over .env files and I wasn't sure why there need to be two separate files. (Some more info on Next.js uses env files)

Error when pushing serialized recipes ->Field 'preparationDescriptionRt' does not exist in Content Type.

Typo in README.md line 36: Contnet should be Content

Same typo in setup.js line 27

I could not run the application most likely due to the missing field within the recipes content type.

Added the small comment about running npm audit fix after that I think it's good to go!


Add "Check for Update" for extensions

Right now, as far as I've noticed, Code checks if there are extensions available only on start.
I think "Check for Updates" command for extension panel could be added.

May personal way to workaround is reloading the window but not sure whether there is a better one.


FSharp.Compiler.dll and the FSharp.LanguageService.Compiler.dll compiled with peverify issues.

FSharp.Compiler.dll and the FSharp.LanguageService.Compiler.dll compiled with peverify issues.

I can rebase my PR and rerun the build after you merge the existing fix.

I don't think this needed a fix - the code used was valid IL and there was no functionality bug here.  It's just that the code was not verifiable.  Not all valid IL code is verifiable.  For example, managed C++ and unsafe C# would have emitted equivalent code AFAIK.
But what I'm most concerned about is a perf regression. If Marshal.ReadByte is slower in any way (how do we know? does it do any kind of check?) then we will likely see a perf regression on binary reading.  Best not to take the risk at this stage.
best
don


VSCode Installer Fails on long paths since v1.17

VSCode Version: Code 1.17.1 (1e9d36539b0ae51ac09b9d4673ebea4e447e5353, 2017-10-10T14:24:50.851Z)
OS Version: Windows_NT x64 6.1.7601
Extensions:

Extension
Author (truncated)
Version

csharp
ms-
1.12.1

Steps to Reproduce:

Install or update Visual Studio Code v1.17 ( or above) using the Windows installer under a sufficiently long path (i.e. C:\Development Applications\Utility\Analysis & Editing\VSCode)

Installer will fail on a file move/rename, please see attached images.

Please note this only effects the Windows installer version, the zip packages unzip and operate as expected without issue. So this is not specifically a VSCode issue, but rather an installer issue.

Reproduces without extensions: N/A

Unfortunately the only fix available is to install it on a shorter path.

Unfortunately that explanation puzzles me, because the ZIP package unzips to that same base folder, and VSCode runs 100% fine; except (unlike it's Linux TAR.GZ counter part) it is unable to check for updates. So what exactly is the reason the installer package can not extract, and or why does the ZIP package not support checking for updates?

We're using Inno Setup, a setup framework which has long path issues. So this can't be fixed until we move away from it, which might happen in a medium time horizon. For now, it simply fails.


Minor code fixes

WTF?
This PR main intent is to:

Remove the use of var to use let and const instead
Minor fixes

:warning: Before ship it, it's important to validate the whole flow (login/logout, enter/leave rooms).

Hey, @alesshh I made some changes, thanks for your review! Could you please review it again?!

@alesshh Could you please, check it again? Also, I have an issue with CC, but for me makes more sense to keep the code easy to read instead use a DRY approach, could you check it too, please?

@juliemar Could you plz check this one?


Liquid Date Filter returning error

The Liquid date filter is returning an error of
ScriptRuntimeException: (100,23) : error : Invalid number of parameters 2 for date object/function.
Example:
{{ "March 14, 2016" | date: "%b %d, %y" }} should print Mar 14, 16, however - it is throwing an error in my project.
{{ "March 14, 2016" }} prints normally as expected.
Is this an error on my end, or does Scriban have a different method of converting dates in Liquid templates?

Curious if you had any thoughts on this, @xoofx. We are trying to use as much plain Liquid as possible, since our pattern library is built on it.

I'm on vacation, ping me back in two weeks

@xoofx circling back to this after your vacation.

So the problem is that the implementation in Scriban for the liquid date: is only redirecting to date.parse scriban, which is not expecting another parameter, while liquid is actually expecting a format string and will parse the date string according to this format.
It would require to implement a proper method in DateTimeFunctions class.
I don't have any spare time left for this but PR would be welcome.

Can verify this bug still exists, unfortunately.


Support AWS Bedrock Agents for Chat Integration

Validations

[X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that requests the same enhancement

Problem
Teams are creating their own agents in AWS Bedrock for chatting functionalities and it'd be nice to have an IDE integration directly with an Agent in AWS. An agent can invoke lambda functions, can execute RAG against vector data stores to help give contextual information for a specific organization's best practices, etc;.
Solution
For Chat integration support configuring a Bedrock Agent to invoke.

That's a nice idea... what about adding Betrock Knowledge Bases as a context provider as well.

This would be interesting - can you share at all how you're working with Bedrock Agents outside of Continue? Custom agent integrations are definitely something we're interested in building eventually.

That's a nice idea... what about adding Bedrock Knowledge Bases as a context provider as well.

This would be a great addition.
On our side, we have an Agent that is plugged into multiples Bedrock KB (confluence, internals docs, private third party docs) and exposed to employees using an internal chat.
Being able to access those KB via Continue would allow us to remove a pipeline that re-exposes those docs via HTTP for Continue's Docs context provider.
Being able to use the Agent itself in Continue might not be of great use since it has a fairly high latency, and uses strongly opinionated pre-prompts out of the box. It can be customized in the Orchestration settings, but is still aimed at RAG use cases.


[type: test] add NettyWebServerConfiguration test

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3426 (a63e8a1) into master (93db378) will decrease coverage by 0.23%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3426      +/-   ##
============================================
- Coverage     63.37%   63.14%   -0.24%
+ Complexity     5444     5422      -22
============================================
  Files           808      808
  Lines         22581    22575       -6
  Branches       2030     2029       -1
============================================
- Hits          14311    14255      -56
- Misses         6958     7001      +43
- Partials       1312     1319       +7

Impacted Files
Coverage Δ

...plugin/logging/rocketmq/LoggingRocketMQPlugin.java
22.72% <0.00%> (-72.73%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
75.00% <0.00%> (-25.00%)
:arrow_down:

...controller/ShenyuClientHttpRegistryController.java
77.77% <0.00%> (-22.23%)
:arrow_down:

...ogging/rocketmq/body/LoggingServerHttpRequest.java
0.00% <0.00%> (-20.00%)
:arrow_down:

...henyu/admin/service/impl/UpstreamCheckService.java
51.49% <0.00%> (-17.92%)
:arrow_down:

...yu/sync/data/http/refresh/AbstractDataRefresh.java
70.00% <0.00%> (-13.34%)
:arrow_down:

...ruptor/RegisterClientServerDisruptorPublisher.java
52.94% <0.00%> (-11.77%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
74.79% <0.00%> (-8.95%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

... and 37 more

Continue to review full report at Codecov.

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


Permit a struct-wide default, e.g. zeroed for fields that do not have a default

Added -clear option


Publish package to PyPI?

Are there any plans to publish this package to PyPI?

I'm sorting out packaging it up now, so should be soon!

It's on PyPI now

Awesome, thanks!

Didn't notice a missing package in the setup.py initially because it was grabbing it from my system, and it broke the the published version. Fixed that now too


Investigate speed improvements of switching to AlephBFT

As brought up here we can probably speed up HBBFT by removing threshold encryption and only waiting for f + 1 ABA instances (rather than 2f+1).
Alternatively we can switch to AlephBFT which is the better long-term solution.

No longer relevant


[FEATURE] hyperf/dag-incubator 能不能发布一个预览版本?

我这边有个项目想先测试一下

composer require hyperf/dag-incubator

composer require hyperf/dag-incubator


Homekit dropping occupancy sensors when Home Hub changes

I am not sure if my issue is a Weather-Plus issue or not but since it is the only plugin experiencing this issue I figured it was a good place to start. I am running Homebridge on Raspberry Pi5. Weather-plus version is 3.3.3.
Everything works perfect except when my active Home Hub changes all of the Weather-Plus Occupancy Sensors disappear in the Home app.
Restarting Homebridge brings back the Occupancy Sensors in the Home app however I need to re-code the Occupancy Sensor portion of all Home+ automations that referenced one of the Weather-Plus Occupancy Sensors.
For me, this issue is easily replicated simply by shutting down one of my Home Hubs to force another device to become the active Home Hub. It doesn't matter which Home hub becomes the active one or even if it changes to a Home Hub that just minutes prior had the Occupancy Sensors. The triggering factor is merely a change to a different Home Hub.
If anyone has any ideas as to the cause or advice on further troubleshooting I am all ears. And of course if anyone is so inclined to see if you can replicate the issue it would be very much appreciated.

I strongly suspect this is a duplicate of #247
Please re-test with the newly release version 3.3.5.

David,
Thanks for always responding. I was able to resolve the issue by changing the Compatibility setting in Weather Plus plugin from "Apple Home" to "Eve and other 3rd party apps". Automations created in Home+ now survive hub changes \o/ \o/ \o/
Which brings me to my next question, when compatibility is set to "Apple Home", Homebridge accessories page displays individual tiles for each of the Weather data points (rain ,snow, cloud cover etc..) however when set to anything but "Apple Home" (as is the case now) all of the individual tiles disappear and I am left with a single current temperature tile with no ability to view any other Weather data points. This is definitely not a big deal since Homebridge is not really designed to be used as a weather dashboard but I wanted to make sure this is expected behavior, can you confirm (or deny)?
By the way I had played around with the different compatibility settings when I first installed the Weather Pus plugin but ended up staying with "Apple Home" when I saw the other compatibility settings were not displaying all of the Weather data point tiles as "Apple Home" setting did. Also, I had no idea until yesterday that when compatibility is set to something other than "Apple Home" you must drill into the single Accessory tile in Home+ and select the desired Weather data point.

By the way when I discovered that changing Compatibility setting resolved the issue on 3.3.3. I updated to 3.3.5, wen't back to "Apple Home" compatibility which caused the issue to reappear.  Changing 3.3.5 compatibility setting back to "Eve and other 3rd party apps" once again resolved the issue.

David,
Thanks for always responding. I was able to resolve the issue by changing the Compatibility setting in Weather Plus plugin from "Apple Home" to "Eve and other 3rd party apps". Automations created in Home+ now survive hub changes \o/ \o/ \o/

This is really odd because the Occupancy Sensors are only created if you pick 'Apple Home' or 'Apple Home (plus Eve)', this is because the Eve app natively supports all the different weather sensors. (Note I broke the Occupancy Sensors in 3.3.4, but they are fixed in 3.3.5). Eve natively supports weather data by using Custom Characteristics - which is an Apple HomeKit supported way a HomeKit device can have custom features. If an HomeKit app doesn't support the custom features, then they just don't ignore them. When you select 'Apple Home' this weather plugin does not create the Custom Characteristic rather it creates Occupancy Sensors and provides the information that way. When you select 'Apple Home (plus Eve)` it creates both the Occupancy Sensors as well as the Custom Characteristics.
I am puzzled to why you are loosing the sensors when the Home Hub changes.
I am not surprised that you have to re-do the automations when the sensors appear again. AFAIK, Automations are 'cleaned up' if all the triggers/sensors for an automation disappears.

Which brings me to my next question, when compatibility is set to "Apple Home", Homebridge accessories page displays individual tiles for each of the Weather data points (rain ,snow, cloud cover etc..) however when set to anything but "Apple Home" (as is the case now) all of the individual tiles disappear and I am left with a single current temperature tile with no ability to view any other Weather data points. This is definitely not a big deal since Homebridge is not really designed to be used as a weather dashboard but I wanted to make sure this is expected behavior, can you confirm (or deny)?

This is correct behaviour see above. It is also described here.

By the way I had played around with the different compatibility settings when I first installed the Weather Pus plugin but ended up staying with "Apple Home" when I saw the other compatibility settings were not displaying all of the Weather data point tiles as "Apple Home" setting did. Also, I had no idea until yesterday that when compatibility is set to something other than "Apple Home" you must drill into the single Accessory tile in Home+ and select the desired Weather data point.

"Apple Home" and "Apple Home (plus Eve)" should be displaying all the weather data tiles. If the "Apple Home (plus Eve)" is not showing the tiles the same as "Apple Home" then can you file a new issue.

Can you tell me if this is still happening?

Hi David,

Original issue of HomeKit dropping occupancy sensors when Home Hub changes has not resurfaced since switching config setting from "Apple Home"" to "Even and Other 3rd Party apps".
Last issue that we discussed in the thread was needing to drill down on the one and only Weather Plus tile to see all data points (as opposed to having a separate tile for each data point). This issue remains.

I am currently running v3.3.4-beta.1. Let me know if you would like me to update to current version and re-test.
CG


I found a broken link

Go to https://docs.docker.com/ee/ucp/#centralized-cluster-management
Click on "Learn about role-based access control."

Fixes via #6801


[iOS] Multiple operations of DocumentPicker.show makes the app unresponsive

On iOS, when I upload one file, it is fine. But when I do this procedure say 5 times, my app becomes unresponsive. Is this is known issue? Or any workaround?
Thanks,

After thorough investigation, we found out that there was nothing wrong with this library. The unresponsiveness was caused by our QA build configuration which includes Calabash for enabling UI automation for iOS devices.
Creating another iOS configuration that doesn't include Calabash fixed the problem.


failed to run the demo due to ImportError

ImportError: cannot import name 'HostiePuppet' from 'wechaty_puppet_padplus.puppet'

This repo is at init stage, which can't run well. We try to make it runnable as soon as possiable. Thanks for using. Please keep eyes on this repo.

that's ok, thanks for your reply, do you mean that the wechaty of python doesn't support the pad protocol ?

Yes，but just now, not in the days later. Please keey eyes on this repo. You can watch this repo to get the latest news about python-wechaty-puppet-padplus. Thanks you for your attention.

@zxypetre you can try scala-wechaty which supports padplus token.


[CHANGE] There should not be a distinction between internal and external

Required information
Targeted Engagement: draft Standard on Information and Communication Technology (ICT) Accessibility.](https://a11y.canada.ca/en/standards/standard/)
1.4 Public-facing web content
1.4.1 Subsections <IP_ADDRESS> and <IP_ADDRESS> must conform with this standard by (effective date + 12 months)
1.7 Internal-facing web content
1.7.1 Subsection <IP_ADDRESS> must conform with this standard by (effective date + 24 months)
Separating internal and external facing digital content and ICT is a disservice to those currently experiencing barriers. We have inaccessible time management systems, pay systems, leave systems, intranet and constantly created inaccessible documents being created and shared internally and externally. The narrative that internal services, products and content need more time is poor stewardship. It's been a known issue for more than 15 years. There are official channels of complaints around this and requires stronger pushes to be achieved. This separate further articulates to people that they may view internal and external digital content differently with different prioritization mechanisms, levers, support structures and weaker decision-making practices.

Yes, but I don't think I've found a Government of Canada site that fully meets WCAG 2.0 AA externally. Many of the sites using Drupal will be pretty close to meeting WCAG 2.0 AA for authoring purposes (internal).
De-prioritization of accessibility in the authoring (and admin) sides of digital tools for decades has produced considerable technical debt. Reworking the authoring interface of some of the custom-built, proprietary or legacy tools government still uses may be next to impossible. A timeline is important, but I don't think that even with the proposed longer timeline (and a lot of resources) that the government will be able to achieve this.
Systems will need to be decommissioned and replaced with tools (like Drupal) which have prioritized accessibility. Accessibility is like a blueberry muffin after all, kinda doesn't work to add in the blueberries after you have baked the muffins.
I'd like them to be the same, but know that they are tasks with substantially different level of complexity. It is easier to start with the external sites (which just continues the problem).
One big advantage of doing them both at once is that it might be determined up-front that fixing the back-end is going to be impossible (or nearly so). It might encourage departments to abandon projects earlier that will not be able to achieve the targets of EN 301 549 compliance (let alone WCAG 2.0 AA). Is it better to rip the band-aid off quickly or slowly? It is going to hurt a lot either way.


Gk/gpt

Update parameters for default GPT config to work for general natural language generation use cases

@johntmyers Because I built my branch off of main, but now am PRing a merge to dev, it seems to have pulled all other commits from main that arent in dev too. Not sure how to handle that.


[improve][build] Add lombok plugin to solve Javadoc issue.

Motivation
When releasing branch-2.11, there is a issue when generating Javadoc :
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:javadoc (default-cli) on project pulsar-functions-api: An error has occurred in Javadoc report generation:
[ERROR] Exit code: 1 - Loading source files for package org.apache.pulsar.functions.api...
[ERROR] Loading source files for package org.apache.pulsar.functions.api.utils...
[ERROR] Loading source files for package org.apache.pulsar.functions.api.state...
[ERROR] Constructing Javadoc information...
[ERROR] /Users/tboy/tboy/workspace_3/pulsar/pulsar-functions/api-java/src/main/java/org/apache/pulsar/functions/api/Context.java:173: error: cannot find symbol
[ERROR]     <X> FunctionRecord.FunctionRecordBuilder<X> newOutputRecordBuilder(Schema<X> schema);
[ERROR]                       ^
[ERROR]   symbol:   class FunctionRecordBuilder
[ERROR]   location: class FunctionRecord
[ERROR] /Users/tboy/tboy/workspace_3/pulsar/pulsar-functions/api-java/src/main/java/org/apache/pulsar/functions/api/utils/FunctionRecord.java:52: error: cannot find symbol
[ERROR]     public static <T> FunctionRecord.FunctionRecordBuilder<T> from(Context context, Schema<T> schema) {
[ERROR]                                     ^
[ERROR]   symbol:   class FunctionRecordBuilder
[ERROR]   location: class FunctionRecord
[ERROR] 2 errors
[ERROR]
[ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk-<IP_ADDRESS>.jdk/Contents/Home/bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/Users/tboy/tboy/workspace_3/pulsar/pulsar-functions/api-java/target/site/apidocs' dir.

We can use mvn javadoc:javadoc to reproduce in the master branch.
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

@Technoboy- I think this the root cause that the generated javadoc for 2.11.0 using pytools becomes empty.


Improve Javadoc to show optional/required properties and include sample codesnippets

Fix https://github.com/Azure/autorest.java/issues/1464
Required/Optional flag:

Query table description:

Header table description:

@srnagar Could you please take a look at this pr?


feat: update stage index while running tests in reverse order.

This is how the fixtures would look with this change.
[stage-8] Running tests for Stage #8: post-file
[stage-8] $ ./your_server.sh --directory /tmp/data/codecrafters.io/http-server-tester/
[stage-8] You can use the following curl command to test this locally
[stage-8] $ curl -v -X POST http://localhost:4221/files/pear_orange_raspberry_mango -d 'pear banana blueberry banana pear orange grape grape'
[stage-8] Sending request (status line): POST /files/pear_orange_raspberry_mango HTTP/1.1
[stage-8] Test passed.

[stage-7] Running tests for Stage #7: get-file
[stage-7] $ ./your_server.sh --directory /tmp/data/codecrafters.io/http-server-tester/
[stage-7] Testing existing file
[stage-7] You can use the following curl command to test this locally
[stage-7] $ curl -v -X GET http://localhost:4221/files/apple_apple_banana_mango
[stage-7] Sending request (status line): GET /files/apple_apple_banana_mango HTTP/1.1
[stage-7] Testing non existent file returns 404
[stage-7] You can use the following curl command to test this locally
[stage-7] $ curl -v -X GET http://localhost:4221/files/non-existentapple_apple_mango_banana
[stage-7] Sending request (status line): GET /files/non-existentapple_apple_mango_banana HTTP/1.1
[stage-7] Test passed.

[stage-6] Running tests for Stage #6: concurrent-connections
[stage-6] $ ./your_server.sh
[stage-6] Creating 3 parallel connections
[stage-6] Sending request on 3 (status line): GET / HTTP/1.1
[stage-6] Sending request on 2 (status line): GET / HTTP/1.1
[stage-6] Sending request on 1 (status line): GET / HTTP/1.1
[stage-6] Test passed.

[stage-5] Running tests for Stage #5: parse-headers
[stage-5] $ ./your_server.sh
[stage-5] You can use the following curl command to test this locally
[stage-5] $ curl -v -X GET http://localhost:4221/user-agent -H "User-Agent: blueberry/mango"
[stage-5] Sending request (status line): GET /user-agent HTTP/1.1
[stage-5] Test passed.

[stage-4] Running tests for Stage #4: respond-with-content
[stage-4] $ ./your_server.sh
[stage-4] You can use the following curl command to test this locally
[stage-4] $ curl -v -X GET http://localhost:4221/echo/banana
[stage-4] Sending request (status line): GET /echo/banana HTTP/1.1
[stage-4] Test passed.

[stage-3] Running tests for Stage #3: respond-with-404
[stage-3] $ ./your_server.sh
[stage-3] You can use the following curl command to test this locally
[stage-3] $ curl -v -X GET http://localhost:4221/pear
[stage-3] Sending request (status line): GET /pear HTTP/1.1
[stage-3] Test passed.

[stage-2] Running tests for Stage #2: respond-with-200
[stage-2] $ ./your_server.sh
[stage-2] You can use the following curl command to test this locally
[stage-2] $ curl -v -X GET http://localhost:4221/
[stage-2] Sending request (status line): GET / HTTP/1.1
[stage-2] Test passed.

[stage-1] Running tests for Stage #1: connect-to-port
[stage-1] $ ./your_server.sh
[stage-1] Connecting to localhost:4221 using TCP
[stage-1] Success! Closing connection
[stage-1] Test passed.


I met some trouble to get the database

There is some problem with the  original web page，I can‘t log in to get the database。Could you send me a copy of it, please!
My E-mail is<EMAIL_ADDRESS>.
Best wishes for you.

I'm currently not able to upload it (and I'm not sure if Terms of Usage allow this). But I send you some (I hope) useful info. :)


Updated Google Chrome Dev to version 118.0.5951.0.

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Merge conflicts. (I can't find the duplicated PR.)


HMR not working with dynamic backend

Our project uses a dynamic backend. I'm trying to switch it to use preact and @preact/preset-vite is looking like almost a drop-in replacement, which is fairly amazing.
However, HMR isn't working. On https://vitejs.dev/guide/backend-integration.html for HMR with react we have this:

<!-- if development -->
<script type="module" src="http://localhost:5173/@vite/client"></script>
<script type="module" src="http://localhost:5173/main.js"></script>
...

Note if you are using React with @vitejs/plugin-react, you'll also need to add this before the above scripts, since the plugin is not able to modify the HTML you are serving:

html
<script type="module">
  import RefreshRuntime from 'http://localhost:5173/@react-refresh'
  RefreshRuntime.injectIntoGlobalHook(window)
  window.$RefreshReg$ = () => {}
  window.$RefreshSig$ = () => (type) => type
  window.__vite_plugin_react_preamble_installed__ = true
</script>

(When the above is included in our served HTML with this preset in use and react removed, it errors in the browser console, so I assume it is not to be included when using this preset, though I'm not entirely confident in that.)
This leads me to wonder if there is an equivalent piece of code that is missing from our dynamically served backend when using this preset?

Thanks for filing an issue. Can you share code with which we can reproduce the issue? Happy to look into it.

Ended up finally tracking this down, after being plagued by it myself.
It seems that Vite will only optimize directly referenced deps in user code, and for some reason, if preact isn't optimized, HMR goes a bit wonky (only in the top level, can be broken if you clear Vite's cache, etc). Adding an import from preact anywhere in your app would fix it, but alternatively, we can make sure in the preset that it's always optimized.


add missed permissions for yurt-manager (#2127)

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage

What this PR does / why we need it:
Fixs series of missing permissions when install yurt-manager.
Which issue(s) this PR fixes:

Fixes #2127
Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

other Note

@YunWZ Sorry, The reason for the InitCA failed is not rbac pemission, so I commented the issue again.


Smarter smart url input. Fixes #2415

This fixes an issue reported twice... we are being 'too smart'.
The previous way to input a realm URL always tried to append a .com at the end of something.something assuming that it is an incomplete url in the form of subdomain.domain.tld.
Users hosting their Zulip server on domain.com could not enter their URL correctly.
This simplifies the logic and removes the code to append the extra .com

Merged, thanks!