Not returning booleans as documented

console.log( require("wildcard")("a.b.*", "a.b.c") );  //-> ["a","b","c"]

Confirmed, there are fishy things happening when source string somewhat resembles the object notation:
var wildcard = require("wildcard")
var res = wildcard('foo.*', 'foo')
console.log(typeof res)
// => "object"

see this example on Runkit
This behaviour doesn't make sense to me too.

For posterity, I switched to matcher, it does the string wildcard comparisons and does not have any problems with output types or leading wildcards.


Load legacy provider when initializing OpenSSL 3.0

With OpenSSL 3.0, FreeRDP log contains errors like: 4036740A4C7F0000:error:0308010C:digital envelope routines: inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:346: Global default library context, Algorithm (MD4 : 85), Properties () . This leads to connection failures in some cases, e.g. https://github.com/FreeRDP/FreeRDP/issues/7449. This is because algorithms like MD4 are now part of the legacy provider, which is not loaded by default. Let's explicitly load that provider.
This MR also contains some other semi-relevant changes, please see the commit descriptions for more details.

@freerdp-bot test

It would be nice to backport this to stable as the other OpenSSL 3.0.0 fixes...


Create a Sample Application on SCP Neo Using SAP Cloud SDK

Tutorial URL: https://developers.sap.com/tutorials/s4sdk-scp-neo-sample-application.html
Step 5: Local deployment
When asked for "Enter URL for destination ErpQueryEndpoint:" the tutorial does not explain what to enter here. The same is shown in the screenshot in the tutorial.

You can enter arbitrary values for now, because the destination is not used at this point of the tutorial.

Please enter any URL, e.g. http://<IP_ADDRESS>/

Thanks for raising this issue.
I believe this is sufficiently explained in the tutorial. If you have any improvement suggestion on how to clarify the wording, please let us know.
Thanks.


Blazor Server and CkEditor problem

When clicking on tag a with href="/home", it redirects to page "/home". How can I edit the link when I click on this a tag?

@doanhquang2005 are you asking about what happens when you click a tag in the actual editor? If so, I think your issue is best posted on the CKEditor repository. This repo is for the Razor IDE and compiler used in Visual Studio and Visual Studio Code.

I am currently facing an issue related to Blazor Server that affects the proper functioning of the application. It's important to note that the problem lies within the Blazor Server framework and not with CkEditor. I have provided a specific example for better understanding, which can be accessed through the following link: https://ckeditor.hcode.me
The root cause of this problem is that Blazor Server is capturing the click event on internal links, leading to unintended redirections. This behavior interferes with the expected functionality, causing disruptions in the user experience.
To elaborate further, when a user clicks on an internal link within the application, Blazor Server intercepts the event and redirects the user, resulting in unexpected navigation. This issue poses a significant challenge, especially when working with intricate interfaces that rely on smooth navigation and a seamless user journey.
Possible solutions or workarounds may involve adjusting the event handling mechanism in Blazor Server to allow for more precise control over internal link clicks. Additionally, exploring alternative approaches to event handling within the Blazor framework might provide insights into resolving this redirection problem.
I encourage collaboration and feedback from the community to address this issue effectively. If you have encountered similar challenges or have valuable insights into resolving Blazor Server event handling conflicts, please share your experiences and suggestions.
Together, we can work towards enhancing the functionality and user experience of applications built on the Blazor Server framework.


data deduplicate

Has the ImageNet1K validation data and Imagenet21K training data been de-duplicated?

Please find details in Swin V2 for the approach to do de-duplication.


[CARBONDATA-1898]Fixed Like, Contains, Ends with query optimization With OR condition

Problem: In case of like, contains, ends with filter With all or condition query is taking more time in carbon
Solution: This type of query avoid filter push down and let spark handle those filters
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/778/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2328/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2017/

restest sdv please

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2361/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2363/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2052/

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/824/

LGTM


lsadmin reconfig call 6 times even if sucessfull

Why calling many time reconfig even if it succeed ? This is adding more time to startup.
https://github.com/Azure/cyclecloud-lsf/blob/master/specs/master/cluster-init/scripts/020_install_resource_connector.sh#L48-L52

Thanks XP - we've refactored the code. Will start lsf daemons in a simplified way.


CPP program to find maximum and minimum of two numbers without using loop and any condition.

CPP program to find maximum and minimum of two numbers without using loop and any condition.

@thevirtualbuddy thanks for your inputs. shall i make another PR?

ya @vikramadityasinghs  you can do that. Close this PR, in that case.


FORMS-236 # clearing a date/datetime/time value via the picker/native still passes REQUIRED

Fixed set function in element model.
called isValid when blob change.
created tests

lgtm


2x resolution instead of 4x

Hi,
First of all, thanks.
I'm getting good results for 4x upscale factors.
However, I wanted to know what changes would I have to the model to prepare a 2x upscale model.
I know that one can always downscale. However, I'm hoping to get better performance (in terms of accuracy and speed) if I change the model to resolve for a 2x upscale factor.
Thanks,
Shubham

Hi,
In this case, you need to modify the network structure and do the re-training. It's a little bit stupid I know, but that's the structure of SRGAN (If I modify the structure and simultaneously train the net on 2x and 4x tasks, the result might be even better but it's not the original SRGAN anymore.)
Best,
brade31919


install issue: ImportError: cannot import name 'sanitizer'

Using the latest, when installing with the following:
djangocms  --parent-dir . \
--filer \
--i18n yes \
--use-tz yes \
--timezone America/New_York \
--reversion yes \
--permissions yes \
--languages en-us \
--django-version 1.9 \
--cms-version develop \
--starting-page yes \
--no-input \
--apphooks-reload \
--no-user \
--db sqlite://localhost/project.db \
mysite

the install quits with the following error:
Traceback (most recent call last):
  File "/Users/fink/Documents/work/MyLittlePony/website/MyLittlePony.com/www./source/3.0/mlp_website-virtualenv/bin/djangocms", line 11, in <module>
    sys.exit(execute())
  File "/Users/fink/Documents/work/MyLittlePony/website/MyLittlePony.com/www./source/3.0/mlp_website-virtualenv/lib/python3.4/site-packages/djangocms_installer/main.py", line 41, in execute
    django.setup_database(config_data)
  File "/Users/fink/Documents/work/MyLittlePony/website/MyLittlePony.com/www./source/3.0/mlp_website-virtualenv/lib/python3.4/site-packages/djangocms_installer/django/__init__.py", line 425, in setup_database
    output = subprocess.check_output(command, env=env)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/subprocess.py", line 617, in check_output
    raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command '['/Users/fink/Documents/work/MyLittlePony/website/MyLittlePony.com/www./source/3.0/mlp_website-virtualenv/bin/python3.4', '-W', 'ignore', 'manage.py', 'migrate']' returned non-zero exit status 1

According to here:
https://github.com/html5lib/html5lib-python/tree/master/html5lib/filters
sanitizer.py is located in the filters module, so perhaps line 8 from here:
https://github.com/divio/djangocms-text-ckeditor/blob/master/djangocms_text_ckeditor/html.py#L8
and line 2 from here:
https://github.com/divio/djangocms-text-ckeditor/blob/master/djangocms_text_ckeditor/sanitizer.py#L2
should instead read:
from html5lib.filters import sanitizer
from html5lib import treebuilders, treewalkers

See release notes here:
https://github.com/html5lib/html5lib-python/blob/14d4851ef707603e8c7a29278572449e4e6f9c22/CHANGES.rst#09999999910b9

@tehfink
We've pinned the html5lib version to be less than 0.99999999.
Please make sure your environment does not have this version installed.


[RHOAIENG-4856] update warning in the project overview page

Closes: RHOAIENG-4856
Description
Update the warning and move it into the pipelines card.
Fix a typo.
Screenshot

How Has This Been Tested?
Manually

/lgtm
/approve


Implement reads/search

The reads/search endpoint is not implemented on the server.  Change that.

@jeromekelleher do we also want a ReadsSimulator?  What priority would that be?

A ReadsSimulator would be great, and is certainly something we'll need. I've no real idea how this would work though---my read-data ignorance is starting to hurt!

We should implement #247 before tackling this.

@jeromekelleher can you add some reads to ga4gh-example-data ?

Sure - if you point me in the direction of the files and give me a script to generate the subsets!

Scripts are in #243
Files are here: http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeUwRepliSeq/
(I picked the first two bam files for test data, so I would avoid those two)

In FileSystemBackend, readGroupSetIds are indexed but there is no way in GASearchReadsRequest to specify a readGroupSetId.  Presumably, we should be indexing readGroupIds, which can be specified in a GASearchReadsRequest, (and which include the readGroupSetId in their id) correct?

Yeah, we'll need to index all the readGroupIds so we can find them for queries. We'll still need all the readGroupSets though, as these need to be retrievable also.

With regards to the nextPageToken with reads/search:
Is it possible for two alignments in a BAM file to be at the same starting position?  If so, setting the nextPageToken to include the position of the subsequent alignment will end up returning duplicate alignments.  In that case we would need to include the ids of alignments with the same starting position that the client has already consumed in the nextPageToken in order to filter them out on the server side.
If not, then the look-ahead method will work without the readAlignmentId array in the nextPageToken.
Fortunately (?), pysam's fetch doesn't include unmapped reads, so we don't need to worry about that complexity.

Excellent point @dcolligan, this actually applies to variant search also. This is a little bit tricky. We'll need an identifier of some sort, so we don't return the same variant/read twice when there are multiple records at the same position. We could use the file position for this, as that's guaranteed to be unique and is cheap to generate and check. That is, in getReadAlignments we yield an iterator over (GAObject, file position) pairs and then include the file position in the next page token. Would this work?

Unfortunately, I don't think so: seek and tell seem to be orthogonal to fetch.  (I'm not really sure what seeking through an indexed file where we wanted random access would really get us anyway.)

Fixed in #268

@dcolligan: regarding fetch not being reflected in seek/tell.  This is because the file is often re-opened when fetching to ensure that multiple threads can query the file without interfering with each other.  It is possible to disable this behavior and then seek/tell will work as you expect.

@bioinformed interesting.  I suspect as time goes forward and we strive for a more efficient implementation we will be forced to go deeper into pysam/htslib internals.


Default value for flushAfterIdleTimeMillis

Hi, I'm testing the release 0.7 and I have found this diving a bit into the source code of ApnsClient:
private long flushAfterIdleTimeMillis = DEFAULT_WRITE_TIMEOUT_MILLIS;

Shouldn't flushAfterIdleTimeMillis use DEFAULT_FLUSH_AFTER_IDLE_MILLIS instead as default value?

Yes, it certainly should. I'm not entirely sure how tests are even passing given the extremely long timeout. Obviously, we'll fix the problem, but I'll also try to figure out why tests aren't hanging forever.

I have investigated a bit that situation and found that if I sent a message just after connecting the client a flush was triggered in io.netty.handler.codec.http2.Http2ConnectionHandler.channelReadComplete that made it work. But if I waited some seconds after connecting it failed.
I have found, however, that the timeout threshold does not seem to work properly, I set it to 50 millis, but I saw that the flush was done after 60 seconds, just when ping idle timeout happened. I saw that all the write timeout events had isFirst() == false and as I see in the implementation of io.netty.handler.timeout.IdleStateHandler that events will not change to isFirst() == true until a flush is done.

I have investigated a bit that situation and found that if I sent a message just after connecting the client a flush was triggered in io.netty.handler.codec.http2.Http2ConnectionHandler.channelReadComplete that made it work.

Yeah—I just came to the same conclusion. The test was enqueueing the notification before the initial SETTINGS frame came in from the server; when it arrived, it would trigger a flush.
You're right about the timeout still being ineffective; I addressed that in 66083b1. We should be in good shape now from a functional perspective, but I'm trying to think of a good way to wait for the initial SETTINGS frame to arrive so we'll catch this problem in the future. Thread.sleep seems okay-ish, but it seems like there's probably something a little more robust we can do.
Thanks again for digging into this problem!

You're welcome @jchambers, thanks for fixing.

Added a test that explicitly waits for the initial SETTINGS frame in 24c1b06.

I'm thinking that as the channelReadComplete triggers a flush, when the responses from the APNS server are received there will be some extra calls to flush that may prevent to obtain better performance regarding the threshold of maxUnflushedNotifications.

Maybe so, but we still do see some improvements in local benchmarks.


Email changes

Changed Customer email (EmailField) to emails (MultiEmailField). First email in this field will be used in templates.
Changed Provider email to display_email (shown to customers) and added internal_email (used by Silver to communicate with the provider).

pong @vtemian

Why is this closed?


Add prefix argument and disk usage example

Hey man! Great little progress bar script, just what I was looking for (found it on stack overflow).
I added an optional third argument to change your default Progress : string there, because I am using it for a disk usage report. I also moved your example usage to another file so that you can clone and import the script as-is, and put an example of my disk usage output in there too. Cleaned up the markdown in the README a little too and mentioned the new argument there.
I figured I might as well send you the PR. Cheers 🍻

Here's my updated project that pulls in my fork! Check it out. https://github.com/mturley/curl-discord-cronjob

@fearside this is dumb, but it's the last open PR in my github.com/pulls list, I think I want to close it unless you want to go ahead and merge it.


Websockets no longer working in Blazor WebAssembly

After the latest release Websockets are no longer supported in a Browser platform like Blazor WASM. This is due to the new properties added with https://github.com/dotnet/MQTTnet/pull/1734. These properties are not available on a browser platform and setting them result in the current issue.
This solves this issue by only applying them if they are explictly set. Not sure if this is the best way to solve this. Another option that could have worked is if you could conditionally compile for BROWSER platform but I could not get that work (not sure if it's actually supported?).
This solves my issue. #1754

@dotnet-policy-service agree

Hi @chkr1011! Added the requested comment, maybe a similiar comment should be added to the other properies that also cannot be set on a browser platform?

If you referring to the ones below I think it is enough.

I was and you are probably correct! 👍🏼

Hi all,
First time posting in this project. Having gone many posts, I think I've missed something as this issue is closed.
Has this been resolved? I found myself trying mqttnet <IP_ADDRESS>1 yesterday, on an existing blazer wasm project, first refactoring the code (handles --> asyncs etc.) but I could never get passed the 'platform no supported' error. Tried everything but I don't think I understand the workaround (if there is one?) I read something about UseDefaultCredentials, not sure how  that fits in.
Would anybody be able to post a simple working example? (options and connection configuration).  Below is wat I tried.
For now I've reverted back to mqttnet 3.1.1, which still works without issue.
Thanks in advance.
    public static async Task Connect()     {         var mqttFactory = new MqttFactory();         using (var mqttClient = mqttFactory.CreateMqttClient())         {             var mqttClientOptions = new MqttClientOptionsBuilder().WithWebSocketServer("test.mosquitto.org:8081").Build();                 mqttClientOptions.ChannelOptions = new MqttClientWebSocketOptions                 {                     Uri = "test.mosquitto.org:8081",                     UseDefaultCredentials = false                 };             var response = await mqttClient.ConnectAsync(mqttClientOptions, CancellationToken.None);             Console.WriteLine("The MQTT client is connected.");         }     }

Hi @jokke009! This has been closed since it's been merged and is working in the master branch.
The reason why latest release still has this issue is that it hasn't been released yet. Not sure what the release strategy is for MQTTNet but I would guess they collect some amount of issues before actually making a release.
I am in the same boat as you so we are currently running on version v<IP_ADDRESS>3 which is working for me. Possible that 4.2 would work aswell, haven't checked.

GitHub automatically closed the issue because there was a PR merged with a fix. But the nuget is not yet released. It will be released next weekend.


Legend 优化

Checklist

[x] npm test passes
[x] tests and/or benchmarks are included
[x] commit message follows commit guidelines

Description of change

支持自定义 Legend 样式，marker 类型，legendItemValue 回调

+1


kubectl logs command doesn't work without -c parameter

$ kubectl -n app-platform logs app-mongo-0
log files not found in support-bundle.
/var/folders/g2/05ngff7d71gds3_kl24gs0f80000gn/T/sbctl-1124730221/support-bundle-2022-03-04T09_27_08/cluster-resources/pods/logs/app-platform/app-mongo-0/.log
/var/folders/g2/05ngff7d71gds3_kl24gs0f80000gn/T/sbctl-1124730221/support-bundle-2022-03-04T09_27_08/cluster-resources/pods/logs/app-platform/app-mongo-0/-logs-errors.log

How is fetching logs supposed to work? They don't usually get pulled in via cluster-resources.

@MikaelSmith support bundle will collect logs for pods that aren't running.  Files will be in the cluster-resources directory.

this has been fixed


AssetMetadata Reducer

What it does

Saves token metadata in indexes, depending on config:

Default Config:

The very latest metadata indexed by asset fingerprint
Metadata is CBOR pallas_primitives::alonzo::model::Metadata

Getting a Little Fancy

If you set the export_json config value to true, the metadata will be stored in standard-format json instead of cbor
If you set the historical_metadata config value to true, all versions of metadata will be stored in a sorted set, scored by wallclock timestamp -- instead of being stored as a simple string value.
If you set the policy_asset_index value to true, a policy-level index (set) containing a list of all asset fingerprints for a policy will be maintained

Config
[[reducers]]
type = "AssetMetadata"
export_json = true
policy_asset_index = true
historical_metadata = true

@scarmuega Edited this heavily

Just tested this. Had pulled it out of a larger changeset. Should be good to go. Welcoming all feedback.

Made some changes post-PR.
After some testing, the way I am doing indexing for the optional config value policy_asset_index means there will be duplicate requests to add keys. If the key already exists, the request will fail and be retried forever, leading to some bad effects. So I added BlindSetAdd, which ignores failures. It is eventually consistent.
I also realized I could use the built in Projection config to manage Json vs Cbor returns. Nice. Made a change to take advantage of that.
Apologies for the post-PR changes. Dove in and did some testing. Open to any and all feedback!


webhook controller pod is ready too soon

Describe the bug
After installing the webhook controller (via Helm), the pod serving the controller is marked as Ready even though pods it should be controlling aren't modified until later, up to a minute or two.
Steps To Reproduce
helm install ... --wait --repo https://azure.github.io/azure-workload-identity/charts --version 0.15.0 workload-identity-webhook workload-identity-webhook
Start a pod which has been configured to be managed by the controller.
Expected behavior
Pods created immediately after the helm command finishes should be modified by the controller.
Logs
I0124 17:55:16.395363       1 main.go:88] entrypoint "msg"="initializing metrics backend" "backend"="prometheus"
I0124 17:55:16.395436       1 main.go:95] entrypoint "msg"="setting up manager" "userAgent"="azure-workload-identity/webhook/runasroot-1 (linux/amd64) df6362a/2023-01-12-00:58"
I0124 17:55:16.649725       1 listener.go:44] controller-runtime/metrics "msg"="Metrics server is starting to listen" "addr"=":8095"
I0124 17:55:16.650349       1 main.go:115] entrypoint "msg"="setting up cert rotation"
I0124 17:55:16.650668       1 main.go:147] entrypoint "msg"="starting manager"
I0124 17:55:16.652206       1 internal.go:366]  "msg"="Starting server" "addr"={"IP":"::","Port":8095,"Zone":""} "kind"="metrics" "path"="/metrics"
I0124 17:55:16.652241       1 internal.go:366]  "msg"="Starting server" "addr"={"IP":"::","Port":9440,"Zone":""} "kind"="health probe"
I0124 17:55:16.652385       1 controller.go:185]  "msg"="Starting EventSource" "controller"="cert-rotator" "source"="&{{%!s(*v1.Secret=&{{ } {      0 {{0 0 <nil>}} <nil> <nil> map[] map[] [] [] []} <nil> map[] map[] }) %!s(*cache.informerCache=&{0xc00049bb80}) %!s(chan error=<nil>) %!s(func()=<nil>)}}"
I0124 17:55:16.652410       1 controller.go:185]  "msg"="Starting EventSource" "controller"="cert-rotator" "source"="&{{%!s(*unstructured.Unstructured=&{map[apiVersion:admissionregistration.k8s.io/v1 kind:MutatingWebhookConfiguration]}) %!s(*cache.informerCache=&{0xc00049bb80}) %!s(chan error=<nil>) %!s(func()=<nil>)}}"
I0124 17:55:16.652432       1 controller.go:193]  "msg"="Starting Controller" "controller"="cert-rotator"
I0124 17:55:16.753556       1 rotator.go:204] cert-rotation "msg"="starting cert rotator controller"
I0124 17:55:16.753778       1 rotator.go:245] cert-rotation "msg"="refreshing CA and server certs"
I0124 17:55:16.753694       1 controller.go:227]  "msg"="Starting workers" "controller"="cert-rotator" "worker count"=1
E0124 17:55:16.753973       1 rotator.go:674] cert-rotation "msg"="secret is not well-formed, cannot update webhook configurations" "error"="Cert secret is not well-formed, missing ca.crt"
I0124 17:55:19.408882       1 rotator.go:722] cert-rotation "msg"="Ensuring CA cert" "gvk"={"Group":"admissionregistration.k8s.io","Version":"v1","Kind":"MutatingWebhookConfiguration"} "name"="azure-wi-webhook-mutating-webhook-configuration"
E0124 17:55:19.491674       1 rotator.go:729] cert-rotation "msg"="Error updating webhook with certificate" "error"="Operation cannot be fulfilled on mutatingwebhookconfigurations.admissionregistration.k8s.io \"azure-wi-webhook-mutating-webhook-configuration\": the object has been modified; please apply your changes to the latest version and try again" "gvk"={"Group":"admissionregistration.k8s.io","Version":"v1","Kind":"MutatingWebhookConfiguration"} "name"="azure-wi-webhook-mutating-webhook-configuration"
E0124 17:55:19.491737       1 controller.go:326]  "msg"="Reconciler error" "error"="Operation cannot be fulfilled on mutatingwebhookconfigurations.admissionregistration.k8s.io \"azure-wi-webhook-mutating-webhook-configuration\": the object has been modified; please apply your changes to the latest version and try again" "controller"="cert-rotator" "name"="azure-wi-webhook-server-cert" "namespace"="azure-workload-identity-system" "object"={"name":"azure-wi-webhook-server-cert","namespace":"azure-workload-identity-system"} "reconcileID"="f9071a34-afdb-4119-b623-e91d0666d7d9"
I0124 17:55:19.491953       1 rotator.go:722] cert-rotation "msg"="Ensuring CA cert" "gvk"={"Group":"admissionregistration.k8s.io","Version":"v1","Kind":"MutatingWebhookConfiguration"} "name"="azure-wi-webhook-mutating-webhook-configuration"
I0124 17:55:19.498804       1 rotator.go:722] cert-rotation "msg"="Ensuring CA cert" "gvk"={"Group":"admissionregistration.k8s.io","Version":"v1","Kind":"MutatingWebhookConfiguration"} "name"="azure-wi-webhook-mutating-webhook-configuration"
E0124 17:55:20.712482       1 rotator.go:247] cert-rotation "msg"="could not refresh CA and server certs" "error"="Operation cannot be fulfilled on secrets \"azure-wi-webhook-server-cert\": the object has been modified; please apply your changes to the latest version and try again"
I0124 17:55:20.731133       1 rotator.go:271] cert-rotation "msg"="no cert refresh needed"
I0124 17:56:45.536432       1 rotator.go:757] cert-rotation "msg"="certs are ready in /certs"
I0124 17:56:45.536466       1 rotator.go:777] cert-rotation "msg"="CA certs are injected to webhooks"
I0124 17:56:45.536481       1 main.go:159] entrypoint "msg"="setting up webhook server"
I0124 17:56:45.536535       1 server.go:216] controller-runtime/webhook/webhooks "msg"="Starting webhook server"
I0124 17:56:45.536612       1 main.go:163] entrypoint "msg"="registering webhook to the webhook server"
I0124 17:56:45.536698       1 server.go:148] controller-runtime/webhook "msg"="Registering webhook" "path"="/mutate-v1-pod"
I0124 17:56:45.536861       1 certwatcher.go:131] controller-runtime/certwatcher "msg"="Updated current TLS certificate"
I0124 17:56:45.536945       1 server.go:270] controller-runtime/webhook "msg"="Serving webhook server" "host"="" "port"=9443
I0124 17:56:45.537016       1 certwatcher.go:85] controller-runtime/certwatcher "msg"="Starting certificate watcher"

Environment

Kubernetes version (use kubectl version): 1.23.12
Cloud provider or hardware configuration: AKS

Additional context
I worked around this with the following loop executed after my helm invocation:
while ! kubectl -n azwi-system logs deploy/azure-wi-webhook-controller-manager | grep -q 'Serving webhook server'; do
    sleep 1
done

Note that in the logs above, this comes a minute and a half after the pod starts. I've seen it get to that point within 30s, but also take up to 3m. The pod is marked Ready at 17:55:17.
I see that the readinessProbe handled by /readyz is just a ping checker. Perhaps StartedChecker() would be a better choice?
This may also be of relevance to the question posed in https://github.com/Azure/azure-workload-identity/issues/540#issuecomment-1398808069

Closed with #721


width aliases not working

Using width aliases just passes the value to straight to the css.

Do you have any examples of it? They seem to be working fine for me

closing due to inactivity. If you are still having this issue or have additional information to aid in debugging, feel free to reopen.


TAPTestRunner not observing unittest.main() buffer keyword

The TAPTestRunner does not buffer output when the buffer=True keyword is passed to unittest.main(). I have this simple test:
#!/usr/bin/env python
from __future__ import print_function
import sys
import unittest
import tap

class TestStuff(unittest.TestCase):

    def test(self):
        print("Some output")
        self.assertTrue(True)

if __name__ == '__main__':

    # A:
    unittest.main(exit=False)

    # B:
    unittest.main(buffer=True, exit=False)

    # C:
    runner = tap.TAPTestRunner()
    unittest.main(testRunner=runner, exit=False)

    # D:
    runner = tap.TAPTestRunner()
    unittest.main(buffer=True, testRunner=runner, exit=False)

Case A and case B both produce the output I expect: the message printed by the test is displayed at A, and not displayed at B:
# A Output
Some output
.
----------------------------------------------------------------------
Ran 1 test in 0.000s
OK

# B Output
.
----------------------------------------------------------------------
Ran 1 test in 0.000
OK

However,  the C and D cases both display the output from the test; IMO the D case should not.
Some output
.
----------------------------------------------------------------------
Ran 1 test in 0.002s
OK

Mark, thanks for the report! tappy supports back to Python 2.6 where the buffer feature did not exist. I suspect that the reason this is failing is because the __init__ for the TestResult class does not accept additional parameters in 2.6. In 2.7, it added some keyword arguments.
I'll try fiddling with the __init__ and conditionally calling super methods with different call signatures based on version. I hope that will solve the issue.

I took a closer look and realized there is not a bug here. The "bug" is in the test script. The problem is that the buffer parameter was not given to the runner constructor. When the runner is not explicitly passed into unittest.main, main will construct its own runner and pass in the buffer parameter. When the runner is provided, the buffer parameter is not used. In order to use buffer with an explicit runner (as is the case with TAPTestRunner), buffer must be provided to the runner. When I passed buffer=True to the runner, the test script worked as you would expect.
# D:
runner = tap.TAPTestRunner(buffer=True)
unittest.main(buffer=True, testRunner=runner, exit=False)

Note that this API wart is also true of the TextTestRunner. I tried:
# E:
runner = unittest.TextTestRunner()
unittest.main(buffer=True, testRunner=runner, exit=False)

and it failed to suppress the output.
Thanks for helping me understand this better. It took some good source diving before this made sense.

Thanks for looking at this. The interesting thing is that we use a TAP
implementation written in-house, and it doesn't exhibit the behavior you
found. We invoke it this way:
unittest.main(buffer=True, testRunner=TAP())
and the output is suppressed. Not sure what we did to fix this, but it's
good to know where to look.
--
Mark E. Hamilton
Engineering Sciences Center
Senior Member of Technical Staff
Sandia National Laboratories
505-844-7666

Oh, that's intriguing. If you find that there's a way to trigger an explicitly supplied runner to buffer by just setting in the main function, I'd love to hear it. That might be a worthwhile addition to the runner code.


[stable/redis] Fix "iptables: Permission Denined" error when installing on Istio-enabled cluster.

What this PR does / why we need it:
Only define the securityContext on the main container instead of defining it on the top level spec which results into injected containers by Istio inheriting this definition (i.e. istio-init).
Which issue this PR fixes

fixes istio-init fails with "can't initialize iptables table 'nat': Permission denied #316

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped

/retest

/retest

/check-dco

Can you also check the DCO failure and resolve the conflicts in the stable/redis/Chart.yaml file?

Thanks for making the changes @alexanderawitin!


mysql not support FOR UPDATE OF

When i use myqsl backends . raise this Exception
django_apscheduler/models.py at 155

Duplicate of #93.

Can we open this one again? Because this is not duplicate as this issue is with MySQL not MSSQL. @jcass77

I was wrong, this isn't an exact duplicate of #93. As noted in that issue however, MySQL does not appear to support using the of parameter in select_for_update.
I think the parameter is probably superfluous in this case as we are not also selecting any related objects via select_related in the QuerySet, so we should be able to just remove it.

Thanks @jcass77

Thanks @jcass77


on_error not respected in non-interactive mode/exit code is 0

If I run a file with syntax errors using non-interactive mode, mssql-cli doesn't stop execution after the first error nor does it return a non-zero exit code:
Output looks like:
Incorrect syntax near ''.
Commands completed successfully.
Commands completed successfully.
Commands completed successfully.
Commands completed successfully.

Hi @highlyunavailable, sorry about this. Can you please provide the following:

The script used to repro the error
Your version of mssql-cli (you can get this by calling mssql-cli —version)
Your OS
Your version of Python, if pip was used to install mssql-cli

* The script used to repro the error

Any script with invalid syntax works. An example is:
this_is_invalid;
select @@version;

Save to invalid_example.sql.
Run with:
mssql-cli --less-chatty -i invalid_example.sql
I'm providing all server information with environment variables, so add that as appropriate.
Example powershell script to repro:
$env:MSSQL_CLI_SERVER = "yourserver"
$env:MSSQL_CLI_DATABASE = "yourdb"
$env:MSSQL_CLI_USER = "youruser"
$env:MSSQL_CLI_PASSWORD = 'yourpassword'
mssql-cli --less-chatty -i invalid_example.sql
$LASTEXITCODE

This also repros in interactive mode:
my_db> this_is_invalid;
...................... select @@version;
Time: 1.072s (a second)
Msg 2812, Level 16, State 62, Line 1
Could not find stored procedure 'this_is_invalid'.
+--------------------+
| (No column name)   |
|--------------------|
| Microsoft SQL Azure (RTM) - 12.0.2000.8
        Apr  9 2020 16:39:55
        Copyright (C) 2019 Microsoft Corporation
                    |
+--------------------+
(1 row affected)
my_db>

My config file has:
# Error handling
# When one of multiple SQL statements causes an error, choose to either
# continue executing the remaining statements, or stopping
# Possible values "STOP" or "RESUME"
on_error = STOP

The actual (names obfuscated) command I was running was similar to:
IF (DATABASE_PRINCIPAL_ID('foo') IS NULL)
BEGIN
    CREATE ROLE [foo]
        AUTHORIZATION [db_owner];
END;

IF (SCHEMA_ID('bar') IS NULL)
BEGIN
    EXEC ('CREATE SCHEMA [bar] AUTHORIZATION [dbo];')
END;

GRANT SELECT
    ON SCHEMA::[bar] TO [foo];

The actual syntax errors are that there is a semicolon after AUTHORIZATION [db_owner] and after the END statements and there apparently shouldn't be.

* Your version of mssql-cli (you can get this by calling `mssql-cli --version`)

Version: 0.18.2

* Your OS

Repros on Windows 10 and Ubuntu 18.04

* Your version of Python, if `pip` was used to install mssql-cli

Python 3.8.2

Here is the fix I added to resolve that:
In 'mssql_cli.py' file, after line 567 (inside the 'if is_error' block), I added a new line (same indentation):
raise Exception(status)
Since I'm mostly using mssql-cli in a non-interactive mode, usually embedded in other scripts, this fix suits my needs perfectly, and I don't mind failing after the first error is encountered, as long as the exit-code perfectly reflects the situation.


Command Line Arguments Example

Pull request for Command Line Arguments example.
Please review and merge.

Also, I cant find any issue with the code or the branch, still the review action says failed.
Could you help me out in pointing the error so that it can be rectified and the code merged.

👍


Error updating plugins.

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate (hopefully).

OS version and name: MacOS 10.13
Hyper.app version: 1.4.8
Link of a Gist with the contents of your .hyper.js:
Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere): N/A
The issue is reproducible in vanilla Hyper.app: True

Issue

Hi, after I've installed some plugins it gives me this error, I've tried to delete all of them but it is still here. It happens a few seconds after the startup.
I thought to ask here before do a fresh install.

@Rawnly  Hi, possibly the plugins that are causing problems are cached, I recommend removing Hyper and reinstalling, it if the problem persists let me know

You could also try removing node_modules and package-lock.json from .hyper_plugins and then reinstall using your package manager of choice. Make sure you're in the .hyper_plugins directory when doing so.

You could also try removing node_modules and package-lock.json from .hyper_plugins and then reinstall using your package manager of choice. Make sure you're in the .hyper_plugins directory when doing so.
— @RichDonnellan

I've did it but still got the error, so, I've solved it by removing Hyper and reinstalling it.


⚠ UdeS website (prod) has degraded performance

In 9bb9109, UdeS website (prod) (https://www.usherbrooke.ca/) experienced degraded performance:

HTTP code: 200
Response time: 2256 ms

Resolved: UdeS website (prod) performance has improved in b4fd73c.


How do you display a Legend?

Is this included or should we render this outside of this component?

It doesn't include a legend component -- we used a separate table (based on the same data) as the legend.

Thanks! I am curious if you have a demo of your implementation with the legend?


Fail to install openchain/server from Kitematic on macOS High-Sierra

Expected behavior
openchain/server installs successfully
Actual behavior
Fail with error '(HTTP code 404) unexpected - manifest for openchain/server:latest not found'
Information about the Issue
Steps to reproduce the behavior

Search Openchain from Kitematic
Install
Fail

Go to https://hub.docker.com/r/openchain/server/tags/
Observe no latest tags were created for that image
Select a different tag in Kitematic (if one exists)
🎉  enjoy container running.

Ideally you open an issue with the repo owner to let them know how frustrating it is that they don't have a latest image tagged


GuestAndHybridManagement Azure FW Name

It shows that this service tag can be used as an outbound rule in azure FW, but I don't see it listed.

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

ID: 08217244-82bb-13b5-46f7-454801d8f865
Version Independent ID: 4a8b0a32-bf57-7544-c60d-6b7f250c4477
Content: Azure service tags overview
Content Source: articles/virtual-network/service-tags-overview.md
Service: virtual-network
GitHub Login: @jispar
Microsoft Alias: jispar

@Suren<EMAIL_ADDRESS>– We need Azure Firewall team to update supported service tags in the documentation 😊
Thank you,
Jisu
From: michaelschmit<EMAIL_ADDRESS>Sent: Thursday, February 6, 2020 7:57 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Jisu Park<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [MicrosoftDocs/azure-docs] GuestAndHybridManagement Azure FW Name (#47591)
It shows that this service tag can be used as an outbound rule in azure FW, but I don't see it listed.

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

ID: 08217244-82bb-13b5-46f7-454801d8f865
Version Independent ID: 4a8b0a32-bf57-7544-c60d-6b7f250c4477
Content: Azure service tags overviewhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-network%2Fservice-tags-overview&data=02|01|Jisu.Park%40microsoft.com|5d436c30b0a44457139708d7ab1d298c|72f988bf86f141af91ab2d7cd011db47|1|0|637166014046592065&sdata=CJ9eZAsnxQS5Zje03uOfKqXlGBAPqM%2Bs71vBjWgRZxs%3D&reserved=0
Content Source: articles/virtual-network/service-tags-overview.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fazure-docs%2Fblob%2Fmaster%2Farticles%2Fvirtual-network%2Fservice-tags-overview.md&data=02|01|Jisu.Park%40microsoft.com|5d436c30b0a44457139708d7ab1d298c|72f988bf86f141af91ab2d7cd011db47|1|0|637166014046602057&sdata=CTjWvJNQckN%2FwCyfOUgHvCDoOeWEfKx%2FhQFMJ4E6YFc%3D&reserved=0
Service: virtual-network
GitHub Login: @jisparhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjispar&data=02|01|Jisu.Park%40microsoft.com|5d436c30b0a44457139708d7ab1d298c|72f988bf86f141af91ab2d7cd011db47|1|0|637166014046602057&sdata=4K1V1Nk%2Fj345SugL%2BMeF2saOWRB4RGFQ4eAR5oKiiX4%3D&reserved=0
Microsoft Alias: jispar

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F47591%3Femail_source%3Dnotifications%26email_token%3DAK4GZPUFE3KO3F4IIKWD5LTRBQXLVA5CNFSM4KQ7NRT2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILRZJIQ&data=02|01|Jisu.Park%40microsoft.com|5d436c30b0a44457139708d7ab1d298c|72f988bf86f141af91ab2d7cd011db47|1|0|637166014046612052&sdata=lk7WdTGoJtu9SVDKX31j9w4Tnc%2Fvb1l8zJHms15%2B8%2Bo%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAK4GZPVDINS7YZTDSZZ4MMTRBQXLVANCNFSM4KQ7NRTQ&data=02|01|Jisu.Park%40microsoft.com|5d436c30b0a44457139708d7ab1d298c|72f988bf86f141af91ab2d7cd011db47|1|0|637166014046612052&sdata=TDyB9gGdYsTnjyWPwJuaclB28IMxZhjcKFqfkTkmBaE%3D&reserved=0.

@michaelschmit Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.
@jispar Let me know if I should reassign this issue.

We are working on getting MMA up and running for security center reporting.  It seems there is some conflicting information on what needs to be opened up to get MMA reporting and installed.  What seems like the most accurate account shows that we need outbound rules (NSG and FW) for the service tags: Storage, AzureMonitor, and GuestAndHybridManagement.  If that is the case, I would expect Azure FW to implement that service tag.

Can someone chime in on my above comment?

#reassign: allegradomel

@michaelschmit - the doc indicates that the Storage, AzureMonitor, and GuestAndHybridManagement tag can be used with Azure Firewall. Is there any other change you were suggesting?


ARROW-12205: [C++][Gandiva] Implement TO_TIME([number] seconds) and TO_TIMESTAMP([number] seconds) function

ImpleImplement TO_TIME([number] seconds) and TO_TIMESTAMP([number] seconds) function

Test

There is a failing build in the added unit test.

There is a failing build in the added unit test.

@projjal sorry, it was my mistake on the rebase process. Already corrected it.


Cookies Request

TODO fix tests

i've been a bit busy i'll come back to this soon

@danielnehrig how is this going? (Btw, I noticed while looking through your code here that the cookie setting system won't work, I don't think, because the request provided to get_request_state etc. is just a clone, you'll need to use the header setting API for that I reckon.)

@danielnehrig how is this going? (Btw, I noticed while looking through your code here that the cookie setting system won't work, I don't think, because the request provided to get_request_state etc. is just a clone, you'll need to use the header setting API for that I reckon.)

thanks for that hint i wasn't able to test the implementation at that time due to conflicts with my projects cargo release version and the perseus upstream version
there should be more then enough time for me to pick this up again after the holidays probably start next year!

Sounds great! No particular rush. I don't think it will impact this PR too much, but be aware that the capsules PR rewrites over 10k lines of the Perseus core, basically constituting a full rewrite. There will probably be a few merge conflicts! (Nothing about Request has changed though.)

@danielnehrig is it likely you'll continue work on this any time soon, or shall I close it for now?

i'm so sorry i'm deeply burried in work at the moment
i'll revisit stuff soon if i find time :/ for now i close this since it needs to be properly done anyways

No problem, let me know if you can in future, but otherwise no worries, I completely understand.


chirpstack-gateway-bridge: init at 4.0.11

Package ChirpStack Gateway Bridge abstracts Packet Forwarder protocols into Protobuf or JSON over MQTT.
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 353919 run on x86_64-linux 1

1 package built:

chirpstack-gateway-bridge

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/2104

Hey @Aleksanaa,
I am so thankful for your review work. Do you mind if I tag you some of my PRs?
Or do you prefer picking PRs yourself?


"Copy and paste" notification program via email.

Hello ,
I need a program that in every copy and paste that is executed, and finished, the email notification arrives, can you help me?

I'm sorry, this doesn't seem related to the Windows Terminal or the Windows Console. You might be interested in looking at "Power Automate," which might
let you run some automation on your Windows computer when you copy/paste.


SAK-30999 - Student View - Peer assessment indication does not appear…

… indented beneath corresponding assignment

Looks awesome!! thanks


Support caching of GenericFunctionQuery

Q: SELECT * FROM uservisits WHERE abs("adRevenue") > 10 LIMIT 5
C: 1
| Version |         Mean ±    Stdev |        Min |     Median |         Q3 |        Max |
|   V1    |       39.124 ±    3.422 |     36.328 |     37.668 |     39.896 |     58.311 |
|   V2    |        3.166 ±    7.071 |      1.696 |      2.034 |      2.221 |     64.310 |
mean:   - 170.06%
median: - 179.51%

Checklist

[x] User relevant changes are recorded in CHANGES.txt
[x] Touched code is covered by tests
[x] Documentation has been updated if necessary
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

I think this would be nice to mention at the changes.


Firebase authentication not working

bootstrap(AppComponent, [
  HTTP_PROVIDERS,

  // Firebase
  FIREBASE_PROVIDERS,
  defaultFirebase('https://*****.firebaseio.com'),
  firebaseAuthConfig({
    provider: AuthProviders.Facebook,
    method: AuthMethods.Popup,
  }),

]);

When I try to login me, I have this error:

Whereas the facebook authentication is activated and configured :/

I have tis issue with all providers, an idea ?

Hi @Grmiade. Have you checked this guide from Firebase? I got the same error with you. Then I followed that guide carefully and everything is working fine now.

This is a firebase issue. Not a angularfire2 issue

Yes, I followed this guide too. But nothing. With the new dashboard, it fails.
I have tried with old dashboard and its works !
Weird, I am alone in this case :/

I am having exactly the same problem. I have tried most of the auth methods and they all come back with the same error. I followed the authentication docs.

It appears there is an issue if you create a new app on firebase.google.com console. A work around I have seen is that you create a new project on the legacy console www.firebase.com and add the auth providers there. After you migrate the app to the new console and it should work

Hey everyone, the AngularFire2 is still on the old SDK but we are in the process of upgrading to 3.0. Hold tight :)

"unfortunately" I already created a new in app in the new Firebase Console. Any chance there's a way I can make one of the Auth methods work right now?


ParserRules - Change ImageTagAttribut

is there a way to define a parser rule that does something like this with the image tag:
img src="images/test.jpg"
replace with:
img src="temp/images/test.jpg"
if not, would be thankful for an idea of a workaround.
Thx

I just added an enhancement that You can pass a function to check_attributes method in parser rules
in parser rules for image tag you would have to add something like this:
check_attributes: {
    src: function(val) {
        if (val.indexOf('temp/') !== 0) {
            return "temp/" + val;
        } else {
            return val;
        }
    }
}


Hermes stats simplification, runtime customization of profile log

Unnecessary and complicated caching functionality was removed.
AppController properties for changing profiling level in runtime were introduced.
In updated implementation, every node can always tell its current local node and processes stats. Load balancer node can always tell local proxies stats. Master node can always tell current cluster stats. If there is recently got fresh stats it will be returned as cached result.
If some kind of profiling is enabled, master node will periodically collect cluster stats and write it to CSV tables.

https://ocd.appscale.com:8080/job/Daily Build/3279/

https://ocd.appscale.com:8080/job/Daily Build/3293/

https://ocd.appscale.com:8080/job/Daily Build/

https://ocd.appscale.com:8080/job/Daily Build/3313/

Hawkeye BadConfigurationException: Couldn't read from locations file, AppScale may not be running with keyname appscale-testing-a7ed8338-5371-4f96-8f80-028f0345cdf7
Hawkeye appscale.tools.custom_exceptions.BadConfigurationException: Couldn't read from locations file, AppScale may not be running with keyname appscale-testing-09d1f7f1-6034-43e3-8e89-2ede3cf96e04
Hawkeye tests.taskqueue_tests.DeferredTaskTest.runTest ... FAIL (ok was expected)    tests.taskqueue_tests.RESTPullQueueTest.runTest ... ERROR
Autoscale Not ready after 0.0s. Current state is: 1 appengine nodes, 0 AppServer for 'validity-test'
Not ready after 5.7s. Current state is: 1 appengine nodes, 2 AppServer for 'validity-test'
Not ready after 11.4s. Current state is: 1 appengine nodes, 2 AppServer for 'validity-test'
Not ready after 17.2s. Current state is: 1 appengine nodes, 2 AppServer for 'validity-test'
Not ready after 23.0s. Current state is: 1 appengine nodes, 2 AppServer for 'validity-test'
Didn't reach required configuration in 20s.
Needed 1..1 'validity-test' AppServers, 1..1 appengine nodes.
Migration appscale.tools.admin_client.AdminError: Unable to determine if user exists<EMAIL_ADDRESS>

https://ocd.appscale.com:8080/job/Daily Build/3342/
Almost blue=)
One failure at Hawkeye-Simple-8:
Port <IP_ADDRESS>:1080 did not open in time. Aborting...


NestedScrollView and SliverAppBar and ExpansionPanelList looks well on debug mode but not well on release mode

There is something wrong with NestedScrollView and SliverAppBar on Flutter for Web.
This is the UI with debug mode on the left and release mode on the right.

When the pinned for SliverAppBar changes to false, it works partly like this:

Code sample
import 'package:flutter/material.dart';

import '../models/course.dart';
import '../widgets/course_detail.dart';
import '../widgets/course_content.dart';
import '../widgets/pinned_bottom_bar.dart';

class CourseRoute extends StatelessWidget {
  /// 课程页面

  final List<String> tabs = <String>['详情', '目录'];

  final String courseTitle = 'Python编程入门';
  final String courseIntro = '第一门编程课，学习编程思想和Python语言';

  @override
  Widget build(BuildContext context){
    return Scaffold(
      body: Stack(
        children: [
          DefaultTabController(
            // https://flutter.dev/docs/cookbook/design/tabs
            length: tabs.length,
            child: NestedScrollView(
              // https://api.flutter.dev/flutter/widgets/NestedScrollView-class.html
              headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled){
                return <Widget>[
                  CourseSliverAppBar(
                    courseTitle: courseTitle,
                    courseIntro: courseIntro,
                    tabs: tabs,
                    innerBoxIsScrolled: innerBoxIsScrolled,
                  )
                ];
              },
              body: CourseTabBarView(
                children: <Widget>[
                  // 列表长度等于tabs.length
                  CourseDetailList(),
                  CourseContent(),
                ]
              )
            ),
          )
          // CourseBottomWidget(),
        ]
      ),
    );
  }
}

class CourseSliverAppBar extends StatelessWidget {
  /// 课程页面SliverAppBar

  final String courseTitle;
  final String courseIntro;
  final List<String> tabs;
  final bool innerBoxIsScrolled;

  CourseSliverAppBar({
    required this.courseTitle,
    required this.courseIntro,
    required this.tabs,
    required this.innerBoxIsScrolled
  });

  @override
  Widget build(BuildContext context){
    return SliverOverlapAbsorber(
      handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
      sliver: SliverAppBar(
          expandedHeight: 200,
          pinned: true,
          forceElevated: innerBoxIsScrolled,
          // 头部
          title: Text(courseTitle),
          centerTitle: true,
          flexibleSpace: FlexibleSpaceBar(
            // https://api.flutter.dev/flutter/material/FlexibleSpaceBar-class.html
            title: Text(courseIntro),
            titlePadding: EdgeInsets.all(50),
          ),
          // 底部
          bottom: PreferredSize(
            preferredSize: Size.fromHeight(40),  // 临时设一个高度
            child: TabBar(
              /// 标签栏
              tabs: tabs.map((String name) => Tab(text: name)).toList(),
            ),
          )
      ),
    );
  }
}

class CourseTabBarView extends StatelessWidget {
  /// 课程页面标签视图

  final List<Widget> children;

  CourseTabBarView({
    required this.children
  });

  @override
  Widget build(BuildContext context) {
    return TabBarView(
      children: children.map((Widget child){
        return SafeArea(
          top: false,
          bottom: true,  // 底部小概率可能有不规则
          child: CustomScrollView(
            slivers: [
              SliverOverlapInjector(
                handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
              ),
              SliverToBoxAdapter(
                child: child,
              )
            ],
          )
        );
      }).toList(),
    );
  }
}

Logs
There is no useful log for the situation since everyone looks the same.
flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 2.6.0-5.1.pre, on macOS 11.6 20G165 darwin-x64, locale
    zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.5.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.61.0)
[✓] Connected device (2 available)

• No issues found!

debug mode:
Performing hot restart...
Waiting for connection from debug service on Chrome...
Restarted application in 728ms.

release mode:
Launching lib/main.dart on Chrome in release mode...
Compiling lib/main.dart for the Web...

Hi @Guo-Zhang, your sample seems to be missing the implementation of CourseDetailItemModel.
Please provide the implementation.
Thank you

This is only a JSON serializer.
class CourseDetailItemModel {
  String title;
  String description;
  bool isExpanded;

  CourseDetailItemModel({
    required this.title,
    required this.description,
    this.isExpanded = false,
  });

  factory CourseDetailItemModel.fromMap(Map<String, dynamic> data){
    return CourseDetailItemModel(
      title: data['title'],
      description: data['description'],
    );
  }
}

All classes named Model are like this. It does not affect the UI.

Thanks for that! It takes me for several days, and I realize that the problem may be deep. That is why I open this issue to learn how to contribute to the engine.

If you want to learn how to contribute to the engine, kindly see The general contributing guide and The engine contributing guide.
Thank you taking an interest


Changed hard-coded vim to use EDITOR variable

previously zshrc alias called 'vim...'. Changed it to use ${EDITOR:-vim} so it looks for the EDITOR variable (set by in the default .zshrc file) and defaults to vim. Using single quote so updates to EDITOR environmental variable will be used automatically.

Works for me on OS X 10.9, Fedora 21, and Windows 7/Cygwin. Changing $EDITOR is respected.

Fixed by 9a5e1a055201409ebe9e1ab97cd8c3fe52b990f5. Closing.


[Jwt_authn filter] Split metrics of the same type of filter*

Split metrics with the same filter

We are using jwt_autn filter to validate the signature of two jwt.  For this, we have two diferentes files to split and identify differents errors and who makes them. (We had a problem in the pass attended in this issue: https://github.com/envoyproxy/envoy/issues/24427)

The question is can we split the metrics using two differents providers of the same filter?

cc @qiwzhang


Existing SteamCMD Server

If I have an existing cs2 server/game on the server, can I simlink it instead of having the project recreate all game files using mdm setup?

During setup, when you are asked to select the base installation directory, paste or enter the path to your existing CS2 installation and you are good to go.


Async all resources

Contains commits from #396 #394, credits to @AlexMikhalev. Rebased onto main, conflicts resolved. Seems to work.
PR Checklist:

[x] Link to related issue
[x] Add changelog entry linking to issue
[ ] Added tests (if needed)
[ ] (If new feature) added in description / readme

For some reason tauri won't build.
https://github.com/atomicdata-dev/atomic-data-rust/runs/6723553931?check_suite_focus=true#step:7:487
I guess I should try older versions

@AlexMikhalev If I try to run atomic-server --rebuild-index, I get issues:
2022-06-05T08:35:39.570694Z ERROR atomic_lib::db: Error sending resource in pool in all_resources: sending on a disconnected channel

However, the test seems to work just fine.
I'm assuming the issue is that atomic-server uses a tokio async runtime, and the two don't mix.
Maybe we need to use tokio in atomic-lib, too. I think this means we can get rid of these dependencies:
crossbeam-channel = "0.5.4"
threadpool = "1.3"
num_cpus = "1.4"

What are your thoughts on this?

I think we can safely remove threadpool and num_cpu, I was under impression I have done it. There is a method part of standard library. Crossbeam is another thing, currently I use special case - channels with zero buffer, it seems consumer dies before all tasks complete. How can I replicate crash?

Ok. I managed to replicate it. I think the issue is that actix spawns new processes then inside spawned future - not an actual process we spawn a number of threads per CPU. Before fixing, the question does the rebuild index need to be async future? Cause it's not actually doing anything until await is called - which I can't find in the code, I mean:
actix_web::rt::spawn(async move {

should have await? somewhere?

Oh dear. I just read tokio docs - there is a lot of magic in those few lines:
cfg_rt! {
    /// An owned permission to join on a task (await its termination).
    ///
    /// This can be thought of as the equivalent of [`std::thread::JoinHandle`] for
    /// a task rather than a thread.
    ///
    /// A `JoinHandle` *detaches* the associated task when it is dropped, which
    /// means that there is no longer any handle to the task, and no way to `join`
    /// on it.
    ///
    /// This `struct` is created by the [`task::spawn`] and [`task::spawn_blocking`]
    /// functions.
    ///
    /// # Examples
    ///
    /// Creation from [`task::spawn`]:
    ///
    /// ```
    /// use tokio::task;
    ///
    /// # async fn doc() {
    /// let join_handle: task::JoinHandle<_> = task::spawn(async {
    ///     // some work here
    /// });
    /// # }
    /// ```
    ///
    /// Creation from [`task::spawn_blocking`]:
    ///
    /// ```
    /// use tokio::task;
    ///
    /// # async fn doc() {
    /// let join_handle: task::JoinHandle<_> = task::spawn_blocking(|| {
    ///     // some blocking work here
    /// });
    /// # }
    /// ```
    ///
    /// The generic parameter `T` in `JoinHandle<T>` is the return type of the spawned task.
    /// If the return value is an i32, the join handle has type `JoinHandle<i32>`:
    ///
    /// ```
    /// use tokio::task;
    ///
    /// # async fn doc() {
    /// let join_handle: task::JoinHandle<i32> = task::spawn(async {
    ///     5 + 3
    /// });
    /// # }
    ///
    /// ```
    ///
    /// If the task does not have a return value, the join handle has type `JoinHandle<()>`:
    ///
    /// ```
    /// use tokio::task;
    ///
    /// # async fn doc() {
    /// let join_handle: task::JoinHandle<()> = task::spawn(async {
    ///     println!("I return nothing.");
    /// });
    /// # }
    /// ```
    ///
    /// Note that `handle.await` doesn't give you the return type directly. It is wrapped in a
    /// `Result` because panics in the spawned task are caught by Tokio. The `?` operator has
    /// to be double chained to extract the returned value:
    ///
    /// ```
    /// use tokio::task;
    /// use std::io;
    ///
    /// #[tokio::main]
    /// async fn main() -> io::Result<()> {
    ///     let join_handle: task::JoinHandle<Result<i32, io::Error>> = tokio::spawn(async {
    ///         Ok(5 + 3)
    ///     });
    ///
    ///     let result = join_handle.await??;
    ///     assert_eq!(result, 8);
    ///     Ok(())
    /// }
    /// ```
    ///
    /// If the task panics, the error is a [`JoinError`] that contains the panic:
    ///
    /// ```
    /// use tokio::task;
    /// use std::io;
    /// use std::panic;
    ///
    /// #[tokio::main]
    /// async fn main() -> io::Result<()> {
    ///     let join_handle: task::JoinHandle<Result<i32, io::Error>> = tokio::spawn(async {
    ///         panic!("boom");
    ///     });
    ///
    ///     let err = join_handle.await.unwrap_err();
    ///     assert!(err.is_panic());
    ///     Ok(())
    /// }
    ///
    /// ```
    /// Child being detached and outliving its parent:
    ///
    /// ```no_run
    /// use tokio::task;
    /// use tokio::time;
    /// use std::time::Duration;
    ///
    /// # #[tokio::main] async fn main() {
    /// let original_task = task::spawn(async {
    ///     let _detached_task = task::spawn(async {
    ///         // Here we sleep to make sure that the first task returns before.
    ///         time::sleep(Duration::from_millis(10)).await;
    ///         // This will be called, even though the JoinHandle is dropped.
    ///         println!("♫ Still alive ♫");
    ///     });
    /// });
    ///
    /// original_task.await.expect("The task being joined has panicked");
    /// println!("Original task is joined.");
    ///
    /// // We make sure that the new task has time to run, before the main
    /// // task returns.
    ///
    /// time::sleep(Duration::from_millis(1000)).await;
    /// # }
    /// ```
    ///
    /// [`task::spawn`]: crate::task::spawn()
    /// [`task::spawn_blocking`]: crate::task::spawn_blocking
    /// [`std::thread::JoinHandle`]: std::thread::JoinHandle
    /// [`JoinError`]: crate::task::JoinError
    pub struct JoinHandle<T> {
        raw: Option<RawTask>,
        id: Id,
        _p: PhantomData<T>,
    }
}

I don't think we can marry both - I think we have to choose tokio or channels, I read tokio is less performant on those tasks, hence I chose channels. Another option would be to define Sync on atomic data type and use rayon par_iter.

Currently even without changes tests are failing:

failures:

---- db::test::query_include_external stdout ----
0
0
thread 'db::test::query_include_external' panicked at 'Amount of results should be higher for include_external', lib/src/db/test.rs:416:5

---- db::test::test_db_resources_all stdout ----
thread 'db::test::test_db_resources_all' panicked at 'Amount of results should be higher for include_external', lib/src/db/test.rs:428:5

---- db::test::index_invalidate_cache stdout ----
cache_invalidation test for https://atomicdata.dev/properties/filename
thread 'db::test::index_invalidate_cache' panicked at 'assertion failed: `(left == right)`
  left: `0`,
 right: `10`: Not the right amount of members in this collection', lib/src/db/test.rs:501:5

failures:
    db::test::index_invalidate_cache
    db::test::query_include_external
    db::test::test_db_resources_all

test result: FAILED. 59 passed; 3 failed; 2 ignored; 0 measured; 0 filtered out; finished in 4.32s

error: test failed, to rerun pass '-p atomic_lib --lib'

Is it intentional?

That's strange - prefix worked when I committed it, "test_db_resources_all()" was covering that very purpose and now it's failing. I can't figure out why yet - seems the boolean parameter was just ignored. basic example returns 105 & 105 for both.

For some reason, the crossbeam try_iter makes the resources vector in all_resources not long enough. It often has only 8 items, instead of hundreds.
If we try iter instead, the performance becomes abysmal


java solution for leetcode 217 contains duplicate

Added java solution for leetcode 217 contains duplicate
-Added java solution for leetcode 242 valid anagram

Thanks but someone did the Java solution for this


Spelling mistake

There is spelling mistake as I see the homepage of OCM（https://open-cluster-management.io/concepts/architecture/）which is the /en/concepts/architecture.md file. It is misspelling the word  ’declaratively‘ into ’delcaratively‘ at  third row of “Hub-agent” architecture chapter。

Thank you for reporting this issue.
/assign @mikeshng

resolves by https://github.com/open-cluster-management-io/open-cluster-management-io.github.io/pull/288


Missing FFImageLoading Init Part in Android

Hey,
I have just tried your iBakePancakes sample app and it looks amazing! thanks for your work.
However, when I tried to run the app using Android, it threw an initialization error. I added the following and it works like it should.
FFImageLoading.Forms.Platform.CachedImageRenderer.Init(enableFastRenderer: [true]/[false]);
I can create a PR if you are busy and cannot edit it.

Yeah feel free, I'll gladly accept it. For me this is not much more than a sample app that I pretty much exclusively tested on iOS :)


ndi: 5.5.2 -> 5.6.0

Description of changes
The version that we get to download from NDI is 5.6.0, I cannot find how to download older sdk versions from their website, so this change only updates the SHA and the version so we can install the only available version
Things done
Im new to Nix and dont really know how to overwrite a file in a derivation to test it properly, I am assuming this is the only change needed but haven't tested anything really
I found the hash by

first downloading the SDK from their website (register + got email + clicked link in the email),
nix-hash type sha256 path/to/Install_NDI_SDK_v5_Linux.tar.gz

and I found the specific version by uncompressing the tar file and running the sh file, accepting the license agreement, it created a bunch of files and in there was a version file with this NDI 2023-07-26 r135585 v5.6.0

This doesn't really follow the contributing guidelines. You ought to read those first: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md

Sorry about that, will improve it during the weekend and update it. Thanks for the link :) Im still pretty new to everything Nix

Hi there! Do you think you'll have some time to update this PR soon?
The upstream version is still 5.6.0, but it seems I'm getting a different hash (7e5c54693d6aee6b6f1d6d49f48d4effd7281abd216d9ff601be2d55af12f7f5) when I download what is currently at https://downloads.ndi.tv/SDK/NDI_SDK_Linux/Install_NDI_SDK_v5_Linux.tar.gz
Also it should be nix-hash --flat --type sha256 since it needs the flat hash, not the (default) recursive hash

Done in #272073.


When invoked from ble_gap_adv_finished, this behaviour is ok , but in case of invocation from ble_gap_rx_scan_req_rcvd , the current code stops advertising.  If scan request notification has been enabled, the host may want to be updated about scan request. But scanning procedure should still go on.
Current code, attempts to not reset the slave advertising state inside ble_gap_slave_extract_cb but moves it explicitly after adv has finished.

Hi @sjanc  , please take a look.

Hi @sjanc  , have pushed new version to have a separate API. This will ensure existing code remains same to avoid any race condition. Please have a look


Issues Using createdDate with Drive Query

I am able to use the modifiedDate qualifier in the query, but I get a 400 error (ERROR: 400: Invalid query - invalid) if I use the createdDate qualifier.
I am able to pull back the createdDate as part of the results
Here is a sample of the string.
gam ou_and_children Collectors show filelist title id alternateLink createddate modifieddate fileExtension todrive query "modifiedDate >= '2017-07-20T00:00:00'"
I get the same results if I change the command and user the "user" vs the ou_and_children.
I don't seen anyone else talking about this, and the links in the wiki to the files API search documentation never speak of querying on the createddate.
Can someone clarify? For what I am doing I ultimately need the output based on creation date, so I am 2 step processing - grabbing the output file and sorting/etc.

Ward,
Here's the documentation:
https://developers.google.com/drive/v2/web/search-parameters
createdDate is not on the list fields that can be queried.
Ross
On Mon, Jul 24, 2017 at 3:28 PM, WardMcMillen<EMAIL_ADDRESS>wrote:

I am able to use the modifiedDate qualifier in the query, but I get a 400
error (ERROR: 400: Invalid query - invalid) if I use the createdDate
qualifier.
I am able to pull back the createdDate as part of the results
Here is a sample of the string.
gam ou_and_children Collectors show filelist title id alternateLink
createddate modifieddate fileExtension todrive query "modifiedDate >=
'2017-07-20T00:00:00'"
I get the same results if I change the command and user the "user" vs the
ou_and_children.
I don't seen anyone else talking about this, and the links in the wiki to
the files API search documentation never speak of querying on the
createddate.
Can someone clarify? For what I am doing I ultimately need the output
based on creation date, so I am 2 step processing - grabbing the output
file and sorting/etc.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/535, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIU8LzmZCaOp1xj0NSYe4vKlA87vRl-iks5sRRqIgaJpZM4Oh0in
.

--
Ross Scroggs
<EMAIL_ADDRESS>


FancyZones not following window scaling value in Display settings with some application windows

Microsoft PowerToys version
0.43.0
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
Native screen res: 3840x2400
Scaling: 250%
It seems as FancyZones is not seeing the scaling with some types of windows, because if I drag a Git Bash terminal window to a slot that is a quarter size of the whole screen, all the content of the Bash windows gets way too small. Can't read any text. It's as if the scaling was removed. If I use the basic Windows drag and split sections feature of Windows 10, it works fine. This is only with FancyZones
✔ Expected Behavior
FanyZones should know about the amount of scaling in Display Settings
❌ Actual Behavior
Some applications windows go back to full scale (native resolution). You can reproduce this by installing Git Bash, and dragging the terminal window to a FancyZone slot on the screen.
Other Software
Git Bash for Windows 10

Are you still experiencing this issue? /needinfo


having trouble compiling for python in windows

Using either the version on Pypi or the version on Github, I am having trouble installing/building using Windows.  I know you only test/have access to Mac and Linux, but I'm hoping you might still point me in the right direction for debugging this error.
The command line output is as follows when I run python setup.py develop:
running develop
running egg_info
writing neuroglancer.egg-info\PKG-INFO
writing dependency_links to neuroglancer.egg-info\dependency_links.txt
writing requirements to neuroglancer.egg-info\requires.txt
writing top-level names to neuroglancer.egg-info\top_level.txt
reading manifest file 'neuroglancer.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'neuroglancer.egg-info\SOURCES.txt'
running build_ext
building 'neuroglancer._neuroglancer' extension
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\ben\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\core\include -I.\ext/third_party/openmesh/OpenMesh/src -IC:\Users\ben\AppData\Local\Programs\Python\Python36\include -IC:\Users\ben\AppData\Local\Programs\Python\Python36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\cppwinrt" /EHsc /Tp.\ext/src\_neuroglancer.cc /Fobuild\temp.win-amd64-3.6\Release\.\ext/src\_neuroglancer.obj -std=c++11 -fvisibility=hidden -O3
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
cl : Command line warning D9002 : ignoring unknown option '-O3'
_neuroglancer.cc
.\ext/src\_neuroglancer.cc(217): error C2491: 'neuroglancer::PyInit__neuroglancer': definition of dllimport function not allowed
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.15.26726\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

The Microsoft information about this error discusses removing code (__declspec(dllimport)) which is not present on the line of code that it errors on, but it is present in the openmesh extension file: neuroglancer\python\ext\third_party\openmesh\OpenMesh\src\OpenMesh\Core\System\OpenMeshDLLMacros.hh

__declspec(dllimport) is in fact ending up on that line by way of the MODULE_INIT_FUNC and DLL_PUBLIC macros.  It looks like maybe we need to define the BUILDING_DLL macro, e.g. by addding -DBUILDING_DLL build flag.

I experienced the same issue trying to install neuroglancer on Windows. Is it generally recommended to work on Linux?


HTML can be injected into the chat page via game chat

Like the title says. This is an easy fix.

should be fixed in commit 8080cd3
After:


Muse 2014 compatible?

I'm just wondering if this is compatible with the Muse 2014 model?

Hi, yes it is. I'm currently using 2014 model.

Yep, we built this app for the original 2014 headband!


Stopping the build didn't kill process

I tried to stop make, but it only gave me Build Process termination imminent.... Is #129 fixed?
I've tested this on Linux.

Yes, this is fixed. When pressing escape first, it will send SIGINT to the process and wait for it to terminate. If the process catched the SIGINT, but the doesn't terminate, it will stay in the "imminent" state. Pressing escape once more will send SIGKILL and forcefully terminate the process.

Ah I see! Didn't understand that correctly, thanks for clarifying :)

Anytime :)

Just tested this again it doesn't kill the process even when I press escape the second time.

I've recently made som changes to this on master (which is yet to be released). Would you mind testing with latest master?

I moved ~/.atom/packages/build and cloned the repository to that path. Then I restarted atom. Is that the correct way?
I still didn't work :(

I think that should work. You could try adding a console.log somewhere and see if that gets logged.
What's the process that wont be terminated? Does it fork? Does it work if you manually SIGINT it?

Pressing escape 2,3,4 etc times is not working for me also. Works if i hold the escape down for a second.

@petspats What executable are you running?

@noseglid i am running remake that starts ModelSim process - that fails and the whole process gets stuck in ModelSim TCL console. I dont see the "Build Process termination imminent..." message.

What operating system is this? Can you SIGINT it manually?

@noseglid Ubuntu 15.10. I cannot Ctr-C it. Just noticed that when i press ESC first time, the gearbox next to the counter starts blinking but nothing happens after. Also tried hitting ESC really, really fast - no effect, have to hold it down to exit. This is not a problem for me...just reporting the stuffs.

You can send any signal to a process by e.g. kill -TERM <pid>. The build package will send SIGTERM first time you press escape. Second time you press it will send SIGKILL which should terminate all resource held by the process. Can you verify if this works without the build package involved?

@noseglid yes i can kill. Build package finishes after kill.

With -TERM or -KILL ?

Sorry for the delay. Both commands work.

Could you include a screencap of the build window when you're canceling it? licecap is a super easy way to create sceencap gifs.

I reproduced this problem here (video).
Also note that build didn't output anything from stdout, but did from stderr. I don't know if that is because I did something wrong, or if that's related to build
Sidenote: I'm not a native Perl user, but its signal handling made it useful for reproducing this problem.
Let me know if you need more information
Code
# .atom-build.cson
name: "Test"
cmd: "perl"
sh: true
args: [ "test.pl" ]

# test.pl
{
  $SIG{INT}     = sub { print STDERR "SIGINT\n";    }; # 2
  $SIG{KILL}    = sub { print STDERR "SIGKILL\n";   }; # 9
  $SIG{TERM}    = sub { print STDERR "SIGTERM\n";   }; # 15

  $ix = 0;
  while(true) {
    sleep 1;
    print STDOUT "[STDOUT] Done $ix \n";
    print STDERR "[STDERR] Done $ix \n";
    $ix++;
  }
}

Versions
$ atom-beta --version
1.6.0-beta0
$ apm -v
apm  1.1.1
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.5.0

$ uname -a
Linux chiyuu 4.2.0-29-generic #34-Ubuntu SMP Mon Feb 8 16:57:47 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
atom-build 0.54.1

@C-Bouthoorn I think your test case is skewed. You're actually overriding the signals so it makes sense that it doesn't stop then.
I did find a problem with tree-kill however which did not correctly kill off subprocesses. Hopefully this closes this issue.

@noseglid You said that it would first call SIGTERM when 1x escape, and SIGKILL when 2x escape. I made it so that SIGTERM would be blocked (Just like a real program might), and that SIGKILL would be registered, but it looks like I don't ever get the SIGKILL signal? If that were the case, I would get the output "SIGKILL", right? Not sure here


SyntaxError Unexpected token u in JSON at position 0

Environment
Node v16

It appears that you are attempting to parse JSON from a response that isn't JSON so this isn't a library issue.

In my case basically the JSON was valid, but it's messy on some version of node. Broke on 16.17.0 but not in 16.16.0 when using petitio

In my case basically the JSON was valid, but it's messy on some version of node. Broke on 16.17.0 but not in 16.16.0 when using petitio

Experienced this same issue when trying to use petitio in Node version v16.18 when the JSON was valid. Was fixed by downgrading to v16.16.0 as the comment above mentions. Please fix this!

I can confirm this. A downgrade as mentioned above fixed the problem for me. However, it would be nice if it would also work in newer versions.


Empty game (no logic) has 50% CPU usage and low FPS (40+ instead of 60) on iOS

Bevy version
Tested on both 0.14.2
[Optional] Relevant system information
Tested on

iPhone 16 Simulator
iPhone 13

If your bug is rendering-related, copy the adapter info that appears when you run Bevy.
AdapterInfo { name: "Apple A15 GPU", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }

What you did
I setup a bare minimum project to demonstrate the issue https://github.com/80gen/bevy_ios_bug/tree/cpu_high
What went wrong
The game logic doesn't have anything, not even a camera setup, see https://github.com/80gen/bevy_ios_bug/blob/cpu_high/crates/game/src/lib.rs
When running the game on desktop (in my test it's Macbook Pro M1), it looks fine, with CPU usage at 10%. No error log.
But when the game run in either iOS Simulator or physical phone, the CPU usage stay above 50% and FPS average at 40 (should be 60).
Here is a screenshot from the XCode debugger

The XCode terminal is showing the following log
AdapterInfo { name: "Apple iOS simulator GPU", vendor: 0, device: 0, device_type: DiscreteGpu, driver: "", driver_info: "", backend: Metal }
AddInstanceForFactory: No factory registered for id <CFUUID 0x600000245a60> F8BB1C28-BAE8-11D6-9C31-00039315CD46
Failed to start Gilrs. Gilrs does not support current platform.
processing non `RedrawRequested` event after the main event loop: AboutToWait
Creating new window "App" (0v1#4294967296)
`WindowAttributes::min_inner_size` is ignored on iOS
`Window::theme` is ignored on iOS
processing non-`RedrawRequested` event after the main event loop: WindowEvent {
    window_id: WindowId {
        window: 0x0000000105a9fd30,
    },
    event: Focused(
        true,
    ),
}
processing non-`RedrawRequested` event after the main event loop: WindowEvent {
    window_id: WindowId {
        window: 0x0000000105a9fd30,
    },
    event: Resized(
        PhysicalSize {
            width: 3840,
            height: 2160,
        },
    ),
}
processing `RedrawRequested` during the main event loop
processing non `RedrawRequested` event after the main event loop: AboutToWait
"finished frame"  tracy.frame_mark=true
processing `RedrawRequested` during the main event loop
processing non `RedrawRequested` event after the main event loop: AboutToWait
"finished frame"  tracy.frame_mark=true
processing non `RedrawRequested` event after the main event loop: AboutToWait
processing non `RedrawRequested` event after the main event loop: AboutToWait
processing non `RedrawRequested` event after the main event loop: AboutToWait
processing non `RedrawRequested` event after the main event loop: AboutToWait
processing non `RedrawRequested` event after the main event loop: AboutToWait
processing non `RedrawRequested` event after the main event loop: AboutToWait
processing non `RedrawRequested` event after the main event loop: AboutToWait
processing non `RedrawRequested` event after the main event loop: AboutToWait
processing non `RedrawRequested` event after the main event loop: AboutToWait
processing non `RedrawRequested` event after the main event loop: AboutToWait
processing non `RedrawRequested` event after the main event loop: AboutToWait
processing non `RedrawRequested` event after the main event loop: AboutToWait
"finished frame"  tracy.frame_mark=true

And this line get repeated infinitely
processing non `RedrawRequested` event after the main event loop: AboutToWait

This is probably the same / similar root cause as #10261, and due to a faulty windowing event loop somehow.

Did more testing, and noticed somehow I can't get anything to render on 0.15, so I updated this bug to be reproduce-able on 0.14.2 for now.

This is probably the same / similar root cause as #10261, and due to a faulty windowing event loop somehow.

I don't think so. I've tested this on my Macbook Pro M1 and the CPU usage is around 10%. The issue with CPU and FPS only happens on iOS.

Sorry I have to take my words back. Tested on Macbook Pro M1 and the CPU is around 40% (not 10%). This time I'm using examples from https://bevyengine.org/examples/3d-rendering/3d-scene/


Compatability should be compatibility or just compat

@ahevenor since we plan to remove this shortly, can we go ahead and close this issue?

Yes. it got fixed with another bug already anyways.


[Future Development] Windows and Linux package

As of commit d7921fc, the Mac build and install process should work fairly smoothly.
There is currently no installation or package for Windows or Linux though. The jarfile can probably be run directly from the command line with java -jar PeriodCountdown.jar but this is pretty tedious and annoying.

Linux now builds, but installation and running is still a bit annoying as you need to run the executable file directly through the terminal each time to launch


Fix properties being overridden by accessors

Fixes #99304
TS 4.0 will now warn if you try overriding a property using an accessor. See #99304 for details

I'm merging this to unblock using TS 4.0 to build VS Code. Please quickly review these changes to see if I got something wrong or if there is a better fix for any of these cases


Take away cookie?

Hi, is there a way to make this appear every time a person visits the site?

Or, I see that may be an option in the code but what would I replace it with? Say, 1 hour, for example.

https://github.com/fightforthefuture/battleforthenet-widget/blob/d3ae55917de5f157516247e46d878039a18f3b5b/src/widget.js#L97-L103
The expiration cookie value is set in days but it doesn't need to be a whole number, so for 1-hour expiry you can set the value to 1/24 (1 day divided by 24 hours), e.g:
<script type="text/javascript">
  var _bftn_options = {
    viewCookieExpires: 1/24
  }
</script>
<script src="https://widget.battleforthenet.com/widget.js" async></script>

And to cause the pop-up to display on every page load you could set the value to 0:
<script type="text/javascript">
  var _bftn_options = {
    viewCookieExpires: 0
  }
</script>
<script src="https://widget.battleforthenet.com/widget.js" async></script>

Ok, so this would work:

Thank you!
On Tue, Dec 12, 2017 at 12:21 PM, Samuel Ryan<EMAIL_ADDRESS>wrote:

Variable names are case-sensitive, so you'll need to ensure it matches
viewCookieExpires exactly. The following should work with no expiry and
the stop theme:

You can use jsfiddle.net to test out Javascript (and HTML, and CSS) if
you're not sure if something will work or not, before pushing it live on
your website. After opening jsfiddle.net, paste the above code into the
HTML box (at the top left) and then click "Run" (above the HTML box) and
you'll see in the bottom right the result of your code.
I hope that helps! :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fightforthefuture/battleforthenet-widget/issues/139#issuecomment-351163290,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfY50sLVw20ZNw0uXyW2Jo6C_X55vRl2ks5s_tJGgaJpZM4Q-ThH
.

--
Lisa M. Newcomb
@Newcomb_Lisa https://twitter.com/Newcomb_Lisa
lisanewcomb.com
PO Box 1343
Driggs, Idaho
83422


Documentation update

First draft for Exploration demo notebook. This file should serve as a template for rest of the demo notebooks, so please leave comments and update recommendations.

Codecov Report

Merging #139 (b537c88) into master (8e98073) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #139      +/-   ##
==========================================
+ Coverage   68.26%   68.28%   +0.01%
==========================================
  Files          35       35
  Lines        1793     1794       +1
==========================================
+ Hits         1224     1225       +1
  Misses        569      569

Impacted Files
Coverage Δ

niimpy/exploration/EDA_lineplot.py
92.95% <100.00%> (+0.10%)
:arrow_up:

Continue to review full report at Codecov.

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

obsolete


Add tests for sf::Shape

Description
Next up in the quest to test the Graphics module we finally get into some higher level constructs with sf::Shape. This one was fun to test because it required me writing my own derived class since sf::Shape itself is abstract and thus can't be directly tested. I came up with a new TriangleShape abstraction mimicking how sf::RectangleShape behaves.
Tasks

[ ] Tested on Linux
[ ] Tested on Windows
[x] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

All the Linux jobs are failing with SIGABORT being raised. I've ran AddressSanitizer in macOS and have tried building and running these in Ubuntu as well but can't recreate the error. I'm really not sure what's going on.

I think the issue is something to do with those Linux CI runners being headless and sf::Texture trying to do OpenGL stuff.

I had to remove the assertions that tested sf::Shape::setTexture() and sf::Shape::getTexture since constructing a texture requires some OpenGL calls that fail on Linux CI boxes since they're running headless.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

@Bromeon

Maybe general question: when do you use == and when == Approx() for floating-point comparisons in the test?

I use == everywhere possible until I run into precision issues then I reach for Approx. I want the tests to be as strict as we can get away with since users could potentially depend on strict equality when using certain APIs. If the implementation changes in a way that decreases precision, the tests have a better chance of catching that change.

I first thought it was "if it's an integer, then ==", but that doesn't seem to hold for the getGlobalBounds() test cases.

All integer comparisons do use exact equality. The first call to getGlobalBounds doesn't happen to do any lossy floating point math so we can get away with testing perfect equality of the FloatRect. Once the object is moved, the implementation results in a slight loss of precision so I was forced to use Approx.

Makes sense, thanks!
Should we consider making the "approx helper" for sf::FloatRect, like we did here for sf::Vector2f? Can also be another time, once we use more such tests.
https://github.com/SFML/SFML/blob/e0d03ec6a8716ac0e01203d8b5b389eaddfc0ef1/test/TestUtilities/SystemUtil.hpp#L43-L52

Should we consider making the "approx helper" for sf::FloatRect, like we did here for sf::Vector2f?

I disagreed with the creation of those helpers and don't think we ought to add more. We have no infrastructure for testing our own test utilities and the readability gains are fairly minimal. Test code will never be as DRY and expressive as production code but that's for good reason. Test code must be correct by inspection since unit tests don't have unit tests. Large series of CHECK(var.member == Approx(X)) assertions are ugly but they're honest about exactly what we're trying to test. When one of those verbose assertions fails, the test framework provides the line number which lets you see precisely which condition failed as opposed to seeing that some higher level abstraction failed thus requiring you to dig into the debug printout to see exactly what exactly went wrong.

SFMLBuildMaster: Build this please.

I disagreed with the creation of those helpers and don't think we ought to add more. We have no infrastructure for testing our own test utilities and the readability gains are fairly minimal. Test code will never be as DRY and expressive as production code but that's for good reason. Test code must be correct by inspection since unit tests don't have unit tests.

Ok, I understand that 👍

Large series of CHECK(var.member == Approx(X)) assertions are ugly but they're honest about exactly what we're trying to test. When one of those verbose assertions fails, the test framework provides the line number which lets you see precisely which condition failed as opposed to seeing that some higher level abstraction failed thus requiring you to dig into the debug printout to see what exactly went wrong.

This on the other hand doesn't make much sense to me, because:

If the per-member comparison had all these advantages, why would you not do it for == as well?
While it does show immediately the exact member that mismatches, it does not show the bigger picture.
E.g. swapped x and y? Immediately obvious when you see both values, but needs debugging if you only see x. Also, if there are multiple errors, you have to fix each of them on their own, as the test will show you at most one at a time.
It's easier to make a mistake when doing 4 comparisons than doing 1 (copy&paste, etc).
actual == Approx(expected) is arguably less complex than 4 such statements, not more.

These are minor things and don't mean I'm advocating for test helpers everywhere, but I don't fully agree with the reasoning.

This on the other hand doesn't make much sense to me, because:

You're right. Those arguments of mine don't hold water. I still stand by my first point about why adding abstractions to tests should generally be avoided.

Also, if there are multiple errors, you have to fix each of them on their own, as the test will show you at most one at a time.

As a side note this is not true. With few exceptions, all assertions we use are non-terminating. Later assertions will still get evaluated if an earlier assertions fails. This is the difference between CHECK and REQUIRE. CHECK won't terminate on failure but REQUIRE will.

Good point, I keep forgetting we don't immediately fail on error. Probably I'm used to this behavior too much from other programming languages, where there's often no option to continue. Thanks!

Thanks for continuously increasing our test suite 😃


[stable/postgresql] Bad formatting in README

Fixed some bad markdown in the chart's README.md.

Thanks for the contribution, unfortunately, we need to do some formalisms also in minor changes like this. Before continuing, you need to sign your existing commits, you can find custom instructions in the “Details” link from the below DCO check, also you should increment the chart version in the Chart.yml according to semver:

Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards-compatible manner, and
PATCH version when you make backwards-compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

Hi, thanks for the contribution, it seems there are some duplicated PR fixing the same issue:
https://github.com/helm/charts/pull/9772
https://github.com/helm/charts/pull/9747
https://github.com/helm/charts/pull/9775
I prefer to go ahead with the latest one (https://github.com/helm/charts/pull/9775) because it fixes another grammar typo, in the same way, it has the commit signed, only it is pending to bump the chart version.