Error while building example/android

I have followed https://github.com/tdlib/td/tree/master/example/android to build tdlib, but "./build-tdlib,sh" results in error.
Generating TDLib source files...
-- Could NOT find ccache (this is NOT an error)
-- Found OpenSSL: /usr/include /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so
-- Git state: c1a3fa633fbce67b8b89fee93130498db8adc039
-- Found ZLIB: /usr/include /usr/lib/x86_64-linux-gnu/libz.so
-- Found JNI: /usr/lib/jvm/default-java/include;/usr/lib/jvm/default-java/include/linux;/usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/lib/libjawt.so;/usr/lib/jvm/default-java/lib/server/libjvm.so
-- Could NOT find Readline (missing: READLINE_INCLUDE_DIR READLINE_LIBRARY)
-- Could NOT find Readline (this is NOT an error)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/deveshpal/Desktop/td/example/android
[  7%] Built target tdtl
[ 15%] Built target generate_common
[ 18%] Built target tl-parser
[ 19%] Generate TLO files
[ 19%] Built target tl_generate_tlo
[ 20%] Generate common TL source files
[ 20%] Built target tl_generate_common
[ 21%] Built target generate_mime_types_gperf
[ 25%] Built target tdmime_auto
[ 95%] Built target tdutils
[ 96%] Linking CXX executable generate_json
/usr/bin/ld: cannot find -lZLIB_LIBRARY-NOTFOUND: No such file or directory
collect2: error: ld returned 1 exit status
gmake[3]: *** [td/td/generate/CMakeFiles/generate_json.dir/build.make:116: td/td/generate/generate_json] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:522: td/td/generate/CMakeFiles/generate_json.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:235: td/CMakeFiles/prepare_cross_compiling.dir/rule] Error 2
gmake: *** [Makefile:182: prepare_cross_compiling] Error 2

Also, https://github.com/tdlib/td/blob/master/example/android/README.md?plain=1#L4 does not mention of zlib, which becomes mandatory later.

zlib isn't needed. Ensure that you don't have unknown to git files in example/android folder.

Thanks, some external archive was present in the directory.

How much memory is recommended for building android/example ?
build command get interrupted (Clang Error: Killed) for 2-3 times due to memory consumption ( for 7.7 gb usable)

ninja always uses all available CPU cores, so you will need about 2 GB RAM per core.


baetyl-1637 [New Feature] gpu-metrics名称更新为：accelerator-metrics

Codecov Report

Merging #433 (df3a00d) into master (958525a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #433   +/-   ##
=======================================
  Coverage   65.01%   65.01%
=======================================
  Files          91       91
  Lines        6685     6685
=======================================
  Hits         4346     4346
+ Misses       1715     1714    -1
- Partials      624      625    +1

Impacted Files
Coverage Δ

plugin/link/httplink/httplink.go
67.85% <0.00%> (-3.58%)
:arrow_down:

server/mis_server.go
72.13% <0.00%> (+3.27%)
: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 958525a...df3a00d. Read the comment docs.


Laravel JSON Mysql number comparison query does not work

$query->where('player->rank', '>', 2);
this does not seem to work.
Laravel creates a mysql query for this like..
select * from from users where player->"$.rank" > '2';
The single quoted numerical value works in case of normal columns, but not in case of JSON columns.

This is fixed in 5.3 by using the correct PDO_PARAM type, wasn't ported to 5.2 cause it might be a breaking change in some DB drivers other than MySQL, Postgres, and Sqlite.

This still does not work in Laravel 5.3. Any suggestions ?


[BUG] 0 images in this directory

Image Browser doesn't work.
It says "0 images in this directory. Loaded 0 images during 2022/10/24 - 2022/10/24, divided into 1 pages"
("Image Browser" is the “history” function before the update)
And auto1111 release a new extension named "aesthetic-gradients", it doesn't work, too.

did you fix it ?

Yes, auto1111 has just update the extension. The "aesthetic-gradients" works perfectly!
However, when using "Image Browser", you need to copy the directory(txt2img,img2img,etc) to the custom fold, other options don't work. I'll respond to the author of this extension later.


Add JS unit tests for Analytics

Slightly refactors the Analytics module so it exports the individual functions.
This test makes liberal use of Jest snapshots to keep it DRY and light.

 Add unit tests for frontend JavaScript on the ui projects


Adds page titles for home and configuration in mkdocs.yml

The current problems:

Thanx @froschdesign  :)

Much better: https://docs.zendframework.com/zend-expressive-session-cache/
@xtreamwayz
Thanks!


Error bringing up kube-dns and kubernetes-dashboard

The error message like this.

Bringing up kube-dns and kubernetes-dashboard
deployment "kube-dns" scaled
deployment "kubernetes-dashboard" scaled
............................................................................................................................................................................
...........................
Error bringing up kube-dns and kubernetes-dashboard

The environment that I am working at is  CentOS Linux release 7.5.1804 (Core)
docker version
Client:
Version:      17.03.2-ce
API version:  1.27
Go version:   go1.7.5
Git commit:   f5ec1e2
Built:        Tue Jun 27 02:21:36 2017
OS/Arch:      linux/amd64
Server:
Version:      17.03.2-ce
API version:  1.27 (minimum version 1.12)
Go version:   go1.7.5
Git commit:   f5ec1e2
Built:        Tue Jun 27 02:21:36 2017
OS/Arch:      linux/amd64
Experimental: false

I am also seeing this issue.
If I do a docker images inside the kube-master, I can see multiple images including kube-dns of version 1.14.5 are not present (other images are, such as kube-dns 1.7). If I connect the Host OS to the internet they can be downloaded externally, but I would very much prefer not to do that.
Host OS Docker Server version 1.13.1
I am also running Centos 7.

Could you please do ./dind-cluster-....sh dump in this state and post the result?

@ivan4th I have since moved from building k8s 1.8.x to 1.10.x and no longer see this particular issue (sorry, I don't have time to switch back to 1.8 now).
I imagine the dns/dashboard yaml files pointed to in the 1.8 script are not tagged to 1.8 and are pulling in newer dependencies.
Since moving to 1.10 the images are present but there are other problems which I will discuss separately :)

@mail2fish do you still have the issue? If so, could you please dump the cluster state ./dind-cluster-....sh dump and post the result?

@ivan4th Hi, I still got that problem. The dump file is so big, so I compress it by gzip.
dnd_dump.txt.gz

This is indeed very strange... The dump shows both kube-dns and kubernetes-dashboard to be running correctly. Could you please execute the following commands immediately after trying to start the cluster:
kubectl get pod -l k8s-app=kube-dns -n kube-system
kubectl get pod -l k8s-app=kube-dns -n kube-system -o jsonpath='{<EMAIL_ADDRESS>== "Ready")].status }'
kubectl get pod -l app=kubernetes-dashboard -n kube-system
kubectl get pod -l app=kubernetes-dashboard -n kube-system -o jsonpath='{<EMAIL_ADDRESS>== "Ready")].status }'
kubectl get pods --all-namespaces -o wide

and paste the output?

Could you please do kubectl describe pod on the kubernetes-dashboard pod:
kubectl describe pod -n kube-system -l app=kubernetes-dashboard

There's likely a problem communicating with gcr.io docker registry, although I wonder why other images were pulled successfully

Name:         kubernetes-dashboard-6b5bdcfbc6-zsskj
Namespace:    kube-system
Node:         kube-node-1/<IP_ADDRESS>
Start Time:   Mon, 11 Jun 2018 09:20:28 +0800
Labels:       app=kubernetes-dashboard
pod-template-hash=2616879672
Annotations:  kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"kube-system","name":"kubernetes-dashboard-6b5bdcfbc6","uid":"417f4054-6549-11e8-b...
scheduler.alpha.kubernetes.io/tolerations=[
{
"key": "dedicated",
"operator": "Equal",
"value": "master",
"effect": "NoSchedule"
}
]
Status:         Pending
IP:             <IP_ADDRESS>
Controlled By:  ReplicaSet/kubernetes-dashboard-6b5bdcfbc6
Containers:
kubernetes-dashboard:
Container ID:
Image:          gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.0
Image ID:
Port:           9090/TCP
Host Port:      0/TCP
State:          Waiting
Reason:       ImagePullBackOff
Ready:          False
Restart Count:  0
Liveness:       http-get http://:9090/ delay=30s timeout=30s period=10s #success=1 #failure=3
Environment:
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-stf79 (ro)
Conditions:
Type           Status
Initialized    True
Ready          False
PodScheduled   True
Volumes:
default-token-stf79:
Type:        Secret (a volume populated by a Secret)
SecretName:  default-token-stf79
Optional:    false
QoS Class:       BestEffort
Node-Selectors:
Tolerations:     node.alpha.kubernetes.io/notReady:NoExecute for 300s
node.alpha.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type     Reason                 Age                From                  Message

Normal   Scheduled              11m                default-scheduler     Successfully assigned kubernetes-dashboard-6b5bdcfbc6-zsskj to kube-node-1
Normal   SuccessfulMountVolume  11m                kubelet, kube-node-1  MountVolume.SetUp succeeded for volume "default-token-stf79"
Normal   SandboxChanged         10m (x5 over 10m)  kubelet, kube-node-1  Pod sandbox changed, it will be killed and re-created.
Warning  Failed                 9m (x2 over 10m)   kubelet, kube-node-1  Failed to pull image "gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.0": rpc error: code = Unknown desc = Error response from daemon: Get https://gcr.io/v1/_ping: dial tcp <IP_ADDRESS>:443: i/o timeout
Normal   Pulling                9m (x3 over 11m)   kubelet, kube-node-1  pulling image "gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.0"
Normal   BackOff                6m (x12 over 10m)  kubelet, kube-node-1  Back-off pulling image "gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.0"
Warning  FailedSync             1m (x32 over 10m)  kubelet, kube-node-1  Error syncing pod

That's the culprit:
Get https://gcr.io/v1/_ping: dial tcp <IP_ADDRESS>:443: i/o timeout
Does docker pull gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.0 work on your system? If you have a proxy server that might help, try setting DIND_HTTPS_PROXY=http://... (specify that server)

Yes! After I pulled kubernetes-dashboard-amd64:v1.6.0  manually and up the cluster again, the cluster start successfully.
Thanks @ivan4th. That's so cool.

You're welcome. It looks like you have intermittent connectivity issues with some of Google IPs, though. So if the problem repeats, pls try proxy / VPN, I suspect it may have to deal with some of Google IPs being blocked in China. Closing the issue for now.


ETERNA NETWORK: ETERNA TRAVELLING ROCKS HUB MIDDLEWARE NETWORK

https://github.com/ETERNANETWORK

Background 2: https://docs.keep3r.network/


Add form parsing via URIParser

Quick and dirty solution to combine starlette form parsing with the URIParser (as we have on v2 with the werkzeug one)

Nice, seems like I misassumed how the uri parsing works.


Error in file META-INF/services/javax.script.ScriptEngineFactory

The file META-INF/services/javax.script.ScriptEngineFactory in bsh-2.1.0.jar still contains the class name
bsh.engine.BshScriptEngineFactory
but the class is refactored to
bsh.BshScriptEngine

I am not quite following, perhaps I'm being thick so my apologies in advance if I am missing something.
The factory produces script engines, they are not of the same so cannot replace one another. You can certainly instantiate script engines without the factory but that doesn't make it redundant.
Both classes are in the bsh.engine package so there is no problem here either.
What am I missing?
We unfortunately can't support 2.1.0 anymore the code base has evolved too much, please build your own jar files.

Okay, have already done so


npm publish

npm publish

https://docs.npmjs.com/files/package.json#files

https://www.npmjs.com/package/emoji-element


Cannot dismiss Ghost v5 upgrade notification in Ghost v4

Issue Summary
Spotted in the logs, I am unable to actually dismiss the Ghost v5 upgrade notification, so every page load there is a nag.
I am not wanting to upgrade to Ghost v5 right now due to the MySQL v8 requirement.
Steps to Reproduce

Dismiss the Ghost v5 notification at the top
See error in logs
Refresh the page, the notification comes back

Ghost Version
4.48.7
Node.js Version
16
How did you install Ghost?
Alpine Linux
Database type
MySQL 5.7
Browser & OS version
Chrome 107 and Mac OSX 12.5.1
Relevant log / error output
[2022-11-10 20:21:58] ERROR "DELETE /ghost/api/admin/notifications/130f7c24-113a-4768-a698-12a8b3422e81/" 422 28ms

Value in notifications should be an array.

Error ID:
    538f13c0-6135-11ed-8ecd-0920c835b0cb

----------------------------------------

ValidationError: Value in notifications should be an array.
    at /var/lib/ghost/versions/4.48.7/core/server/api/canary/utils/validators/input/settings.js:47:35
    at arrayEach (/var/lib/ghost/versions/4.48.7/node_modules/lodash/lodash.js:530:11)
    at Function.forEach (/var/lib/ghost/versions/4.48.7/node_modules/lodash/lodash.js:9410:14)
    at Object.edit (/var/lib/ghost/versions/4.48.7/core/server/api/canary/utils/validators/input/settings.js:28:11)
    at docNameMethod (/var/lib/ghost/versions/4.48.7/core/server/api/shared/validators/handle.js:61:74)
    at /var/lib/ghost/versions/4.48.7/node_modules/@tryghost/promise/lib/sequence.js:10:31
    at tryCatcher (/var/lib/ghost/versions/4.48.7/node_modules/bluebird/js/release/util.js:16:23)
    at Object.gotValue (/var/lib/ghost/versions/4.48.7/node_modules/bluebird/js/release/reduce.js:168:18)
    at Object.gotAccum (/var/lib/ghost/versions/4.48.7/node_modules/bluebird/js/release/reduce.js:155:25)
    at Object.tryCatcher (/var/lib/ghost/versions/4.48.7/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/var/lib/ghost/versions/4.48.7/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/var/lib/ghost/versions/4.48.7/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/var/lib/ghost/versions/4.48.7/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/var/lib/ghost/versions/4.48.7/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/var/lib/ghost/versions/4.48.7/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/var/lib/ghost/versions/4.48.7/node_modules/bluebird/js/release/async.js:86:9)

Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Hey there, thank you so much for the detailed bug report.
That validation error does look like something that shouldn't happen! A PR to fix this issue would be very welcome 🙂
Whilst here, just want to clarify that 4.x is EOL on 31st Jan.

Hi @ErisDS ,
If no one is working on this issue, I would love to take this issue!

@neerajkrbansal1996 PRs are always welcome - especially for issues marked with the help wanted label like this one.

@ErisDS I used below resources to do my local dev setup. How do I install an older version of Ghost for my dev environment?

Install from source - followed this primarily
Contributing Docs
Contributing GitHub Guide

Default version is 5+ that is running on my setup.


docs: Update Airbridge document link

Amplitude Developer Docs PR
Description
Hi, this is Airbridge team.

Airbridge Help center has been updated recently
we support redirects for the old address, but would be better to use the new address

Deadline
ASAP, But the priority is low.
Change type

[ ] Doc bug fix. Fixes #[insert issue number]. Amplitude contributors include Jira issue number.
[x] Doc update.
[ ] New documentation.
[ ] Non-documentation related fix or update.

PR checklist:

[x] My documentation follows the style guidelines of this project.
[x] I previewed my documentation on a local server using mkdocs serve.
[x] Running mkdocs serve didn't generate any failures.
[x] I have performed a self-review of my own documentation.

@amplitude-dev-docs

Thanks for the update @hiddenest!


Requirements API - Implement YAML requirements generation from a chat conversation

The Requirements API will scan over the chat conversation and generate detailed requirements (in YAML format). This YAML will be fed as context to other language models, so it doesn't have to be serialized.

I'll take this issue.


Added utils test

Basic tests for utils.go file

Coverage decreased (-6.7%) to 83.232% when pulling 166d2d80526b29dd2f0f05f1239d39c9116b6394 on ilijamt:upstream into 58e3a1fbb5ea15dde8675b60becb2a9950e70164 on maxwellhealth:master.

Thanks so much @ilijamt


Make ICapabilityStatementService reusable

Is your feature request related to a problem? Please describe.
I'm doing a project for work based on Spark, with a custom data store. We only need to support a subset of FHIR resources and actions on those resources
The contents of the Capability-statement should reflect the resources (and interactions on those resources) we support., though
What I planned to do was:

Remove the default ICapabilityStatementService implementations from the list of services.
Introduce my own implementation of the interface and add that one to the list,
Reuse CapabilityStatementBuilder to fill our own statement.

This all fell apart because  ICapabilityStatementService` is marked as internal.
Describe the solution you'd like
I think marking ICapabilityStatementService as public should be enough to make what I described earlier feasible. All the other parts needed are already there.
Describe alternatives you've considered
I considered copying parts of  AsyncFhirController to our application code. This duplicates functionality that's already present i n Spark though, which is not ideal.

Hey @svdberg-convenient, I agree it should be marked as public. I have created a PR #395 and can merge that pretty quickly. Are you using the NuGet packages? If so I will need to create a new release

Just published a new release v1.5.6 with a fix for this. The NuGet package is available here: https://www.nuget.org/packages/Spark.Engine.R4/

@kennethmyhra, that was fast. Thanks!
Yeah, I'm using the NuGet packages.


Document view error

This button points to the wrong
raw.github.....

This button points to the wrong
https://raw.githubusercontent.com/argoproj/argo-workflows/master/examples/README.md


Backup with cp dash a

[-] preserve attributes of $CONFIG_FILE on backup (attributes may incl. modification time, access time, file flags, ...)
[-] make buf() to respect file attributes on file backup

Thanks!


change image of tab view according to active and inactive

Any have idea how I use different image on tab view.which is change according to active and inactive conditions

https://github.com/react-native-community/react-native-tab-view#rendericon


Rename slideslive-slides.dl.py -> slideslive-slides-dl.py

File and also all references in the README.md

Fixed by @Priya730 in https://github.com/PeterTheOne/slideslive-slides-dl/pull/4


Find command: search by phone

Close #40
Find a contact by name, or phone, but not both.
Future implementation:

match characters, not just whole word

LGTM


Move Membership Scopes into SN

Move Membership Scopes into SN

Add membership concern.
Place social scopes within membership concern.
Tests exist in TFDSo Application.

[Finishes: #90543322]

:+1:


Timesheet - 26/04/2021 - Mr. K

Task 1
Worked on resizing Project detail page and spaces fixed for 1366,992,768, and 414.
Proof of Work

https://www.figma.com/file/5SEdLMQQAn1DTdjDj0OiW8/Projects?node-id=222%3A17392

Time Spent
2.0 hours

Task 2
Worked on FAQ page UI design viewport 768 and 414.
Proof of Work

https://www.figma.com/file/C22D4Et2I0AIE0n8QwBDMm/FAQ?node-id=1%3A10

Time Spent
3.0 hours

Task 3
Worked on the Landing page, fixed sizes of elements, and spacing for viewport 992 and 768.
Proof of Work

https://www.figma.com/file/JCGeIX9fFrrpZiqE0XzH9s/Homepage?node-id=3%3A0

Time Spent
2.0 hours

Total Time Spent
7.0 hours
Account Number
c93ee24b89991a1438b45444cf06e5bb167ed1796d54a800174def4480f98ed0

Approved

Approved


docs: add video to build and connector info to whitepaper

Fixes #1803
Signed-off-by: Youngone Lee<EMAIL_ADDRESS>

@petermetz Thanks for the comment ! Hope you're well :)

PR morphed that into a big update on the whitepaper itself instead of the specific README files of the connectors

Oops, I'm sorry! I misnamed this PR. The original issue I had up for this was to update both of the README and the whitepaper for the connector and the video.

content could be moved from the whitepaper.md file to the README.md files of the relevant connectors such as packages/cactus-plugin-ledger-connector-corda/README.md etc

The individual plugin-ledger-connector's README.md files all already contain this information. However, the format of our current whitepaper.md file contains bullet points of what each connector within Cactus does. I've updated the whitepaper to reflect this format (providing a little bit of information for each connector within whitepaper.md) but if you think this section is no longer necessary, I can definitely take it off!

Oops, I'm sorry! I misnamed this PR. The original issue I had up for this was to update both of the README and the whitepaper for the connector and the video.

@Leeyoungone No worries, just please make sure to name it something that describes a little distinctly what is being changed because "updating file X and Y" can accurately describe 99% of the pull requests of all time so after the fact if someone is reading just that text and trying to figure out if it's an interesting change to them or not they'll have no choice but to go deeper and inspect the diff directly. :-)
If you like, it's also totally cool to break this into two PRs where one is about the video change in BUILD.md and the other one is about the whitepaper change

make sure to name it something that describes a little distinctly what is being changed because "updating file X and Y" can accurately describe 99% of the pull requests

Sounds good! I appreciate you helping me on honing good developer skills :))

If you like, it's also totally cool to break this into two PRs where one is about the video change in BUILD.md and the other one is about the whitepaper change

I can definitely do that! sorry for delay


update doc for certificate signing requests

This is a Bug Report
Problem:
Doc is not aligned with latest kubernetes version 1.19.2:
https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/#create-certificate-request-kubernetes-object
With version 1.19.2, signerName is mandatory.
Also signer kubernetes.io/legacy-unknown is not supported in the list at: https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers
Proposed Solution:
Specify signerName in yaml definition
Remove kubernetes.io/legacy-unknown section
Page to Update:
https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests

Just checked, the signerName is a required field since 1.19.0 in certificates.v1 group, but it is not required in the v1beta1 group.
It makes sense to fix the example so that the YAML works.
/sig auth

https://github.com/kubernetes/website/pull/23895 changed the apiVersion without actually updating required fields for v1

cc @christomas1

About proposal "Remove kubernetes.io/legacy-unknown section" of this issue, the v1.19 release notes indicates:

The CertificateSigningRequest API is promoted to certificates.k8s.io/v1 with the following changes:
spec.signerName is now required, and requests for kubernetes.io/legacy-unknown are not allowed to be created via the certificates.k8s.io/v1 API

Ref: https://kubernetes.io/docs/setup/release/notes/#api-change
@gaurav517 Can you create a PR for this?

The kubernetes.io/legacy-unknown documentation should remain until v1beta1 is no longer supported

I am happy to create a PR, but I am not able to push a branch to this repo. I have already signed CLA but still get:
fix_csr_doc> git push
ERROR: Permission to kubernetes/website.git denied to gaurav517.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Any idea? Did I miss something in contribution doc? I will have a look at that again.

push it to your own clone, then use github to raise a pull request.
detailed guide

Great thanks. PR on the way then. :)


spearbit 20

Description

Fixes https://github.com/spearbit-audits/connext/issues/20
Type of change

[ ] Docs change / dependency upgrade
[ ] Configuration / tooling changes
[x] Refactoring
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Requires changes in customer code

High-level change(s) description - from the user's perspective

Renames EMPTY constant in BaseConnextFacet to EMPTY_HASH

Related Issue(s)
Fixes https://github.com/spearbit-audits/connext/issues/20
Related pull request(s)

See here on note with spear bit issues being combined


Add markup support for UICollectionView

Initial support for collection views has been added, but not yet documented.

This is now documented.


Allow configuration of UDP read buffer

in order to avoid UDP packet loss when receiving a lot of packets on StatsD bridge.
PTAL: @juliusv

Thanks! :+1: otherwise

Cool, thanks!


How to check if post contains video

Describe the solution you'd like
Hello i am trying to check if a post contains video, for logging purposes. Currently using something to do the same for photos
# Access the Reddit post using its post ID
post_id = '16uzdpd'  # Replace with the actual post ID
submission = reddit.submission(f'{post_id}')

# Function to download an image
def download_image(url):
    response = requests.get(url)
    if response.status_code == 200:
        filename = os.path.basename(url)
        with open(filename, 'wb') as file:
            file.write(response.content)
        print(f"Downloaded: {filename}")
        return True  # Return True if the image was downloaded
    return False  # Return False if the image was not downloaded

# Extract image URLs from the post's content
images_downloaded = False  # Initialize a flag to track if any images were downloaded

if submission.is_self:  # Check if the post is a self-post (text-only)
    print("This is a text-only post.")
else:
    # Check for image links in the post's URL and body
    if submission.url.endswith(('.jpg', '.png', '.gif', '.jpeg')):
        if download_image(submission.url):
            images_downloaded = True

    elif submission.selftext_html and '<img src="' in submission.selftext_html:
        start_index = submission.selftext_html.find('<img src="') + len('<img src="')
        end_index = submission.selftext_html.find('"', start_index)
        image_url = submission.selftext_html[start_index:end_index]
        if download_image(image_url):
            images_downloaded = True

# Print the message only if images were downloaded
if images_downloaded:
    print("Downloaded images saved in the current working directory.")
else:
    print("No images were downloaded.")

Describe alternatives you've considered
No response
Additional context
No response

I am going to use something like yt-dlp to download the mp4 but don't want to do that for every post as that is a lot of unnecessary usage(considering most posts wont have videos)


follow new reward solution

Pull Request Test Coverage Report for Build 801

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.47%

Totals

Change from base Build 799:
0.0%

Covered Lines:
92

Relevant Lines:
103

💛  - Coveralls


Converting back to panel data

Not necessarily an issue and more of a question...
Would it be possible to convert from the image back to panel data?

 That's what happens when you overthink!


Isometric tiles

Hello there,
not sure if its a dumb question or not, but is it possible to use tilemap to draw a isometric tiles? I have them all in spritesheet/atlas and I draw them manually atm as separate sprites, which is slow.

Awesome, I have them rotated already. Thank you again, Ivan.


Stats about pets

Should be nice to have somewhere stats about pets with:

characteristics (name, color, type)
date of birth (creation)
age
height (depends of age and could adapt the height in the pet image's style)
balls catched?

@nicolabosco87 I have implemented stats for the number of balls thrown which can be invoked with the
Display statistics for all your pets and
Reset Statistics for all your pets commands.

When the pull request is merged I can work on more statistics such as age of the pet and characterists


Clarified error fields, fixed various trivial typos.

In the Error Codes section, clarified that errors have err.name, err.code and err.message properties.
Fixed various trivial typos.

Thanks.


Add support for cpu inference

This PR allows non-CUDA devices to run inference.
I have tested this on mac m1. I haven't tested this on a CUDA device
@amsword I think this will be a good addition as it allows users to run inference on less powerful devices to just play with the model.

@microsoft-github-policy-service agree [company="{your company}"]

@microsoft-github-policy-service agree [company="{your company}"]

@microsoft-github-policy-service agree

@microsoft-github-policy-service agree

Thanks for sending this PR. However, we may not accept this because it is better to allow users to specify the device type rather than automatically determine it. Also, this repo is mainly used for demo purposes, it is not for a code base with full support on any environment. Please also feel free to fork this repo.

@amsword

it is better to allow users to specify the device type rather than automatically determine it.
Yeah this would be better but as .cuda() call is already hardcoded this won't make a difference right? The script is not checking for what device user has passed.


Rework blob endpoint to match the standard convention

Feature Description
This is a follow up for https://github.com/go-gitea/gitea/issues/4048 and https://github.com/go-gitea/gitea/pull/5334
The above introduced following blob support via URL:
https://gitea.mydomain.com/username/reponame/src/commit/<SHA>/path/to/file.c#L49

While the standard is:
https://gitea.mydomain.com/username/reponame/blob/<SHA>/path/to/file.c#L49

Basically simple path rewrite from /:user/:repo/blob/ to /:user/:repo/src/commit/ would do the trick. That way, plugins like copy-git-link would work out of the box.
Screenshots
No response

I think Gitea supports https://gitea.mydomain.com/username/reponame/raw/blob/<SHA>/path/to/file.c#L49

I think Gitea supports https://gitea.mydomain.com/username/reponame/raw/blob/<SHA>/path/to/file.c#L49

Doesn't seem to. When I navigate to raw/blob/<SHA> I get redirected to a raw/branch/master/blob/<SHA> which is a 404 page.


Asset tag within variable as src

I'm trying use page variable like you mention here: https://github.com/envygeeks/jekyll-assets/issues/446#issuecomment-346349076

I have _assets/img folder where I have backgrounds folder within home.jpg image.
In Front matter I have set up:
background: backgrounds/home.jpg
In default.html layout I have:
{% asset "{{ page.background }}" %}
Jekyll serve get me this error:
Liquid Exception: couldn't find file '/assets/images/backgrounds/home.jpg' Checked in these paths:

Where is problem?
Thanks

As here: https://github.com/envygeeks/jekyll-assets/issues/454#issuecomment-347592478
I'm using now: <img src="{{ assets[page.background].digest_path }}" alt="...">
it has some impact on performance?

No, I don't think so.
And please, this is not my repository, it's @envygeeks's. I answered your other question because it was pretty easy and all the information was already available in the documentation and other closed issues. Don't mention me (or anybody else who is not directly involved in this repository) in a random ticket, I don't think this is the proper way to use github ticket system.

What's the value of "page.background"?

Sorry, I mention you because I think it's related to your previous answer.
The value is relative path to image: backgrounds/home.jpg how I wrote above...

I'm gonna need to see the source or a reproduction, because we would never search within anything called "/assets" unless you add it, and even then, we would never spit out an absolute path, so there is something more going on that's gonna require a reproduction example.

A had one typo in Front Matter variable so, now everything working.
Thanks


webappUI RF tests with selenium

The tests are simple navigational tests that check that the page changes correctly from the links on the left. The tests work fine (but the firefox driver, geckodriver has to be installed first, this depends on the OS used). Later on, the tests could be modified to do more than just navigating. Also, the sleep time could be set to 0.

Could you put some explanation how to run this manually now in the commimt description?
This is going to be integrated in Docker soon so that the above info is also helpful.
Once I confirm on my own env, I'll merge. Thanks!

This is how the manual testing works with Linux:
Go in to the tflm_hello_world folder.
Give commands in the terminal:
pip3 install -r requirements.txt
pip install robotframework
pip install robotframework-seleniumlibrary
pip selenium
whereis geckodriver
Now, if there is a firefox driver installed in the system, this command gives the path to it. E.g.:
geckodriver: /home/usr/bin/geckodriver
Use this path to give it to the terminal every time a new terminal is opened:
export PATH=$PATH:~/home/usr/bin/geckodriver
If there is no geckodriver, go here:    https://github.com/mozilla/geckodriver/releases
and choose the one for your system. Download. I made a new dir "bin" at ~/home/usr/, because copying the geckodriver into ~/bin didn't work so well. Now, check whereis geckodriver and give the path in the terminal.
Run the tests by this command in the terminal:
run app.robot


UI should pull from config at runtime

Right now the UI pulls from the local config at build time. Update the UI to pull from the local config at run time. This is needed so we can configure a UI Docker container that already has the built UI.

Must need for any dynamic deployment using Marathon. Right?

Moved configuration files to /config directory and converted them to JSON.  Angular now requests these files at runtime and integrates them into the app.  The local config file symlink on the destination server will need to be changed as well as the format of the local config file itself (see /config/scaleConfig.local.json for an example).  Once in place, modifying that local config file will affect the UI without needing to rebuild the project.

Closed with #132


chore: release 1.2.42

:robot: I have created a release *beep* *boop*
1.2.42 (2021-11-24)
Bug Fixes

host_cleanup: getting true dangling images (22949ca)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.2.42 :sunflower:


feat(paginator): custom class name (hexojs/hexo#5001)

Check List
Please read and check followings before submitting a PR.

[ ] I want to publish my theme on Hexo official website.

[ ] I have read the theme publishing doc.
[ ] name is unique.
[ ] link URL is correct.
[ ] preview URL is correct.
[ ] preview URL web site is rendered correctly.
[ ] Add a screenshot to source/themes/screenshots.
[ ] Screenshot filename is same as value of name.
[ ] Screenshot size is 800 * 500.
[ ] Screenshot file format is png.

[ ] I want to publish my plugin on Hexo official website.

[ ] I have read the plugin publishing doc.
[ ] name is unique.
[ ] link URL is correct.

[x] Others (Update, fix, translation, etc...)

Languages:
[x] en English
[ ] ko Korean
[ ] pt-br Brazilian Portuguese
[ ] ru Russian
[ ] th Thai
[x] zh-cn simplified Chinese
[ ] zh-tw traditional Chinese

@renbaoshuo
We will merge this PR after release a new version.
Thank you :)

This pull request could be merged after https://github.com/hexojs/hexo/pull/5043.


fix(installer): Fix E2E tests by using the dockerhub cache on test java image

What does this PR do?
There was a docker.io call that we missed, this PR replaces it by the local cache. To do so we add auth to Docker in the test suite.
Motivation
No flaky tests
Additional Notes
Possible Drawbacks / Trade-offs
Describe how to test/QA your changes
If tests are green we're good

/merge


mqtt connection issue

@soniaer - MQTT connection won't work as you need the credentials. Line 353 is trying to read the file that should continue the credentials to make the connection


Could not find file logged to the console if there is an invalid file reference

Original issue report for historical reasons
After one of the previous updates (around 4.5.13), Typescript suddenly stopped working. Finally I opened the console and found the error bellow. I tried to run sync as advised in the readme, but that throws these errors as well.
Error: Could not find file: '/path/to/myfile.ts'.
    at getValidSourceFile (evalmachine.<anonymous>:37146:23)
    at Object.getSyntacticDiagnostics (evalmachine.<anonymous>:37284:52)
    at getDiagnositcsByFilePath (/Users/petr/.atom/packages/atom-typescript/dist/main/lang/projectService.js:242:47)
    at Object.errorsForFile (/Users/petr/.atom/packages/atom-typescript/dist/main/lang/projectService.js:259:34)
    at Child.RequesterResponder.processRequest (/Users/petr/.atom/packages/atom-typescript/dist/worker/lib/workerLib.js:50:60)
    at process.<anonymous> (/Users/petr/.atom/packages/atom-typescript/dist/worker/lib/workerLib.js:222:23)
    at emitTwo (events.js:87:13)
    at process.emit (events.js:169:7)
    at handleMessage (child_process.js:306:10)
    at Pipe.channel.onread (child_process.js:334:11)

I tried to run completely fresh atom installation, but that did not help.

If you don't mind can you provide the actual /path/to/myfile.ts. That might give more context

Sure. The path has changed, so I followed the faq, but sync threw the same error (only visible in console).
/Users/petr/dev/project/mobile/app/src/services/Platform.ts

And restart fixed it?

Nope. Same error after restart, tried running sync and restarting couple of times.

Now I'm also getting this error, which did not show up before:
Error: Invalid Path
    at Object.getProjectSync (/Users/petr/.atom/packages/atom-typescript/dist/main/tsconfig/tsconfig.js:162:15)
    at getOrCreateProjectFile (/Users/petr/.atom/packages/atom-typescript/dist/main/lang/projectCache.js:73:36)
    at Object.getOrCreateProject (/Users/petr/.atom/packages/atom-typescript/dist/main/lang/projectCache.js:138:27)
    at Object.editText (/Users/petr/.atom/packages/atom-typescript/dist/main/lang/projectService.js:233:30)
    at Child.RequesterResponder.processRequest (/Users/petr/.atom/packages/atom-typescript/dist/worker/lib/workerLib.js:50:60)
    at process.<anonymous> (/Users/petr/.atom/packages/atom-typescript/dist/worker/lib/workerLib.js:222:23)
    at emitTwo (events.js:87:13)
    at process.emit (events.js:169:7)
    at handleMessage (child_process.js:306:10)
    at Pipe.channel.onread (child_process.js:334:11)

is this file linked to from a reference or an import or tsconfig.json by any chance?

It's caused by this tsconfig. I delete it, Atom generated new one and now it all works fine.
{
    "compilerOptions": {
        "target": "es5",
        "outDir": "../build",
        "removeComments": true
    },

    "files": [ "*.ts"]
}

the file was referenced

That would cause it. I'll change the title of the issue and mark it up for grabs. Thanks :rose:

Thanks for you time!


[OPPO-1191] B: Prevent division by zero

When checking without typecasting to float, a value (string) '0.000' will
be processed as true, which results in a 'Division by zero' error on line 36

Hi @Maikel-Koek,
Thanks for the pull request! it is merged into the develop branch.
Regards,
Rik
Adyen


Add component statuses

Pulling out the status conversation from https://github.com/18F/cg-style/pull/225. I like @msecret 's suggestion because it includes statuses that indicate level of design/accessibility review (beta vs ready) which came up in our pattern library sync.
Includes statuses that represent exploratory work (prototype) as well as meeting
some quality of design/accessibility review (ready) or not (beta).

Status
Description

Prototype
Code implementation is in exploratory phase, incomplete and not for use.

WIP
Work in progress. Use with caution.

Beta
When some design/accessibility reviews have been done and documentation is complete. The component is ready for use.

Ready
Accessibility review finished, usability review finished, documentation complete.

Deprecated
Component exists only for backwards compatibility and will be removed in the near future.

This looks good to me.

And looking over this now, most folks were using the term "draft" over "wip" and I'm realizing I would prefer "draft" as well.


[3.x] Support explicit values in flag properties, add C# flags support

3.x version of #59327

@neikeq @raulsntos #59327 was approved, do you think this backport is safe enough to merge for 3.5 (knowing that we're at RC 3), or is it better to wait for 3.6 or 3.5.1?

No, I don't think it's safe enough. Better wait.

Thanks!


Testing Platform-Test after a long hiatus

Value: $2,000.00Closes: Tuesday, March 27, 2018Location: Barriere In-person work NOT requiredOpportunity DescriptionasdafsdfAcceptance Criteria1. this
2. thisHow to ApplyGo to the Opportunity Page, click the Apply button above and submit your proposal by 16:00 PST on Tuesday, March 27, 2018.We plan to assign this opportunity by Tuesday, March 27, 2018 with work to start on Tuesday, March 27, 2018.Proposal Evaluation Criteria1. this (20 points)
2. this (30 points)

This opportunity has been assigned

This was a test.


Update to tree-sitter 0.23

Tree-sitter 0.23 has some breaking changes which require an update of the Rust bindings. This PR attempts to do that.

@ObserverOfTime any thoughts on this change?

Hey, sorry for taking a while, I hadn't turned on watch all activity for this repo. I've updated the bindings and dependencies for each ecosystem, and published 0.7.0. Thanks for the PR, but there was way too much stuff to change :sweat_smile:


Update, Test & Release Existing "Action Block" Component Bugfix

Given the current open PR fixing a flexbox-related wrapping issue we found in older versions of Safari for iOS (or rather -- not wrapping issue), we need to get the now month-old bug fix for this:

[ ] branched off for merging in latest Bolt updates
[ ] Bolt code installed / setup to run the front-end environment locally
[ ] synced up with the latest Bolt code that's been released since the new Pega.com site went live
[ ] tested locally to verify the fix still works as expected
[ ] staged to verify the full frontend build works without error
[ ] PR'd to get the updates for this merged in
[ ] published to NPM / Github (via Lerna), including updating the package version
[ ] component changelog updated with changes
[ ] update communicated to the team
[ ] downstream update in Drupal to pull this in...?
[ ] what else? Ex. how do we know if this upstream update would break something downstream in Drupal?

CC @theSadowski @mikemai2awesome @remydenton @charginghawk

@EvanLovely @theSadowski @remydenton thoughts on this format for the first couple Basalt tickets to get things warmed up? There's another bugfix PR like this to add if this works

Stale issue — closing out.


Can't get this working

I followed the readme file and did the installation. After that the kubecolor command does not work.

add ~/go/bin to your PATH in the .bashrc/.zshrc
echo 'export PATH="$PATH:~/go/bin"' >> ~/.bashrc
and source it new
source ~/.bashrc

Great, that worked. Does this work with zsh terminal as well or is it only for bash ?

Works with zsh as well, just use .zshrc instead of .bashrc 👍

export PATH="$PATH:$GOPATH/bin" might be better just in case you change your $GOPATH.

Wow that looks amazing it worked in bash, that's some amazing work guys.
But I am not able to get it work with zsh, I added the the path to zshrc and sources the file it still gives me error
zsh: command not found: kubecolor

You'll also need to add GOPATH to zshrc as well, if you don't have it there (:

You'll also need to add GOPATH to zshrc as well, if you don't have it there (:

Yes I added both of these to the zshrc file
export PATH="$PATH:~/go/bin"
export PATH="$PATH:$GOPATH/bin"
I still get the same error :-(

What's the output of (from zsh):
source ~/.zshrc
which kubecolor
ls -la ~/go/bin/kube*
kubecolor

?

This is what it looks like
source ~/.zshrc

which kubecolor
kubecolor not found

ls -la ~/go/bin/kube*
-rwxr-xr-x  1 YGA2  staff  2767656 Oct 12 13:51 /Users/YGA2/go/bin/kubecolor

echo $GOPATH kubecolor
kubecolor

echo $PATH kubecolor
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/go/bin:/bin:~/go/bin:/bin:~/go/bin:/bin kubecolor

Hmm that's starange, kubecolor exists in ~/go/bin/ and ~/go/bin is in $PATH but you cannot exec kubecolor...

Can you try to use the full path instead of the ~? That will be /Users/YGA2/go/bin

Using this is my path worked, you guys are awesome.
Thanks a lot everyone, appreciate all your help. Must say you guys have put some amazing work.

Oh nice. Let me close this issue but please feel free to reopen if you have any issues. Enjoy kubecolor!
@TheKas @denysvitali
Thank you for your support!!


Checkingtool fails with ArgumentNullException

I've got a repo that's been working fine on v23 for a while.  I upgraded today via Chocolatey (with elevated permissions) to v24 and couldn't commit.
I've tried rebooting but that didn't do the trick.
Command run:git tfs ct -d
No authors file used.
git-tfs version <IP_ADDRESS> (TFS client library <IP_ADDRESS> (MS)) (64-bit)
Commits visited count:2
Commits visited count:2
Working with tfs remote: Branches/Foo => $/Root/Branches/Foo
Setting up a TFS workspace at .git\~w
git command: Starting process: git diff-tree -r -M -z 790b8ef96149bbab44df50da5ac0165f03481457 HEAD
Regex: ^:(?<srcmode>[0-7]{6}) (?<dstmode>[0-7]{6}) (?<srcsha1>[0-9a-f]{40}) (?<dstsha1>[0-9a-f]{40}) (?<status>.)(?<score>[0-9]*)\000(?<srcpath>[^\000]+)(\000(?<dstpath>[^\000]+))?\000$
Input: :100644 100644 9a28527b19f51c819db08e9be7512c36dc703f55 1e186d2a15441c3cb569c66a8f89bb00ade7803f M Websites/Blah/Config/appSettings/DEV1.AppSettings.Config
 -> 0: >>:100644 100644 9a28527b19f51c819db08e9be7512c36dc703f55 1e186d2a15441c3cb569c66a8f89bb00ade7803f M Websites/Blah/Config/appSettings/DEV1.AppSettings.Config <<
 -> 1: >><<
 -> srcmode: >>100644<<
 -> dstmode: >>100644<<
 -> srcsha1: >>9a28527b19f51c819db08e9be7512c36dc703f55<<
 -> dstsha1: >>1e186d2a15441c3cb569c66a8f89bb00ade7803f<<
 -> status: >>M<<
 -> score: >><<
 -> srcpath: >>Websites/Blah/Config/appSettings/DEV1.AppSettings.Config<<
 -> dstpath: >><<
 edit .git\~w\Websites/Blah/Config/appSettings/DEV1.AppSettings.Config
get [C437034]$/Root/Branches/Foo/Websites/Blah/Config/appSettings/DEV1.AppSettings.Config
Trying to get HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\ExtensionManager\EnabledExtensions|Microsoft.VisualStudio.TeamFoundation.TeamExplorer.Extensions,14.0.23102
TFS Workspace 'git-tfs-6e4c31cd-051a-4473-842d-8563fd71aeae;John Van Tuyl' was removed.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.IO.Path.Combine(String path1, String path2)
   at Sep.Git.Tfs.VsCommon.TfsHelperBase.GetDialogAssembly()
   at Sep.Git.Tfs.VsCommon.TfsHelperBase.GetCheckinDialogType()
   at Sep.Git.Tfs.VsCommon.TfsHelperBase.ShowCheckinDialog(Workspace workspace, PendingChange[] pendingChanges, WorkItemCheckedInfo[] checkedInfos, String checkinComment)
   at Sep.Git.Tfs.Core.TfsWorkspace.CheckinTool(Func`1 generateCheckinComment)
   at Sep.Git.Tfs.Core.GitTfsRemote.<>c__DisplayClass2d.<CheckinTool>b__2c(ITfsWorkspace workspace)
   at Sep.Git.Tfs.VsCommon.TfsHelperBase.WithWorkspace(String localDirectory, IGitTfsRemote remote, TfsChangesetInfo versionToFetch, Action`1 action)
   at Sep.Git.Tfs.Core.GitTfsRemote.WithWorkspace(TfsChangesetInfo parentChangeset, Action`1 action)
   at Sep.Git.Tfs.Core.GitTfsRemote.CheckinTool(String head, TfsChangesetInfo parentChangeset)
   at Sep.Git.Tfs.Commands.CheckinBase.PerformCheckin(TfsChangesetInfo parentChangeset, String refToCheckin)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Sep.Git.Tfs.Util.GitTfsCommandRunner.Run(GitTfsCommand command, IList`1 args)
   at Sep.Git.Tfs.GitTfs.Main(GitTfsCommand command, IList`1 unparsedArgs)
   at Sep.Git.Tfs.Program.Main(String[] args)
Value cannot be null.
Parameter name: path1

Uninstalling the v24 (64bit) and re-installing v23 (32bit) via Chocolatey gets me back to working.

There is 2 possibilities:

either you are using VS2015 Update 1 and see #888 (same problem)
either you are using an earlier version of Visual Studio and tell me because I should find another way to fix the problem because it's slightly different. In this case, setting an environment variable GIT_TFS_CLIENT containing the version of your visual studio ie 2012 or 2013 should fix your problem.

I've just upgraded to VS2015 Update 1 and the fix from #888 resolved my issue.

@jpvantuyl I saw that I was not very clear, and I was really interested by knowing which was your version of Visual Studio! VS2015? Could you tell me, please?


Clean up model diagnostics

Try to make the model diagnostics returned by the standalone CLI more clean.
In other words, add labels to the output matrices.

We killed that output.  So this is not relevant anymore


Add PointAt constraint

#381
along with https://github.com/SleipnirGroup/TrajoptLib/pull/140

I've confirmed this works. There's a lot of gotchas around when the constraint is valid to use tho, vs immediately making the trajectory infeasible.

A requirement when using this seems to be to bracket the constraint with two translation waypoints, so the heading has time to transition between a point-to region and a pose waypoint after it.


Add error message when arguments are switched?

there are no more arguments to switch anymore after the next release due to max-width having a mixin of it's own


Add .no-scroll (or similar) class to body when modal is open to prevent body from scrolling

The use case I am working with has a full screen modal, which has content overflowing the container. In this case, when the user scrolls, even the original body is scrolling. This is unwanted behaviour.
Would it be possible for to add either a .no-scroll or similar class to body to prevent scrolling?
(Assuming that class would have overflow-y: hidden).
Thanks!

yeah this makes sense, maybe add a prop: isBodyScrollable while you can already achieve thistle manually

Would you be able to add the said prop, isBodyScrollable?

Can you make a pull request? if not I will do it later.

I am not exactly sure how to proceed, so it would be better if you could do it.


Update Epitaph screenshot

The current screenshot presented is from a VERY old Epitaph version :thinking: I also tried updating the submodule with no success. Any tips on how to proceed on that? :3

:thinking: have you tried git submodule sync && git submodule update --init --recursive?
I am unsure as well if submodules should be up to date in the remote or only locally.

I already tried that, that inits / syncs the submodules locally but doesn't register changes to make a PR :c

Managed to update the Epitaph submodule :)  waiting for your feedback.

So what's the trick then?


Typescript type definitions

I noticed that there is no Typescript types definition for Laravel Mix. I know that I find it useful to have code completion in my IDE for the libraries that I use (including Laravel Mix), and I suspect that there are others in the community that would find this helpful.
I've tried to find all the components that are loaded, and understand their arguments & return values. There is a possibility I may have missed one or two.
I'm still relatively new to Laravel Mix & Typescript, so any feedback on how to make this more useful for the community would be appreciated.

The types seem to have been created a while ago. What is the status of implementing this officially?


Reimplement call graph completion, supports interleaved arguments on recursion

Reference:

CallGraph.hs#L155
TermCheck.hs#L296

bors merge

bors merge


[navigation-refactor ] Disable KeyboardAvoidingView for the BaseSidebarScreen and fix KeyboardAvoidingView used with react-freeze

Details
Disable the KeyboardAvoidingView for the chat list screen. It should prevent the glitch described in the issue.
I couldn't find any use case for this functionality on this screen so I am assuming it's not necessary.
NOTE: KeyboardAvoidingView is used only in a file with ios.js extension so these changes shouldn't affect other platforms. For other platforms, it's simply a View component.
NOTE 2: There is a patch included so make sure to install it
Fixed Issues

$ https://github.com/Expensify/App/issues/20514
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests

Open iOS app
Open a chat
Long press a message in chat that doesn't have a thread
Tap "Reply in thread" (make sure that the keyboard is visible if you are using simulator, cmd + K)
Swipe thread screen to the right to close it and land in chat
Swipe chat screen to the right to close it and land in LHN
Verify that there is no glitch (part of the list hidden under overlay)

It looks like sometimes you may need to repeat these actions a few times to reproduce this bug, so make sure to test it well.

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

Offline tests

QA Steps

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

PR Author Checklist

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

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

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

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

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

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

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

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

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

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

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

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

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

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome
https://github.com/Expensify/App/assets/67908363/e8785bb6-7601-4a65-88cb-5f99dfae8a87

Mobile Web - Safari
https://github.com/Expensify/App/assets/67908363/ce25400b-79b6-4ddc-a9c4-acd5e1deee55

Desktop

iOS
https://github.com/Expensify/App/assets/67908363/fbb354f4-8680-4c99-970f-ee95819f7887

Android
https://github.com/Expensify/App/assets/67908363/340d7937-abef-425e-b920-877a60fa1844

Use the links below to test this build in android and iOS. Happy testing!

:test_tube::test_tube: Use the links below to test this build in android and iOS. Happy testing! :test_tube::test_tube:

android :robot:
iOS :apple:

https://ad-hoc-expensify-cash.s3.amazonaws.com/android/21124/index.html
https://ad-hoc-expensify-cash.s3.amazonaws.com/ios/21124/index.html

desktop :computer:
web :spider_web:

https://ad-hoc-expensify-cash.s3.amazonaws.com/desktop/21124/NewExpensify.dmg
https://21124.pr-testing.expensify.com

Tested the builds and seems to be working well for me on iOS native and mWeb 🎉
https://github.com/Expensify/App/assets/36083550/634a4988-9bf6-4bba-bbb4-e0d5e2694f70
https://github.com/Expensify/App/assets/36083550/2db20d7d-4158-4221-a02c-c9356ce83e20

Let's wait with this one for a moment. It fixes the problem with the sidebar but @WoLewicki discovered that it may also occur for different screens (e.g. report screen)
We are looking for a more complete solution

Here you can see the problem that we found https://github.com/Expensify/App/issues/20514#issuecomment-1599233846

thanks for an update!

Hey, I updated the patch with the code that I proposed here https://github.com/facebook/react-native/pull/38074 to fix this upstream

Hey, @fedirjh

@adamgrzybowski there is a weird behaviour on IOS safari when you navigate back from thread to parent report

Good catch but I think this is a candidate for a separate issue.
It's related to the keyboard but not to the KeyboardAvoidingView. This component is used only in the iOS app. So it may be a little out of the scope of this PR.
This PR still should fix the problem with the glitch on iOS app

@adamgrzybowski Aren’t we disabling the KeyboardAvoidingView for all platforms ?

Yeah, this issue evolved a little 😄 I will update the title of this PR. What we are doing currently is:

Disable the KeyboardAvoidingView for the BaseSidebarScreen
Fix the KeyboardAvoidingView so it won't break after freeze (e.g report screen is using freeze)

But the KeyboardAvoidingView is used only in the iOS native app.  For other platforms, it's just <View>
What you can observe in the browser is another mechanism. I guess it's just changing the size of the website to make room for the keyboard. But it's not handled by this component.

For the iOS Safari bug identified, do you want me to create a bug issue and assign to you @adamgrzybowski or should we just send it through the regular bug reporting workflow (open to the community for proposals)?

For the iOS Safari bug identified, do you want me to create a bug issue and assign to you @adamgrzybowski or should we just send it through the regular bug reporting workflow (open to the community for proposals)?

@fedirjh want to report it in #expensify-bugs and collect the bounty? We can then assign @adamgrzybowski, or not, based on his answer

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

🚀 Deployed to staging by https://github.com/amyevans in version: 1.3.34-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.34-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Linear slide and pivot updates to control

Added linear slide, changed pivot to be a servo to reflect hardware design.

waiting for CI ...

nvm I messed everything up, I'll fix it tomorrow


blank page after clicking + to add account (Web UI not compatible with Firefox/Safari/IE)

Hi,
I click settings, then the + to add an account, and the page goes blank. The menu bar is still present, but no other content. The URI changes to #/createaccount
I've restarted the scheduler, and reinstalled the app. Nothing seems to be working. It shows that I am signed in and me (not anon).
Thanks,
eric

The UI now appears to work in Safari and Firefox with https://github.com/Netflix/security_monkey/commit/c2c6ced26d2fc11ca43aaeb2fe8f105bed18aa4c


Can't import model_zoo

When trying to import model_zoo as following:
from fsdet import model_zoo

attribute error raises as:
Traceback (most recent call last):
  File "test.py", line 1, in <module>
    from fsdet import model_zoo
  File "/media/kist/DATA_2/few-shot-object-detection/fsdet/model_zoo/__init__.py", line 7, in <module>
    from .model_zoo import get, get_config_file, get_checkpoint_url
  File "/media/kist/DATA_2/few-shot-object-detection/fsdet/model_zoo/model_zoo.py", line 182, in <module>
    model = get('COCO-detection/faster_rcnn_R_101_FPN_ft_all_1shot_unfreeze.yaml', True)
  File "/media/kist/DATA_2/few-shot-object-detection/fsdet/model_zoo/model_zoo.py", line 178, in get
    model = build_model(cfg)
  File "/media/kist/DATA_2/few-shot-object-detection/fsdet/modeling/meta_arch/build.py", line 18, in build_model
    return META_ARCH_REGISTRY.get(meta_arch)(cfg)
  File "/media/kist/DATA_2/few-shot-object-detection/fsdet/modeling/meta_arch/rcnn.py", line 33, in __init__
    self.roi_heads = build_roi_heads(cfg, self.backbone.output_shape())
  File "/media/kist/DATA_2/few-shot-object-detection/fsdet/modeling/roi_heads/roi_heads.py", line 40, in build_roi_heads
    return ROI_HEADS_REGISTRY.get(name)(cfg, input_shape)
  File "/media/kist/DATA_2/few-shot-object-detection/fsdet/modeling/roi_heads/roi_heads.py", line 372, in __init__
    self._init_box_head(cfg)
  File "/media/kist/DATA_2/few-shot-object-detection/fsdet/modeling/roi_heads/roi_heads.py", line 404, in _init_box_head
    self.cls_agnostic_bbox_reg,
  File "/media/kist/DATA_2/few-shot-object-detection/fsdet/modeling/roi_heads/fast_rcnn.py", line 392, in __init__
    self.scale = global_cfg.MODEL.ROI_HEADS.COSINE_SCALE
  File "/home/kist/few-shot-object-detection/fsdet/lib/python3.7/site-packages/yacs/config.py", line 141, in __getattr__
    raise AttributeError(name)
AttributeError: MODEL

model_zoo.py contains unwanted code

Thank you for pointing out this issue. This has been fixed in the most recent commit, so you should be able to use the model_zoo without issue.


readium-desktop  Does not support smil, but browser plugins support smil

Will the desktop version support smil?

Yes, Thorium / the readium-desktop SDK will support EPUB3 Media Overlays in the near future.

the support of EPUB media overlays (i.e. smil) being in the roadmap, I propose to close this issue. The release of this feature will be communicated broadly.

Hello, @danielweck is there any update of smil?

the feature is being implemented, the central part works fine, nearly all the edge cases are covered. watch this space.


[Question] Correct Alphafold requirements?

Hello,
I'm looking to clarify what are the correct python requirements for Alphafold.
The requirements.txt list a bunch of hard-pinned python packages while the setup.py does not. In other words, the install_requires accepts any version of Numpy while the requirements file strickly ask for the 1.19.5. This also raises, does Alphafold strictly works with TF 2.5 or is it compatible with 2.9 for instance?
Which one is correct?
Thanks for any insights.

@Augustin-Zidek might have the answer since he's the committer for the setup.py ? Thanks in advance!

Hi @ccoulombe,
The requirements.txt is the canonical package versions that we've tested works with AFOS. The setup.py is what we use to test newer versions and run our test suite.
Whilst it's likely that AFOS would work with newer versions of various packages (e.g. TensorFlow), it's not something that we've validated, so we'd recommend using the requirements.txt (or even better, Docker/colab notebook) to ensure results are accurate.
Hope this helps!


Error while loading shared libraries (icu) in Fedora 22

I've recently upgraded to Fedora 22, but get errors when trying to run phpbrew (even when re-downloading):
hjm@localhost:/tmp$ curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   130    0   130    0     0    226      0 --:--:-- --:--:-- --:--:--   226
100  543k  100  543k    0     0   726k      0 --:--:-- --:--:-- --:--:-- 6283k
hjm@localhost:/tmp$ chmod +x phpbrew
hjm@localhost:/tmp$ ./phpbrew
php: error while loading shared libraries: libicui18n.so.52: cannot open shared object file: No such file or directory

It seems Fedora 22 ships with libicu 54, but phpbrew depends on 52. Any ideas on how to resolve this?

Your php seems need to be rebuilt. Please go to the build directory and run make install under the source directory.
(cd ~/.phpbrew/build/{version} && make clean && make install)


Cassandra nodes becomes unreachable to each other

I have 3 nodes of elassandra running in docker containers.
Containers created like:

Host <IP_ADDRESS> : docker run --name elassandra-node-1 --net=host -e CASSANDRA_SEEDS="<IP_ADDRESS>" -e CASSANDRA_CLUSTER_NAME="BD Storage" -e CASSANDRA_DC="DC1" -e CASSANDRA_RACK="r1" -d strapdata/elassandra:latest

Host <IP_ADDRESS> : docker run --name elassandra-node-2 --net=host -e CASSANDRA_SEEDS="<IP_ADDRESS>,<IP_ADDRESS>" -e CASSANDRA_CLUSTER_NAME="BD Storage" -e CASSANDRA_DC="DC1" -e CASSANDRA_RACK="r1" -d strapdata/elassandra:latest

Host <IP_ADDRESS> : docker run --name elassandra-node-3 --net=host -e CASSANDRA_SEEDS="<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>" -e CASSANDRA_CLUSTER_NAME="BD Storage" -e CASSANDRA_DC="DC1" -e CASSANDRA_RACK="r1" -d strapdata/elassandra:latest

Cluster was working fine for a couple of days since created, elastic, cassandra all was perfect.
Currently however all cassandra nodes became unreachable to each other:
Nodetool status on all nodes is like

Datacenter: DC1
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address        Load       Tokens       Owns (effective)  Host ID                               Rack
DN  <IP_ADDRESS>  11.95 GiB  8            100.0%            7652f66e-194e-4886-ac10-0fc21ac8afeb  r1
DN  <IP_ADDRESS>  11.92 GiB  8            100.0%            b91fa129-1dd0-4cf8-be96-9c06b23daac6  r1
UN  <IP_ADDRESS>   11.9 GiB   8            100.0%            5c1afcff-b0aa-4985-a3cc-7f932056c08f  r1

Where the UN is the current host <IP_ADDRESS>
Same on all other nodes.
Nodetool describecluster on <IP_ADDRESS> is like

Cluster Information:
Name: BD Storage
Snitch: org.apache.cassandra.locator.GossipingPropertyFileSnitch
DynamicEndPointSnitch: enabled
Partitioner: org.apache.cassandra.dht.Murmur3Partitioner
Schema versions:
24fa5e55-3935-3c0e-9808-99ce502fe98d: [<IP_ADDRESS>]
            UNREACHABLE: [<IP_ADDRESS>,<IP_ADDRESS>]

When attached to the first node its only repeating these infos:

2018-12-09 07:47:32,927 WARN  [OptionalTasks:1] org.apache.cassandra.auth.CassandraRoleManager.setupDefaultRole(CassandraRoleManager.java:361) CassandraRoleManager skipped default role setup: some nodes were not ready
2018-12-09 07:47:32,927 INFO  [OptionalTasks:1] org.apache.cassandra.auth.CassandraRoleManager$4.run(CassandraRoleManager.java:400) Setup task failed with error, rescheduling
2018-12-09 07:47:32,980 INFO  [HANDSHAKE-/<IP_ADDRESS>] org.apache.cassandra.net.OutboundTcpConnection.lambda$handshakeVersion$1(OutboundTcpConnection.java:561) Handshaking version with /<IP_ADDRESS>
2018-12-09 07:47:32,980 INFO  [HANDSHAKE-/<IP_ADDRESS>] org.apache.cassandra.net.OutboundTcpConnection.lambda$handshakeVersion$1(OutboundTcpConnection.java:561) Handshaking version with /<IP_ADDRESS>

After a while when some node is restarted:

2018-12-09 07:52:21,972 WARN  [MigrationStage:1] org.apache.cassandra.service.MigrationTask.runMayThrow(MigrationTask.java:67) Can't send schema pull request: node /<IP_ADDRESS> is down.

Tried so far:
Restarting all containers at the same time
Restarting all containers one after another
Restarting cassandra in all containers like : service cassandra restart
Nodetool disablegossip then enable it
Nodetool repair : Repair command #1 failed with error Endpoint not alive: /<IP_ADDRESS>
Seems that all node schemas are different, but I still dont understand why they are marked as down to each other.

Hi,
Do monitor your system resources, it seems that nodes freeze because they don't have enough resources ? (use nodetool gossipinfo to check node status and load)


Implement a naming strategy that gives service classes and plans human readable names

When we were trying to deal with name mutability in https://github.com/kubernetes-incubator/service-catalog/issues/802, we decided to use the OSB IDs of services and plans as the k8s names to deal with mutability. This results in a very clunky (basically unusable) kubectl experience because the k8s names are not easily distinguishable. The svcat tool makes this easier to manage, but not every user wants to download and use another tool.
Luckily, we also left ourselves space to implement alternate naming strategies for service classes and plans. I think we should implement an (optional, opt-in) naming strategy that:

Uses the human readable names of service and plan as the k8s names of associated resources
Handles name changes by adding new resources with the changed name and updating the status of the existing resource to reflect that it has been renamed

To be super-clear, we will have to maintain the existing behavior of the system. We should allow administrators to decide on this behavior by adding a field to the broker resources that controls the naming strategy, and which defaults to the existing behavior.  For example:
metadata:
  name: my-broker
spec:
  url: http://my.broker.to
  namingStrategy: HumanReadable

We discussed this as something people were interested in for 1.0.0 at the april f2f.

This is related: https://github.com/openservicebrokerapi/servicebroker/pull/504

/remove-lifecycle rotten
/lifecycle frozen

This project is being archived, closing open issues and PRs.
Please see this PR for more information: https://github.com/kubernetes/community/pull/6632