SMTP: No AUTH option

In latest version (286 MB, 5 days ago, 9ef4efc51cd7...) SMTP EHLO doesn't provide
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN

anymore. Ergo login isn't possible anymore.
In tag 2.3 (320 MB, 17 days ago, 7aaf98379b39...) its still working fine.
I checked the usual suspects:
# doveconf
auth_mechanisms = plain login

# postconf
smtpd_tls_auth_only = no
smtpd_sasl_type = dovecot

And I also tried via STARTTLS:
 > openssl s_client -starttls smtp -crlf -connect mail.example.com:25
...
250 SMTPUTF8
EHLO test
250-mail.example.com <- changed
250-SIZE 10240000
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 SMTPUTF8

My docker-compose:
  mx:
    image: tvial/docker-mailserver
    hostname: mail
    domainname: example.com
    cap_add:
     - NET_ADMIN
    ports:
     - "25:25"
     - "143:143"
     - "587:587"
     - "993:993"
    volumes:
     - /opt/mx/config/:/tmp/docker-mailserver/
     - /opt/mx/maildir:/var/mail
     - /opt/mx/mail-state:/var/mail-state
     - /opt/mx/certs/mail.example.com:/etc/letsencrypt/live/mail.example.com
    environment:
      SSL_TYPE: letsencrypt
      ENABLE_SPAMASSASSIN: 1
      ENABLE_CLAMAV: 1
      ENABLE_FAIL2BAN: 1
      SA_TAG2: 4.0
    restart: unless-stopped

Can you please post the log from the container?
Preferable with DMS_DEBUG enabled.
From which client are you connecting to the server? From which network?

mx-clean.log
I tried to anonymize the log as much as possible. Example.org and .net are not the real domains, the user names and IPs have been obfuscated. If you need more details on these log lines, let me know.
First time encounter was on an MacOS Mail client. But to abstract the issue from a certain client, I was showcasing the issue with openssl client above. So the issue is not related to a specific client.
The server is running on a data center and I accessed it from VDSL home network.

If the last part of the log states what happened while you attempted to login to that server we got two problems.
Postscreen is complaining about your login attempt not behaving correctly:
Feb 13 20:55:21 mail postfix/postscreen[1256]: PREGREET 11 after 0.01 from [x.x.x.x]:23476: EHLO User\r\n
Means that the client at [address]:port sent 11 bytes before its turn to speak. This happened 0.01 seconds after the postscreen_greet_wait timer was started. The text is what the client sent (truncated to 100 bytes, and with non-printable characters replaced with C-style escapes such as \r for carriage-return and \n for newline).
So I guess this was your openssl try.
The bigger issue is actually that your client IP is listed as a spam delivery address.
Feb 13 20:55:21 mail postfix/dnsblog[1262]: addr x.x.x.x listed by domain zen.spamhaus.org as x.x.x.x
Feb 13 20:55:21 mail postfix/postscreen[1256]: DNSBL rank 3 for [x.x.x.x]:23476time

And that's definitely happing for a reason.
So you can get around that error, if you add this config-option to your environment section in the docker-compose.yaml:
'POSTSCREEN_ACTION = ignore`
see POSTSCREEN_ACTION
But I highly encourage you to figure out who is sending spam mails from your IP and remove that config option from the docker-compose.yaml file afterwords.

The first attempt was mine, and the complain from postscreen is correct, but is a result of the fact, that EHLO didn't offer me an AUTH mechanism (see initial bug report). So thats not the cause, but a result.
The second attempt (from 20:55:21 on) with the blacklisted IP wasn't me. So this is also correct.
My problem is, that EHLO doesn't offer AUTH mechanisms with this latest release, and I don't see any reasons why.

You should not send email out with a client over port 25.
postscreen readme:

postscreen(8) should not be used on SMTP ports that receive mail from end-user clients (MUAs).

So. Indeed on port 587 AUTH mechanisms are advertised. On the opposite, what is the rationale behind not advertising AUTH mechanisms on port 25. Many end-user clients still use this port per default.

@scrwr this is deprecated and at some point should be dropped. Most of those clients are capable of using the correct ports.

If you use Thunderbird or Android the default port is already 587 or 465.
Port 25 is also blocked for a lot of providers to prevent personal mailservers or other malicious software spamming.

Sorry for the late reply. I overread that you were using port 25, that would have been a lot easier to solve then! ;)
For further information, why this is important:
The importance of locking down Port 25
So can this be closed than?

Thanks guys for your quick support.
But even with the read through your information about locking down port 25, I don't get the point behind preventing only AUTH-enticated access, which is the opposite to the complained open relay. I get of course the point, that unauthenticated access on port 25 only delivers to local recipients. But this doesn't imply preventing AUTHenticated access at all.
In any case, it is a breaking change (intentional or unintentional) and I would recommend at least to put it clearly in the README. I still don't agree with your POV, but I need to dig deeper into this topic first, before arguing further with you. :)
Feel free to close this issue. And once again, thanks for your support. Awesome quick.

Sorry, didn't want to sound rude..
And I changed my mind, I think we shouldn't close this, it's actually quite essential to figure out which ports we want to keep open.
IETF published RFC 821 in 1982, establishing port 25 as the default channel for email. There were some RFCs obsoleted this initial SMTP RFC. Whatever, you are still/partly right, RFC2476 states

While most email clients and servers can be configured to use port
587 instead of 25, there are cases where this is not possible or
convenient.  A site MAY choose to use port 25 for message submission,
by designating some hosts to be MSAs and others to be MTAs.

In general the RFC defined that message relay only should be handled via port 25, Message submission on port 587.
So IMHO, we shouldn't use port 25 for anything else than relaying from MSA->MTA or MTA->MTA.

@scrwr what @17Halbe described was what I always used to to submitting email and knew about. When you look at Office365 or Amazon they all use 587 for email submission.
But I agree a note in the README should be nice, I'll make a PR for this.
The tests that are in place for this project didn't test for email submission on port 25 so that's why the change of @17Halbe didn't ring the alarm bells of failing tests and breaking changes.
I also think introducing back the CHANGELOG for a PR would be nice to read back what has changed so it makes it easier to track changes that might broke some functionality.

@johansmitsnl Do you want me to change the postscreen implementation? We could change it to be optional.
Though I would rather have it enabled by default.
I could also do that README PR, since i introduced that braking change.
Sorry for not realizing that the postscreen service broke AUTH on Port 25.

@17Halbe I think it should be default.
Could you verify: https://github.com/johansmitsnl/docker-mailserver/tree/update_readme_and_changelog#exposed-ports

Nice! :+1:

Thanks guys.
Changed the setup according to your recommendations.


about silo OCC's writeset lock

There are serveral question's about silo's OCC writeset lock during commit time.
1, Is the lock always set to true when the tuple is a inserted one?
2, If tuples are modified ones, are there any locks during commit time? Does Silo  create a new version in thread-or-numanode local memory and update the index?

To answer 1), yes, this is an optimization.
To answer 2), there are two cases. Case (a) is if the modification is in the same epoch, in which case the data is overwritten in place. Case (b) is if the modification is in a later epoch, in which case a new tuple is created and the index updated. In both cases locks on the tuple must be acquired. Hope this helps.

thanks


Server Side context is lost when loading Data from pages or Store

Im working on a website with language being detected and managed by i18next, and user being managed by a custom session based express middleware.
Let's say I have my store taking the current User from the req object in nuxtServerInit like that
if (req.user)     commit('setUser', req.user);
It works. Same to get the current language. But now, I need the store to load a configuration JSON depending on the language so I now have in nuxtServerInit:
const res = await axios.get(/api/config/);     commit('setConfig', res.data);
And the language is supposed to be handled by i18n based on session.
The call works great.... except that the request made to the server being called by the server itself, it loses it's context based on session. I just cant retrieve any localized content in store or page on SSR for that reason, same for any "user based" content.
I can't find a way to make the session to be "passed" we my API is being called by nuxt on server side.
Anyone have an idea on that ?

I'm sorry, my question is unclear actually.
In the store, I manage to get it working by adding headers to the next request :
const res = await axios.get('/api/xxx', { headers: req.headers });
but i'm struggling to find a way to do the same in plugins where it seems that I don't have access to the original request object. It would be great not to include this workaround in every single page.

Allright, I was still using axios the old fashion way as it was used in the previous examples. Saw that the axios module is already proxying the header :
https://github.com/nuxt-community/axios-module
Issue solved, closing


docs(examples): add real time collaborative text editing using tiptap & webrtc

[x] Docs

@marvinwu Can you please make sure all linting errors are fixed?

@MichaelDeBoey  Thanks for reviewing, just fixed all linting errors, sorry my bad on forgot to lint it before.


Clean up logs 3.x.v2

Overview
Port https://github.com/apache/couchdb/pull/3031 (Clean up logs) into 3.x branch.
This PR deals with cleaning up logs from user's data (potentially sensitive) in the cases when OTP processes crash. All commits except "Add format_status/2 callback in gen_server implementations" were cherry picked from https://github.com/apache/couchdb/pull/3031. The "Add format_status/2 callback in gen_server implementations" was extended to include applications relevant for 3.x.
The approach to format_status/2 is to return term as is when first argument is normal in order for sys:get_status to return original term. The only exception from this rule is stripping of passwords from replicator state. The status returned from terminate clause removes credentials and omit big terms.
Testing recommendations
make eunit
Related Issues or Pull Requests

[ ] https://github.com/apache/couchdb/pull/3372 - previous attempt
[ ] https://github.com/apache/couchdb/pull/3031 - implementation on main

Checklist

[x] Code is written and works correctly
[x] Changes are covered by tests
[ ] Any new configurable parameters are documented in rel/overlay/etc/default.ini
[ ] A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation

I don't think redaction beyond obvious things like passwords can be the default behaviour of CouchDB. I'm less sure if there should be an option for the kind of deep "cleanup" here. With my couchdb support hat on, would I be happy to diagnose a problem from a CouchDB log this heavily modified?

Personally I hit the same problem over and over. I have a bug and go to check logs. The log contains huge term which we truncate and all important information about other fields of a record omitted.

Ah, sure, I get that point, thank you.

Hey hey, just casually following this, but the diff is a bit complex. I think this might have a better chance if we focus on redacting sensitive data first, and tackle garbage cleanup later.

I think this might have a better chance if we focus on redacting sensitive data first, and tackle garbage cleanup later.

Agree. I'll update the PR to decouple garbage cleanup out of this PR.

I rolled back the controversial changes and included only the changes needed to prevent leaking of passwords. I think we can have separate PR if we would want to prevent leaking of users' data or minimize state terms.


merge from arlac77/npm-package-template-esm-only

LICENSE

chore(license): add current year 2020

Codecov Report

Merging #905 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #905   +/-   ##
=======================================
  Coverage   90.41%   90.41%
=======================================
  Files           7        7
  Lines         647      647
  Branches       77       77
=======================================
  Hits          585      585
  Misses         61       61
  Partials        1        1

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 1aeba01...eb6506c. Read the comment docs.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update TOC.yml

add ce app container page

Docs Build status updates of commit 2745288:
:warning: Validation status: warnings

File
Status
Preview URL
Details

windows-iotcore/TOC.yml
:warning:Warning

Details

windows-iotcore/TOC.yml

Line 15: [Warning-file-not-found] Invalid file link: 'windows-ce-app-container.md'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


NodeJS SDK: Check if docker is running

If docker isn't running you get the following error:

We should catch this error and display an appropriate message.

A text log is useful for searches. There could be other issues resulting in this error, so a more explanatory message, digging deeper into the source of the error may be needed.
For example, I'm getting the following, when trying to execute a nodejs example https://github.com/dagger/dagger/pull/3823 with<EMAIL_ADDRESS>from within a container that mounts /var/run/docker.sock. At the same time docker run hello-world works. Trying to create a reproducible example.
Error: Command failed with Unknown system error -8: /home/node/.cache/dagger/dagger-engine-session-666b958a2f716c0d --remote docker-image://ghcr.io/dagger/engine:v0.3.4@sha256:666b958a2f716c0d6b22d869c585d6fe07954133ec769bb3d1f310e931cb118f --workdir /app
spawn Unknown system error -8
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at Object.spawn (node:child_process:743:9)
    at execa (file:///app/node_modules/execa/index.js:84:26)
    at execaCommand (file:///app/node_modules/execa/index.js:229:9)
    at DockerImage.<anonymous> (file:///app/node_modules/@dagger.io/dagger/dist/provisioning/docker-provision/image.js:183:31)
    at Generator.next (<anonymous>)
    at file:///app/node_modules/@dagger.io/dagger/dist/provisioning/docker-provision/image.js:7:71
    at new Promise (<anonymous>)
    at __awaiter (file:///app/node_modules/@dagger.io/dagger/dist/provisioning/docker-provision/image.js:3:12)
    at DockerImage.runEngineSession (file:///app/node_modules/@dagger.io/dagger/dist/provisioning/docker-provision/image.js:175:16) {
  errno: -8,
  code: 'Unknown system error -8',
  syscall: 'spawn',
  originalMessage: 'spawn Unknown system error -8',
  shortMessage: 'Command failed with Unknown system error -8: /home/node/.cache/dagger/dagger-engine-session-666b958a2f716c0d --remote docker-image://ghcr.io/dagger/engine:v0.3.4@sha256:666b958a2f716c0d6b22d869c585d6fe07954133ec769bb3d1f310e931cb118f --workdir /app\n' +
    'spawn Unknown system error -8',
  command: '/home/node/.cache/dagger/dagger-engine-session-666b958a2f716c0d --remote docker-image://ghcr.io/dagger/engine:v0.3.4@sha256:666b958a2f716c0d6b22d869c585d6fe07954133ec769bb3d1f310e931cb118f --workdir /app',
  escapedCommand: '"/home/node/.cache/dagger/dagger-engine-session-666b958a2f716c0d" --remote "docker-image://ghcr.io/dagger/engine:v0.3.4@sha256:666b958a2f716c0d6b22d869c585d6fe07954133ec769bb3d1f310e931cb118f" --workdir "/app"',
  exitCode: undefined,
  signal: undefined,
  signalDescription: undefined,
  stdout: '',
  stderr: '',
  all: '',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}

@marcindulak that looks like it may be a bug we just fixed in the latest release<EMAIL_ADDRESS>To fix it locally you will need to run rm /home/node/.cache/dagger/dagger-engine-session-666b958a2f716c0d, then that problem shouldn't reappear going forward.

Just submitted https://github.com/dagger/dagger/issues/3857 with a test case - I'm doing this from within a container, so I think a manual intervention is not a solution.

Just submitted https://github.com/dagger/dagger/issues/3857 with a test case - I'm doing this from within a container, so I think a manual intervention is not a solution.

To be clear the manual intervention is a one-time thing, should not be needed going forward. I will get back on your other issue too, thanks for reporting this!


Invalid Image Type exception thrown

Hello,
Using the project employee-directory/3. Complete
I have an exception after capturing the picture and exactly while calling the method:
ExecuteFindSimilarFaceCommandAsync() at line 81 : var faces = await faceServiceClient.DetectAsync(stream);
The exception message is:
Image size is too small or too big.
Any solution please?

Seems like the image needs to be smaller for the service to use it. Would you mind compressing the image first before sending it to Cognitive Services, then let me know if you still get the error.
Closing until I hear back. 👍


Slow loading of maths on Safari and Chrome

The maths is loading very slowly on Safari on both desktop and mobile and in Chrome for Desktop. If you refresh a page the maths appears or if you leave it alone a long time (~3-5 minutes) it will then appear. It also appears on the first page you go to on the site, but afterwards it struggles. The little grey box telling you what is happening on the bottom left-hand side of the page seems to flicker between Typesetting and  processing I think it says.

Should be better now.


Introduction.md Problems

Describe the bug
In the second code cell of this sheet (https://github.com/rlayers/pawpaw/blob/master/docs/0. Introduction.md) the code returns an attribute error:
'TypeError: fullmatch() missing 2 required positional arguments: 'pattern' and 'string'
To Reproduce
Execute:
import regex
re = regex.compile(r'(?:(?P<phrase>(?P<word>(?P<char>\w)+) (?P<number>(?P<digit>\d)+))\s*)+')
m = regex.fullmatch()

Expected behavior
Regex match performed.
It can be fixed by changing to:
m = regex.fullmatch(re, s)
Unfortunately...the 4th section also fails once this correction is implemented...
Running this:
import pawpaw
root = pawpaw.Ito.from_match(m)
print(*root.find_all('**[d:digit]'), sep=', ')  # print all digits

Will result in this:
AttributeError: 'list' object has no attribute 'find_all'
I haven't gotten further in running this introduction- can you please review it for any additional issues?
Additional Context
Using Python 3.10.12
Using regex 2.5.140

suciokhan:
Thanks for pointing this out - it looks like the documentation was out of
date.  I've updated it and it works fine now.
Robert
On Thu, Feb 15, 2024 at 9:42 AM suciokhan @.***> wrote:

Describe the bug
In the second cell, the code returns an attribute error:
`AttributeError: 'list' object has no attribute 'find_all'
To Reproduce
Execute:
import regex
re = regex.compile(r'(?:(?P(?P(?P\w)+) (?P(?P\d)+))\s*)+')
m = regex.fullmatch()
Expected behavior
Regex match performed.
Additional Context
Using Python 3.10.12
Using regex 2.5.140
—
Reply to this email directly, view it on GitHub
https://github.com/rlayers/pawpaw/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3KJCMPJIN24G77R7MVTYDDYTYNEXAVCNFSM6AAAAABDKMJDWKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZTMNZQHAZTOMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


deps: Automated nightly version update.

um that's weird

https://github.com/rust-lang/rust/issues/132838 looks like nightly-2024-11-10 indeed does not exist


fix: failing CI issues

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

For lack of a better solution.

👍 😄 🎉 ❤ 🚀

Seems you all had a party without me.


Incorrect metadata refresh when the seed broker used for refresh is stale and moved to another Kafka cluster

Description
Hi, my name is Hao Sun from the Uber Kafka team. We plan to report an issue with the Sarama metadata refresh.
Context about the Uber instance lifecycle management:
At Uber, our Kafka broker instance will be automatically replaced when there is a host hardware issue. Afterward, this replaced instance with the same IP address will sometimes be reused in another Kafka cluster and never belong to the original Kafka cluster.
Stale broker Metadata Refresh Issue
In our current Sarama metadata refresh logic, we will use the first available broker in the seed broker list to fetch the metadata. This seed broker list never gets changed after client initialization.

Suppose we pass [broker1, broker2] in the seed broker list. Everything looks good after the Sarama client initialization.
At some point, the broker2 got replaced internally due to a hardware issue. The Sarama client still looks good because it uses broker1 to fetch metadata, although broker2 still exists in the seed broker list.
Later, broker1 has some issues and becomes unavailable. According to the tryRefreshMetadata method, broker1 will be removed to dead broker list, and the Sarama client will move the second broker(broker2) to fetch metadata by using anyBroker method. Because the broker2 is online but in a different cluster, the client think this broker is healthy and fetch metadata from it.

Unfortunately, the metadata from broker2 isn't from the right cluster. All cached metadata info in the client is messed up. When we use this client to produce/consume, we will encounter the topic partition error. The more dangerous case is if two Kafka cluster has topics with the same name, we are more likely to produce/consume the wrong topics from the wrong cluster.
Proposed fix:
We propose to change the behavior of how to pick up a broker to do metadata refresh. Instead of using the static seed broker list, we will pick up the least loaded broker from the cached broker list to refresh the metadata. If the cached broker list is empty, we will use the first broker in the seed broker list as we are doing now. We already have this idea patch internally and hope to create a PR. This fix idea is the same as the open-source Java Kafka client. The seed broker list is the bootstrap list only used during startup.  Each metadata refresh will pick up the least loaded broker from the cached broker list. Java source code.
Let me know what you think. If it looks good, I will create a PR for review.
Thanks.
Hao
Versions
Basic client behavior changes for all Sarama/Kafka/Go versions.

@HaoSunUber 👋🏻 thanks for getting in touch. I'm certainly happy to review a PR that updates Sarama to prefer the least loaded existing broker connection when updating metadata. As you mention that brings us more in-line with the Java client, and is also more efficient if we re-use existing connections. Although the Java client doesn't currently fallback to the bootstrap addresses, I think it makes sense for Sarama to continue to do so
Regarding your specific issue of accidentally fetching from a difference cluster though, I think we probably want to take heed of the advice given in KIP-899 (which is also exploring this space for the Java client) and  "check the cluster ID [in any metadata response]" and "the client will fail if the returned cluster ID doesn't match the previously known one" — i.e., (as long as we're Version: 0_10_1_0 or newer) we should cache the cluster ID in the first metadata responses, and reject any that don't match that for the lifetime of the client

Yes, we also patched the clusterID comparison logic internally when fixing this problem. If you think it is reasonable, I can do another PR for the clusterID validation change. I think the cluster ID is always static in the client lifecycle and should not have any degradation after introducing this validation

thanks. Code merged. Closed


Liked View

Posts each get a like individually. (Post +1).
A set of all liked songs. Cells will display like in search (artist, album art, song name and album title)
If a user likes the same song it will only appear once in the list. Songs can only be added to Liked list once. i.e. You might like a few friends post of "99 Problems - Jay Z" but you don't want it to show up in liked songs multiple times.
Ability to delete songs from liked. Should not decrement a post's like count.
Ability to delete multiple songs from liked at once. Again should not decrement a post's like count.

Note that 3 and 4 are not longer part of the issue. View should use SongSearchCells


checkpoint for mult-resolution training

Dear anycost-gan team,
Thank you for sharing this great work, I really like it.
Would you minding sharing the intermedia checkpoint for mult-resolution step? To train anycost gan, we need to do 3 steps:

Training the original StyleGAN2 on FFHQ
Training Anycost GAN: mult-resolution
Training Anycost GAN: adaptive-channel

You provide the checkpoint for 1st and 3rd steps. Would you minding aslo sharing the checkpoint for the second step? I understand that I can train it by myself, but 8 gpus for 5 days is really too heave resource for us.
Thank you for your help.
Best Wishes,
Alex

Hi Alex,
Thanks for your interest in our work. You may find the checkpoint for the multi-resolution model here: https://hanlab.mit.edu/projects/anycost-gan/files/generator_multires-ffhq-config-f.pth.
Best,
Ji

thx a lot. I really appreciate it.

I am sorry to bother you again.  The multi-resolution model seems to only contain generator but not discriminator, would you may share both G and D?
Thank you again for your help. I really appreciate it.

thx a lot.


Just stops on "Starting renderer" without any error?

For some reason it stalls at: 18aad95dfca 2024ms Starting renderer
Then it doesn't do anything, no error, no hang, it just stops there as if the job was finished and never outputs any PDF.
I can print the HTML using the browser but the PDF is never generated.

I had the same issue.
The hang was traced back to a ligature issue where the German character 'ß' was transformed to 'SS' when converted to uppercase (text-transform: uppercase;).
I replaced the 'ß' character with 'ss' directly in the text.

Think I have the same issue: "Starting renderer for element at<PHONE_NUMBER>117188,0 with size 787x28156", then nothing.....
I thought it was the canvas size, but according to this (https://github.com/jhildenbiddle/canvas-size#test-results), that does not seem to be the case (testing in Firefox).

+1


System VMs not starting with CentOS 7 hosts

ISSUE TYPE

Bug Report
Improvement Request
Enhancement Request
Feature Idea
Documentation Report
Other

COMPONENT NAME

System VMs, KVM

CLOUDSTACK VERSION

4.18, main

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

Tried creating a new environment with CentOS 7 and Systems VMs failed to start with the below error
2023-07-31 11:15:56,455 INFO [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-55:ctx-2c1e5436 job-2/job-582 ctx-5d943e87) (logid:8d9e353e) Unable to start VM on Host {"id":1,"name":"pr7769-t7215-kvm-centos7-kvm1","type":"Routing","uuid":"d12436b0-8fb1-46ad-85c0-582f786fe180"} due to unsupported configuration: deflate-on-oom is not supported by this QEMU binary
-> rpm -qa |grep qemu
qemu-img-1.5.3-175.el7_9.6.x86_64
qemu-kvm-1.5.3-175.el7_9.6.x86_64
qemu-kvm-common-1.5.3-175.el7_9.6.x86_64
libvirt-daemon-driver-qemu-4.5.0-36.el7_9.5.x86_64
This PR https://github.com/apache/cloudstack/pull/7663/ adds new hot memory ballooning capabilities, may be we need version checks there.
STEPS TO REPRODUCE

EXPECTED RESULTS

System VMs should come up and running

ACTUAL RESULTS

System VMs start attempt failed

Observing the same issue, Able to reproduce the issue
@DaanHoogland @rajujith

@kiranchavala @harikrishna-patnala , I am investigating the issue. We don't set deflate-on-oom explicitely on the xml defenition. We do set a memballoon attribute autodeflate, so I am trying to see if I can manipulate that in our favour. Will update here.

@kiranchavala @harikrishna-patnala , I am investigating the issue. We don't set deflate-on-oom explicitely on the xml defenition. We do set a memballoon attribute autodeflate, so I am trying to see if I can manipulate that in our favour. Will update here.

@DaanHoogland
any update ?

I have tried removing the autodeflate option but that did not work on centos7. I am investigating further but have little options left, other than reverting #7663. Trying that one now.

I have tried removing the autodeflate option but that did not work on centos7. I am investigating further but have little options left, other than reverting #7663. Trying that one now.

Thanks @DaanHoogland
if you need any sugg, please let me know

One way to address https://github.com/apache/cloudstack/pull/7663/files is to revert most of the changes, except the one-line that sets the maxRam using vmTO https://github.com/apache/cloudstack/pull/7663/files#r1282627949 anybody who doesn't want to use the vm balloon feature can disable it (alternatively, we can change behaviour to have VM balloon feature disabled by default - not sure who's using dynamic scaling or if it even works by default).
cc @weizhouapache @DaanHoogland @harikrishna-patnala

thanks @rohityadavcloud , am trying this now and will check both the "regression" and the original issue.

Fixed in https://github.com/apache/cloudstack/pull/7810 cc @harikrishna-patnala @DaanHoogland pl check and re-open if that's not the case

Fixed in #7810 cc @harikrishna-patnala @DaanHoogland pl check and re-open if that's not the case

has been tested in #7810 and is ok, no worries


Whether mappings avoid overriding default mappings or not

Hi !
This is not an issue.
I would like to know what you think.
In this week, I sent PR #14 and it was merged ;)
After that, I had considered whether mappings avoid overriding default mappings or not again.
Because someone needs to set mapping himself when someone already uses mappings such as h, l.
I think it is a little bit annoying 😢
Then, I considered alternative ways:

Execute :doautocmd FileType after setting default mappings in vaffle.vim
Define callback functions to override mappings

Thanks

I think the former idea (Execute :doautocmd FileType after setting the default mappings) looks good to me.

ok, I follow your choice.
The default mappings of vaffle are defined when some mappings conflicts to them after the commit (https://github.com/cocopon/vaffle.vim/commit/bcdcb83e1fa475ad933e5937306f5b6e112bd857).
Then, this issue should be closed.
thank !


Inconsistency between QnaMakerMiddleware and LuisRecognizerMiddleware

Hi, when I use both the QnaMakerMiddleware and LuisRecognizerMiddleware I notice that they are quite different in terms of configuration.
The QnaMakerMiddleware looks like this:
var adapter = new BotFrameworkAdapter(Configuration);

// Use the QnA maker middleware for getting responses from the knowledge base
QnAMakerMiddlewareOptions options = new QnAMakerMiddlewareOptions()
{
    SubscriptionKey = Configuration.GetSection("QnaMaker:SubscriptionKey").Value,
    KnowledgeBaseId = Configuration.GetSection("QnaMaker:KnowledgeBaseId").Value
};

adapter.Use(new QnAMakerMiddleware(options));

It takes a separate options object. That I have to insert in the constructor of the QnaMakerMiddleware class. Which is fine. Except that when I look at the LuisRecognizerMiddleware it is quite different.
var adapter = new BotFrameworkAdapter(Configuration);

// Use the LUIS middleware in the app for message enrichment
adapter.Use(new LuisRecognizerMiddleware(
    Configuration.GetSection("Luis:AppId").Value,
    Configuration.GetSection("Luis:Key").Value));

This time I only give it two keys and I'm done.
It is confusing I think and I would love both middlewares to look the same.

The LUIS middleware and recognizer is getting an overhaul soon (hopefully the next few days) so might be worth checking it out then.

To add to this issue. I hope you can use the QnaMakerMiddlewareOptions way of working, so that I can do this:
var adapter = new BotFrameworkAdapter(Configuration);

// Use the QnA maker middleware for getting responses from the knowledge base
QnAMakerMiddlewareOptions options = Configuration.GetSection("QnaMaker").Get<QnAMakerMiddlewareOptions>();

adapter.Use(new QnAMakerMiddleware(options));

The new version of LUIS Middleware has now the following signature:
LuisRecognizerMiddleware(ILuisModel luisModel, ILuisRecognizerOptions luisRecognizerOptions = null, ILuisOptions luisOptions = null)
So you can do:
var luisModel = new LuisModel("modelId", "subscriptionKey", new Uri("https://xxxxxx.api.cognitive.microsoft.com/luis/v2.0/apps/"));

adapter = new BotFrameworkAdapter(new ConfigurationCredentialProvider(configuration))
    .Use(new LuisRecognizerMiddleware(luisModel));

I didn't called my var luisOptions as it's another parameter in the signature.
@wmeints, do you think we can close this issue?

Much better indeed. You can close this as solved.

@wmeints I can't do it for you as I'm just a normal contributor here. But as the creator of the issue you may have the possibility to do it, don't you?

Yup, I can. Sorry for the delay, out sick at the moment.


DeleteForm.jsx

Please do work for this task in a branch called issue-XXX.

Converted from Semantic UI to React
Converted to arrow function
Using useTracker instead of withTracker
Removed "Widget" from the name: DeleteFormWidget.jsx -> DeleteForm.jsx


[FEA] Support Array[Decimal] and struct of Decimal being passed along with join

Is your feature request related to a problem? Please describe.
in https://github.com/NVIDIA/spark-rapids/issues/2103 we are adding support for arrays to be passed along with join (not the join key), but Array of Decimal was failing the tests so we need to investigate that further and figure out why it was failing.  I also left the struct of Decimals out of the check as it was easier, the struct of decimal tests were working so we just need to re-enable it and add the tests.

This issue is out of date. Just close it.


Typo in "recritation"

Should be "recitation" instead
https://github.com/quran/audio.quran.com/blob/2b69ec7aabd697700f7a06b90d3add0ae2d94383/src/containers/Qari/index.js#L75
https://github.com/quran/audio.quran.com/blob/1c7d34be6aa6c3ce01ad0e059ccbd6a47b26614d/src/config.js#L31

@aam1r good catch! Mind putting out a PR for it?


[CP Staging] Fixing some buttons being unresponsive in ReportScreen

Details

Some report props were not correctly passed in the memo and memoized so the ReportScreen did not get updated/ or did not get access to these properties. This was overlooked in the performance improvement
Fixed Issues

$ https://github.com/Expensify/App/issues/35559
$ https://github.com/Expensify/App/issues/35562
$ https://github.com/Expensify/App/issues/35569
$ https://github.com/Expensify/App/issues/35561
PROPOSAL:
Tests

[x] Verify that no errors appear in the JS console

Go to any conversation.
Click on the three dots in the right corner.
Click on the pin icon
Verify Pinning works fine
Switch to couple other reports and verify pinning works well

Send a message in any chat
Right click on the message > Leave thread
Right click on the message > Reply in thread
Click Join
Make sure the button worked as expected

Precondition:

User is an employee of Collect workspace
Schedule submit is turned off

Go to workspace chat
Create a manual expense
Note that the submit button is green in the expense preview in the workspace chat
Click on the expense preview
Verify the submit button in the expense report header is also green

[User A] Request money from User B
[User B] Click on IOU preview to go to IOU report
[User B] Click Pay elsewhere
Verify the payment worked fine

Offline tests

QA Steps

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

https://github.com/Expensify/App/assets/5201282/367b14c5-aa16-466b-ad90-ced904a27574

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by https://github.com/mountiny in version: 1.4.35-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Is there any way to organize fields of a form in different groups using formly?

I would like know if there is any option or type that can be used to group different fields in a form.
For instance, I will build a form having the fields:
field_1: time
field_2: time
field_3: enum
field_4: boolean
group_1:{
field_5: boolean
field_6: boolean
}*
and i want to group the elements field_5 and field_6 in a particular panel.
If there is no built-in support, what is the best way to extend or implement such feature?

I would recommend doing something like this:
<form ng-submit="submit()"
  <formly-form model="vm.user" fields="vm.mainFields"></formly-form>
  <div class="sub-panel">
    <formly-form model="vm.user" fields="vm.subFields"></formly-form>
  </div>
  <button type="submit">Submit</button>
</form>

and then your controller would look like this (using controller as)
var vm = this;

vm.user = {};
vm.mainFields = [ /* your main field config here */ ];
vm.subFields = [ /* your sub field config here */ ];

Does that solve your issue?

Thanks. Actually, this was what i done :D. It works. thxs!


Quality string when downloading

Regardless of which quality has been selected in Download Video window (see first screenshot):

The quality shown while downloading is always best available (1280x720@60fps in this case) rather than selected one (Mobile (400x226@30fps)). Though in fact it correctly downloads selected quality:

This behavior seems misleading or is it expected?

No, this is not how it should work actually. Thelength should be the length specified via time selection and the video quality should show the actual download quality.
I'll investigate!

Fixed!

Thanks.


Feature: Writing on the GZIP command

Writing on
Add a chapter for the gzip command:
https://github.com/bobbyiliev/101-linux-commands-ebook/blob/main/ebook/en/content/015-the-gzip-command.md
Additional context
Make sure to check out the Guidelines.md file on how to contribute!

Currently writing the GZIP command for the book.


[btrfs] Incorrect Metrics and misleading default dashboard

Output of the info page
❯ sudo /etc/init.d/datadog-agent info
====================
Collector (v 5.17.2)
====================

  Status date: 2017-09-24 19:12:35 (13s ago)
  Pid: 2931
  Platform: Linux-4.9.0-3-amd64-x86_64-with-debian-9.1
  Python Version: 2.7.13, 64bit
  Logs: <stderr>, /var/log/datadog/collector.log, syslog:/dev/log

  Clocks
  ======

    NTP offset: Unknown (No response received from 1.datadog.pool.ntp.org.)
    System UTC time: 2017-09-25 00:12:50.110178

  Paths
  =====

    conf.d: /etc/dd-agent/conf.d
    checks.d: /opt/datadog-agent/agent/checks.d

  Hostnames
  =========

    socket-hostname: server.example.com
    hostname:server.example.com
    socket-fqdn: server.example.com

  Checks
  ======

    linux_proc_extras (5.17.2)
    --------------------------
      - instance #0 [OK]
      - Collected 13 metrics, 0 events & 0 service checks

    process (5.17.2)
    ----------------
      - instance #0 [OK]
      - Collected 16 metrics, 0 events & 1 service check

    network (5.17.2)
    ----------------
      - instance #0 [OK]
      - Collected 19 metrics, 0 events & 0 service checks

    btrfs (5.17.2)
    --------------
      - instance #0 [OK]
      - Collected 16 metrics, 0 events & 0 service checks

    ntp (5.17.2)
    ------------
      - instance #0 [OK]
      - Collected 1 metric, 0 events & 1 service check

    disk (5.17.2)
    -------------
      - instance #0 [OK]
      - Collected 12 metrics, 0 events & 0 service checks

    docker_daemon (5.17.2)
    ----------------------
      - instance #0 [OK]
      - Collected 141 metrics, 0 events & 1 service check

  Emitters
  ========

    - http_emitter [OK]

====================
Dogstatsd (v 5.17.2)
====================

  Status date: 2017-09-24 19:12:46 (4s ago)
  Pid: 2928
  Platform: Linux-4.9.0-3-amd64-x86_64-with-debian-9.1
  Python Version: 2.7.13, 64bit
  Logs: <stderr>, /var/log/datadog/dogstatsd.log, syslog:/dev/log

  Flush count: 51867
  Packet Count: 0
  Packets per second: 0.0
  Metric count: 1
  Event count: 0
  Service check count: 0

====================
Forwarder (v 5.17.2)
====================

  Status date: 2017-09-24 19:12:51 (1s ago)
  Pid: 2927
  Platform: Linux-4.9.0-3-amd64-x86_64-with-debian-9.1
  Python Version: 2.7.13, 64bit
  Logs: <stderr>, /var/log/datadog/forwarder.log, syslog:/dev/log

  Queue Size: 0 bytes
  Queue Length: 0
  Flush Count: 170892
  Transactions received: 132655
  Transactions flushed: 132655
  Transactions rejected: 0
  API Key Status: API Key is valid

======================
Trace Agent (v 5.17.2)
======================

  Not running (port 8126)

Additional environment details (Operating System, Cloud provider, etc):
Operating System: Debian 9.1 Strech
Physical Host
3, 8TB HDD
Steps to reproduce the issue:

Add BTRFS integration to a host with a LUKS encrypted BTRFS RAID1 array

❯ cat /etc/dd-agent/conf.d/btrfs.yaml
init_config: null
instances:
-   excluded_devices: []

Review metrics in DataDog UI
Realize they don't seem correct compared to the btrfs output

Describe the results you received:
Currently in the Web UI I'm seeing the following:
system.disk.btrfs.used:

system.disk.btrfs.free:

system.disk.btrfs.total:

system.disk.btrfs.usage:

Describe the results you expected:
The above statistics greatly vary from what the btrfs commands are reporting directly on the host:
❯ btrfs fi usage /raid
Overall:
    Device size:                  21.83TiB
    Device allocated:             13.70TiB
    Device unallocated:            8.13TiB
    Device missing:                  0.00B
    Used:                         13.69TiB
    Free (estimated):              4.07TiB      (min: 4.07TiB)
    Data ratio:                       2.00
    Metadata ratio:                   2.00
    Global reserve:              512.00MiB      (used: 0.00B)

Data,RAID1: Size:6.84TiB, Used:6.84TiB
   /dev/mapper/luks_sda    4.56TiB
   /dev/mapper/luks_sdb    4.56TiB
   /dev/mapper/luks_sdc    4.56TiB

Metadata,RAID1: Size:10.00GiB, Used:8.23GiB
   /dev/mapper/luks_sda    5.00GiB
   /dev/mapper/luks_sdb    6.00GiB
   /dev/mapper/luks_sdc    9.00GiB

System,RAID1: Size:32.00MiB, Used:992.00KiB
   /dev/mapper/luks_sda   32.00MiB
   /dev/mapper/luks_sdc   32.00MiB

Unallocated:
   /dev/mapper/luks_sda    2.71TiB
   /dev/mapper/luks_sdb    2.71TiB
   /dev/mapper/luks_sdc    2.71TiB

❯ btrfs fi df /raid
Data, RAID1: total=6.84TiB, used=6.84TiB
System, RAID1: total=32.00MiB, used=992.00KiB
Metadata, RAID1: total=10.00GiB, used=8.23GiB
GlobalReserve, single: total=512.00MiB, used=0.00B

❯ lsblk /dev/mapper/luks_sdb
NAME     MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
luks_sdb 254:1    0  7.3T  0 crypt /raid

❯ df -h /raid
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/luks_sdb   11T  6.9T  2.8T  72% /raid

I took a look at https://github.com/DataDog/integrations-core/blob/master/btrfs/check.py and the logic is a bit over my head sadly. I'm happy to provide any additional info that may help here. I'm also game to test changing things the agent. This array is pretty critical in my setup so, I won't be able to change too much on that side but, am happy to dump any additional info.
Additional information you deem important (e.g. issue happens only occasionally):
I've tried reinstalling the agent completely and resetting the integration but, it appears that it's just completely incorrect in how it's calculating the above metrics.
EDIT: I've also opened support case #109891 for this as well.

Dug a bit further, it appears that when graphs and split on usage_type, both metadata, system, and data are accurate:
usage_type:metadata:

Metadata,RAID1: Size:10.00GiB, Used:8.23GiB
   /dev/mapper/luks_sda    5.00GiB
   /dev/mapper/luks_sdb    6.00GiB
   /dev/mapper/luks_sdc    9.00GiB

usage_type:system:

System,RAID1: Size:32.00MiB, Used:992.00KiB
   /dev/mapper/luks_sda   32.00MiB
   /dev/mapper/luks_sdc   32.00MiB

usage_type:data:

Data,RAID1: Size:6.84TiB, Used:6.84TiB
   /dev/mapper/luks_sda    4.56TiB
   /dev/mapper/luks_sdb    4.56TiB
   /dev/mapper/luks_sdc    4.56TiB

However, I'm confused by the usage_type:unknown metrics:

Is that referring to the 'Global Reserve ' from the btrfs fi usage output? (and if so, could the collector be updated to state as such?)
    Global reserve:              512.00MiB      (used: 0.00B)

If the above is all correct, I think what is incorrect/missing is the graphing of the 'Unallocated' space visible in btrfs fi usage:
Unallocated:
   /dev/mapper/luks_sda    2.71TiB
   /dev/mapper/luks_sdb    2.71TiB
   /dev/mapper/luks_sdc    2.71TiB

And the stats available under 'Overall':
Overall:
    Device size:                  21.83TiB
    Device allocated:             13.70TiB
    Device unallocated:            8.13TiB
    Device missing:                  0.00B
    Used:                         13.69TiB
    Free (estimated):              4.07TiB      (min: 4.07TiB)
    Data ratio:                       2.00
    Metadata ratio:                   2.00
    Global reserve:              512.00MiB      (used: 0.00B)

Finally, to add further to the confusion here, when using the default 'BTRFS' dashboard, I'm given the following:

'BTRFS Total Space Available (bytes)' and 'BTRFS Usage Space (bytes)' aligns with the 'Data total' and 'used' from btrfs fi df -b:
❯ btrfs fi df -b /raid
Data, RAID1: total=7520487735296, used=7517847171072
System, RAID1: total=33554432, used=1015808
Metadata, RAID1: total=10737418240, used=8832679936
GlobalReserve, single: total=536870912, used=0

However, 'Btrfs Free Space (bytes)' and 'Btrfs Usage (%)' aren't clear what they are referring to. Especially the usage % metric which is 1.85 which doesn't seem to line up with anything.
The tl;dr of the above is, the current metrics from the BTRFS integration are not as I'd expect for this configuration, some of which appear to be incorrect. Ideally, the integration would be reporting the values below from btrfs fi usage:
Overall:
    Device size:                  21.83TiB
    Device allocated:             13.70TiB
    Device unallocated:            8.13TiB
    Device missing:                  0.00B
    Used:                         13.69TiB
    Free (estimated):              4.07TiB      (min: 4.07TiB)

Hey @jaredledvina! Sorry for the delay in responding to this. This is a great, very detailed bug report. Thank you very much. We will investigate and figure out how best to fix this!
Thanks again for this. Hopefully we can get it fixed soon!


Fail to deploy a CF v238 on single node

we have a simple template which has all jobs running on a single node for some test purpose. The template was deployed  successfully in previous version of cf release, however, in the latest cf release v238, we got the error saying that it fail to pre-start cloud_controller_ng.
Director task 871
  Started preparing deployment > Preparing deployment. Done (00:00:00)

  Started preparing package compilation > Finding packages to compile. Done (00:00:00)

  Started creating missing vms > cf_z1/0 (0a49d103-ffdc-40b4-adcf-18b531ddaf25). Done (00:02:28)

  Started updating job cf_z1 > cf_z1/0 (0a49d103-ffdc-40b4-adcf-18b531ddaf25) (canary). Failed: Action Failed get_task: Task 41f22761-2a85-4147-4040-3ce6300e593b result: 1 of 9 pre-start scripts failed. Failed Jobs: cloud_controller_ng. Successful Jobs: cloud_controller_clock, nats_stream_forwarder, nats, etcd_metrics_server, cloud_controller_worker, etcd, consul_agent, uaa. (00:05:48)

Error 450001: Action Failed get_task: Task 41f22761-2a85-4147-4040-3ce6300e593b result: 1 of 9 pre-start scripts failed. Failed Jobs: cloud_controller_ng. Successful Jobs: cloud_controller_clock, nats_stream_forwarder, nats, etcd_metrics_server, cloud_controller_worker, etcd, consul_agent, uaa.

Task 871 error

From /var/vcap/sys/log/cloud_controller_ng/pre-start.stderr.log, I saw the error like this:
[2016-07-05 02:25:34+0000] + perform_migration
[2016-07-05 02:25:34+0000] + pushd /var/vcap/packages/cloud_controller_ng/cloud_controller_ng
[2016-07-05 02:25:34+0000] + chpst -u vcap:vcap bundle exec rake db:migrate
[2016-07-05 02:25:45+0000] rake aborted!
[2016-07-05 02:25:45+0000] Sequel::DatabaseConnectionError: PG::ConnectionBad: could not connect to server: Connection refused
[2016-07-05 02:25:45+0000]      Is the server running on host "<IP_ADDRESS>" and accepting
[2016-07-05 02:25:45+0000]      TCP/IP connections on port 5524?
[2016-07-05 02:25:45+0000] /var/vcap/packages/cloud_controller_ng/cloud_controller_ng/vendor/bundle/ruby/2.3.0/gems/sequel-4.29.0/lib/sequel/adapters/postgres.rb:241:in `initialize'
[2016-07-05 02:25:45+0000] /var/vcap/packages/cloud_controller_ng/cloud_controller_ng/vendor/bundle/ruby/2.3.0/gems/sequel-4.29.0/lib/sequel/adapters/postgres.rb:241:in `new'
[2016-07-05 02:25:45+0000] /var/vcap/packages/cloud_controller_ng/cloud_controller_ng/vendor/bundle/ruby/2.3.0/gems/sequel-4.29.0/lib/sequel/adapters/postgres.rb:241:in `connect'

Looks like cloud_controller_ng needs to connect to a real database in the step of 'pre-start' for migration, but on the same node postgres job won't be ready before all 'pre-start' steps are done. Does it mean that cf release won't support such a case of deploying all jobs on a single node anymore?
BTW, if we move postgres to another node, we can deploy the cf successfully.
Thanks

And another question is: it is a new deployment, why it need to perform_migration?
Thank you.

@gossion - fyi, we've moved this to the CAPI backlog: https://www.pivotaltracker.com/projects/966314

Closing issue as the story appears to be accepted.


Function build failed for poor network

I was trying to run demo logs-handler-function but it failed on step-create for golang connection problem,

how to config goproxy in yaml?
can we add a option for poor network like --poor-network in OF?

You can pass the FUNC_GOPROXY in spec.build.env to set the goproxy:
spec:
  version: "v1.0.0"
  image: openfunctiondev/logs-async-handler:v0.4.0
  imageCredentials:
    name: push-secret
  build:
    builder: openfunctiondev/go115-builder:v0.3.0
    env:
      FUNC_NAME: "LogsHandler"
      FUNC_GOPROXY: "https://goproxy.cn,direct"

ok,problem solved


[MISC] Disable cached builds

Cached psycopg 3 whl for amd64 fails when imported with:
ImportError: no pq wrapper available.
Attempts made:
- couldn't import psycopg 'c' implementation: /var/lib/juju/agents/unit-pgbouncer-k8s-2/charm/venv/psycopg_c/pq.cpython-310-x86_64-linux-gnu.so: undefined symbol: PQchangePassword

E.g. https://github.com/canonical/pgbouncer-k8s-operator/actions/runs/11273320303/job/31350375338?pr=441
Disabling the cached builds to fix builds.

CC: @carlcsaposs-canonical JFYI (re: charmcraftcache).


Fix slow DFA compilation

Cursorless DFA compilation has slowed down in the past year. Here are the two major culprits:

https://github.com/cursorless-dev/cursorless/pull/2050
https://github.com/cursorless-dev/cursorless/pull/1637

We should figure out how to mitigate these slowdowns
To try for https://github.com/cursorless-dev/cursorless/pull/1637:

[x] Comment out https://github.com/cursorless-dev/cursorless/pull/1637/files#diff-9cbdeabb002e18cf9f64d3ca24e45b18e4d7433d5dc29abbf4f96df1f72609ecR81
[x] Comment out https://github.com/cursorless-dev/cursorless/pull/1637/files#diff-ad70c9f7733ed465149fcdfe7b4b2a300c71938633e4896dc05f90d92c992fe3R2 (and in other talon file)
[ ] Comment out https://github.com/cursorless-dev/cursorless/pull/1637/files#diff-ad70c9f7733ed465149fcdfe7b4b2a300c71938633e4896dc05f90d92c992fe3R1 (and in other talon file)

Update: removing this single line cuts DFA by half! https://github.com/cursorless-dev/cursorless/blob/aa95401c1504954aec6c84dc2f878b45b0a845b5/cursorless-talon/src/cursorless.talon#L2

@pokey can we close this one?


chore: add example page for text component

Resolves #81
Content of the JSON:

I point it to development to make some tests and then merge all of new things to main


interactive examples doesn't work when serving documentation using melos

The issue arises when a contributor wants to work on interactive examples and tries to build the documentation locally using melos doc-build-live (or upcoming melos doc-serve)
Current bug behaviour

When building using the above command, the interactive examples loaded in web give out "404 : Not Found" error (shown in below screenshot).

This issue also comes when we try to use the make livehtml command.
Expected behaviour

The interactive examples should work as expected without any error.
Steps to reproduce

Go here and have the perquisites to build the documentation locally
Try to build the documentation using melos doc-build-live (or melos doc-serve)
Once the documentation is built, served and a browser opens, go to effects section where there are a lots of interactive examples that are not running.

instead of 2 from above steps, cd doc/_sphinx/ then make livehtml (internally same as the above commands) can also be used
More information

The command melos doc-build-live will be changed to melos doc-serve once #2078 lands
The make livehtml is using sphinx-autobuild. Can be seen in Makefile. This might probably be causing the documentation to not serve properly.
I might not be currently working on this issue. Others can take this up.

I believe @ufrshubham and I have identified the issue. I assume you are on windows?  If so, I have the fix ready, I just need to verify one more thing and can submit the pr.

I assume you are on windows?

Nah, I am on macOS. As from what shubham and I discussed recently, windows uses "make.bat" and others use "Makefile" (which i am not completely sure).
The issue in windows is that make livehtml isn't working which is a separate issue.

Well my bad, lol

Does this work if you do melos doc-build before melos doc-build-live?

Does this work if you do melos doc-build before melos doc-build-live?

No, it doesn't. It only work when we do melos doc-build and then the python serve command


Documentation rendering is incorrect for log etc.

Seems to affect at least all the log functions.
Noticed on Julia 1.1 and checked on recent master with latest release of IJulia.

Equation rendering seems not to work in the exp docs.

This seems fixed to me on current a current Julia + IJulia installation?


Change MethodTranslator's loadfactor to 1.0 for sync APIs performance

This is a trivial thing. I updated MethodTranslator's loadfactor to 1.0 for sync APIs performance.

Make sure that:

[x] You have read the contribution guidelines.
[x] You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
[ ] You submit test cases (unit or integration tests) that back your changes.

Coverage decreased (-0.04%) to 93.118% when pulling 57df776bf867418cd95f47e7cd03ca56936e746c on jongyeol:feature/change-method-translator-loadfactor into 1727b06a66d7c6a4e5a0dde054138f13f7bfc540 on mp911de:master.

Coverage decreased (-0.06%) to 93.099% when pulling 57df776bf867418cd95f47e7cd03ca56936e746c on jongyeol:feature/change-method-translator-loadfactor into 1727b06a66d7c6a4e5a0dde054138f13f7bfc540 on mp911de:master.

Thanks for the PR. That's merged with 7aa22e5.


Local variables

Provide a way to use locally defined variables

variables for less repetition and improved readability
local scope (within a block) (or perhaps global scope?)
name: vars/variables/declare

Example:
proxy {
  ...
  vars {
    expires_header = backend_responses.default.headers.expires
    http_date_format = "%a, %e %b %Y %T GMT"
  }
  add_response_headers = {
    # parse_date() is not (yet) a supported function
    Cache-Control = "max-age=${parse_date(http_date_format, expires_header) - unixtime()}"
  }
}
# here: expires_header == null

Attributes in a block are defined by Couper's HCL flavour; in contrast to keys in an object type value (like add_response_headers), which are free to choose by the config writer.
So, if there should be a block, which can potentially appear anywhere in the config, the block must have an attribute with an object type value, like
proxy {
  declare {
    vars = {
      expires_header = backend_responses.default.headers.expires
      http_date_format = "%a, %e %b %Y %T GMT"
    }
  }
  ...
}

However, this may look quite verbose.


Ministry User - Economy Sector - Multi-Ministry View

As a Ministry Coordinator for the Economy Sector
I want to see all the Ministry requests that I provide services to
so that I can prioritize my work across Ministries

Assumptions & Scope
What are the assumptions for this story?
PILOT REQUIRED STORY

The Economy Sector is a special Ministry Coordinator Group
Unlike other Ministry coordinator's, who are only responsible for a single Ministry, Economy sector Ministry coordinators are responsible for 4 Ministries
The Ministries they are responsible for are: Labour; Jobs, Economic Recovery and Innovation; Municipal Affairs; Tourism, Arts and Culture
We will likely need a new user group, which we can call Economy Sector

What is IN scope?
For Ministry coordinators assigned to the Economy Sector - only requests for LBR, JERI, MUNI, and TACS are in scope
Acceptance Criteria
Scenario 1: Requests that will Appear in the Economy Sector Queue

GIVEN The Request queue for the economy sector is opened
WHEN there are requests to: Labour; Jobs, Economic Recovery and Innovation; Municipal Affairs; Tourism, Arts and Culture
AND the state of the requests is: Call for Records, Fee Estimate, On Hold, DeDuplication, Harms Assessment, Records Review, Consult, Ministry Sign-Off, and Response
THEN those requests shall appear in the Economy sector queue
AND the requests will be actionable for all users assigned to this group

Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

@abin-aot @arielleandrews @mpilchar @lmullane @JHarrietha-AOT
Story out of refinement today. Am not sure if I made it too simple, but it seemed like this single AC will cover it? Feedback welcome, happy to discuss further

We have an ECON sector user - closing


Add other-modules to tests test-suite

The tests test-suite didn't have a other-modules field, which means that the tar.gz in Hackage doesn't have all required files. See #10.

@jsl I'll merge this once the Travis CI build is done and then bump the version to <IP_ADDRESS>. Can you upload it to Hackage after that or who has permissions for that?

Thanks Juan Pedro! I can upload to hackage, and I can add you as a
maintainer as well if you send me your hackage username. I appreciate the
help on improving this library!
On Sunday, July 19, 2015, Juan Pedro Villa Isaza<EMAIL_ADDRESS>wrote:

@jsl https://github.com/jsl I'll merge this once the Travis CI build is
done and then bump the version to <IP_ADDRESS>. Can you upload it to Hackage
after that or who has permissions for that?
—
Reply to this email directly or view it on GitHub
https://github.com/stackbuilders/inflections-hs/pull/11#issuecomment-122671548
.

--
Justin Leitgeb http://justinleitgeb.com
Twitter: @justinleitgeb http://twitter.com/justinleitgeb
Github: @jsl https://github.com/jsl
Co-Founder and CTO, Stack Builders Inc. http://www.stackbuilders.com

@jsl This one is ready for running cabal sdist and then uploading to Hackage. My Hackage username is jpvillaisaza, but let me know if you're going to upload this one.

Thanks @jpvillaisaza - I uploaded the new version to Hackage, and added you to the maintainers group.


Include SID suffixes

Include the suffix property in SID drawing and pronunciation.

@Fechulo @indianbhaji @jakobeng1303 @lachsschinken124
Anybody--
Can I count on SID/STAR/transition suffixes always being 2 characters? For example "CPT" plus "2F" --> "CPT2F", or can they sometimes be not two characters? I haven't come across this yet, but would like to avoid some messy and unnecessary work if I can just remove the last two digits from "CPT2F" for the simulation logic to find the "CPT" sid. If not, I'll have to have it do some more complicated searching stuff that is best avoided if possible.

There's only one instance that I've found (which was coincidently an hour
ago) with a SID in Schiphol that had 3 characters on the end.

I can remove that one instance if you wish, it's a useless SID anyways.

Okay, as long as its SUPER rare, I can move ahead this way. Thanks for the quick response.

@erikquinn Oh no, no no! ZSPD has 3 characters.

@erikquinn A lot of them!

@indianbhaji UGGGHHHH alright, I'll figure something out. :sob: lol

@Fechulo @indianbhaji @jakobeng1303 @lachsschinken124
One more thing: When you assign a SID manually, would you prefer to specify just the fix name, or would you actually specify the full name WITH suffix? Eg:

sid CPT
sid CPT4K

@erikquinn With suffix. CPT3K would be an older revision, and they increase with each new revision.

@erikquinn Do you intend on "collapsing" the SIDs in ZSPD into one SID? ie. all the ANDs come together? If not, it'll probably save you on a job of having to create something extra, since all the SIDs in ZSPD are already separate procedures.

Eventually, everything should be collapsed. It will work to leave them separate, but for readability, they should eventually be shrunk to a single "AND" procedure, with the appropriate suffix and rwy sections, and the sim should be able to make it all work properly. Should make it easier to create and maintain airports this way.

Thanks, but the thing with ZSPD is that there are a load of AND SIDs, and I
believe there are more SIDs than runways.

Hi,
do you also know, that you can have more suffixes for one RWY. Like ARTUP2A and ARTUP2M which both are valid. (See http://lis.rlp.cz/ais_data/aip/data/valid/a2-pr-sid24n.pdf). It's not big deal as you can choose the one which suits your defined departures.

@luznicky Yep, and that's the problem. If we were to collapse all the SIDs with different suffixes into one SID, how would you tell the game which set of fixes are for this particular suffix? If you look at ZSPD, the AND SID comes with many different variations and suffixes.

@erikquinn How's the progress on this?

@indianbhaji No change, but lots of things in this realm are being improved, so it's only a matter of time. But no work has been done on this directly.

The ATC repository is being migrated to it's new home at https://github.com/openscope/openscope,
and thus, all issues are being closed. If this is still an issue with the latest version of the sim
(accessible at http://www.openscope.co), or is a feature you still think we are lacking,
please reopen the issue at the new repo.
Please note that the vast majority of these issues have been copied to the new repository, or else are covered by other issues created there. See the below screenshot for what it looks like when your issue is known in the new repo:

Thank you!
Closing this issue.


Install error on Debian Jessie

Debian 8
Fresh install
Setting up lwp (0.8-25-g62597b1) ...
dpkg: error processing package lwp (--configure):
subprocess installed post-installation script returned error exit status 102
Errors were encountered while processing:
lwp
E: Sub-process /usr/bin/dpkg returned an error code (1)

The problem is with the postinstall script
/var/lib/dpkg/info/lwp.postinst
I think it's because the change to systemd

Hi @miguelzabala
I believe that this is the same bug of #78 I commit a workaround in https://github.com/claudyus/LXC-Web-Panel/commit/3cffd347c17ce70ab1c55b3091bc8d7bbc10ac93 but is not yet in debian package
Are you sure that the problem is in systemd?

Hello @claudyus ,
I'm pretty sure it's the problem is with systemd.

any fix yet?
Setting up lwp (0.8-25-g62597b1) ...

missed /etc/lwp/lwp.conf file
cannot read config files. Exit!
dpkg: error processing package lwp (--configure):
subprocess installed post-installation script returned error exit status 102
Errors were encountered while processing:
lwp
E: Sub-process /usr/bin/dpkg returned an error code (1)

Just create PR https://github.com/claudyus/LXC-Web-Panel/pull/82 trying to resolve this.

fixed with merge


where can I find the training set?

May I ask where I can find the training set? Thanks!

Hi @nanyyyyyy, thank you for your interest in our work and for pointing out this issue.
It turns out my school Google account recently imposed a 20GB storage limit, which led to the automatic deletion of files larger than 200MB. I’ve reuploaded the training set from my backup at the same Google drive link.

thanks!


Can't paste in playground anymore

🔎 Search Terms
Playground copy paste
🕗 Version & Regression Information
Playground bug
⏯ Playground Link
https://www.typescriptlang.org/play?filetype=js#code/FA0QwZwE1Eg
💻 Code
No response
🙁 Actual behavior
Cannot paste anything in playground
🙂 Expected behavior
Paste in playground either Ctrl+V or right click "Paste"
Additional information about the issue
No console errors, Chrome 122, Windows 11

Works on my machine. Perhaps you accidentally disabled pasting for that website in your browser?
In general, this is the repository for the playground: https://github.com/microsoft/TypeScript-Website


Github action not starting Vite server properly

I have the following .yml file:
name: Cypress Tests

on:
  pull_request:
    branches:
      - main
      - dev

jobs:
  cypress-run:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v3

      - name: Install dependencies
        working-directory: ./app
        run: yarn install

      - name: Cypress run
        uses: cypress-io/github-action@v5
        with:
          working-directory: ./app
          build: yarn build
          start: yarn dev
          wait-on: 'http://localhost:5173'
          record: true
        env:
          CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

The Vite server start properly but for some reason it still times out when waiting on it.

@lucasfelber
Please check out

README: wait-on with Node.js 18+
https://github.com/cypress-io/github-action/issues/811#issuecomment-1450704835

and let us know if that resolves your issue.
Vite
Vite v3 & v4 built with npm create vite with options Vanilla and JavaScript (see Vite: Getting Started).
    - name: Test
      uses: cypress-io/github-action@v5
      with:
        wait-on: http://localhost:5173
        start: npm run dev

fails on GitHub ubuntu-22.04, windows-2022 and macos-12 with
Error: connect ECONNREFUSED <IP_ADDRESS>:5173
Workaround: start server with npx vite --host (server then listens on <IP_ADDRESS>):
    - name: Test
      uses: cypress-io/github-action@v5
      with:
        wait-on: http://localhost:5173
        start: npx vite --host

@MikeMcC399
Yes this resolved my issue thank you very much.


Deploy bcbio on Azure

Hello,
I wanted to ask if there are any recommendations for deploying bcbio on Azure. I am aware of bcbio-vm and the docker container and have used it successfully when deploying to AWS but I'm looking for a wrapper similar to bcbio-vm for quick deployment on Azure.
From what I've seen elasticluster doesn't support azure yet.
Would using Ansible (http://docs.ansible.com/ansible/azure_module.html) for implementing such a wrapper would be a good choice?
Are there any other plans or directions for supporting bcbio on Azure?
Thanks for your help.

Thanks for the timely question, we've been working on Ansible scripts and documentation for running bcbio across multiple clouds in a simplified way using a single machine and attached disks, rather than setting up a cluster. This is conceptually simpler and more flexible and should handle smaller run cases. The Ansible scripts and in-progress docs are here:
https://github.com/chapmanb/bcbio-nextgen/tree/master/scripts/ansible
The docs aren't fully finished so will still have some missing parts we're filling in but hopefully have enough detail to give an overview.
For larger runs, our plan is to use the CWL support in bcbio (http://bcbio-nextgen.readthedocs.io/en/latest/contents/cwl.html) to run on top of other systems that support Azure and other clouds. For instance, we already have bcbio working with Arvados (https://arvados.org/) which runs on Azure. Curoverse's public instance at https://cloud.curoverse.com is on Azure and is free for trying out. This type of integration should gradually replace the custom elasticluster code we wrote so we can focus bcbio development on science and pipeline development while using the awesome work others have for building scalable clusters.
Hope this helps practically with getting started on Azure.

Thanks a lot Brad. This is great!

Hello Brad,
I wanted to follow up on this thread.
I see that the docs mention that bcbio can run on Toil, and mention that it can be specifically can be used for running on AWS
Since I see that toil has templates for running on Azure, I wondered if this should basically work?
If I want to run a bcbio cluster over azure I should

Create a toil cluster according to their installation instructions
Install bcbio on the toil cluster. I'm not very familiar with toil so not sure what are the exact steps
Use bcbio cwl support in order to run the analysis on the cluster

Can you confirm that this is the way to go? Are there known limitation for doing what I wrote above?
Thank you for your help.

Thanks for continuing this discussion. We do hope that Toil will be the right way to run bcbio at scale on AWS, GCE and Azure. Right now we're actively working on testing CWL runs with Toil AWS autoscaling using workflows here:
https://github.com/bcbio/bcbio_validation_workflows
These have inputs and reference data stored in S3 for enabling the run that make this possible. Some notes on running it right now are available here:
https://github.com/chapmanb/bcbio-nextgen/tree/master/scripts/ansible#running-with-toil
We'll plan to write up better docs once we have confidence this is working well and then can proceed to testing on Azure and GCE and also providing equivalent documentation.
So practically this is the right path not quite ready yet. To finalize on Azure we'll need to provide data collections in Azure blob store and then provide ways to generate CWL referencing these in bcbio-vm. Toil uses these external references plus bcbio Docker containers so there are no explicit install steps.
Hope this helps some with directions and the current status.


Refs #28477 -- Reduced complexity of aggregation over qualify queries.

cc @timgraham

buildbot, test on oracle.

No issues on CockroachDB. Thanks!

FWIW I've developed a nifty little tool that runs the whole test suite, records the produced unparametrized SQL queries, dump them to YAML file indexed by the test name, and allows to catch SQL changes betwen changesets. Here's the output for this change change against the main branch
--- test_filter_count (expressions_window.tests.WindowFunctionTests):postgresql:9bd174b9a7
+++ test_filter_count (expressions_window.tests.WindowFunctionTests):postgresql:61f598b3f3
@@ -1,13 +1,8 @@
 SELECT COUNT(*)
 FROM
-  (SELECT "col1"
+  (SELECT *
    FROM
-     (SELECT *
-      FROM
-        (SELECT "expressions_window_employee"."id" AS "col1",
-                RANK() OVER (PARTITION BY "expressions_window_employee"."department"
-                             ORDER BY "expressions_window_employee"."salary" DESC) AS "qual0"
-         FROM "expressions_window_employee"
-         GROUP BY "col1",
-                  "expressions_window_employee"."department") "qualify"
-      WHERE "qual0" = %s ) "qualify_mask") subquery
+     (SELECT RANK() OVER (PARTITION BY "expressions_window_employee"."department"
+                          ORDER BY "expressions_window_employee"."salary" DESC) AS "department_salary_rank"
+      FROM "expressions_window_employee") "qualify"
+   WHERE "department_salary_rank" = %s) subquery
--- test_related_ordering_with_count (expressions_window.tests.WindowFunctionTests):postgresql:9bd174b9a7
+++ test_related_ordering_with_count (expressions_window.tests.WindowFunctionTests):postgresql:61f598b3f3
@@ -1,6 +1,3 @@
-SELECT COUNT(*)
-FROM
-  (SELECT "expressions_window_employee"."id" AS "col1"
-   FROM "expressions_window_employee"
-   LEFT OUTER JOIN "expressions_window_classification" ON ("expressions_window_employee"."classification_id" = "expressions_window_classification"."id")
-   GROUP BY "col1") subquery
+SELECT COUNT(*) AS "__count"
+FROM "expressions_window_employee"
+LEFT OUTER JOIN "expressions_window_classification" ON ("expressions_window_employee"."classification_id" = "expressions_window_classification"."id")

I wonder if adding it as an option to runtests.py might be interesting or even hook it up to CI via Github actions. It would make it easy to identify unexpected changes in SQL generation.

@charettes Thanks :+1:

I wonder if adding it as an option to runtests.py might be interesting or even hook it up to CI via Github actions. It would make it easy to identify unexpected changes in SQL generation.

Sounds great! We could add a tag that triggers SQL analysis, e.g. compare SQL.


Add BLS sanity tests

...covering verification of BLS signatures on the BLS12-381 elliptic curve.
As discussed, we'll prioritise satisfying the e2e testing requirement for this feature with plutus-e2e-tests but it'd still be worth including a sanity test here for regression testing.

https://input-output-rnd.slack.com/archives/C0384PVC85Q/p1679651927942469


Feature/ratelimit by header

NOTE: Please read the CONTRIBUTING.md guidelines before submitting your patch,
and ensure you followed them all:
https://github.com/Mashape/kong/blob/master/CONTRIBUTING.md#contributing
Summary
Pull request is to support different headers in rate limit keys.

Support new value in limit_by config "http_header".

New config parameter http_header, value can be any http header for e.g. User-Agent

When http_header is configured, the header value is extracted from request and used in ratelimit keys thus supporting ratelimit by any http request header
curl -i -X POST --url http://localhost:8001/apis/test_api/plugins
--data "name=rate-limiting" --data "config.minute=5"
--data "config.policy=redis" --data "config.limit_by=http_header"
--data "config.http_header=X-My-Client-Id"
--data "config.redis_host=localhost"

Full changelog
Support config.limit_by=http_header when registering rate-limiting api
Issues resolved
Fix #XXX

Please ignore, I seemed to have pulled some other commits


error in  import phase_ssqueeze

Installed using the following command:
pip install git+https://github.com/OverLordGoldDragon/ssqueezepy
and
from ssqueezepy.experimental import phase_ssqueeze
gives me this error:
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
/tmp/ipykernel_25228/4269281225.py in <module>
     18 from ssqueezepy import ssq_cwt, ssq_stft, TestSignals, Wavelet
     19 from ssqueezepy.visuals import imshow
---> 20 from ssqueezepy.experimental import phase_ssqueeze

ImportError: cannot import name 'phase_ssqueeze' from 'ssqueezepy.experimental' (/home/lucy/Downloads/general/lib/python3.9/site-packages/ssqueezepy/experimental.py)

Thanks for the report, these were removed mistakenly and are now reintroduced.


Proposal: refactor template grammer & canvas ux

Unlike now all components(mould) were tiled on canvas, there will be only one component were editing on canvas.
Besides the mould that will be exported as React component, all kits of this mould will be tiled on canvas too.
States will no longer be the concept of mould, but associated with kit.
Kits will be allowed to access inputs directly.

Seems like we can make the list part much simpler by infer scopes automatically from the component tree.

Seems like we can make the list part much simpler by infer scopes automatically from the component tree.

will update version.2 next week, should resolve the list expression problem.


Improve error message when cookbook is not in policy file set

If you add a new dep w/o running chef update you get a pretty cryptic message:
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>>     Failed to complete #converge action: [Expected process to exit with [0], but received '1'
---- Begin output of chef export /Users/tsmith/dev/community-cookbooks/kube/Policyfile.rb /var/folders/7q/xzcd7t315xg7n28trln90m_80000gn/T/default-debian-8-sandbox-20170905-87280-x7xt0x --force ----
STDOUT:
STDERR: Error: Invalid lockfile data
Reason: (ChefDK::DependencyConflict) Cookbook kube_test (0.0.0) has dependency constraints that cannot be met by the existing cookbook set:
Cookbook chef-apt-docker isn't included in the existing cookbook set.
---- End output of chef export /Users/tsmith/dev/community-cookbooks/kube/Policyfile.rb /var/folders/7q/xzcd7t315xg7n28trln90m_80000gn/T/default-debian-8-sandbox-20170905-87280-x7xt0x --force ----
Ran chef export /Users/tsmith/dev/community-cookbooks/kube/Policyfile.rb /var/folders/7q/xzcd7t315xg7n28trln90m_80000gn/T/default-debian-8-sandbox-20170905-87280-x7xt0x --force returned 1] on default-debian-8
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

Just pointing out that this could be fixed with a simple chef update would probably help a lot of first time users.

Those errors come from here: https://github.com/chef/chef-dk/blob/efcc89f97c106bf987f7fc91b30d71fdcf384569/lib/chef-dk/policyfile/solution_dependencies.rb#L96 (more specifically here: https://github.com/chef/chef-dk/blob/efcc89f97c106bf987f7fc91b30d71fdcf384569/lib/chef-dk/policyfile/solution_dependencies.rb#L146 and https://github.com/chef/chef-dk/blob/efcc89f97c106bf987f7fc91b30d71fdcf384569/lib/chef-dk/policyfile/solution_dependencies.rb#L159) We should definitely add some text to that explaining to run chef update or chef install as appropriate.


Add multiple authentication providers

Authenticate users from multiple providers, including Facebook, Google, Twitter, Windows Live.

Would it be possible to also add IMAP as an authentication provider?


update openid configuration

Signed-off-by: Leena Jawale<EMAIL_ADDRESS>

/retest

/test ci/prow/sonar-pre-submit

/test sonar-pre-submit


Create deerparkschool.txt

@khooley741 Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!


italic <= (less_equal.2.liga) slanted in wrong direction

Oops that's embarrassing 😳
Some of the ligatures were simply flipped horizontally to make the other glyph. Apparently the italic slant was also inverted.
I'll fix these. I noticed some others as well. Like <| and |>.


crates.io really should be changed to cargo

those who have mastered a skill forget what it's like to learn. Some are raced in their learning process by mentors to the finish line, kinda like running deadmines over and over for your party which needs another healer.
every little bit helps. i think using crates.io creates a moment for beginners of fear and insecurity, that we can say, statistically speaking, many cases of beginners attempting to self-teach, will choose to stop learning over.
it's a url, and it's like this miniature stumbling block that creates frustration, just saying.
free urls at freenom in ampsterdam, maybe link up

I do wish the messaging had bean more consistent. But the past cant be changed. crates.io is a part of all documentation, blog posts, and lockfies. I don't se a practical way to change it now.

vim has extensive features for this exact issue. where would we be if we couldn't change such a simple aspect of our work.

It's not clear to me what this issue is about. cargo can be used with registries that are not crates.io, as well as other sources like paths and repos. If the issue is about the names being different, that seems like a good thing since the cargo is not forced to use crates.io. If the issue is about mentioning crates.io in docs from the start, would it help to add more disclaimers to those pages that crates.io is not the only registry?

but crates.io is the rust developer team's registry.
my point was that you've created a miniature stumbling block for beginners that just stacks onto a pile of other things that have to memorize all up front (as is the learning process).
the main cargo team's registry should be called cargo.anything. it's just not great social engineering
but seriously i dont care, i'm just letting you know an outsider perspective. CS gotta look out for its new learners because of the incredibly insane learning curve

but crates.io is the rust developer team's registry.
my point was that you've created a miniature stumbling block for beginners that just stacks onto a pile of other things that have to memorize all up front (as is the learning process).
the main cargo team's registry should be called cargo.anything. it's just not great social engineering
but seriously i dont care, i'm just letting you know an outsider perspective. CS gotta look out for its new learners because of the incredibly insane learning curve

i'm just letting you know an outsider perspective.

I am also an outsider when it comes to the cargo repo and its docs (only a user of both). I was curious how this came up for you and what you thought could be changed. For example, I'm interested which feature is being referred to in "vim has extensive features for this exact issue".

CS gotta look out for its new learners because of the incredibly insane learning curve

I agree, and  I think cargo's guide has often taken that into consideration. Resources can still have room to clarify though, so I imagine the feedback about stumbling blocks is appreciated :)

this thread was created concerning the URL. Eh2406 brought up that if the team was to decide to change that URL, documentation would need to be changed in order to reflect such a change. VIMs find and replace tools incorporate regex, it's ability to change text content is incredibly sophisticated.
aah finally found the tutorial i saw about it: youtube link

Updating our documentation would not be hard. As you point out there are good find and replace tools in all the editors. Updating all the projects maintained by the Rust organization, would take some time but is doable. The part that is hard, is updating the thousands of projects that we have no control over.


Resistor Band: Prepare instructions to connect Pi

[x] Show how to connect the circuit
[x] Draw schematic
[x] Show photo of it connecting
[x] Screenshot the part working
[x] https://pimylifeup.com/raspberry-pi-adc/ Use this tutorial


About the num_queries

Thanks for your work, in your experiments, 'num_queries' is set to 1  in stead of 15. Does it meet the standard few-shot learning setting ? @zsc @zxytim

Hi shi1997Yee,
In graph-based FSL methods (eg. EGNN), the 'num_queries' is usually set to 1, we are following the same settings since DPGN is a graph-based method as well.

Yours
DPGN team


Allow proper languageConfig even if languageId not set

on TextDocument.
The languageId setting on TextDocument may be null. In such case, infer it from the URI and filename.

@mickaelistria could you explain in which situations the languageId is null or not set since according to the protocol this should never happen.

In Eclipse LSP4E client, we do not set the language id unless we have one to declare (I didn't realize it was not conforming to the spec).
But the actual issue is that for a polyglot language server such as eslint, it seems strange to enforce the client to set a languaeg id in the client; I know VSCode has such option, but I don't think it's necessary in most other clients. So when I open a file in Ecipse IDE, it just assumes -without issue so far- that the language server will behave "at best" without an explicit languageId defined.
For ESLint or other ployglot language servers, then it means we'd have to duplicate some logic in the client that is available on server side already; to create a "languageId" for a given file. While it might be useful in some cases, it seems a bit overkill in most cases and such mapping could be placed only on language server.
Note that we have already existing "workarounds" for that in LSP4E, that I could possibly use.

Actualy, we added that to the protocol since clients usually do need to decide the language for a file. How would they otherwise decide on something like syntax coloring. And most clients have settings to map an extension to a mime type / language id. So IMO it does make perfect sense that client provide this information.
I am not a big fan of merging this PR since it might start a discussion on why the property is mandatory in the spec when the ESLint server works without it.

Actualy, we added that to the protocol since clients usually do need to decide the language for a file.

Clients maybe; but usually if a language server is "appliable" to a file, it means the client has already decided it's compatible and the LS can process it. The LS has the smartness to decide for itself, the "language mapping" is more a client-side integration startegy than something that requires to be part of a protocol.

So IMO it does make perfect sense that client provide this information.

The language id are not standardized by the spec. We can easily imagine some other LS using "js" or "ts" instead of "javascript" or "typescript". As the possible values are not standard, then it means they become additional responsibility and effort on the integration layer (specific to the client/LS couple, N*M). The question is why mandating this extra responsiblity/work/effort is the LSs can succeed without it?

I am not a big fan of merging this PR since it might start a discussion on why the property is mandatory in the spec when the ESLint server works without it.

Exactly the track I'd like us to follow ;) As I mentioned above, I think this properly might be a design issue in the protocol and making it optional would allow LSP to better serve its goal.

The language ids are document in the specification: see https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocumentItem
So, in my opinion a client should be able to provide the language id in an open request.

I will close the PR since:

the language ids are document in the spec
I don't see why clients should not be able to provide the id, especially since a lot of clients allow mappings from file extensions to content types.


background color for task name

how to give background color for task name if the task is for 2 days only and it has longer name.

Likewise, wondering if there are plans to pass-through other properties. Like these:
        header_height: 50,
        column_width: 30,
        step: 24,
        bar_height: 20,
        bar_corner_radius: 3,
        arrow_curve: 5,
        padding: 18,
        date_format: 'YYYY-MM-DD',


Not working in production build

I'm using same setup what it described in readme but it's not working in production environment. It's workin in localhost only.

That's my fault. It's working.


bug: Touch in ion-content with scroll does not work

Type: bug
Platform: android 4.4 webview
I have a simple  with a button like
<ion-content class="has-header padding">
<button class="button button-block button-large" ng-click="openBrowser('twitter')"><i class="icon ion-social-twitter"></i></button>
</ion-content>

The touch events do not work in Android 4.4.4, but click works in PC browser. If scroll is set to false in the ion-content, then touch works. I found in forums with references to this problem, but could not find a working solution/workaround. I cannot set scroll="false", since my content goes beyond the one screen length.
This problem is a blocker

Understood, but even on a device, if scrolling for Android simply didn't work, we would be able to reproduce it and this would be a highly commented on issue. Let me know if you have a codepen or code sample that reproduces it, but I'm going to close this for now.

:+1:


Switch to using gliderlabs/alpine

Using scratch as a baseimage is bad because of the PID 1 zombie reaping problem. See https://blog.phusion.nl/2015/01/20/docker-and-the-pid-1-zombie-reaping-problem for more details on it.
gliderlabs/alpine is a great solution for this, as it is based on Alpine Linux, is only 5 megabytes, and has a full featured init process.

My understanding of the zombie-reaping issue is that it's only applicable if the container has multiple processes. DockerUI runs in a single process that never spawns any children, I don't think this is necessary.


wildcards in filenames

Is your feature request related to a problem? Please describe.
I'd like to run KiField on every symbol library file in a folder - first to extract all the fields and then after editing to push them back. I'd prefer not to have to explicitly type every filename.
Describe the solution you'd like
It would be great to just add a wildcard character, like an asterisk or something like that.
Describe alternatives you've considered
I suppose there may be a way to do this with a feature of the terminal. I happen to be using Windows 11 right now but I also use Ubuntu at home. If anyone has a quick tip here then that would do as a work-around.
Additional context
N/A
Thanks!

If anyone has a quick tip here then that would do as a work-around.

While using unix shell, particularity Bash you could cd to library folder and:
for file in *.some_format ; do f_call $file; done

$file is a reference to filtered files
f_call is a place where you put your desired call

e.g:
for file in *; do echo "$file"; done

this will print names of the files/folders in current folder


Is there something wrong with the method - (UIImage *)trimmedImage:(UIImage *)image in DZNPhotoEditorViewController.m?

I use this method in my project and found some error.
I have some questions for this methods:
1: what does "loc" mean? why compute it like that?
2: In my project, i found  that the top/bottom value may be wrong, which results in black edge in pic.
3: should cropRect.size be ((right.x - left.x + 1）/scale,  (bottom.y - top.y + 1)/scale)?
i.stack.imgur.com/sFxlr.jpg
i.stack.imgur.com/JOz1Z.jpg

I finally found that the width is incorrect, and that just results in black edage.
in my project, i got 690 by method following:
width = CGImageGetWidth(CGImageRef )
but i got 690 by other method like this:
size_t bpr = CGImageGetBytesPerRow(inImage); //2784
size_t bpp = CGImageGetBitsPerPixel(inImage); // 32
size_t bpc = CGImageGetBitsPerComponent(inImage); //8
size_t bytes_per_pixel = bpp / bpc; // 4
size_t width = bpr / bytes_per_pixel;
I dont know why they are not equal.

yes, the attachments do not work, you just need know that there are black edges on bottom or top of pic.
I have fixed the problem by compute width like this: size_t width = bpr / bytes_per_pixel;
I dont know why, is it a bug?