[Question] How does cross-compile support work?

❓ General Questions
I am trying to use the core.py file that contains build arguments to build an MLC model for AARCH64 on an x86 host, The problem I'm having is with incorrect symbols so I'm assuming the issue is that I have built the TVM library incorrectly.
Can someone help me understand how cross compile support works? Merely setting the CC_path does not work and gives weird errors:
/home/srikanth/l4t-gcc/aarch64--glibc--stable-2022.08-1/bin/../lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: /tmp/tmpsushxijm/lib0.o: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status

Closing as we are migrating to a new engine besides core


if conditional marked as error when using double single quote in an expression

Describe the bug
Below if conditional expression is marked as error, but the workflow actually runs as expected.
    if: '${{ github.event.review.state == ''approved'' }}'

error
"Unexpected symbol: 'approved'''. Located at position 32 within expression: github.event.review.state == ''approved''"

To Reproduce
add condition:  if: '${{ github.event.review.state == ''approved'' }}'
Expected behavior
Not marked as error. As the additional single quote is to escape the literal single quote.
Screenshots

Extension Version
v0.25.7
Additional context
Add any other context about the problem here.

We are aware of this issue. This is a duplicate of https://github.com/github/vscode-github-actions/issues/60. Going to close this.


installation problem

Hello! Thanks for your work of datatable! I have a problem to install it. My build.sbt is:
name := "scala"
version := "0.1"
scalaVersion := "2.12.2"
libraryDependencies += "com.github.martincooper" %% "scala-datatable" % "0.8.0"
My sbt is 1.8.0 and I use them in IntelliJ IDEA. I cannot install datatable in this way. The message is:sbt 'scala' project refresh failed.
Thanks a lot in advance for your help!

In addition, is it necessary to use sbt 0.13.0? I can find minimum of 0.13.5

Hey! Yes, it certainly should work with all the latest versions of Scala / SBT etc.
To test, using IntelliJ I just updated to the latest version of everything (Scala 2.12.4) and SBT (1.0.3) and the following in my build.sbt...
name := "ScalaTest"
version := "0.1"
scalaVersion := "2.12.4"
libraryDependencies += "com.github.martincooper" %% "scala-datatable" % "0.8.0"

and Scala DataTable imported fine with no errors. You say you are using version 1.8.0 of SBT which is odd as I can only see 1.0.1 as the latest version http://www.scala-sbt.org/download.html

Thanks! Now my libraries list like this

But I still can not import this package

I am sorry that I am new to Scala and thanks a lot for your help!

You need to fully namespace your imports, so something like this would work for a single class...
import com.github.martincooper.datatable.DataTable

Or for multiple...
import com.github.martincooper.datatable.{ DataColumn, DataTable, DataTableException, GenericColumn }

etc.

Thanks a lot for your reply but I still cannot solve the problem.
scala> import com.github.martincooper.datatable.DataTable <console>:14: error: object github is not a member of package com        import com.github.martincooper.datatable.DataTable
Did I miss something important?

Try running...
sbt clean compile

sorry...I don't know how to run this command...And I reopen the project but still cannot import the package

If I type 'clean compile' in the SBT Shell, I will get some errors as below

In SBT shell, just enter clean, then compile if the first step works.

sorry I tried but it still doesn't work and thanks a lot for your help!

This is related to your Scala / environment setup and I can't really help you any further. I would suggest you google "object is not a member of package" and there a number of pages which highlight the error and a number of things you can do to try and resolve it. Thanks

Ok! Thanks for your help!


GUAC-1480: Use AllowClipboard and execCommand for local/remote clipboard integration.

Sadly, this seems to break text input on mobile devices (GUAC-1488). Looks like we need to alter our approach somewhat.


[Markdig.Wpf] Fixed issues where renderer incorrectly adds white space

This PR fixes a couple of issues where the renderer would incorrectly add white space:

Spaces were always added between inlines (#12). Instead we should only add spaces when rendering soft line breaks.
Code blocks always had an extra new line at the end.

Thanks for the contribution. I'll review it as soon as possible and do a few tests.
I had a quick look and so far it looks to be fine.

Great. No problem - thanks for making this library!


container doesnt start when nvidia.runtime=true

LXD 5.11, nvidia 470, I've tried both ubuntu:22.04 and ubuntu:20.04. The log shows;
lxc c1<PHONE_NUMBER>3658.228 WARN     conf - ../src/src/lxc/conf.c:lxc_map_ids:3621 - newuidmap binary is missing
lxc c1<PHONE_NUMBER>3658.228 WARN     conf - ../src/src/lxc/conf.c:lxc_map_ids:3627 - newgidmap binary is missing
lxc c1<PHONE_NUMBER>3658.229 WARN     conf - ../src/src/lxc/conf.c:lxc_map_ids:3621 - newuidmap binary is missing
lxc c1<PHONE_NUMBER>3658.229 WARN     conf - ../src/src/lxc/conf.c:lxc_map_ids:3627 - newgidmap binary is missing
lxc c1<PHONE_NUMBER>3658.230 WARN     cgfsng - ../src/src/lxc/cgroups/cgfsng.c:fchowmodat:1619 - No such file or directory - Failed to fchownat(40, memory.oom.group,<PHONE_NUMBER>, 0, AT_EMPTY_PATH | AT_SYMLINK_NOFOLLOW )
lxc c1<PHONE_NUMBER>3658.390 ERROR    conf - ../src/src/lxc/conf.c:run_buffer:322 - Script exited with status 1
lxc c1<PHONE_NUMBER>3658.390 ERROR    conf - ../src/src/lxc/conf.c:lxc_setup:4437 - Failed to run mount hooks
lxc c1<PHONE_NUMBER>3658.390 ERROR    start - ../src/src/lxc/start.c:do_start:1272 - Failed to setup container "c1"
lxc c1<PHONE_NUMBER>3658.390 ERROR    sync - ../src/src/lxc/sync.c:sync_wait:34 - An error occurred in another process (expected sequence number 4)
lxc c1<PHONE_NUMBER>3658.396 WARN     network - ../src/src/lxc/network.c:lxc_delete_network_priv:3631 - Failed to rename interface with index 0 from "eth0" to its initial name "veth904aca0f"
lxc c1<PHONE_NUMBER>3658.396 ERROR    lxccontainer - ../src/src/lxc/lxccontainer.c:wait_on_daemonized_start:878 - Received container state "ABORTING" instead of "RUNNING"
lxc c1<PHONE_NUMBER>3658.396 ERROR    start - ../src/src/lxc/start.c:__lxc_start:2107 - Failed to spawn container "c1"
lxc c1<PHONE_NUMBER>3658.396 WARN     start - ../src/src/lxc/start.c:lxc_abort:1036 - No such process - Failed to send SIGKILL via pidfd 41 for process 661676

If I set nvidia.runtime=false the container starts, no other containers with a GPU are running but the GPU is used as display output (this has never been a problem before though).

Can you show the snap list output please?

lxd                      git-ab0c905                       24556  latest/edge      canonical✓       - or do you need the whole thing?

Nope, just needed to confirm that you're on edge.


add healthcheck to checklist

What
add healthcheck to checklist.
I think this is important as without one you risk putting or leaving an unhealthy instance in service.
How to review
Describe the steps required to test the changes.

Preview the content locally (see README) and check that it renders as expected.
Manually check that any removed or renamed anchor tags are not in use (linkchecker doesn't do this).

This looks good to me. I don't know if @jonathanglassman just wants to give it the final 👍 and we can merge it?


feature: 提供 2.0 Agent & Proxy 安装包制作能力 (closed #1176)

Codecov Report

Merging #1364 (8de0b77) into v2.3.1-dev (347ce50) will increase coverage by 0.22%.
The diff coverage is 90.73%.

:exclamation: Current head 8de0b77 differs from pull request most recent head 98dff3c. Consider uploading reports for the commit 98dff3c to get more accurate results

@@              Coverage Diff               @@
##           v2.3.1-dev    #1364      +/-   ##
==============================================
+ Coverage       73.69%   73.91%   +0.22%
==============================================
  Files             364      369       +5
  Lines           24703    25026     +323
==============================================
+ Hits            18204    18498     +294
- Misses           6499     6528      +29

Impacted Files
Coverage Δ

apps/backend/plugin/views.py
43.02% <0.00%> (ø)

...nents/collections/agent_new/run_upgrade_command.py
90.62% <62.50%> (-9.38%)
:arrow_down:

apps/backend/agent/tools.py
89.24% <66.66%> (-0.87%)
:arrow_down:

...ckend/management/commands/init_official_plugins.py
89.74% <80.95%> (+3.69%)
:arrow_up:

apps/node_man/constants.py
96.25% <88.00%> (-0.60%)
:arrow_down:

apps/backend/agent/artifact_builder/proxy.py
88.88% <88.88%> (ø)

apps/backend/management/commands/init_agents.py
92.50% <92.50%> (ø)

apps/backend/agent/artifact_builder/base.py
92.81% <92.81%> (ø)

apps/backend/agent/artifact_builder/__init__.py
100.00% <100.00%> (ø)

apps/backend/agent/artifact_builder/agent.py
100.00% <100.00%> (ø)

... and 8 more

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


Run ITests against all DBs

JIRA Ticket: https://jira.lyrasis.org/browse/FCREPO-3382
Previous work: https://github.com/fcrepo4/fcrepo4/pull/1734
What does this Pull Request do?
Adds 3 new Travis jobs to run all of the ITests against PostgreSQL, MaraiDB, and MySQL. This code is based on experimenting I did here: https://github.com/pwinckles/travis-db-test
How should this be tested?
The Travis build should pass.
Interested parties
@fcrepo4/committers

Ack. That testConcurrentPutsWithPairtrees test is still having problems. :(


Update runc to version cc29e3dded8e27ba8f65738f40d251c885030a28

It fixes issue encountered while inside a user namespace
Signed-off-by: Kenfe-Mickael Laventure<EMAIL_ADDRESS>

LGTM


Dashboard: Participant

For onboarding, have the following to fill out:

Personal information (identity etc)
Access needs
Languages
Payment info (acceptable formats)
Contact info (including meeting types, support person)

Also include a way for someone to share projects or engagements with open calls

See: https://github.com/accessibility-exchange/platform/issues/827

@cherylhjli, and @greatislander what is still needed for this?

See comment on #457.

This is covered in the Getting Started Module https://github.com/accessibility-exchange/platform/issues/1444


Ontop 5.0.1 connects to mssql error

Hello
After my own test, when I used ontop 5.0.1 to connect mssql 2008, executing the command
ontop cli./ontop endpoint failed
org.springframework.beans.factory.BeanCreationException:  Error creating bean with name 'setupVirtualRepository' defined in class path resource  [it/unibz/inf/ontop/endpoint/beans/OntopVirtualRepositoryBean.class]: Bean instantiation via factory method failed;  nested exception is org.springframework.beans.BeanInstantiationException:  Failed to instantiate [it.unibz.inf.ontop.rdf4j.repository.impl.OntopVirtualRepository]:  Factory method 'setupVirtualRepository' threw exception;  nested exception is org.eclipse.rdf4j.repository.RepositoryException: it.unibz.inf.ontop.exception.MappingIOException:  it.unibz.inf.ontop.exception.MetadataExtractionException: com.microsoft.sqlserver.jdbc.SQLServerException:  Drivers cannot establish a secure connection to SQL Server by using Secure Socket Layer (SSL) encryption. Error: The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]. ClientConnectionId:3f88a7cc-e4ef-4abe-a8eb-9aab447aab87
Perform
. / ontop materialize the command times error Java. Lang. RuntimeException: it. Unibz. J inf. Ontop. Exception. MappingIOException: it.unibz.inf.ontop.exception.MetadataExtractionException: problem with JSON processing.
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'PrefixDeclaration':  was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
at [Source: (InputStreamReader); line: 2, column: 19]
Is there a solution?
Have a good life!

Hi,
The JRE you are using probably disable TLS 1.0 by default (see for instance https://aws.amazon.com/blogs/opensource/tls-1-0-1-1-changes-in-openjdk-and-amazon-corretto/).
Regarding the second issue, it looks like you are providing the the OBDA mapping file as argument for the DB metadata parameter.

@bcogrel
Hello!
Because some people who are willing to need the java environment to be configured to be the jdk 11 version, I use the same configuration file in the jdk 1.8 environment and the same command. When the ontop version is 4.22, there is no such problem. Is it because of the jdk environment configuration?
Wish you a happy life!

Hi @JoinJoker,
according to this post and this official page (see for 2021-04-20 entry), TLS 1.0 has been disabled by default starting from Java v11.0.11+ as well as Java 1.8.0_291, which means you may encounter the same issue with Ontop 4.2 as soon as you update the Java 8 version used to run it.
The post in the first link explains how to re-enable TLS 1.0, which basically boils down editing file java.security of the JDK (either lib/security/java.security or conf/security/java.security) and therein removing TLS 1.0 out of property jdk.tls.disabledAlgorithms (and possibly move it under property jdk.tls.legacyAlgorithms, but I don't remember this property being needed at least for Java 8).
If you don't want / cannot edit that JDK file, you may also start the JVM with an alternative java.security file: just create a new text file with the content of java.security you would like to use, and start the JVM with -Djava.security.properties=<path_to_created_file>. With both the Ontop Docker image or the Ontop CLI package, you can pass arbitrary JVM arguments via environment property ONTOP_JAVA_ARGS.
HTH

@fracorco
I see. Thank you for your answer


Need a way to rotate dropped items

Some plushies like rouny have rotated states TIL. ATM there's no way to rotate an item on the floor.
Maybe just give them flippable or something so you can rotate 90 degrees as rn you have to throw it and pray.

give them Rotatable?

That probably works, not sure if it's useful to have players able to set their drop rotation (for example if you're doing art you just need to rotate once and then place rather than every single time).

rotated rouny art
if theres nothing else that has directions its not that important and going through the verb menu is fine tbh


Beta-11: Menu white background overlay and not show menu list

Hi everyone! I try to build on ios app conference, the white menu error and no one menu item displayed. And my application is built from beta-9 was similar error, please review this issue to help me in the most recent version can build, I need this issue resolved urgently, thanks !

This issue was moved to driftyco/ionic-conference-app#226

Hello! As this seemed to be an issue centered around the conference app and not the ionic framework itself i have moved this issue to that repo. Thanks for using Ionic!

I would love to know what the fix is. as I have a side menu app that has the same issue
However I had it down as a duplicate of https://github.com/driftyco/ionic/issues/7564 rather than something conference app specific so was waiting for that to be fixed to see if what I see is the same, or something different @jgw96


Check that all required headers in style.css are there.

[New sniff] Check that all required headers in style.css are there.
Rule type:
Error
Rule:
ERROR | Check specifically against style.css whether the required headers are found. See Theme-Check plugin - /checks/style_needed.php for the list.

Rule as it is found in the handbook.
There are no other specific rules in this sniff. Most are pretty obvious.

Theme check file covering this rule:
https://github.com/Otto42/theme-check/blob/master/checks/style_needed.php
Required styles are also included in this theme check but they will have to be moved to a separate sniff.
[Optional Section] Decision needed:
There is only the one rule covering text domain requirements. The other checks that will be done are pretty obvious. However if we are striving for rule/sniff consistency I would suggest the following additions.
Stylesheets and Scripts (Required)
The main style.css header requires: Theme name, Description, Author, Version, License, License URI, and Text Domain.
Advice/Request for decision: Should the above header requirements be added to the requirements lists?
Notes for implementation:

This sniff will rely on the WordPress_AbstractThemeSniff Class to get the $sniff_helper array.
Testing will require that a style.css file is in the same folder as the test file.

To do:

[ ] Decision and implementation  to add the rule in the Theme Review handbook to the Requirements page.
[ ] Create unit tests
[ ] Create new sniff
[ ] Adjust existing WPCS / PHPCS sniff and send in PR upstream.
[ ] Add existing sniffname sniff to the ruleset.

I have this sniff ready to go, however it uses the $sniff_helper array from the proposed WordPress_AbstractThemeSniff class.

Again, I think this is something that is added in Theme Sniffer. Not sure if a sniff is needed for this 🤷♂
@timelsass comments?

We agreed to add this to the Theme Sniffer, because PHPCS 4 won't check css, so we'd have to deprecate this one.


 If there is a better way to check for ally targeting just let me know.

Solaris, just so you know, we don't get notified when you make a new push to your branches, so you need to add a comment to the pull request or else we might forget about it and never know you changed anything.
(This comment basically does that for you, so you don't need to put an extra comment, but it's worth noting for next time)


Update Composer dependencies (2021-10-20-00-10)

Visual regression test passed!
View the visual regression test report


redundant IBA annotation

I would not expect this  IBA to be displayed:

Is this crd1? If so, I wonder if the filtering isn't playing nice with the new transcript isoforms ...

Oh yes, I forgot to put the name. it is crd1.

If so, I wonder if the filtering isn't playing nice with the new transcript isoforms ...

That's the problem.
The manual annotation in the contig file in on the .2 transcript but the GAF loader always adds annotation to the .1 transcript.  So the IBA and the ISO annotations are on different transcripts.  The filtering currently works per-transcript.
Let's have a quick chat about this on the call.

This small amount of redundancy isn't the end of the world. I these cases we can always annotate manually any inferences and block the imported annotation.

This small amount of redundancy isn't the end of the world.

We probably should think about doing something cleverer than this though:

the GAF loader always adds annotation to the .1 transcript.

There's no rush though since there are so few cases.

The problem is that for the GO import we are dependent on GO having the correct isoform in col16, and GO would not know that is was isoform-specific.

This is fixed on the main site now.

we'll keep this open with low priority.
but can we fix by adding a colum17= extension in Artemis?

but can we fix by adding a colum17= extension in Artemis?

I think it's the PAINT GAF file that needed the column 17 value?  The annotation was correct in the contig file and loaded into Chado correctly.  But when loading from the GAF file the annotation we ignore the column 17 value and PAINT GAF doesn't have any col 17 values anyway.


Unable to find insights query file (SQL)

Issue Type: Bug
When I select Manage for my on-premise sql server (2016), both widgets (BackupStatus and Database Size) on the default server management page return errors. The initial error text is:

Could not find query file at any of the following paths : file:///c%3A/Users/EricFlamm/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/extensions/insights-default/c%3A/Users/EricFlamm/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/extensions/insights-default/sql/backup_detail.sql

The SQL file is definitely located at the latter (/sql/) location. ADS should be able to locate it. I can not figure out where the default widgets are configured - there is no server.dashboard settings in my settings.json (user/workspace) files.
Azure Data Studio version: azuredatastudio 1.23.0 (d296b6397e0acfddc57e9085e736e084969cdaeb, 2020-10-13T23:03:09.799Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4570S CPU @ 2.90GHz (4 x 2900)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.67GB (6.21GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

azuredatastudio-postgresql
Mic
0.2.6

import
Mic
1.1.0

powershell
ms-
2020.4.0

profiler
Mic
0.11.0

whoisactive
Mic
0.1.4

azdata-sanddance
msr
3.1.0

@eflamm are you still seeing this error with the 1.24.0 build released earlier today?

No - the widgets are working again on the server dashboard.


Restore failure handling

longhorn/longhorn#1260

I was thinking if the commit Mark all replicas as failure if the restore check or call fails is too aggressive. But issue #1260 cannot be fixed without this commit.

I was thinking if the commit Mark all replicas as failure if the restore check or call fails is too aggressive. But issue #1260 cannot be fixed without this commit.

This is the pre-restore check, right? If it failed, is there any way we can retry and success?

This is the pre-restore check, right? If it failed, is there any way we can retry and success?

Yes. If there is something wrong with the backup target/the backup volume/engine fields, the retry may not make sense. But the retry for this volume update could succeed the check.
I am not sure if there is a better way to handle this case except for the retry. And this is why previously I mark the PR as Draft...

But the retry for this volume update could succeed the check.

I don't understand this part.

I don't understand this part.

This volume update in the restore check is for that the DR volume expansion: Once the backup volume size is expanded and the inc restore is triggered, we need to update the spec.size for the DR volume first then start inc restore & expansion.
Based on the above description, the pre-restore check failure may be caused by the volume update, hence adding retry would handle this kind of error. But retry doesn't make sense if the backupstore/backup volume is wrong.

Why this update is in the pre restore check?

I know the engine monitor is not the best choice. Hence I add a TODO there to see if we can find a better way to update spec.Size for DR volumes.

In the meantime, we can work on the API doc for UI, UI design, and test plan (which should be checked in as a skeleton to the integration test repo).

Can we add the retry for the pre-restore check and restore call and retain that aggressive commit? Do we need to move the volume update to somewhere else (This may lead to some potential impacts)?

The explanation/summary of this PR:

Add a new API field named ready to indicate if the volume is available for workloads now. If the volume is Faulted or is auto attached, the ready is false. The reason why auto attached volumes are not usable is that the auto attachment is triggered by one of the following cases:

The volume is restoring data.
This is a DR volume.
The volume is expanding size.

Longhorn will mark the replica as failed as long as the related restore status contains an error.
If the pre-restore check fails, Longhorn will manually set errors for all replica status.


Basic Auth: Consumers with same username

I have a usecase where there are two consumers with same username but I cant configure it using basic auth plugin as username has to be unique
Is there any way to handle such scenario?
curl -d “username=user123&custom_id=SOME_CUSTOM_ID” http://localhost:8001/consumers/

curl -X POST http://localhost:8001/consumers/user123/basic-auth --data “username=Aladdin” --data “password=OpenSesame”

curl -d “username=user1234&custom_id=SOME_CUSTOM_ID1” http://localhost:8001/consumers/

curl -X POST http://localhost:8001/consumers/user1234/basic-auth --data “username=Aladdin” --data “password=OpenSesame”

{“message”:“UNIQUE violation detected on ‘{username=“Aladdin”}’”,“name”:“unique constraint violation”,“fields”:{“username”:“Aladdin”},“code”:5}

Why there is violation when I am creating same username in other different consumer?
Does Kong does not not support same username with different consumers ?

This is by design, Consumers can be referenced either by their ID or by their username, hence they must be unique

@Tieske
I agree Consumers should have unique username but why username under Customer username should be unique
Like in my case I have  two consumers with user123 and user1234 username but Aladdin as common credentials under them

So if a request comes in with:
    username=Aladdin
    password=OpenSesame

Now which of the 2 Consumers should Kong assign to the request? The credentials should identify a unique Consumer

ok...then is it possible to have consumer_id username and password as unique combination
In our set up we are creating consumers/deleting consumers as in when service gets added or deleted  in dynamic fashion so not able to track the association of  a specific consumers with all services
Also we are facing issue of duplicate username for different customers
What can be best fit for such kind of scenarios?
Also

When a request comes in the consumer id is not included. Only username and key, so the problem remains the same.


[Snyk] Upgrade @typespec/compiler from 0.60.1 to 0.61.2

Snyk has created this PR to upgrade @typespec/compiler from 0.60.1 to 0.61.2.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 26 versions ahead of your current version.

The recommended version was released on a month ago.

Release notes

Package name: @typespec/compiler

0.61.2 - 2024-10-11

0.61.1 - 2024-10-11

0.61.0 - 2024-10-09

0.61.0-dev.24 - 2024-10-09

0.61.0-dev.23 - 2024-10-09

0.61.0-dev.22 - 2024-10-08

0.61.0-dev.21 - 2024-10-07

0.61.0-dev.20 - 2024-10-05

0.61.0-dev.19 - 2024-10-04

0.61.0-dev.18 - 2024-10-04

0.61.0-dev.17 - 2024-10-04

0.61.0-dev.16 - 2024-10-04

0.61.0-dev.15 - 2024-10-04

0.61.0-dev.13 - 2024-10-04

0.61.0-dev.11 - 2024-10-03

0.61.0-dev.10 - 2024-09-26

0.61.0-dev.9 - 2024-09-25

0.61.0-dev.8 - 2024-09-24

0.61.0-dev.7 - 2024-09-21

0.61.0-dev.6 - 2024-09-18

0.61.0-dev.5 - 2024-09-18

0.61.0-dev.4 - 2024-09-17

0.61.0-dev.3 - 2024-09-16

0.61.0-dev.2 - 2024-09-13

0.61.0-dev.1 - 2024-09-12

0.61.0-dev.0 - 2024-09-10

0.60.1 - 2024-09-12

    from @typespec/compiler GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@sylvainsf , fyi..this dependency overlaps and is being handled by Dependabot. We are currently allowing only patch updates for this dependency.


Closing consumer replica causes request timeouts in other consumers

Description
Hi, I currently have 5 Confluent Kafka consumer replicas connected to Eventhubs via the Kafka connector. These consumers are consuming a constant flow of messages. When a pod scales down and a rebalance occurs, I have noticed a 60 second consumption delay for the partitions that were assigned to the scaled down pod. After this 60 seconds, a timeout error occurs and the consumer begins consuming the newly acquired partitions.

Running in K8s with the dotnet/sdk:6.0-bullseye-slim image
Confluent Kafka 2.1.1

For the purposes of testing, I replicated this issue with 2 pods scaling down to 1:
Consumer 1: Partitions 2, 3, 4
Consumer 2: Partitions 1, 2
17:49:51 Consumer 2 shuts down
17:49:53 Rebalance starts
17:49:54 Consumer 1 continues processing 2, 3, 4
17:50:55 Consumer 1 gets two timeout errors, then immediately begins processing partitions 1, 2
Consumer shut down code:
      _consumer.Close();
      _consumer.Dispose();

Consumer Options:
      BootstrapServers = bootstrapServers,
      GroupId = “ConsumerGroup”
      SecurityProtocol = SecurityProtocol.Ssl,
      SslCaLocation = caRootPath,
      SslCertificateLocation = certificatePath,
      SslKeyLocation = keyfilePath,
      EnableAutoCommit = true,
      AutoOffsetReset = AutoOffsetReset.Earliest,
      LogConnectionClose = false,
      EnableAutoOffsetStore = false,
      AutoCommitIntervalMs = 5000

Consumer code:
      while (true)
      {
        var cr = _consumer.Consume(stoppingToken);
        _logger.LogDebug("Kafka consumed message");
        await messageHandler(cr.Topic, cr.Partition.Value, cr.Offset.Value, cr.Message.Key, cr.Message.Value);

        try
        {
          _consumer.StoreOffset(cr);
        }
        catch (KafkaException e)
        {
          _logger.LogCritical(ERROR_KAFKA_COMMIT, e);
        }

        if (stoppingToken.IsCancellationRequested)
        {
          _logger.LogDebug("Kafka consumption canceled through cancellation token");
          throw new OperationCanceledException();
        }
      }

Error log
Specific error:
2023-06-12T17:50:55.067643408Z       Kafka consumer connection log Message: [thrd:sasl_ssl://eventhub.servicebus.windows.net:9093/b]: sasl_ssl://eventhub.servicebus.windows.net:9093/0: Timed out FetchRequest in flight (after 61055ms, timeout #0)

2023-06-12T17:50:55.067669208Z       Kafka consumer connection log Message: [thrd:sasl_ssl://eventhub.servicebus.windows.net:9093/b]: sasl_ssl://eventhub.servicebus.windows.net:9093/0: Fetch backoff for 500ms: Local: Timed out

2023-06-12T17:50:55.067696008Z       Kafka consumer connection log Message: [thrd:sasl_ssl://eventhub.servicebus.windows.net:9093/b]: sasl_ssl://eventhub.servicebus.windows.net:9093/0: Timed out 1 in-flight, 0 retry-queued, 0 out-queue, 0 partially-sent requests

2023-06-12T17:50:55.068285711Z       Kafka consumer connection log Message: [thrd:sasl_ssl://eventhub.servicebus.windows.net:9093/b]: sasl_ssl://eventhub.servicebus.windows.net:9093/0: 1 request(s) timed out: disconnect (after 973904ms in state UP)

Please let me know if a larger log sample would be helpful.
Checklist
Please provide the following information:

[ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
[x] Confluent.Kafka nuget version.
[ ] Apache Kafka version.
[x] Client configuration.
[x] Operating system.
[x] Provide logs (with "debug" : "..." as necessary in configuration).
[ ] Provide broker log excerpts.
[ ] Critical issue.

What's the issue here? You can tune session.timeout.ms and heartbeat.interval.ms if you want to detect the failures fast. Check https://github.com/confluentinc/librdkafka/blob/master/CONFIGURATION.md


DeezerPlaylist download doesn't work & language specific sites are not supported

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.11.07. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.11.07

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.deezer.com/playlist/65490170']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2018.11.07
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg 3.3.3, ffprobe 3.3.3
[debug] Proxy map: {}
[DeezerPlaylist] 65490170: Downloading webpage
WARNING: unable to extract preview URL pattern; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
ERROR: An extractor error has occurred. (caused by KeyError('MD5_ORIGIN',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpj6iiia1g\build\youtube_dl\extractor\common.py", line 508, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpj6iiia1g\build\youtube_dl\extractor\deezer.py", line 60, in _real_extract
KeyError: 'MD5_ORIGIN'
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpj6iiia1g\build\youtube_dl\extractor\common.py", line 508, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpj6iiia1g\build\youtube_dl\extractor\deezer.py", line 60, in _real_extract
KeyError: 'MD5_ORIGIN'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpj6iiia1g\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpj6iiia1g\build\youtube_dl\extractor\common.py", line 521, in extract
youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('MD5_ORIGIN',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description of your issue, suggested solution and other information
When trying to download a Deezer Playlist, the following issues occur:

URLs that look like this don’t work: “https://deezer.com/de/” (region specific URLs)
If you try to remove the “de” part and download a playlist like “https://www.deezer.com/playlist/65490170” it still doesn’t work

I'm so sorry for this mess, this is my firs bug report on github


i need help for browser.py encrypt and decrypt

hi
please tell me what is data and key in def encrypt(data, key):
i solve virtual captcha and need sending post request with guess parameters like ct iv and c
please help me thanks a lot

The encrypt and decrypt is AES Crypto for the BDA.
What is the virtual captcha that you need help solving?


feat: optimize Godwoken finality mechanism

Motivation & Overview
https://talk.nervos.org/t/optimize-godwoken-finality-and-on-chain-cost/6739
Implementation Note
Summary
The finality mechanism determines whether an entity has been finalized or not.
Entities that require finality checking must contain an attribution indicating their occuration time, which can be found in godwoken.mol:

Entity
Occuration Attribution

custodian_state_cell
deposit_block_number

withdrawal_state_cell
withdrawal_block_number

stake_state_cell
stake_block_number

Convention
In order to denote entities' occurrences, we define a compatible type, Timepoint:
pub enum Timepoint {
	BlockNumber(/* block_number: */ u64),
	Timestamp(/* timestamp: */ u64),
}

impl Timepoint {
    const MASK: u64 = 1 << 63;

    pub fn from_full_value(full_value: u64) -> Self {
        let is_block_number = (Self::MASK & full_value) == 0;
        if is_block_number {
            Timepoint::BlockNumber(full_value)
        } else {
            Timepoint::Timestamp(Self::MASK ^ full_value)
        }
    }

    pub fn full_value(&self) -> u64 {
        match self {
            Timepoint::BlockNumber(block_number) => *block_number,
            Timepoint::Timestamp(timestamp) => Self::MASK | *timestamp,
        }
    }
}

On-Chain Scripts

Rollup_state_cell.global_state.tip_block_timestamp equals to l2block.timestamp, same as before.
Rollup_state_cell.global_state.last_finalized_block_number

is block-number-based, equals to l2block.number - CONSTANT when global_state.version < 2;
is timestamp-based, equals to the max timestamp of header_deps, when global_state.version >= 2.

Determine finality of these entities by comparing their occuration attributions to rollup_state_cell's last_finalized_block_number.

Ready for review @zeroqn @jjyr


Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.

After updating to  v1.0.0-beta.9 I have the following error:

I read the https://github.com/react-community/react-navigation/releases but can't see to which one is this error related. Can someone pointed me out?
EDIT: It happens only in this snippet:
const Tabs = TabNavigator(
	{
		TabOneNavigation: { screen: TabOneNavigation },
		TabTwoNavigation: { screen: TabTwoNavigation },
		TabThreeNavigation: { screen: TabThreeNavigation },
	},
	{
		tabBarComponent: props => {
			const backgroundColor = props.position.interpolate({
				inputRange: [0, 1, 2],
				outputRange: ['white', Colors.greenLightGradient, 'white'],
			});

			return (
				<TabView.TabBarTop
					{...props}
					style={{ backgroundColor }}
				/>
			);
		},
	}
);

export default Tabs;

More of the error says:

Check the render method of tabBarComponent.

Thank you in advanced!

software
version

react-navigation
v1.0.0-beta.9

react-native
0.43

Try import { TabBarTop } from 'react-native' and use <TabBarTop ... instead of <TabView.TabBarTop...

@aalices It works perfectly! Thank you so much!!!

I have used following code

Have the same problem here

Here is my code:
import React, { Component } from "react";
import { StyleSheet, Text, View, TextInput, Image, BackgroundImage } from "react-native";
import Forecast from "./Forecast";
import OpenWeatherMap from "./open_weather_map";
class WeatherProject extends Component {
constructor(props) {
super(props);
this.state = { zip: "", forecast: null };
}
_handleTextChange = event => {
let zip = event.nativeEvent.text;
OpenWeatherMap.fetchForecast(zip).then(forecast => {
this.setState({ forecast: forecast });
});
};
render() {
let content = null;
if (this.state.forecast !== null) {
content = (

);
}
return (

<BackgroundImage
source={require("./flowers.png")}
resizeMode="cover"
style={styles.backdrop}
>

Current weather for

<TextInput
style={[styles.zipCode, styles.mainText]}
onSubmitEditing={this._handleTextChange}
underlineColorAndroid="transparent"
/>

{content}

);
}
}
const baseFontSize = 16;
const styles = StyleSheet.create({
container: { flex: 1, alignItems: "center", paddingTop: 30 },
backdrop: { flex: 1, flexDirection: "column" },
overlay: {
paddingTop: 5,
backgroundColor: "#000000",
opacity: 0.5,
flexDirection: "column",
alignItems: "center"
},
row: {
flexDirection: "row",
flexWrap: "nowrap",
alignItems: "flex-start",
padding: 30
},
zipContainer: {
height: baseFontSize + 10,
borderBottomColor: "#DDDDDD",
borderBottomWidth: 1,
marginLeft: 5,
marginTop: 3
},
zipCode: { flex: 1, flexBasis: 1, width: 50, height: baseFontSize },
mainText: { fontSize: baseFontSize, color: "#FFFFFF" }
});
export default WeatherProject;

Hi, I got the same error. But I could solve it. I changed only
import CardSection from './common';
to
import { CardSection } from './common';
Here common is a folder. I import all the files using only index.js file. So, if you have done the same thing , try editing the code like mine.

some kind of whitespace that was not the standard white space was left by code I copied from the internet. I removed everything between component tags and it started working

import React from 'react';
import { Card } from 'antd';
import { Router, Route, Link } from 'react-router';
import styles from "../components/Content.css";
export default class Content extends React.Component {
constructor() {
super();
this.state = {
news: ''
};
}
componentWillMount() {
var myFetchOptions = {
method: 'GET'
};
fetch("http://localhost:8080/products", myFetchOptions)
  .then(response => response.json())
  .then(json => this.setState({news: json}));

}
render() {
const { news } = this.state;
const newsList = news.length
  ?
  news.map((newsItem, index) =>

      <Link target="_blank">
        {newsItem.name+ newsItem.id}
      </Link>

  )
  :
  '没有加载到任何新闻';

return (

    <Card
      title="焦点新闻" headStyle={{ color: "#1D4C90" }}
      extra={More}
      style={{ width: 300 }}
    >

        {newsList}

    </Card>

);

}
}

import * as React from 'react';
import { Provider } from 'react-redux';
import { createStore, applyMiddleware} from 'redux';
import ReduxThunk from 'redux-thunk';
import { Router, Scene } from 'react-native-router-flux';
import reducers from './app/reducers';
import Autenticacao from './app/views/Autenticacao';
export default class App extends React.Component {
render() {
return (
<Provider store={createStore(reducers, {}, applyMiddleware(ReduxThunk))}>

);
}
}
This error is returning me
*Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
Invariant Violation: Minified React error #130; visit [snack internals]
at [snack internals]
at a ([snack internals]
at Vr ([snack internals]
at d ([snack internals]
at f ([snack internals]
at [snack internals]
at Ei ([snack internals]
at Qi ([snack internals]
at za ([snack internals]
at Ja (https://s3.us-west-1.amazonaws.com/snack-web-player-staging/34/static/js/2.904b0b11.chunk.js:1:1055682)
https://snack.expo.io/H1WB03fuS
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: rgs[{=undefined.rgs[)=
This error only contains when I run on snack.expo
Someone same tell me what's going on


Update TROUBLESHOOTING.md

Summary
The previous Linear URLs were no longer valid and redirected to the profile page (https://linear.app/settings/account/profile)

Great catch, @jharrell!


Parameter assignment of QuantumCircuitdoes not update the data attribute when inplace=True

Environment

Qiskit version: 1.2.4
Python version: 3.10
Operating system: Mac OS Sequoia

What is happening?
When writing the following:
import numpy as np

from qiskit.circuit.library import TwoLocal

num_qubits = 6
n_layers = 4

qc = TwoLocal(num_qubits, "rx", "cx", entanglement=[[(0, 1), (2, 3), (4, 5)], [(1, 2), (3, 4)]], reps=n_layers, flatten=True, skip_unentangled_qubits=True, skip_final_rotation_layer=True)
qc.assign_parameters(rotation_angles, inplace=True)
print(qc.data)

we get:
[CircuitInstruction(operation=Instruction(name='rx', num_qubits=1, num_clbits=0, params=[ParameterVectorElement(θ[0])]), qubits=(Qubit(QuantumRegister(6, 'q'), 0),), clbits=()), CircuitInstruction(operation=Instruction(name='rx', num_qubits=1, num_clbits=0, params=[ParameterVectorElement(θ[1])]), ...]

Meaning that instructions still store the reference to the original Parameters, which should have been replaced by the values.
This behavior does not appear when doing
qc=qc.assign_parameters(rotation_angles, inplace=False)

where in this case the binding is clearly visible on the instructions
How can we reproduce the issue?
import numpy as np

from qiskit.circuit.library import TwoLocal

num_qubits = 6
n_layers = 4

qc = TwoLocal(num_qubits, "rx", "cx", entanglement=[[(0, 1), (2, 3), (4, 5)], [(1, 2), (3, 4)]], reps=n_layers, flatten=True, skip_unentangled_qubits=True, skip_final_rotation_layer=True)

rotation_angles = np.random.random(qc.num_parameters)
qc.assign_parameters(rotation_angles, inplace=True)
print(qc.data)

What should happen?
Instructions should be binded with the numeric values in both cases. One should therefore take care of the inplace=True case to match the other case.
Any suggestions?
No response

It looks like this is caused by the caching of Python gates in the Rust-side CircuitData. Likely the cache is not properly cleared and the gate re-uses the old definition. Until we fix this, you can turn the caching off by installing Qiskit from source and then do
export QISKIT_NO_CACHE_GATES=1   <-- tell Qiskit not to cache gates
python setup.py build_rust --inplace --release  <-- rebuild Rust in release mode


Is it possible to show previews of previous/next item?

Is it possible? I made this illustration to show what I mean:

Here's some more info about it being implemented in iOS:
https://stackoverflow.com/questions/41284846/how-to-use-uipageviewcontroller-to-also-display-a-part-of-the-previous-and-next
And this issue seems to indicate it's possible on Android by setting negative InterPageSpacing:
https://github.com/alexrainman/CarouselView/issues/463

I, too, would love to see this implementation!

This is not easy as it is no supported by the “under the hood native control” but, i think i can come up with a workaround. It won’t be there for next release.


[Ukrainian] Add initial translations

Gogogogogogogogoooooooo

Woof woof

Please update this to include ":uk: UK":
https://github.com/grammyjs/website/blob/a7671a28bb8b22227ccd86dc3cdbf278e5d8d97c/.github/workflows/translation-guard.yml#L20

Done.

Can one of you make a PQ to update this as well? :)

Done.  I'm looking forward to reviewing this tomorrow.


Bot doesnt auto start a new game after game is completed.

Hello brother , was trying out your bot , it used to work fine for like 1-3 months . However recently,  after a game ended the lol bot will crash at the page asking people to honor the players. Any idea what is the reason ? Thanks!!

Me too

anyway i found a way to fix it on my own .... i wrote a script to click the start bot button when league of legends in game client closes . so its a band aid fix

How ??? help me.

Can you give me that script ?? Please.

I should be able to get a fix out sometime soon. It's been a very busy summer for me.

I should be able to get a fix out sometime soon. It's been a very busy summer for me.

When you can do :'(:'(. I just buy ticket.

roarnoob can you help us please give me script

Are you able to level up the account without getting permanently banned? If so, how? I've already lost 3 accounts...

You can solve this problem by not honoring anyone. I guess there is problem with the API.
    def honor_player(self) -> None:
        self.connection.request('post', '/lol-honor-v2/v1/honor-player', data={"summonerId": 0})  # will clear honor screen
        return

This way, it doesn't break the loop.

Should be fixed with the latest release


[WT-574] Fix refunded order items do not show in a contacts order history

Description
When an order is refunded, it calls orderCancel, which sets refunded: true, but it also sets eventtickets to an empty array. This is what is causing the orderitems on the contact page to be empty after a refund.
Risks
It could be that eventtickets is set to empty array for some other reason I'm unaware of, but if the intent is for the tickets bought to be shown in the contacts page after a refund, then this can't be done I believe.
Validation
I made a test purchase, refunded that order, then verified that the refund was set to yes, and the order items were listed.
Issue
Link to corresponding issue
Operating System
Windows 11

I believe that the eventtickets are used to determine how many tickets are available for a show. If a ticket is refunded, then we don't want to count that as a sold ticket anymore. I didn't look at the logic but that does look to be the case after a cursory pulling down of the branch and refunding an order

I believe that the eventtickets are used to determine how many tickets are available for a show. If a ticket is refunded, then we don't want to count that as a sold ticket anymore. I didn't look at the logic but that does look to be the case after a cursory pulling down of the branch and refunding an order

I've tried some approaches to fix this, but I'm pretty much at a loss as to how to fix this and preserve all the functionality. Mainly I tried to add a refunded field to the eventticket itself, so that I could say a ticket was sold if it had referenced eventtickets and it was not refunded, but getOrderItems will only consider a ticket available if its singleticket_fk is null I believe, and because of that, I see no obvious way to preserve the event data while also considering the ticket available, since the only way would be to have a singleticket_fk which leads to the event details, but that would make the ticket be considered as sold. To that effect I'm going to put this back to the backlog, and hopefully someone who is more familiar with the structure of the ticketing system can figure out a solution.

I believe that the eventtickets are used to determine how many tickets are available for a show. If a ticket is refunded, then we don't want to count that as a sold ticket anymore. I didn't look at the logic but that does look to be the case after a cursory pulling down of the branch and refunding an order

I've tried some approaches to fix this, but I'm pretty much at a loss as to how to fix this and preserve all the functionality. Mainly I tried to add a refunded field to the eventticket itself, so that I could say a ticket was sold if it had referenced eventtickets and it was not refunded, but getOrderItems will only consider a ticket available if its singleticket_fk is null I believe, and because of that, I see no obvious way to preserve the event data while also considering the ticket available, since the only way would be to have a singleticket_fk which leads to the event details, but that would make the ticket be considered as sold. To that effect I'm going to put this back to the backlog, and hopefully someone who is more familiar with the structure of the ticketing system can figure out a solution.


[Fundamentals] Rename master branch to main

Main branch
An inclusive new default
New repos created within Microsoft orgs now have the default branch name of 'main'.
Teams are encouraged to rename their default branches if they are still using the 'master' branch name. This is an important, but not urgent, change.
See more:
https://repos.opensource.microsoft.com/

Closed in the latest release.


ISPN-16235: Doc edits for topology set-stable command

https://issues.redhat.com/browse/ISPN-16235

Thanks, @wfink for the review! I've made the suggested updates, can you please have a look?
best,
ashwin


Runkit not installing for unit tests on PHP7

Log is included below, it appears runkit is unable to install.  Filing for investigation and possible push upstream

downloading
runkit-1.0.4.tgz ...
Starting to download runkit-1.0.4.tgz (103,274 bytes)
........................done: 103,274 bytes
17 source files, building
running: phpize
Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012
building in /tmp/pear/install/pear-build-travisIYi8B6/runkit-1.0.4
running: /tmp/pear/install/runkit/configure --with-php-config=/home/travis/.phpenv/versions/7.0.4/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /home/travis/.phpenv/versions/7.0.4
checking for PHP includes... -I/home/travis/.phpenv/versions/7.0.4/include/php -I/home/travis/.phpenv/versions/7.0.4/include/php/main -I/home/travis/.phpenv/versions/7.0.4/include/php/TSRM -I/home/travis/.phpenv/versions/7.0.4/include/php/Zend -I/home/travis/.phpenv/versions/7.0.4/include/php/ext -I/home/travis/.phpenv/versions/7.0.4/include/php/ext/date/lib
checking for PHP extension directory... /home/travis/.phpenv/versions/7.0.4/lib/php/extensions/no-debug-zts-20151012
checking for PHP installed headers prefix... /home/travis/.phpenv/versions/7.0.4/include/php
checking if debug is enabled... no
checking if zts is enabled... yes
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking whether to enable runkit support... yes, shared
checking wheter to enable runtime manipulation of functions/classes/constants... inherit
checking whether to enable registration of user-defined autoglobals... inherit
checking whether to enable Sandbox support... inherit
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/bash /tmp/pear/install/pear-build-travisIYi8B6/runkit-1.0.4/libtool --mode=compile cc -Wdeclaration-after-statement -Werror -Wall -Wno-deprecated-declarations -I. -I/tmp/pear/install/runkit -DPHP_ATOM_INC -I/tmp/pear/install/pear-build-travisIYi8B6/runkit-1.0.4/include -I/tmp/pear/install/pear-build-travisIYi8B6/runkit-1.0.4/main -I/tmp/pear/install/runkit -I/home/travis/.phpenv/versions/7.0.4/include/php -I/home/travis/.phpenv/versions/7.0.4/include/php/main -I/home/travis/.phpenv/versions/7.0.4/include/php/TSRM -I/home/travis/.phpenv/versions/7.0.4/include/php/Zend -I/home/travis/.phpenv/versions/7.0.4/include/php/ext -I/home/travis/.phpenv/versions/7.0.4/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/install/runkit/runkit.c -o runkit.lo
mkdir .libs
cc -Wdeclaration-after-statement -Werror -Wall -Wno-deprecated-declarations -I. -I/tmp/pear/install/runkit -DPHP_ATOM_INC -I/tmp/pear/install/pear-build-travisIYi8B6/runkit-1.0.4/include -I/tmp/pear/install/pear-build-travisIYi8B6/runkit-1.0.4/main -I/tmp/pear/install/runkit -I/home/travis/.phpenv/versions/7.0.4/include/php -I/home/travis/.phpenv/versions/7.0.4/include/php/main -I/home/travis/.phpenv/versions/7.0.4/include/php/TSRM -I/home/travis/.phpenv/versions/7.0.4/include/php/Zend -I/home/travis/.phpenv/versions/7.0.4/include/php/ext -I/home/travis/.phpenv/versions/7.0.4/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/install/runkit/runkit.c  -fPIC -DPIC -o .libs/runkit.o
In file included from /tmp/pear/install/runkit/runkit.c:22:0:
/tmp/pear/install/runkit/php_runkit.h: In function ‘php_runkit_modify_function_doc_comment’:
/tmp/pear/install/runkit/php_runkit.h:320:29: error: assignment from incompatible pointer type [-Werror]
/tmp/pear/install/runkit/php_runkit.h:321:16: error: ‘zend_op_array’ has no member named ‘doc_comment_len’
/tmp/pear/install/runkit/php_runkit.h: In function ‘PHP_RUNKIT_ADD_MAGIC_METHOD’:
/tmp/pear/install/runkit/php_runkit.h:462:17: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:463:26: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:464:57: error: ‘zend_class_entry’ has no member named ‘name_length’
/tmp/pear/install/runkit/php_runkit.h:464:3: error: passing argument 2 of ‘zend_str_tolower_copy’ from incompatible pointer type [-Werror]
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_operators.h:341:37: note: expected ‘const char *’ but argument is of type ‘struct zend_string *’
/tmp/pear/install/runkit/php_runkit.h: In function ‘php_runkit_parse_doc_comment_arg’:
/tmp/pear/install/runkit/php_runkit.h:540:3: error: implicit declaration of function ‘Z_TYPE_PP’ [-Werror=implicit-function-declaration]
/tmp/pear/install/runkit/php_runkit.h:541:4: error: implicit declaration of function ‘Z_STRVAL_PP’ [-Werror=implicit-function-declaration]
/tmp/pear/install/runkit/php_runkit.h:541:18: error: assignment makes pointer from integer without a cast [-Werror]
/tmp/pear/install/runkit/php_runkit.h:542:4: error: implicit declaration of function ‘Z_STRLEN_PP’ [-Werror=implicit-function-declaration]
/tmp/pear/install/runkit/php_runkit.h: In function ‘php_runkit_parse_args_to_zvals’:
/tmp/pear/install/runkit/php_runkit.h:557:2: error: passing argument 2 of ‘_zend_get_parameters_array_ex’ from incompatible pointer type [-Werror]
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_API.h:250:14: note: expected ‘struct zval *’ but argument is of type ‘struct zval ***’
/tmp/pear/install/runkit/php_runkit.h: In function ‘php_runkit_parse_function_arg’:
/tmp/pear/install/runkit/php_runkit.h:571:2: error: implicit declaration of function ‘zend_get_class_entry’ [-Werror=implicit-function-declaration]
/tmp/pear/install/runkit/php_runkit.h:571:94: error: comparison between pointer and integer [-Werror]
/tmp/pear/install/runkit/php_runkit.h:577:14: error: assignment makes pointer from integer without a cast [-Werror]
/tmp/pear/install/runkit/php_runkit.h:583:12: error: assignment makes pointer from integer without a cast [-Werror]
/tmp/pear/install/runkit/php_runkit.h: At top level:
/tmp/pear/install/runkit/php_runkit.h:654:3: error: unknown type name ‘zend_uint’
/tmp/pear/install/runkit/php_runkit.h:655:3: error: unknown type name ‘zend_uint’
/tmp/pear/install/runkit/php_runkit.h:687:1: error: unknown type name ‘zend_object_store_bucket’
/tmp/pear/install/runkit/php_runkit.h: In function ‘php_runkit_zend_object_store_get_obj’:
/tmp/pear/install/runkit/php_runkit.h:689:2: error: unknown type name ‘zend_object_handle’
/tmp/pear/install/runkit/php_runkit.h:690:2: error: return from incompatible pointer type [-Werror]
/tmp/pear/install/runkit/runkit.c: In function ‘zif_runkit_superglobals’:
/tmp/pear/install/runkit/runkit.c:40:3: error: passing argument 2 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Werror]
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_hash.h:168:30: note: expected ‘struct zend_string **’ but argument is of type ‘char **’
/tmp/pear/install/runkit/runkit.c:40:3: error: passing argument 3 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Werror]
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_hash.h:168:30: note: expected ‘zend_ulong *’ but argument is of type ‘uint *’
/tmp/pear/install/runkit/runkit.c:40:3: error: passing argument 4 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Werror]
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_hash.h:168:30: note: expected ‘HashPosition *’ but argument is of type ‘ulong *’
/tmp/pear/install/runkit/runkit.c:40:3: error: too many arguments to function ‘zend_hash_get_current_key_ex’
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_hash.h:168:30: note: declared here
/tmp/pear/install/runkit/runkit.c:40:91: error: ‘HASH_KEY_NON_EXISTANT’ undeclared (first use in this function)
/tmp/pear/install/runkit/runkit.c:40:91: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/install/runkit/runkit.c:43:4: error: too many arguments to function ‘add_next_index_stringl’
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_API.h:433:14: note: declared here
/tmp/pear/install/runkit/runkit.c: In function ‘zif_runkit_zval_inspect’:
/tmp/pear/install/runkit/runkit.c:65:62: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4
/tmp/pear/install/runkit/runkit.c:65:2: error: ‘add_assoc_stringl’ undeclared (first use in this function)
/tmp/pear/install/runkit/runkit.c:67:2: error: ‘zval’ has no member named ‘refcount__gc’
/tmp/pear/install/runkit/runkit.c:68:2: error: ‘zval’ has no member named ‘is_ref__gc’
/tmp/pear/install/runkit/runkit.c:70:2: error: ‘zval’ has no member named ‘type’
/tmp/pear/install/runkit/runkit.c:56:6: error: variable ‘addr_len’ set but not used [-Werror=unused-but-set-variable]
/tmp/pear/install/runkit/runkit.c: In function ‘_php_runkit_init_stub_function’:
/tmp/pear/install/runkit/runkit.c:175:34: error: assignment from incompatible pointer type [-Werror]
/tmp/pear/install/runkit/runkit.c: In function ‘_php_runkit_feature_constant’:
/tmp/pear/install/runkit/runkit.c:228:9: error: assignment from incompatible pointer type [-Werror]
/tmp/pear/install/runkit/runkit.c:229:3: error: ‘zend_constant’ has no member named ‘name_len’
/tmp/pear/install/runkit/runkit.c: In function ‘php_runkit_register_auto_global’:
/tmp/pear/install/runkit/runkit.c:332:2: error: passing argument 2 of ‘zend_hash_exists’ from incompatible pointer type [-Werror]
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_hash.h:159:34: note: expected ‘struct zend_string *’ but argument is of type ‘char *’
/tmp/pear/install/runkit/runkit.c:332:2: error: too many arguments to function ‘zend_hash_exists’
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_hash.h:159:34: note: declared here
/tmp/pear/install/runkit/runkit.c:341:7: error: passing argument 1 of ‘zend_register_auto_global’ from incompatible pointer type [-Werror]
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_compile.h:773:14: note: expected ‘struct zend_string *’ but argument is of type ‘char *’
/tmp/pear/install/runkit/runkit.c:341:7: error: too many arguments to function ‘zend_register_auto_global’
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_compile.h:773:14: note: declared here
/tmp/pear/install/runkit/runkit.c:344:3: error: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Werror]
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_hash.h:154:30: note: expected ‘struct zend_string *’ but argument is of type ‘char *’
/tmp/pear/install/runkit/runkit.c:344:3: error: too many arguments to function ‘zend_hash_find’
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_hash.h:154:30: note: declared here
/tmp/pear/install/runkit/runkit.c:359:71: error: macro "zend_hash_next_index_insert" passed 4 arguments, but takes just 2
/tmp/pear/install/runkit/runkit.c:359:3: error: ‘zend_hash_next_index_insert’ undeclared (first use in this function)
/tmp/pear/install/runkit/runkit.c: In function ‘php_runkit_superglobal_dtor’:
/tmp/pear/install/runkit/runkit.c:417:2: error: passing argument 2 of ‘zend_hash_del’ from incompatible pointer type [-Werror]
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_hash.h:146:28: note: expected ‘struct zend_string *’ but argument is of type ‘char *’
/tmp/pear/install/runkit/runkit.c:417:2: error: too many arguments to function ‘zend_hash_del’
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_hash.h:146:28: note: declared here
/tmp/pear/install/runkit/runkit.c: In function ‘zm_deactivate_runkit’:
/tmp/pear/install/runkit/runkit.c:436:3: error: passing argument 2 of ‘zend_hash_apply’ from incompatible pointer type [-Werror]
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_hash.h:132:29: note: expected ‘apply_func_t’ but argument is of type ‘int (*)(void *)’
/tmp/pear/install/runkit/runkit.c:446:3: error: passing argument 2 of ‘zend_hash_apply’ from incompatible pointer type [-Werror]
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_hash.h:132:29: note: expected ‘apply_func_t’ but argument is of type ‘int (*)(void *)’
/tmp/pear/install/runkit/runkit.c:454:154: error: expected expression before ‘)’ token
/tmp/pear/install/runkit/runkit.c:454:154: error: passing argument 2 of ‘zend_hash_apply_with_arguments’ from incompatible pointer type [-Werror]
/home/travis/.phpenv/versions/7.0.4/include/php/Zend/zend_hash.h:134:29: note: expected ‘apply_func_args_t’ but argument is of type ‘int (*)(void *, int,  struct __va_list_tag *, struct zend_hash_key *)’
/tmp/pear/install/runkit/runkit.c:464:18: error: initialization from incompatible pointer type [-Werror]
/tmp/pear/install/runkit/runkit.c:467:4: error: implicit declaration of function ‘ALLOC_ZVAL’ [-Werror=implicit-function-declaration]
/tmp/pear/install/runkit/runkit.c:468:24: error: lvalue required as left operand of assignment
/tmp/pear/install/runkit/runkit.c:469:4: error: implicit declaration of function ‘Z_SET_REFCOUNT_PP’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make: *** [runkit.lo] Error 1
ERROR: make' failed

Entirely an upstream issue.  See zenovich/runkit#87.


Disable with switch

Allow disabling Circadian Daylight with a switch. My use case is to prevent color temperatures from being changed while a Harmony activity is on, but this would also allow other SmartApps to control Circadian Daylight without having to mess with modes.

I like this change.  Great addition.


Android Compatibility

Hi there,
While testing your project I found two bugs happening with Sony ST2i running Android 4.0.4 (15). The fist seems easy to solve it's a matter of color, the color of the selected spinner is not set gradually: you directly something grey like this:

The second issue is more critical, you cannot select a displayed value on this phone, the click do not respond...
Step to reproduce:

Click on the spinner
Click on proposed values
Expected behaviour:
Value is selected and replaces the old-selected value.
Current behaviour:
Nothing happens

BTW: I created a project with a sample which compiles directly when you put it in Android Studio (I fixed some bugs of yours). If someone is interested: https://github.com/lolobosse/nice_spinner_demo

Hey @lolobosse, nice one! I will investigate on these. The main issue is that I have no access to Icecream devices, so I might take a while. If you discover some way to fix these, feel free to approach me or do a PR! :)

I think it could be possible to reproduce that in emulator.
Try that out and I've an access to some 4.0.x devices, so I'll try to figure out what's going on ...

That second one (the critical) should be solved with<PHONE_NUMBER>248f2248b15762c050f669c6754add, can you check?

Cannot yet, I'm on holidays in the middle of Scotland without internet and
without my API 15 device...
I'm back in two weeks
Am 08.08.2015 1:34 nachm. schrieb "Angelo Marchesin" <
<EMAIL_ADDRESS>
That second one (the critical) should be solved with 7859190
https://github.com/arcadefire/nice-spinner/commit/7859190131248f2248b15762c050f669c6754add,
can you check?
—
Reply to this email directly or view it on GitHub
https://github.com/arcadefire/nice-spinner/issues/3#issuecomment-128973439
.

How do I include this library in my project. what should I add in 'build.gradle'?

@i-Rohan

Please create a separate issue for that
There is no gradle build that I know, you have to clone and include as a submodule.

I'm not sure if this I still valid, any news?

@arcadefire: no idea, I'll try to give a try in the next days. I'm at the office tomorrow


Update Ad

I try to update an ad using AdService/MutateAds
if the ad type is EXTENDED_TEXT_AD the service works correctly.
if the ad type is GMAIL_AD the service fails.
By the following the request and the response:
Request
MethodName: google.ads.googleads.v2.services.AdService/MutateAds
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=XXXXXX, x-goog-api-client=gl-java/1.8.0_201 gapic/ gax/ grpc/}
Body: customer_id: "XXXXXX"
operations {
update {
final_urls {
value: "XXXXXX"
}
type: GMAIL_AD
tracking_url_template {
value: "XXXXXX"
}
resource_name: "customers/XXXXXX/ads/XXXXXX"
}
update_mask {
paths: "resource_name"
paths: "final_urls"
paths: "tracking_url_template"
paths: "type"
}
}
Response
Headers: Metadata(content-type=application/grpc,request-id=r1ZL8RaOBYJpVdl-3dvpEA,date=Thu, 08 Aug 2019 14:54:14 GMT,alt-svc=quic=":443"; ma=2592000; v="46,43,39")
Body: null
Failure message: errors {
error_code {
ad_error: INVALID_AD_TYPE
}
message: "Invalid Ad type. A specific type of Ad is required."
trigger {
string_value: ""
}
location {
field_path_elements {
field_name: "operations"
index {
}
}
field_path_elements {
field_name: "update"
}
field_path_elements {
field_name: "resource_name"
}
}
}

Please ask this question on the forum - it's not directly related to the Java client library.


Context - possibility to connect to non-context hub

important for things like a cms
call it 'original' or something, or maybe just false

false it is


Lambda function to remove old AMIs not working as expected

Whilst testing python 3.7 -> 3.11 upgrade I noticed the AMI to clean up old AMIs is not working.  Having checked this bug wasn't introduced by the python upgrade I can see in Cloudwatch logs it existed when running the Python 3.7 version too.
It seems that old AMIs aren't being de-registered, therefore the snapshots cannot be deleted: -

This doesn't work but EC2 Image Builder now supports this functionality natively - https://github.com/aws-deepracer-community/deepracer-on-the-spot/pull/100
Clsoe ticket once merged

Pr merged, closing


[backport] Ignore scipy<1.0 is warned by using deprecated feature of numpy>=1.15

Backport of #5471

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 3da0be40290d8c13a39281a6cc3c66692f43a5e9, target branch v5) succeeded!

The Travis failure (TestTriplet_param_27.test_double_backward_cpu) is unrelated to the PR.


Set up Feedback messages for Rabbit and Slack

This follows the pattern for existing topics and adds the configuration for "Feedback" messages coming from Gravity.
(This also includes some documentation updates about things we fumbled through while setting up the project)

I'm wondering if we could eliminate the need for APRB to change with every new topic/event we care about. Could Slack users just subscribe to a given topic and routing key expression, with APRB starting an associated worker if necessary? (Not a swap suggestion, just thinking...)

that would be ideal, i think in general it makes sense to allow to subscribe to specific verb/routing key eventually.
We do have a table of all existing Topics, technically we could just get all topics from that table and have APRB subscribe to each one on RabbitMQ, but still for any new topics we need to handle how we want to show the slack message. Unless we come up with a generic message format.


create make command to run litmus tests

to make it even easier to run the litmus tests, hide the complexity behind a make command
https://github.com/cs3org/reva#litmus-tests

Hi @individual-it @ishank011! I thought of giving this a shot. But when I tried to run the tests locally as per the README provided, I run to error reading the configuration file(s): open storage-oc.toml: no such file or directory.
This is because storage-oc.toml does not exist. I think in the README, we need to change storage-oc.toml to storage-users.toml. Should I open a PR to rectify the change?
And then maybe, I'll try to implement the make command. :)

Should I open a PR to rectify the change?

Yes please. The "ownCloud legacy integration tests" section of README was updated in PR #1452 but the "litmus tests" section was missed!


k3d grid disappears on detached widget

when using the k3d 'detached widget' function the grid disappears and does not come back
I cannot reproduce this error in basic k3d examples so I think it might be related to the way we set the grid limits

It makes sense, that if you were not able to reproduce this without wx widgets, to seek the source of this behaviour here.
What is this detached widget thing any ways?
Where do we set grid limits explicitly? Shouldn't these arise from the given data?

The "detached widget" pops out the k3d plot into it's own browser window.
I tried using it for some screen recordings but it's not really necessary for us I think
We fiddle with the plot limits here
https://github.com/BAMWelDX/weldx-widgets/blob/a981f85a608250e17085286af4195d005d195a8a/weldx_widgets/visualization/csm_k3d.py#L658-L659
But I would leave that part for now until we decide if and how to refactor some of elements of the k3d widget

This was probably solved by k3d=2.16.1 https://github.com/K3D-tools/K3D-jupyter/issues/429


Update peep to 2.2

update peep to 2.2
fix a bug in manage_utils.py where it prints the wrong instructions

r?

wow. soooooo much better :heart:
r+

2ef8099 Update peep to 2.2
Thank you!


Magento 1 Support

Make php-cli, php-cron, and php-fpm containers using  php5.6. This should ensure Magento 1 compatibility.

Nginx should be configured for Magento 1 as well.


Run arbitrary command with env vars

Is there a way to run an arbitrary command with the dotenv-vault env vars injected?
e.g.
dotenv-vault ?something? -- echo $MY_VAR

We currently use dotenv-cli for this purpose

No, but there should be. Adding to our TODOs. We will try to have this ready by the end of the month.

Any update on this?

This would be a great thing especially in monorepos to avoid the integration in all apps/packages with links to the root .env.vault
Instead, we could run app/package scripts directly from the mono repo manager like turbo or nx (even package manager like pnpm) and prefix it with the dotenv-vault command.

It's been many months and we haven't gotten to this.
Everyone, please use @hbriese's library until we do.
Thank you @hbriese!

Our priority at the moment is to add support for .env.vault decryption to dotenv directly. There is an RC candidate:
https://github.com/motdotla/dotenv/tree/v16.1.0-rc1


need panda mangle to avoid copy paster

mangle css is important plz add it

You can mangle the generated css using the hash: true option in panda config.
To further minify, use the minify: true option as well.


Ability to clear the search input after user selects a value

I am trying to clear the search text after selecting the item in list using below line
<ss-multiselect-dropdown [options]="serviceList" [(ngModel)]="serviceSelected" [texts]="myTexts" [settings]="mySettings" (ngModelChange)="clearText($event);"></ss-multiselect-dropdown>

clearText(event : any){
MultiselectDropdown.prototype.clearSearch(event);
}

angular-2-dropdown-multiselect version  ^1.3.1
and getting error
ERROR TypeError: event.stopPropagation is not a function
at Object.MultiselectDropdown.clearSearch (dropdown.umd.min.js:1)

The prototype property in javascript is the "master copy" of a class instance, so your usage of it looks incorrect (static methods are never called via the prototype).  Additionally, I don't see clearSearch as a public API, so I assume you are trying to call an internal API from your own code which is not a supported use case in this or even most libraries.
The dropdown component doesn't provide any callable public methods, so your use case probably requires a new options setup.  I'll update your issue to reflect this.

This might alternatively be better implemented via an exposed api object, that would allow you to call something like "clearSearch".  This alternate route would definitely require some serious thought to implement, but could make this particular use both simple and generic.

We can just expose clearSearch() to be public and then while consuming:
<ss-multiselect-dropdown #dropdown
  [options]="serviceList"
  [(ngModel)]="serviceSelected"
  [texts]="myTexts"
  [settings]="mySettings"
  (ngModelChange)="dropdown.clearSearch()"
></ss-multiselect-dropdown>

NOTE: public clearSearch() method should not take any arguments for the sake of simplicity.

I would propose the search text be a bound property of the control so that you can both read and write the search text by updating the variable it is bound to.
If there is desire for an api I think we need to further explore the concept of the control being in either a controlled mode or uncontrolled mode (similar to react components).
Controlled means you handle the setting and clearing through explicit code - you can  append options, handle the click events (and decide to update your model or not) and clear the selection.
Uncontrolled means everything is handled through change detection and you simply update your backing models, for example clearing selection by setting your model to an empty array (this is how the control currently seems to operate.)
If we implement methods like clearSearch we risk a situation where the bound properties are out of sync with the UI (in cases where there is both a property and a method).
An example of this would be if there was a clearSelection() method that updated the control to unselect the items as the model could still contain the ids of the previously selected items. Trying to keep these in sync can be problematic.

@chris--jones I see what you mean, however to me that approach seems like exposing unnecessary internals of the component and will lead to increased complexity inside the component itself.
Also if component won't expose control of the search text but only the clear method - you will not have any sync issues with UI because component will know how to handle clearing and update UI accordingly.

I'm trying to think of a solution that covers a broad set of use cases.
A clear method is all well and good now until someone wants to pull the search terms out of the control for analytics or control entry and force a particular entry format - these scenarios doesn't seem all that unreasonable to me.
Not saying we shouldn't do a clear method, but if we're going down that path we'll have to accept that it's gotta work one way or another (controlled vs uncontrolled) per area of concern (search text, options, etc) and it might open the floodgates for further enhancement requests (how come I can't call clearOptions() or clearSelections(), etc).

Guys, is there any workaround at the moment?
Also we have slightly different situation to think of.
We have a list of categories. Selecting that loads data into another dropdown with Types for particular category. Now if you search in types dropdown and don't find there what you want, you select differnet category. That will repopulate types dropdown with completely new options. But search remains in there which is irrelevant.
So maybe an internal option for dropdown behviour "ClearSearchOnOptionsChange"=true. would be also nice. Alternativelly we can control clearing by script if we have access to clearSearch() you are suggesting.
Thanks.

I recently modified a bit this component for internal use to access all filter values and came up with just one additional @Output onFilter.
So I guess this would be pretty much enough to cover most of the is cases with filter if we will expose only clear method and one output when filter changes.
With approach we will not expose component internals directly to keep it simple and developer can get limited access to update filter but full access to it's value updates.
What do you think?

Thanks @gund, is there clearFilter method also available now?

Yes, you can call clearSearch(event: Event) method on the component instance with mocked event (can be as just empty object).

@gund, can you link to the relevant pull request in this issue so I can confirm that this issue can be closed?

@nicholasguyett I guess this method was introduced long ago and used internally by the component itself here

Can you please confirm the features is completed or not yet

@ravikzm if calling a method will suffice - you can count as yes =)
See this comment

We can clear the search input & selected items by calling clearSearch() of MultiselectDropdownComponent.
The HTML template code
``
<ss-multiselect-dropdown name="email"
#emailRef
*ngIf="myOptions.length>0"
formControlName="optionsModel"
[options]="myOptions"
[texts]="myTexts"
[settings]="mySettings"
[(ngModel)]="optionsModel"
(ngModelChange)="onSelectEmail($event)"

``
The TypeScript code
``
import { Component, OnInit, ViewChild } from '@angular/core';
import { IMultiSelectOption, IMultiSelectSettings,IMultiSelectTexts } from 'angular-2-dropdown-multiselect';
export class MyComponent implements OnInit {
selectedEmails: Array=[];
mySettings: IMultiSelectSettings = {
buttonClasses: 'btn btn-primary',
dynamicTitleMaxItems:100,
fixedTitle:true,
showUncheckAll: true,
enableSearch:true
};
myTexts: IMultiSelectTexts = {};
myForm: FormGroup;
optionsModel: number[];
myOptions: IMultiSelectOption[]=[];
@ViewChild('emailRef') emailRef: any;
constructor(
private fb: FormBuilder,
) {
this.myForm = this.fb.group({
optionsModel: []
});
}
ngOnInit() {}
onSelectEmail(emails) {
this.selectedEmails=emails;
this.myForm.get("optionsModel").patchValue([]);
this.emailRef.clearSearch();
}
}
``

We can clear the search input & selected items by calling clearSearch() of MultiselectDropdownComponent.
The HTML template code
`
<ss-multiselect-dropdown name="email"
#emailRef
*ngIf="myOptions.length>0"
formControlName="optionsModel"
[options]="myOptions"
[texts]="myTexts"
[settings]="mySettings"
[(ngModel)]="optionsModel"
(ngModelChange)="onSelectEmail($event)"

`
The TypeScript code
`
import { Component, OnInit, ViewChild } from '@angular/core';
import { IMultiSelectOption, IMultiSelectSettings,IMultiSelectTexts } from 'angular-2-dropdown-multiselect';
export class MyComponent implements OnInit {
selectedEmails: Array=[];
mySettings: IMultiSelectSettings = {
buttonClasses: 'btn btn-primary',
dynamicTitleMaxItems:100,
fixedTitle:true,
showUncheckAll: true,
enableSearch:true
};
myTexts: IMultiSelectTexts = {};
myForm: FormGroup;
optionsModel: number[];
myOptions: IMultiSelectOption[]=[];
@ViewChild('emailRef') emailRef: any;
constructor(
private fb: FormBuilder,
) {
this.myForm = this.fb.group({
optionsModel: []
});
}
ngOnInit() {}
onSelectEmail(emails) {
this.selectedEmails=emails;
this.myForm.get("optionsModel").patchValue([]);
this.emailRef.clearSearch();
}
}
`

We can clear the search input & selected items by calling clearSearch() of MultiselectDropdownComponent.

The HTML template code
`<ss-multiselect-dropdown name="email"
#emailRef
*ngIf="myOptions.length>0"
formControlName="optionsModel"
[options]="myOptions"
[texts]="myTexts"
[settings]="mySettings"
[(ngModel)]="optionsModel"
(ngModelChange)="onSelectEmail($event)"

`

The TypeScript code
`import { Component, OnInit, ViewChild } from '@angular/core';
import { IMultiSelectOption, IMultiSelectSettings,IMultiSelectTexts } from 'angular-2-dropdown-multiselect';
export class MyComponent implements OnInit {
selectedEmails: Array=[];
mySettings: IMultiSelectSettings = {
buttonClasses: 'btn btn-primary',
dynamicTitleMaxItems:100,
fixedTitle:true,
showUncheckAll: true,
enableSearch:true
};
myTexts: IMultiSelectTexts = {};
myForm: FormGroup;
optionsModel: number[];
myOptions: IMultiSelectOption[]=[];
@ViewChild('emailRef') emailRef: any;
constructor(
private fb: FormBuilder,
) {
this.myForm = this.fb.group({
optionsModel: []
});
}
ngOnInit() {}
onSelectEmail(emails) {
this.selectedEmails=emails;
this.myForm.get("optionsModel").patchValue([]);
this.emailRef.clearSearch();
}
}`

We can clear the search input & selected items by calling clearSearch() of MultiselectDropdownComponent
The HTML template code
          <ss-multiselect-dropdown name="email"
              #emailRef
              *ngIf="myOptions.length>0"
              formControlName="optionsModel"
              [options]="myOptions"
              [texts]="myTexts"
              [settings]="mySettings"
              [(ngModel)]="optionsModel"
              (ngModelChange)="onSelectEmail($event)"
            ></ss-multiselect-dropdown>

The TypeScript code
import { Component, OnInit, ViewChild } from '@angular/core';
import { IMultiSelectOption, IMultiSelectSettings,IMultiSelectTexts } from 'angular-2-dropdown-multiselect';

export class MyComponent implements OnInit {
selectedEmails: Array<string>=[];
 mySettings: IMultiSelectSettings = {
    buttonClasses: 'btn btn-primary',
    dynamicTitleMaxItems:100,
    fixedTitle:true,
    showUncheckAll: true,
    enableSearch:true
  };
  myTexts: IMultiSelectTexts = {};
  myForm: FormGroup;

  optionsModel: number[];
  myOptions: IMultiSelectOption[]=[];

  @ViewChild('emailRef') emailRef: any;

  constructor(
    private fb: FormBuilder,
  ) {
    this.myForm = this.fb.group({
      optionsModel: []
    });
  }

 ngOnInit() {}

onSelectEmail(emails) {
   this.selectedEmails=emails;
   this.myForm.get("optionsModel").patchValue([]);
    this.emailRef.clearSearch();
}
}


Fix two created action generated on assign task from QAB casusing UX glitch

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/44388
PROPOSAL: https://github.com/Expensify/App/issues/44388#issuecomment-2229875962
Tests

Create a new workspace.
Go to the Admins room.
Create or assign a task to another user by using the + button located on the left side of the composer.
Click on the Quick Action button and complete the task assignment flow.
Verify that there are no UX glitches and that the UI appears normal.

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

Offline tests

QA Steps

Create a new workspace.
Go to the Admins room.
Create or assign a task to another user by using the + button located on the left side of the composer.
Click on the Quick Action button and complete the task assignment flow.
Verify that there are no UX glitches and that the UI appears normal.

[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: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

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

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

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

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

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

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

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

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

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

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

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

Screenshots/Videos

Android: Native
https://github.com/user-attachments/assets/892541b8-9b9e-4271-b98f-1ffedc6581ae

Android: mWeb Chrome
https://github.com/user-attachments/assets/19ebaea6-1502-4de2-97fe-536e5ca1cf29

iOS: Native
https://github.com/user-attachments/assets/2542f080-c23b-44dc-8b31-19353b0b258f

iOS: mWeb Safari
https://github.com/user-attachments/assets/8fdd6be8-e07f-44c2-8479-8cebcf27e227

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/426d0cb6-f62c-4b2e-8ea1-84a01f2247cb

MacOS: Desktop
https://github.com/user-attachments/assets/354cf6a5-2e51-41a1-8d43-17f1de434285

: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/Julesssss in version: 9.0.22-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/chiragsalian in version: 9.0.22-9 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅