Support Kafka MirrorMaker 2.0 to replicate topics between Kafka clusters.

[x] Update the documentation to include this new feature.

[x] Update the CHANGES log.

Kafka provides "MirrorMaker 2.0(MM2)" which leverages the Connect framework to replicate topics between Kafka clusters. This is realy helpful when handling large-scaled services/Multiple Data Centers/Edge Computing.
When skywalking cluster deployed in a Data Center("DC1" for example) and the topics mirrored from other Data Centers will be renamed based on the aliases("DC2.skywalking-metrics etc."):
https://github.com/apache/kafka/tree/trunk/connect/mirror#remote-topics
Adding support to oap kafka module for the renamed topics, set the aliases via application.yml or environment variables. This feature need to set up an oap server for each mirrored Kafka cluster.

Changelog is required to update.

Check CI logs, you are failing nearly all of them.

Why do you change codes on the browser one by one, rather than local change? You are triggering our tests repeatedly, which cost many unnecessary resources. Please don't do this.

It's my fault...  Typing on my mobile phone, forget to switch to my fork. Won't change it anymore.

Please finish the changes when you have your laptop back on hand. We are not hurried about the PR, especially now it is the weekend already.
We need to change codes, repackage, and run local tests to provide application.yml, logs, and screenshots of UI and influxDB data(with config).
After that, we would ask at least one PMC member to verify this manually, as we don't have e2e tests to check automatically.

Pending on @dmsolr review.

LGTM.
Thank you.

LGTM


search on string returns Sql error E42601

Bug description
So basically whenever I try to use the search: {} on a string I get this error:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Db, cause: Some(DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E42601), message: "syntax error in tsquery: \"the string im searching\"", detail: None, hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("tsquery.c"), line: Some(689), routine: Some("makepol") }) }), transient: false })

This has been happening since version 4.5 or so.
How to reproduce
Not sure if this can be reproduced....
Expected behavior
Being able to use search: {} without any errors and getting a result.
Prisma information
generator client {
  provider        = "prisma-client-js"
  binaryTargets   = ["native", "linux-musl"]
  previewFeatures = ["fullTextSearch", "fieldReference", "tracing", "metrics"]
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model user {
  id Int @id @unique @default(autoincrement())
  username String
}

const user = await this.prisma.user.findFirst({
            where: {
                OR: [
                    {
                        id: Number(id) || 0
                    },
                    {
                        username: {
                            search: String(id)
                        }
                    }
                ]
            }
        });

Environment & setup

OS: Ubuntu 22.04
Database: Postgres 14.5
Node.js version: 18.14.2

Prisma Version
prisma                  : 4.10.1
@prisma/client          : 4.10.1
Current platform        : linux-musl-openssl-3.0.x
Query Engine (Node-API) : libquery-engine aead147aa326ccb985dcfed5b065b4fdabd44b19 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli aead147aa326ccb985dcfed5b065b4fdabd44b19 (at<EMAIL_ADDRESS>Format Wasm             : @prisma/prisma-fmt-wasm 4.10.1-1.80b351cc7c06d352abe81be19b8a89e9c6b7c110
Default Engines Hash    : aead147aa326ccb985dcfed5b065b4fdabd44b19
Studio                  : 0.481.0
Preview Features        : fullTextSearch, tracing, metrics, fieldReference

I'm having the same issue, In my case, it is happening with any search using the orderBy _relevance, my stack trace is:
clientVersion: 4.8.0
\nInvalid this.prisma.job.findMany() invocation in\n/coderepo/myclass.repository.js:34:54\n\n  31 }\n  32 findMany(params) {\n  33     return __awaiter(this, void 0, void 0, function* () {\n→ 34         const results= yield this.prisma.myentity.findMany(\nError occurred during query execution:\nConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Db, cause: Some(DbError { severity: \"ERROR\", parsed_severity: Some(Error), code: SqlState(E42601), message: \"syntax error in tsquery: \\\"software developer\\\"\", detail: None, hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some(\"tsquery.c\"), line: Some(726), routine: Some(\"makepol\") }) }) })
prisma.myentity.findmany({
where: {...},
orderBy: [
  {
    _relevance: {
      fields: ['title', 'description'],
      search: 'test',
      sort: 'asc',
    }
  },
})

I'm getting the same error with Prisma 4.13.0.

i was able to fix this by adding .toLowerCase() to my string

further testing shows that spaces become the problem, any reason as to why @ Prisma Team?

I'm also getting this error when I'm searching for text with "!". Is there an easy to parse a user's input to removes potential query operators? Or perhaps just have a 'raw' search mode that ignores query operators.

from what ive seen it appears that spaces, uppercase letters, maybe numbers (need to test) and special characters cause this error

I am facing the same type of error with a different error code. the log format is flatted stringify format.
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Db, cause: Some(DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E40P01), message: "deadlock detected", detail: Some("Process 7627 waits for ShareLock on transaction 920972; blocked by process 6362.\nProcess 6362 waits for ShareLock on transaction 921008; blocked by process 6359.\nProcess 6359 waits for ExclusiveLock on tuple (3,48) of relation 1191426 of database 14717; blocked by process 7627."), hint: Some("See server log for query details."), position: None, where_: Some("while updating tuple (3,48) in relation "user_fiat_balances""), schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("deadlock.c"), line: Some(1152), routine: Some("DeadLockReport") }) }), transient: false })


distrho: unstable-2018-01-01 -> 2018-04-16

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build distrho

Failure on aarch64-linux (full log)
Attempted: distrho
Partial log (click to expand)
g++: error: unrecognized command line option '-msse'; did you mean '-fdse'?
g++: error: unrecognized command line option '-msse2'
make[3]: *** [drowaudio.make:87: intermediate/Release/dRowAudio.o] Error 1
make[2]: *** [Makefile:22: drowaudio] Error 2
make[2]: Leaving directory '/build/source/libs/drowaudio/build-drowaudio'
make[1]: *** [Makefile:4: all] Error 2
make[1]: Leaving directory '/build/source/libs/drowaudio'
make: *** [Makefile:104: lv2] Error 2
builder for '/nix/store/pcw04dlmjbr53ggc0xvp7g5ghyj4l5k1-distrho-ports-2018-04-16.drv' failed with exit code 2
error: build of '/nix/store/pcw04dlmjbr53ggc0xvp7g5ghyj4l5k1-distrho-ports-2018-04-16.drv' failed

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: distrho
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

aarch64 build has failed for at least a year. Please limit platforms to ["x64_64-linux"].

That llvm commit is not supposed to be there.
I'll try to get rid of it.

Success on x86_64-linux (full log)
Attempted: distrho
Partial log (click to expand)
shrinking /nix/store/kjngmib3nxjp9fks4bgnl8jh5mmpqkc2-distrho-ports-2018-04-16/lib/lv2/Luftikus.lv2/Luftikus.so
shrinking /nix/store/kjngmib3nxjp9fks4bgnl8jh5mmpqkc2-distrho-ports-2018-04-16/lib/lv2/Obxd.lv2/Obxd.so
shrinking /nix/store/kjngmib3nxjp9fks4bgnl8jh5mmpqkc2-distrho-ports-2018-04-16/lib/lv2/KlangFalter.lv2/KlangFalter.so
shrinking /nix/store/kjngmib3nxjp9fks4bgnl8jh5mmpqkc2-distrho-ports-2018-04-16/lib/lv2/TAL-Filter.lv2/TAL-Filter.so
shrinking /nix/store/kjngmib3nxjp9fks4bgnl8jh5mmpqkc2-distrho-ports-2018-04-16/lib/lv2/drowaudio-distortion.lv2/drowaudio-distortion.so
/nix/store/vp40my263xk32f07788srrgl59rycsna-binutils-2.30/bin/strip is /nix/store/vp40my263xk32f07788srrgl59rycsna-binutils-2.30/bin/strip
stripping (with command /nix/store/vp40my263xk32f07788srrgl59rycsna-binutils-2.30/bin/strip and flags -S) in /nix/store/kjngmib3nxjp9fks4bgnl8jh5mmpqkc2-distrho-ports-2018-04-16/lib  /nix/store/kjngmib3nxjp9fks4bgnl8jh5mmpqkc2-distrho-ports-2018-04-16/bin
patching script interpreter paths in /nix/store/kjngmib3nxjp9fks4bgnl8jh5mmpqkc2-distrho-ports-2018-04-16
checking for references to /build in /nix/store/kjngmib3nxjp9fks4bgnl8jh5mmpqkc2-distrho-ports-2018-04-16...
/nix/store/kjngmib3nxjp9fks4bgnl8jh5mmpqkc2-distrho-ports-2018-04-16


bench: go/nogo 1.35-LAST/Plutus, try2

Blocked by https://github.com/input-output-hk/cardano-node/issues/4082, figuring it out..


[ceph rbd] Add support for erasure encoded volumes

Ceph rbd supports optional erasure encoding of pools. When using erasure encoding the pool must be tagged as ec42 ad a second pool must be made that references the first pool as a data-pool.

Using EC pools with RBD
To mark this as an RBD pool, first tag it accordingly:
$ ceph osd pool application enable rbd ec42
RBD can store image data in EC pools, but the image header and metadata still needs to go in a replicated pool.  Assuming you have the usual pool named “rbd” for this purpose,
$ rbd create rbd/myimage --size 1T --data-pool ec42
The image can then be used normally just like any other image, except that all of the data will be stored in the “ec42” pool instead of “rbd” pool.  Note that the clients must be using the Luminous (or newer) version of librbd; older releases of Ceph (e.g., Jewel) do not support the data pool feature.

https://ceph.com/community/new-luminous-erasure-coding-rbd-cephfs/

/remove-lifecycle rotten
Any updates on this? We need it....

/reopen
/remove-lifecycle rotten
Any updates on this?


Bug: Create issue returns api url instead of html url

Change .url to .web_url. For more information about the API, see IGitt repo
labels: difficulty/newcomer initiatives/gci
Opened by @meetmangukiya at Gitter

This isnt just "create issue" ; it applies to all .url in labhub.py

Needs test coverage to prevent oddities occuring again


chore: allow empty mapping string

it should be possible to specify an empty string as a mapping, e.g. let's say you want to copy some subtree of an object into the root of another, or vise versa. the to and from mapping fields are both required so we must support an empty string to indicate this case. as the code was before it would become the jsonpath $. because we were simply checking if the option was Some(String).

i'm not happy with the Rust here. rust playground says this should work, but it doesn't: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021 so we have the version i've put in the PR. it works.

an alternative solution is to make those fields options in the crd, so the user just leaves one or the other out to specify the root. unsure if that's more or less intuitive


Disruptor - SleepingWaitStrategy depleting high cpu at application idle time

Hi Team,
Today while testing one of our rest api operation we noticed even when the test is not executing the CPU usage on stage server averaging 60% all the time. Dev team confirmed that they are using LMAX disruptor for ordering the tasks and it uses sleepingwaitstrategy()
To know what process is utilizing the cpu we gathered metrics from vmstat and observed it’s the system calls which took 48% of the cpu utilization.
Curious to know what system calls are depleting the cpu cycles we drill down further by profiling the system events using perf tool
And here is the ouput of it ignoring the swapper event we found finish_task_switch is depleting more cpu cycles not sure why this event interrupt the java process
Samples: 32K of event 'cpu-clock:k', Event count (approx.):<PHONE_NUMBER>
Overhead  Command          Shared Object      Symbol
40.73%  swapper          [kernel.kallsyms]  [k] native_safe_halt
19.21%  java             [kernel.kallsyms]  [k] finish_task_switch
8.87%  java             [kernel.kallsyms]  [k] pvclock_clocksource_read
5.52%  java             [kernel.kallsyms]  [k] _raw_spin_unlock_irqrestore
4.57%  java             [kernel.kallsyms]  [k] entry_SYSCALL_64_after_swapgs
1.97%  java             [kernel.kallsyms]  [k] futex_wake
1.46%  java             [kernel.kallsyms]  [k] copy_user_enhanced_fast_string
1.38%  java             [kernel.kallsyms]  [k] _raw_spin_lock
1.29%  java             [kernel.kallsyms]  [k] futex_wait
1.26%  java             [kernel.kallsyms]  [k] futex_wait_queue_me
0.89%  java             [kernel.kallsyms]  [k] ktime_get_ts64
We arent sure about the linux event finish_task_switch relates to disruptor . We would like to know whether this is expected or is their a way we can fine tune this.
Thanks
Sattish

How many consumer threads do you have in your system?  Are you on 32 or 64 bit Linux?

Hi Barker,
Thanks for your response.We are on 64bit. Currently we use 100 consumer
threads
Thanks
Sattish
On Sat, Oct 8, 2016 at 12:19 AM, Michael Barker<EMAIL_ADDRESS>wrote:

How many consumer threads do you have in your system? Are you on 32 or 64
bit Linux?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LMAX-Exchange/disruptor/issues/174#issuecomment-252408661,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHGqmaBk-D58Di_ocx2P9iGQDDTT_VdKks5qx0P2gaJpZM4KRlQf
.

--
with regards,
Sattish
9940080070

With that many threads, that level of CPU usage is not unexpected.  The SleepingWaitStrategy can use between 1% and 10% CPU on a 64-bit system (32-bit is much worse).  This is a trade off you will need to work with.  In our testing systems we run with the BlockingWaitStrategy to keep CPU usage down when idle.

Hi Barker,
Thanks for the response. We brought down the threads from 100 to 50 and
found cpu usage reduced by 10% but still system usage was 15% even when the
system is idle. Our application runs on docker container. We have 2 cpus
right now.When we tried blocking wait strategy we found cpu usage was less
when application is idle but the event handlers degraded the performance
thats one of the reason we went for sleepingwait strategy which efficiently
handled the event handlers
Sattish.
On Mon, Oct 10, 2016 at 8:01 PM, Michael Barker<EMAIL_ADDRESS>wrote:

With that many threads, that level of CPU usage is not unexpected. The
SleepingWaitStrategy can use between 1% and 10% CPU on a 64-bit system
(32-bit is much worse). This is a trade off you will need to work with. In
our testing systems we run with the BlockingWaitStrategy to keep CPU usage
down when idle.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LMAX-Exchange/disruptor/issues/174#issuecomment-252799071,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHGqmUexPNUzJ-gxg_sOv5abC4HC0bV6ks5qyvwEgaJpZM4KRlQf
.

--
with regards,
Sattish
9940080070

Hi Sattishv,
That's pretty typical, it's a case of choosing which trade off you are willing to make.  The only other option would be to look at ways to reduce the number of consumers.  50 consumers across 2 CPUs is quite a lot.  If the application is CPU bound then it is likely to be heavy contended, so reducing consumers should improve performance.  If the application is I/O bound I would look at ways to batch those operations.  However, it will depend a lot on your application.


Responsive image attributes

Issue
I didn't see an easy way to get the srcset and sizes attributes for a Timber\Image object that was as simple as post.thumbnail.src.
Solution
It seemed like a good idea to add srcset and sizes as public methods, allowing post.thumbnail.srcset and post.thumbnail.sizes. Unfortunately, .sizes didn't work but img_sizes did.
Impact
As far as I can tell, none.
Usage Changes
Should be no impact.
Considerations
For whatever reason, creating a size() method in the Image object wasn't working. It didn't throw an error, just that post.thumbnail.sizes didn't ever call the method. It'd be a more intuitive call than img_sizes, which would be nice.
Testing
There's really nothing to fail, it's just a method to get the data that's more in keeping with the rest of the project.

Thank you @maxxwv! This looks like a good implementation of the WP methods. Before we merge, I want to make sure we have test coverage (even though it's a pretty simple thing, I want to make sure the functionality is always checked). Is that something you'd be up for trying?

Thanks for the comments!
@jarednova - Sure, I'll take a stab at some basic tests, though honestly it's been a while since I've done unit testing so I can't guarantee much there. I'll look at the test-timber-image.php file and maybe the resize tests for examples and inspiration, unless there's a more appropriate place.
@gchtr - I'm fine with pulling out those filters. I just put them in to match the src() interface more closely, to be honest. I'll pull them out in the next revision.
I was also thinking it could be handy to have a method that runs both these methods and returns a single string of the attributes, as neither is really all that useful on their own. Thoughts or opinions?

Coverage decreased (-0.05%) to 93.98% when pulling 49a0fe9a6b97db45b2c491d5eefbde6d6063913a on maxxwv:responsive_image into 604b3c1ef94e10cde8b310e4b14d26ec2e5a81a7 on timber:master.

Coverage decreased (-0.05%) to 93.98% when pulling 49a0fe9a6b97db45b2c491d5eefbde6d6063913a on maxxwv:responsive_image into 604b3c1ef94e10cde8b310e4b14d26ec2e5a81a7 on timber:master.

@gchtr @jarednova - not sure what to do about the coverage failure, but everything else should be good to go. Let me know if there's anything else you need from me.

The phpdoc example provided uses sizes="{{ post.thumbnail.sizes }}"  instead of sizes="{{ post.thumbnail.img_sizes }}"


update composer to V 1.7.2 from V 1.6.5

@NetOperatorWibby please review or test by run dev.sh ..

gonna close it


Who wants a tshirt?

CT4U3 33NAQ QK7XM

Nooo, These are going too fast 🤣

LOL wow you folks are fast
ABW2A

Tooooo fast. Didnt catch that one either :P

I saw you comment pop in, still someone got it 💯

7626Y

7626Y

Wooohooooo!

today I Iearned devs are pretty fast when there's a t-shirt on the line

eight zed gee queue eye

I need to be quicker 😅

Should I constantly refresh or expect that GitHub notifications will suffice? 😅

The real question is: who doesn't?!

/subscribe 😄

It looks like this issue is still open. I need a t-shirt 😅

@ryanleichty - Can confirm, the issues is still open. @wesbos - do you have any more codes related to this issue?

for you? maybe rust protocol

Oof, feeling a little silly now...

for you? maybe rust protocol

...been waiting all day in New Zealand for North America to wake up and mode codes to drop 👀

Can confirm this issue persists. Syntax fans scoured every line of syntax.fm source code for tshirts. I've tried over 60 atm.

Can confirm this issue persists. Syntax fans scoured every line of syntax.fm source code for tshirts. I've tried over 60 atm.

I wrote a script to test them all out...used up. This issue def needs a +1


update the dropwizard things

Description
Iterate dockstore to 1.16 and update dropwizard and it's supporting components
Review Instructions
Builds should pass
Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-6239
Security and Privacy
No real change aside from transitive improvements
Please make sure that you've checked the following before submitting your pull request. Thanks!

[ ] Check that you pass the basic style checks and unit tests by running mvn clean install
[ ] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[ ] Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
[ ] If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
[ ] Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
[ ] Do not serve user-uploaded binary images through the Dockstore API
[ ] Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
[ ] Do not create cookies, although this may change in the future
[ ] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

See https://ucsc-cgl.atlassian.net/browse/SEAB-6239

Note to self: updated to 4.0.7, but need to test without forced jersey override

Note to self: updated to 4.0.7, but need to test without forced jersey override

4.0.10 avoids this


Partial support for Terraform 0.7.x

This fixes a couple obvious problems, but there is still much to be done.
I gave up on this however.
terraform plan generates a clean plan, but it fails part way through (sorry I didn't save logs and am not going to go back right now).
Then terraform plan -destroy fails to generate a plan because of "foo should be list but got string" type errors (or vice versa, I forget already). These errors were in some of the modules.
The file, etcd_discovery_url.txt is committed to the repo, but also in .gitignore. That makes it "hard" to remove, but it should be removed.
I've also updated docs to show how to generate a new etcd_discovery_url.txt at the beginning.

See also #153

https://gist.github.com/tamsky/8748e19fad3c5cb733f66646df3bf945 contains a full plan / apply / error output.
Errors only pasted here:
Error applying plan:

11 error(s) occurred:

* variable subnets in module master_elb should be type string, got list
* variable instances in module master_elb should be type string, got list
* variable ip_addresses in module kube_master_certs should be type string, got list
* variable deploy_ssh_hosts in module kube_master_certs should be type string, got list
* variable ip_addresses_list in module docker_client_certs should be type string, got list
* variable ip_addresses in module kube_kubelet_certs should be type string, got list
* variable ip_addresses_list in module docker_daemon_certs should be type string, got list
* variable deploy_ssh_hosts in module docker_daemon_certs should be type string, got list
* variable deploy_ssh_hosts in module kube_kubelet_certs should be type string, got list
* variable deploy_ssh_hosts in module docker_client_certs should be type string, got list
* variable deploy_ssh_hosts in module ca should be type string, got list

# terraform version
Terraform v0.7.10

After fixing those errors in https://github.com/Capgemini/tf_tls/compare/master...tamsky:master
I now get:
Error applying plan:

16 error(s) occurred:

* aws_elb.kube_master: InvalidConfigurationRequest: ELB cannot be attached to multiple subnets in the same AZ.
        status code: 409, request id: c8fecb04-abaa-11e6-8200-e3b4d8594e24
* triggers: 1 error(s) decoding:

* '[ip_addresses_list]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses_list]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses_list]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses_list]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses_list]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses_list]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses_list]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses_list]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses_list]' expected type 'string', got unconvertible type '[]interface {}'
* triggers: 1 error(s) decoding:

* '[ip_addresses_list]' expected type 'string', got unconvertible type '[]interface {}'.

hey @mrwacky42 I did some work a while ago that might be useful here.
See https://github.com/Capgemini/kubeform/pull/86/files and https://github.com/Capgemini/tf_tls/pull/38/files

@enxebre thanks for pointing those out.
those really helped.
I've got the terraform bits working well for terraform-0.7.11
tf_tls:  https://github.com/tamsky/tf_tls/commit/5b745baa56d089ec66361e9ae975ef5a8aab4553
kubeform: https://github.com/tamsky/kubeform/commit/9dea01b606b8d3c225acb8d63c8388ae1354f677
(my kubeform fork above 1) uses modules in my tf_tls fork, and 2) is configured for us-west-2 region/az)
Tomorrow, I'll take another look, cleanup/squash and open a new PR from my fork.
At this point, when I try to run the ansible-playbook --- API appears to not start:
failed at TASK [kube-master : wait for kube-apiserver up] ********************************
journalctl has complaints that things can't connect to dockerd, which isn't started.
If I manually start dockerd --debug, things do talk to the docker socket.. and more work looks like it's happening in journalctl, but it still doesn't work yet.
I'll share a Gist of those journalctl logs tomorrow.

If I continue to try to use kubeform I'll file new issues for the ansible-playbook errors.

@tamsky I have fixed the terraform-0.7x for DigitalOcean. I will push a pull request on your repo as most of the proper changes are on your repository.

Probably we can close this PR, as I've moved on from kubeform, and @tamsky has done much more complete work.

@mrwacky42 agree we can close this.


fix: update storybook

Description

update storybook

Checklist

[ ] Change increases quality
[ ] Change is validated by tests
[ ] Change is readable and easy to understand
[ ] Documentation is updated
[ ] Security impact has been considered
[ ] Changes validated in runtime

now without merge conflicts and wrong formatting


[stable/kubernetes-dashboard] add apiVersion

Adding the apiVersion for chart.yaml
to fix the issue: https://github.com/helm/charts/issues/13763
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] title of the PR contains starts with chart name e.g. [stable/chart]

/assign @mattfarina

/assign
/lgtm


error with manual.py

Script was running perfect until I cloned the latest commit then the manual.py returns this error:
Traceback (most recent call last):
File "manual.py", line 18, in
settings = ReadSettings(os.path.dirname(sys.argv[0]), "autoProcess.ini"
)
File "C:\Users\Vinh\Downloads\Compressed\MP4 Automator\readSettings.py",
line 316, in init
self.uTorrent['convert'] = config.getboolean(section, "convert")
File "C:\Python27\lib\ConfigParser.py", line 370, in getboolean
raise ValueError, 'Not a boolean: %s' % v
ValueError: Not a boolean:
not sure what the problem is since I didn't change anything.

Looks like this is happening because the 'convert' option in the uTorrent settings section is blank and needs to be either True or False. Setting this option should fix the error. Additionally I went ahead and added a new commit that will catch this error in the future and prevent it from crashing the rest of the script. If you update, it should also fix this.


Typo fix

Change "succeded" to "succeeded" everywhere

Thanks.  I applied the KWSys part of the change to its upstream here.  That will be included when we update KWSys in CMake again (soon).
The rest of the changes have been applied by commit b6702d40dd9ab512a8cd56dd202ebe8cdbdb03d9 and commit 062473842f3c926944cbc2a32c7703bc1204890d.


Add support for  tag?

The   tag seems like a great candidate for water.css as it is fully supported by all browsers and can be an easy way to create some navigational elements in the page. By default it could use some work, even in water.css!
Is this something you are interested in working on for a future version, or would accept a PR for?

As a followup, I have implemented a proof of concept in this JSFiddle.
You can write  as a simple list of links, or setup as a dropdown.
Simple Nav

  Computers
  Tablets
  Phones
  Accessories

Nav with Dropdown

Computers

Tablets

      Phones

Apple

Samsung

Google

Sony

Accessories

Here is the SASS:
$background: #efefef;
$background-alt: #f7f7f7;

nav {

  background: $background;
  padding: 6px;
  text-align: center;
  font-size: 1.15em;

  >a {
    padding: 1rem;
  }

  ul {
    margin: 0;
    padding: 0;

    li {
      display: inline-block;

      &:hover {
        ul {
          display: block;
        }
      }

      a {
        display: block;
        padding: 0 1rem;
        text-decoration: none;
      }

      ul {
        display: none;
        position: absolute;
        z-index: 500;
        padding: .5em 1.15em;
        background: $background;

        li {
          display: block;
          text-align: left;
          float: none;
          padding: .3em .2em;
        }

        a {
          display: inline;
          padding: 0;
          font-size: .9em;
        }
      }
    }
  }
}

Only problem I see with this is in the readme.md file.

@kylejrp are you maintaining the project now and will accept a PR?

Hey - we're likely going to merge this after the 2.0 release, you can keep track of that in #194
Sorry for the slowness ❤

Hey I am working on this issue !!!!

What's the "semantic HTML" way of using ? Probably one or more
 or
 containing

, right? I'm not sure if there's weirder valid ways to use it though 🤷♂ The common case is probably fine
The MDN article on  has some nice usage notes to keep in mind:

It's not necessary for all links to be contained in a  element.  is intended only for major block of navigation links; typically the  element often has a list of links that don't need to be in a  element.
A document may have several  elements, for example, one for site navigation and one for intra-page navigation. aria-labelledby can be used in such case to promote accessibility, see example.

The changeset on the pull request will probably need to be marked as a major change

Yeah, the typical way is

    ...

...potentially with a label for the navigation landmark, and I've also seen the aria-current="page" attribute to specify the currently active link/page. Here's the authoring example from ARIA 1.2: https://www.w3.org/TR/wai-aria-practices-1.2/examples/landmarks/navigation.html

I know that breadcrumbs are sometimes done with  to be semantic, for example:

        WAI-ARIA Authoring Practices 1.1

        Design Patterns

        Breadcrumb Pattern

        Breadcrumb Example

So we would probably need to make sure that a nav implementation would be generic enough to handle both from both a styling perspective and a design perspective.
Nested lists/navs might be out of scope but it would be cool if there was a generic way to support them.

What kind of support are you looking for with the ?

What kind of support are you looking for for the nav?

assign to me.

can you assign this to me

So... no Nav?

Hey @kognise What's the status of this feature request? Can you provide an update or roadmap? It would be great to get a few more semantic styles in like this into water.css

I am also intrested in helping out


Remove rpm-py-installer

This package is RHEL-only, which also caused a lot of build failures in
the past.
It doesn't seem to be actually used in Elliott.

Codecov Report

Merging #279 (702ec7f) into master (3de2c50) will decrease coverage by 2.91%.
The diff coverage is 38.50%.

@@            Coverage Diff             @@
##           master     #279      +/-   ##
==========================================
- Coverage   30.56%   27.65%   -2.92%
==========================================
  Files          54       54
  Lines        5257     5320      +63
  Branches     1160     1171      +11
==========================================
- Hits         1607     1471     -136
- Misses       3556     3770     +214
+ Partials       94       79      -15

Impacted Files
Coverage Δ

elliottlib/cli/change_state_cli.py
0.00% <0.00%> (ø)

elliottlib/cli/verify_attached_bugs_cli.py
0.00% <0.00%> (ø)

elliottlib/cli/verify_cvp_cli.py
0.00% <0.00%> (ø)

elliottlib/runtime.py
15.47% <21.62%> (+0.66%)
:arrow_up:

elliottlib/cli/get_golang_versions_cli.py
5.35% <50.00%> (-48.22%)
:arrow_down:

elliottlib/metadata.py
60.38% <57.31%> (-1.26%)
:arrow_down:

elliottlib/cli/find_builds_cli.py
25.49% <66.66%> (+0.88%)
:arrow_up:

elliottlib/attach_cve_flaws.py
82.65% <100.00%> (-3.07%)
:arrow_down:

elliottlib/bzutil.py
54.45% <100.00%> (+0.31%)
:arrow_up:

elliottlib/errata_async.py
7.33% <100.00%> (-82.57%)
:arrow_down:

... and 8 more

Continue to review full report at Codecov.

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


when.js - Add definition with test for when.settle, add a test for when.all

when/when.d.ts
to authors(@derekcicerone @Nemo157). could you review this PR?
:+1: or :-1:?
check list

[ ] pass the Travic-CI test?

LGTM :+1:
(sorry, missed the notification for this somehow)

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks pending.

Comments from the review on Reviewable.io

@Nemo157 thanks!
@mnahkies thanks mate!


unsupported model to partitioning

Thx for putting this together for the GPU poor out there.
Gave your notebook a spin on Kaggle TPU, but hit the partitioning error:
trainable params: 7,241,732,096 || all params: 7,241,732,096 || trainable%: 100.0
device_ids [0 1 2 3 4 5 6 7]
mesh_shape (1, 8, 1)
---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
Cell In[15], line 48
     46 print(f'mesh_shape', mesh_shape)
     47 mesh = Mesh(device_ids, mesh_shape, ('dp', 'fsdp', 'mp'))
---> 48 partition_module(model, mesh) # After this, the model is sharded between cores but still has the same API as if it was on single device. Neat.

File /kaggle/working/spmd_util.py:95, in partition_module(model, mesh, device, verbose)
     94 def partition_module(model, mesh, device=xm.xla_device(), verbose=False):
---> 95     partition_specs = find_rule(model)
     96     # rule = [(k, tuple([strkey2id.get(x) for x in v])) for k, v in partition_specs]
     97
     98     # print(rule)
    100     for name, module in model.named_modules():

File /kaggle/working/spmd_util.py:86, in find_rule(model)
     84     if model.config.__class__ == config:
     85         return rule
---> 86 raise Exception("unsupported model to partitioning " + str(model.config.__class__))

Exception: unsupported model to partitioning <class 'transformers.models.mistral.configuration_mistral.MistralConfig'>

The only thing I changed is to add 2 prints for device_ids and mesh_shape. I remember trying out similar Kaggle notebooks (i.e.,
this one) but didn't get this.
Any idea?

Could you publish the notebook you're using on Kaggle and link it here? This can help me rule out some suspicions.

Here it is.

Here it is.

On the first code cell, try uncommenting the "# !cp /kaggle/working/spmd_util.py . # From this repo: https://github.com/HeegyuKim/torch-xla-SPMD" line, and remove the curl command. The place that your cloning the spmd_util.py does not support the mistral architecture. Try this and tell me how it goes.

Indeed. I curl'ed the SPMD utility from the other repo which turns out to be the issue.
Thanks for the quick response!


Investigate whether mongo-java-server work with Mongo 4 and/or 5

The mongo-java-server has a ServerVersion class that only supports (as of this writing) versions 3.0 and 3.6. But this library speaks the wire protocol of Mongo and doesn't actually have dependencies on the mongo driver.
So the question is: will this still work with Mongo 4.x and/or 5.x?
If it does not work then we'll have to remove the MongoServerExtension entirely. (And it would be nice of us to first release a kiwi-test version that deprecates it, i.e. do a 1.1.6 release)

The answer seems to be "yes" since all tests continue to work with the Mongo 4.x driver. So unless something changes to change this, closing this as "Fixed"


optimize precheck to avoid losing data

What type of PR is this?

/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

验证:

/lgtm

/lgtm


feat: Insights API Updates

[x] New endpoint
[x] Typed events
[x] Batching
[x] Debouncing
[x] User tracking
[x] User opt-out
[x] Warning when ambiguous call to shared

^: :100:

@q-litzler: Let me know if this LGTY; if yes let's release this as beta :)


Use grabbit to get the arranged data structure

With grabbit we aim at having the following dictionary from each subject:
{
  'sub-XXXX': {
      'func': [
         {
             'bold': '<path>/<prefix>ses-01_task-01_acq-01_run-01_bold.nii.gz',
             'sbref': '<path>/<prefix>ses-01_task-01_acq-01_run-01_sbref.nii.gz'
         },
        { ... as many 'bold' & 'sbref' pairs as sessions x tasks x acqs x runs }
      ],
      'anat': [
        {
            't1w': '<path>/<prefix>ses-01_run01_T1w.nii.gz',
            't2w': '<path>/<prefix>ses-01_run01_T2w.nii.gz',
        },
        { ... as many 't1w' volumes or 't1w' & 't2w' pairs as sessions x acqs x runs }
     ],
     'fmap': [ '<path>/<prefix>ses-01_run01_phasediff.nii.gz', ... (all fielmap types and sessions)]
  }
}

The rationale behind this structure:

The anatomical images are processed only once per subject.
The fieldmaps are processed only once per subject (meaning, we don't implement the IntendedFor).
One functional workflow per functional image in the func folder, i.e. all possible combinations of session, task, acquisition and run identifiers).

WDYT @chrisfilo, @shoshber ?

LGTM

Fixed in #113


Toolkit content styles not reloading on change

Since the toolkit content is loaded in an iframe, the changes to the style sheets aren't propagating and causing a reload even though BrowserSync is calling the bs.stream() function.
Proposed fix: create a /toolkit/:preview route that loads only the component and use that as the toolkit content iframe source.

I've noticed some styles not reloading when there are in an import as well (not in iframe), although seems intermittent.

Yeah, I think I've hit that too. So far as I can determine, it's something to do with gulp watch. I haven't decided how to best attack it.

Fixed in Core 722dbde15c6553b76fc684060d13ed324521c3ac


configuring parser used for linting javascript

From @elf-pavlik on October 28, 2017 21:42
I would like to have similar option as in js-standard linter to use babel-eslint https://github.com/standard/standard#how-do-i-use-experimental-javascript-es-next-features
Copied from original issue: Polymer/atom-plugin#67

Re-opening because this original issue is now transferred and canonical again.


Group Capstone Project -- Our Catalog

Hello Reviewer,
This is the link to our Ruby Project: https://github.com/kaizipaul/our-catalog
Our team has 3 members and this is how we have designated the tasks:

Team member no.1: @kaizipaul
Team member no.2: @DJ-MrJay
Team member no.3: @AbayomiOlaoye

Hi Team👋,

Highlights💡

A link to the Kanban board is specified.✔
The team member size is stated.✔
All required columns are present.✔
Cards are distributed fairly.✔

Good job so far coming so far with the progress you've made! 💪💪
However, there are some issues that you still need to work on to go to the next project but you are almost there!

Required Changes ♻

Kindly ensure that the link provided links to the Kanban board.

Check the comments under the review.
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Please, remember to tag me in your question so I can receive the notification.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @brytebee in your question so I can receive the notification.
Use @brytebee on slack for faster responses.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

STATUS: APPROVE :heavy_check_mark: :heavy_check_mark:  :champagne:
Hi @kaizipaul, @AbayomiOlaoye and @AbayomiOlaoye
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉 :clap: :clap: :100:

To highlight :champagne:

Good issue description :heavy_check_mark:

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please ping me @tresorsawasawa when you comment so I can receive the notification or use slack with the same name.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Documentation page has no documentation

The "Full Documentation" link in the readme goes to https://portal.aviso.io/#/docs/open-source, which displays nought but a pretty picture.

Which browser are you using? Site is currently broken in Firefox and Safari. Sorry about inconvenience but Chrome will work.

Ah, I was using chrome canary, where it is broken as well.

This has been resolved with the new documentation at readthedocs.org.


Disable tag_date for reproducible builds.

See: https://wiki.debian.org/ReproducibleBuilds/TimestampsInPythonVersionNumbers

tag_date is on to prevent accidental official releases when calling sdist. We call egg_info to get untagged releases (see https://github.com/mapproxy/mapproxy/blob/master/release.py#L27).

The pybuild buildsystem used for the Debian package builds doesn't use those setup targets (it calls clean, config, build & install), so I guess we'll just keep carrying the patch in the Debian package if this PR is not going to be merged.

Yes, keeping the patch would be great as we like to keep our workflow. We often create intermediate releases that should be tagged with the date.


InvalidArgumentException Cannot identify -1 when memory_limit set to -1

When memory_limit is set to -1, FileSizeHelper::identifySize() fails with exception "Cannot identify -1."
This prevents the admin panel from loading because that check is run at every request.
We need to handle this case without the method failing.

I thought I had considered that, did I miss a location?
https://github.com/flagrow/bazaar/blob/master/src/Listeners/AddApiAttributes.php#L45

You've considered it, but apparently not tested it :stuck_out_tongue_winking_eye:
var_dump(ini_get('memory_limit'));
string(2) "-1"

That strict === check cannot handle it.
(I just checked all this, I didn't notice there was code supposed to handle it during my quick check)

Right that's really stupid, so it should be a string comparison 🤦♂


Update CODE_OF_CONDUCT.md

There is a mailing list for oss conduct that is better to use than an individual's e-mail.

Thanks you!


Crash when adding Mcurvemesh

Hi,
When I add Mpath -- Mcurvemesh and then add a mesh LOD my whole Godot crashes. I tried this in Godot 4.3, 4.2 but no difference. Is this a familiar issue?

After adding a set of mesh on top of Mcurvemesh, you need to click on restart!
By the way it should not crash, does that give you any error?
Can you please explain the steps that I need to create this bug?


Format-on-Type .... doesn't

Issue Type: Bug
Or, if it does, I'm very unclear how it should.
The following settings are enabled:
    "mssql.format.datatypeCasing": "uppercase",
    "mssql.format.keywordCasing": "uppercase",
    "mssql.query.displayBitAsNumber": false,
    "editor.formatOnType": true,

So I expect typing
select top 100 * from #foo

to autoformat (as I type... or at least on a new line) to
SELECT TOP 1000 * FROM #foo

If this is not the intended behaviour, the comment in the settings should be updated to reflect the intended behaviour.
SQL Operations Studio version: sqlops 0.31.4 (e026ab85a72c190cc4ccc834503aa9fe36dd6407, 2018-07-18T02:14:21.826Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3408)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
31.91GB (15.88GB free)

Process Argv
C:\Program Files\SQL Operations Studio\sqlops.exe

Screen Reader
no

VM
0%

Extensions: none

Format-on-type isn't currently implemented in our formatter service. We support format on paste / save, but not that one yet. We should leave this open on the backlog and see if we can get some formatter improvements done in the long term.


Update Posts “dead-hearts”

Automatically generated by Netlify CMS

👷 Deploy Preview for benevolent-pika-f5fbe0 processing.

Name
Link

🔨 Latest commit
d4e1c51f6fed02b4962ae4c6b186881c780f1ade

🔍 Latest deploy log
https://app.netlify.com/sites/benevolent-pika-f5fbe0/deploys/62e3f6016849de00097c299c


Need to get readable folder list

Hello there,
I need to get proper readable folder list for Daum.net IMAP access.
Below is my code for get folder list :
$folder = $client->getFolder('*');
Here if I print_r($folder) gives below reasult.
Array ( [0] => Array ( [fullpath] => {imap.daum.net:993/imap/ssl}Inbox [attributes] => 1 [delimiter] => / [shortpath] => Inbox ) [1] => Array ( [fullpath] => {imap.daum.net:993/imap/ssl}Sent Messages [attributes] => 1 [delimiter] => / [shortpath] => Sent Messages ) [2] => Array ( [fullpath] => {imap.daum.net:993/imap/ssl}Drafts [attributes] => 1 [delimiter] => / [shortpath] => Drafts ) [3] => Array ( [fullpath] => {imap.daum.net:993/imap/ssl}¤�8Ӹ���h [attributes] => 1 [delimiter] => / [shortpath] => ¤�8Ӹ���h ) [4] => Array ( [fullpath] => {imap.daum.net:993/imap/ssl}Deleted Messages [attributes] => 1 [delimiter] => / [shortpath] => Deleted Messages ) [5] => Array ( [fullpath] => {imap.daum.net:993/imap/ssl}������Ӹ���h [attributes] => 1 [delimiter] => / [shortpath] => ������Ӹ���h ) )
Here I need readable format folder list. same like INBOX
Is is possible using IMAP ?

You can iterate the folders in a foreach loop.
use Webklex\PHPIMAP\Folder;

$folders = $client->getFolders();

/** @var Folder $folder */
foreach ($folders as $folder) {
    // ...
}

Or if you just want a list of names, you can do the following:
$names = array_map(function(Folder $folder) {
    return $folder->name;
}, $folders);

Yes this solution works for Gmail, but in case of kakao.com this solution is not working.
Geting unreadable text in folder list.
Below is code and output :
foreach($folders as $folder) {
echo $folder;
}exit;
Result :
Inbox
Sent Messages
Drafts
¤�8Ӹ���h
I need proper readable solution.
Have any idea ?

What is ¤�8Ӹ���h supposed to mean?

Actully I did not get that may be spam but not readable

You could enable debug mode and then see what actually comes back from the server.
$config["options"]["debug"] = true;
$cm = new ClientManager($config);

Daum.net looks to be a Korean provider. Could it be that the characters are not recognized correctly and are therefore misinterpreted?
In Gmail I have a mailbox, which is only used internally for Gmail. [Gmail]
When I see the logs, the mailbox has the following flags:
<< LIST (\HasChildren \Noselect) "/" "[Gmail]"

Does your mailbox also have a \Noselect flag?
I'm sorry I can't be of more help to you.

Yes this is not working properly.
Gives below output :
Inbox
Sent Messages
Drafts
???8?????h
Still not readable

Hi @hiralmmavani ,
if you dump the entire folder object:
var_dump($folder);
//or
dump($folder);

is the correct name somewhere within?
Have you tried to enable the debug mode? If so is the correct name being transferred from the server?
Best regards,

I may be having a similar issue except I get an Exception from the decodeName method:

iconv(): Wrong encoding, conversion from "UTF7-IMAP" to "UTF-8//IGNORE" is not allowed

I'm connecting to imap.gmail.com.  If I change the method to this it works...
	protected function decodeName($name)
	{
		return mb_convert_encoding($name, "UTF-8");
	}

Could this be a setting/config either in the environment or in this package?
PHP 8.1.3
iconv (Ubuntu GLIBC 2.31-0ubuntu9.7) 2.31

Hi @hiralmmavani , if you dump the entire folder object:
var_dump($folder);
//or
dump($folder);

is the correct name somewhere within?
Have you tried to enable the debug mode? If so is the correct name being transferred from the server?
Best regards,

No this is still not working :
Output :
array(6) { [0]=> array(4) { ["fullpath"]=> string(33) "{imap.daum.net:993/imap/ssl}Inbox" ["attributes"]=> int(1) ["delimiter"]=> string(1) "/" ["shortpath"]=> string(5) "Inbox" } [1]=> array(4) { ["fullpath"]=> string(41) "{imap.daum.net:993/imap/ssl}Sent Messages" ["attributes"]=> int(1) ["delimiter"]=> string(1) "/" ["shortpath"]=> string(13) "Sent Messages" } [2]=> array(4) { ["fullpath"]=> string(34) "{imap.daum.net:993/imap/ssl}Drafts" ["attributes"]=> int(1) ["delimiter"]=> string(1) "/" ["shortpath"]=> string(6) "Drafts" } [3]=> array(4) { ["fullpath"]=> string(38) "{imap.daum.net:993/imap/ssl}¤�8Ӹ���h" ["attributes"]=> int(1) ["delimiter"]=> string(1) "/" ["shortpath"]=> string(10) "¤�8Ӹ���h" } [4]=> array(4) { ["fullpath"]=> string(44) "{imap.daum.net:993/imap/ssl}Deleted Messages" ["attributes"]=> int(1) ["delimiter"]=> string(1) "/" ["shortpath"]=> string(16) "Deleted Messages" } [5]=> array(4) { ["fullpath"]=> string(40) "{imap.daum.net:993/imap/ssl}������Ӹ���h" ["attributes"]=> int(1) ["delimiter"]=> string(1) "/" ["shortpath"]=> string(12) "������Ӹ���h" } }

Hi @hiralmavani,
please enable debug mode and provide us with the output. Maybe the server is not sending the mailbox name correctly.
Do you have the possibility to log into the account with an email client and check what �8Ӹ���h stands for?

Hi @gcornelisse,
take a look at this issue. Maybe it will help with your error.
https://github.com/Webklex/laravel-imap/issues/273
The idea with mb_detect_encoding is very interesting. But what should the function do then if mb_detect_encoding returns false?

Hi @gcornelisse, take a look at this issue. Maybe it will help with your error. Webklex/laravel-imap#273
The idea with mb_detect_encoding is very interesting. But what should the function do then if mb_detect_encoding returns false?

This is also not working :
$name = ������Ӹ���h
After function user
$name = ??????Ӹ???h;
Not still readable folder list


easypaisa integration in node.js

Hello mam, hope you are doing well i have seen your code its amzaing but unfortunately i need this to integrate it into my node.js if you could guide me in this regard will be very thankful.
regards,
Zohaib ali shah

Hi Zohaib,
You're probably looking for easypay merchant account integration and not
easypaisa. Easypaisa would include just showing the account details for
sending money, which i'm sure you can easily handle. For easypay, you'd
need a merchant account and would need to communicate with some API.
The API documentation for easypay is not publicly available. However, this
guy https://github.com/shaan360/telenor-easypay seems to have some code..
Hope that helps. Good luck!
Aamnah Akram
Google Voice: +1<PHONE_NUMBER>
Website: aamnah.com
On Mon, 6 Jul 2020 at 12:45, zohaib ali shah<EMAIL_ADDRESS>wrote:

Hello mam, hope you are doing well i have seen your code its amzaing but
unfortunately i need this to integrate it into my node.js if you could
guide me in this regard will be very thankful.
regards,
Zohaib ali shah
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aamnah/easypaisa/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH6ZVRNIJOXZIGNVVNBCXDR2F6K5ANCNFSM4ORKW26A
.

Hi ,
i want to ask that if it's  possible to integrate easypaisa online payment gateway using Nodejs instead Php
thanks

@aamnah  Dear Aamnah Hope you are doing well I am facing the error Parameter Authentication failed.
but i am sending correct parameters already/ any help?

Hi @zohaibalishah , You have implemented easypaisa in node js. If yes then share code with me . Thanks

have anyone done easypaisa with react native then please help me out

have anyone done easypaisa with react native then please help me out

Its pretty similar to that of the web tbh you use a webview or just simple axios to send a post request to ep rest api. This helped me alot explains everything in details https://stackoverflow.com/questions/62818901/easypaisa-integration-in-react-native

does anyone have integrated easypaisa in MERN?if yes, please let me know

does it possible to accept payment without having a merchant account ?

does it possible to accept payment without having a merchant account ?

Nope, you must have a merchant account for it

I'm trying to integrate easypaisa and jazzcash with nodejs. Can someone help me in this


Not opening pdf and no error throw

Using Ionic View App on iPhone and document viewer plugin.
After downloading a pdf, tring to display it, but does not open, and any errors are thrown.
Does not hit onError, or onMissingApp (funtciont in params on correct place)
Even in try-catch does not displays error

Sorry, but thats not enough info to give you a hint on how to fix your issue.
By the way: The plugin is not designed for phones but for tablets.
Did you try to reproduce  the issue with the sample app?

same problem here. I catch no error. and just nothing.

@regnete Could you please help me here with the plugin functionality,.. I am able to see/load the PDF only after clicking alignment button on top right of the Document Viewer. No matter what i tried it loading the PDF on click of a button.. Really appreciate your quick response and help.

Again: Sorry, but thats not enough info to give you a hint on how to fix your issue.

Taking reference from your same code. I tried to implement the document viewer as below:
OpenMessageDoc: function (messageId) {
indexView.databaseObj.transaction(function (tx) {
tx.executeSql('SELECT GetJSON FROM SEP_Data WHERE Module=?', ['MESSAGES'], function (tx, results) {
if (results.rows && results.rows.length > 0) {
var response = JSON.parse(results.rows.item(0).GetJSON), url, messageid;
for (var i = 0; i < response.Messages.length; i++) {
if (response.Messages[i].InitiativeGuid === messageId) {
//if (1 === messageId) {
url = response.Messages[i].DocumentLocation;
messageid = response.Messages[i].Messageid;
break;
}
}
url = url.split('\');
url = url[url.length - 1];
url = cordova.file.dataDirectory + '//pdf//' + messageid + '//' + url;
                contentType = "application/pdf", options = {};
                cordova.plugins.SitewaertsDocumentViewer.canViewDocument(url, contentType, options, function () {
                    window.console.log('document can be shown');                            //e.g. track document usage

                }, function (appId, installer) {
                    if (confirm("Do you want to install the free PDF Viewer App "
                                + appId + " for Android?")) {
                        installer();
                    }
                }, function () {
                    window.console.log('document cannot be shown');
                }, function (error) {
                    window.console.log(error);
                    alert("Sorry! Cannot show document.");

                });

                var mimeType = "application/pdf", linkHandlers = [];

                cordova.plugins.SitewaertsDocumentViewer.viewDocument(url, mimeType, options, function () {
                    console.log('document shown');
                }, function () {
                    console.log('document closed');
                }, function (appId, installer) {
                    if (confirm("Do you want to install the free PDF Viewer App "
                            + appId + " for Android?")) {
                        installer();
                    }
                }, function (error) {
                    console.log(error);
                }, linkHandlers);

            }
        });
    });
}

above is the method called on click of a button. Problem here is  on initial load PDF document was not displayed which was loaded and we can only see loading animation, But when i click on the view change on top right of the document viewer which display's the PDF.
I was clue less why the document was not loading/displaying on click event (which is calling above method mentioned above ).


Use mtl-compat, ExceptT everywhere

This commit allows reverse dependencies of scotty to migrate to ExceptT while keeping backwards-compatibility with older versions of mtl. This requires bumping the lower version bounds of monad-control to <IP_ADDRESS> and transformers-base to 0.4.4, since those package starting using transformers-compat with those versions.
Note that switching to ExceptT would change the behavior of fail for ActionT, since with ErrorT it would result in Left . stringError, whereas it will just plain fail with ExceptT (as noted here). However, creating a manual instance for Monad (ActionT e m) such that fail = ActionT . throwError . stringError would require a ScottyError constraint for the Monad instance, which is probably not a good idea. Therefore, this is a "breaking" change.

Coverage remained the same at 57.58% when pulling 7c7da11f8fb1f1059d6b110984a939c1ecfb0630 on RyanGlScott:transformers-compat into 96e0e7f63b7aa07baaf55768b78f94688e7c837c on scotty-web:master.

Actually, hold off on this pull request for a bit—transformers-compat was recently updated to backport mtl instances for ExceptT, which makes using mtl-compat redundant. Once monad-control and other dependencies allow building with transformers-compat-0.4.*, I'll change the pull request to use only transformers-compat.

Coverage remained the same at 57.58% when pulling feaa39f5abbd4ed5760b94c431b0b10cd53c7015 on RyanGlScott:transformers-compat into 96e0e7f63b7aa07baaf55768b78f94688e7c837c on scotty-web:master.

I think the *-compat situation has stabilized by now—transformers-compat-0.4.* now comes with mtl instances for ExceptT, so I simply added transformers-compat as a dependency to make everything work (making the title of this pull request inaccurate, since mtl-compat is no longer needed).

Since many of ActionT's other instances rely on a ScottyError constraint, I later decided to manually define the Monad instance to have a ScottyError constraint for consistency. Thus, this is no longer a breaking change, since the instance contexts should now be identical.


Using the suggested mappings overrides c-] which breaks navigation in the help system

The :help lsp suggests nnoremap <silent> <c-]> <cmd>lua vim.lsp.buf.definition()<CR>, which overrides the default key binding for navigating across a tag.
This means that <c-]> has no effect when viewing help files because the help system doesn't use an LSP server.
What's the idiomatic way to solve this (this is a little out of my depth)? I thought of a function which checks to see if an LSP is active and if not calls the "native" c-t, and binding that function to c-t globally, but I might be talking nonsense.
I could also only apply the mapping to non-help files but I can't figure out how to do that - I certainly don't want to add a specific instruction in each ftplugin file.
Help :-)

To be honest, I prefer gd  vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gd', '<Cmd>lua vim.lsp.buf.definition()<CR>', opts)
If you want to only bind LSP keybindings when servers are available for the filetype, you can see my config.
https://github.com/mjlbach/nix-dotfiles/blob/49a6c89b455a79669c17f17d471b9922fd193b65/nixpkgs/configs/neovim/init.vim#L311-L359
It would be possible to fallback to c-[ if the language server is not running. If you still want that I can come up with a snippet.

Your init.vim was most instructive, but a snippet to check whether a language server is running might be useful too - thanks!

You can use vim.lsp.buf_get_clients(). I think the way I have it in my configuration is the best way to selectively bind keybinds only if a language server is set up for that buffer (that I know of)

You can also do conditional mapping by checking the client.resolved_capabilities table in the on_attach callback.
local lspconfig = require("lspconfig")

local function on_attach(client, bufnr)
  local buf_set_keymap = function(...)
    vim.api.nvim_buf_set_keymap(bufnr, ...)
  end

  local opts = {noremap = true, silent = true}

  if client.resolved_capabilities.document_formatting then
    buf_set_keymap(
      "n", "<Leader>f", "<cmd>lua vim.lsp.buf.formatting()<CR>", opts
    )
  end
end

lspconfig.foo.setup({
  on_attach = on_attach
})

I'm going to close this @lithammer's solution is reasonable, and the :help lsp documentation is provided in neovim core.

(thanks all - and I hope you had a great Christmas and a happy new year!)


time_key default needlessly overridden in json, regexp, and ltsv parsers

Describe the bug
The global default for time_key is nil, indicating that the event time should not be derived from the message at all, but the json, regexp, and ltsv parsers override this to "time". Furthermore, the fluentd config syntax does not permit time_key to be set back to nil. as specifying nil, null, or "" result in the literal string representations "nil", "null", and "" being used. Specifying "#{use_nil}" results in an error that a value is required.
While it appears that time_key was required to be defined in the original implementations of these parsers, it has not been required for some time now, and the result is an edge case where a message contains a field called time that is not parseable as time causes an exception and the message to be dropped.
It is possible to work around this issue by setting time_key to a value that you do not expect to occur as a key in your messages, but this is a kludge at best.
It's also worth noting here that the docs do note that time_key is overridden by these parsers: https://docs.fluentd.org/configuration/parse-section#parse-parameters
To Reproduce

Define any input with a json parser.
Submit a message such as {"time": {"begin":<PHONE_NUMBER>020}}

Expected behavior
The message to be decoded as a dict with a key named "time" and its arbitrary value.
Environment

Fluentd or td-agent version: 1.11.5
Operating system: docker image fluent/fluentd:v1.11.5-1.0

Configuration
<source>
  # ...
  <parse>
    @type json
  </parse>
</source>

Error Log
#<Fluent::Plugin::Parser::ParserError: value must be a string or a number: {"client_sent"=>1611709938020}(Hash)> @ /usr/lib/ruby/gems/2.7.0/gems/fluentd-1.11.5/lib/fluent/plugin/parser.rb:196:in `rescue in parse_time'

timekey use_nil shouldn't work for you?

Although it will work as an work around in most cases, it isn't a right solution.
In this case the string use_nil is used as time_key.
So that if an incoming JSON includes a key use_nil, the value for it will be used as time!

Specifying "#{use_nil}" results in an error that a value is required.

Yes, "#{use_nil}" is the only way to set nil.
But fluentd doesn't permit to set nil even by "#{use_nil}" when a plugin set a non nil value as default for an option.
https://github.com/fluent/fluentd/blob/c62dc312eedb08bcd124c58042125e98385e1d6e/lib/fluent/config/section.rb#L186-L191


encapsulates s3 object in the constructor, allows for multiple instances

@jwerle
fixes #1

+1
On Thu, Nov 12, 2015, 7:12 PM Wells Johnston<EMAIL_ADDRESS>wrote:

@jwerle https://github.com/jwerle
fixes #1 https://github.com/littlstar/s3renity/issues/1
You can view, comment on, or merge this pull request online at:
https://github.com/littlstar/s3renity/pull/2
Commit Summary

encapsulates s3 object in the constructor, allows for multiple
instances

File Changes

M s3renity.js
https://github.com/littlstar/s3renity/pull/2/files#diff-0 (14)

Patch Links:

https://github.com/littlstar/s3renity/pull/2.patch
https://github.com/littlstar/s3renity/pull/2.diff

—
Reply to this email directly or view it on GitHub
https://github.com/littlstar/s3renity/pull/2.

:)


Add files via upload

@hrasheed-msft - Will you pull these commits to the private repo and close this PR? Thanks

#please-close


Test large request header on all endpoints

On the query endpoint I got:
'\r\n<title>400 Request Header Or Cookie Too Large</title>\r\n\r\n
400 Bad Request
\r\nRequest Header Or Cookie Too Lar
ge\r\n
nginx\r\n\r\n\r\n'

This issue was moved to adamtheturtle/vws-python-mock#7


Support expand query

Hi there
Thanks for this tidy Confluence API library!
I've noticed that expand is supported by query parameters but is not actually passed through to the request query.
Example
const contents = await client.contentAttachments.getAttachments({
  id: "123123",
  filename: "test.png",
  expand: ["metadata.properties"]
});

Results in this request
GET https://somewhere.atlassian.net/wiki/rest/api/content/1595999911/child/attachment?filename=test.png

I was expecting
GET https://somewhere.atlassian.net/wiki/rest/api/content/1595999911/child/attachment?filename=test.png&expand=metadata.properties

Cheers!

Nice catch, will fix it soon. Thank you for contribution!

It was fixed in v1.1.1. Try something like this:
import { Parameters } from 'confluence.js';

const contents = await client.contentAttachments.getAttachments({
  id: '123123',
  filename: 'test.png',
  expand: [Parameters.GetAttachments.Expand.PropertiesMetadata],
});


proposed rate 0.000020 is outside the expected range

I have tried to test selling from banco.vulpem.com and it gives the following error:
proposed rate 0.000020 is outside the expected range (50032.018000 to 53126.782000)

What is the pair you are selecting? This can happen if there is lot of volatility between preview endpoint and offer creation

The pair is sell lbtc/usdt
I have tried it several times between yesterday and today and it always gives the same error.


date fields cause fselect to get stuck

These work:
fselect * from .
fselect *,modified from .
fselect *,created from .

but these make fselect stuck:
fselect modified,* from .
fselect created,* from .

Just curious ... what is your motivation to use *?

I just wanted to get an overview of what columns are available, then I wanted to find 5 most recently modified files. I was surprised "modified" or "created" weren't part of "*" output -- I think "ls" adds some date to the output in the long mode, -- so I tried adding it and got it stuck, and I decided to report it here.

That was a bug with a star-field not in the first position in the query. Now this is fixed in master, and I added modified column to the default set as well.
Thanks for creating this issue!


chore: update field mapping openapi spec to not use oneOf/anyOf

This makes it so that the nested fields object spec gets expanded

can you explain why we need this change?

We need this because our current APISpec -> Doc tooling does not support anyOf and oneOf and it wasn't expanding the nested object.

You can still get the semantics right here and have it work correctly in docs. Just use a oneOf at the top level and duplicate.

That won't work because there is overlap (because both are optional). What we need is anyOf.
In any case I personally think a top level branching would make it more confusing, and we can just document that only one should be set (or one should take precedence over another)


fix UI account selector

Codecov Report
Patch and project coverage have no change.

Comparison is base (625f017) 42.25% compared to head (d1247e0) 42.25%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #277   +/-   ##
=======================================
  Coverage   42.25%   42.25%
=======================================
  Files          14       14
  Lines         956      956
=======================================
  Hits          404      404
  Misses        516      516
  Partials       36       36

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@mazmassa can we merge for now and we will modify after the ui-kit changes?

@mazmassa can we merge for now and we will modify after the ui-kit changes?

Yep! You can go! But these both fix MUST be done in ui-kit. I'll do ASAP and we fix in a new MR!


Dropping AcceptEncoding in ToCurlConverter should be parameterised

Browsers do expose the compression either as -H 'Accept-Encoding: gzip, deflate, br' (Safari) or as --compressed (Chrome) via "Copy as cURL" action.
Hideous behaviour of ToCurlConverter confused me today and I spent some time benchmarking if I do need compression for the service calls I perform. I did that in shell so there was difference and I ending up trying to explicitly set compression in sttp request and only then I figuring that all was done for nothing as compression was already enabled but not dumped by toCurl.
I suppose that behaviour should be parameterised and turned off by default (or replaced with --compressed if Accept-Encoding matches default for sttp, results will be still human-readable and compression could be easily turned off in produced cURL snippet (if --compressed is the last arg as Chrome does).

Didn't mean any offence by calling it a hideous code :)


bot_ How to set desc and what else to enter

No description provided.

Directly use natural language description


pkg: switch to dep and remove vendor from git

This is open to discussion.
This PR uses dep for dependency management instead of govendor and removes vendor from Git.
dep is still in heavy development but is safe to use in production because the dependency files will be backward compatible.
Switching to dep was fairly easy, I did dep init and had to update a few file because some dependencies were updated to newer versions. To install dependencies you have to do go get -u github.com/golang/dep/cmd/dep && dep ensure.
dep uses a lock file which is nice because it keeps the main dependency config file short (Gopkg.toml) compared to govendor. See https://github.com/golang/dep for docs.
Removing vendor makes Travis about 30 sec slower, which is not so bad in my opinion.

It looks very nice. I'd vote for a merge!


Custom Qualifier not working in ViewModel

When I introduce a View Model as below,
@HiltViewModel
class MainViewModel @Inject constructor(
    @InMemoryLogger private val logger: LoggerDataSource,
    private val savedStateHandle: SavedStateHandle
) : ViewModel()

it will hit the following build error:
error: [Dagger/MissingBinding] @com.example.android.hilt.di.InMemoryLogger com.example.android.hilt.data.LoggerDataSource cannot be provided without an @Provides-annotated method.
  public abstract static class SingletonC implements LogApplication_GeneratedInjector,

used to be working fine back in the @ViewModelInject days

In which Hilt component is the @InMemoryLogger binding installed? It should be part of the SingletonComponent

it did work after converting the component to SingletonComponent. but is SingletonComponent really the requirement to use DI with ViewModel?
I have created a branch demonstrating @InMemoryLogger works with @ActivityScoped in hilt-2.28.3-alpha
https://github.com/choongyouqi/android-hilt/tree/feature/viewmodel_old
This is the sample using @HiltViewModel in hilt-2.38.1 that I have to resort using SingletonComponent
https://github.com/choongyouqi/android-hilt/tree/feature/viewmodel_new

It doesn't need to be scoped or installed in the SingletonComponent. You could have the qualifier applied to an unscoped type, for example.
If you take a look at the components hierarchy, ViewModelComponent that is what @ViewModelInject uses is a subcomponent of ActivityRetainedComponent.


Migrate Summary Value Emissions Data Endpoint to Streaming Services

As an ERG team member, I need to be able to access summary emissions data from the summary value table in order to support CBS, CSA, and the CAMD Oracle Jobs.
Given an Emissions Summary Value Endpoint is created
When the API calls the summary value endpoint
Then summary Value emissions data based on a quarter range and ORIS codes is returned
Endpoint Parameters:
ORIS Code
Begin Year
Begin Quarter
End Year
End Quarter
Parameter Logic
One or more ORIS codes are to be provided
This will only be for the official camdecmps schema and the url will be
/streaming-services/emissions/summary-values
https://usepa.sharepoint.com/:w:/r/sites/CAMDITLegacyReeng/Shared Documents/General/ECMPS 2.0 Additional API Endpoints from ERG.docx?d=w742168a2451f4f839e683bb481d2059a&csf=1&web=1&e=YCXLP7

Requirements specify that the following should be returned:
[
{
“id”: “string”,

“locationId”: “string”,

“reportPeriodId”: number,

“parameterCode”: “string”,

“quarterlyValue”: number,

“yearTotal”: number,

“ozoneSeasonTotal”: number,

“userId”: “string”,

“addDate”: “string(date-time)”,

“updateDate”: “string(date-time)”

}
]

https://api.epa.gov/easey/dev/streaming-services/emissions/summary-values?orisCode=10|3&beginYear=2022&beginQuarter=1&endYear=2023&endQuarter=1
"id":"TWCORNEL5-D90E7212AA2C499A9889AB48B0F715E3",
"locationId":"17",
"reportPeriodId":117,
"parameterCode":"CO2M",
"quarterlyValue":66.6,
"yearTotal":66.6,
"ozoneSeasonTotal":null,
"userId":"bvick",
"addDate":"2022/04/26 14:49:23",
"updateDate":null}

API call functions as expected


Create CODEOWNERS

What this PR does
Add CODEOWNERS file for review simplicity

@Hazzer890 @goanna247 Please add this repository and the Wombat repository to the Wombat team with write access


UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2

$ sudo chroot /var/lib/debbuild/x86_64/root funiculi status
Traceback (most recent call last):
  File "/usr/bin/funiculi", line 8, in <module>
    sys.exit(run())
  File "/usr/lib/python3/dist-packages/funiculi/cli.py", line 21, in run
    fire.Fire(api.Api, command=list(args) + sys.argv[1:])
  File "/usr/lib/python3/dist-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/usr/lib/python3/dist-packages/fire/core.py", line 466, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/usr/lib/python3/dist-packages/fire/core.py", line 681, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "/usr/lib/python3/dist-packages/funiculi/api.py", line 71, in status
    return self._send('PW?')
  File "/usr/lib/python3/dist-packages/funiculi/api.py", line 102, in _send
    process = subprocess.run(
  File "/usr/lib/python3.9/subprocess.py", line 507, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/usr/lib/python3.9/subprocess.py", line 1134, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "/usr/lib/python3.9/subprocess.py", line 2023, in _communicate
    stderr = self._translate_newlines(stderr,
  File "/usr/lib/python3.9/subprocess.py", line 1011, in _translate_newlines
    data = data.decode(encoding, errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 31: ordinal not in range(128)

Completed with #6.


Ability to generate Karate tests

Today, QuickPerf live can generate JUnit 4 and JUnit 5 tests. These tests check the non-regression on functional behavior together with the non-regression on N+1 select.
This issue aims to generate Karate tests to ensure non-regression on functional behavior.

Hi Jean,
I would be very interested in looking how to implement such feature please !
Cheers,

Great Fabrice !! I assign the issue to you.


beagleboard-xm: Discontinue device follow-up

To properly discontinue a device type we need to remove the entire coffee file nowadays. This commit is a follow-up for https://github.com/balena-os/balena-beaglebone/pull/577
Changelog-entry: beagleboard-xm: Finish up device discontinuation

@balena-ci I self-certify!

Can one of the admins verify this patch?

@resin-jenkins ok to test


Investigate alternatives to Lerna

Some options:

https://github.com/boltpkg/bolt
https://github.com/microsoft/rushstack

rushstack seems too opinionated and too "full" solution (formatting / changelogs / ...)
I am currently (only) mainly interested in a replacement for the lerna version/publish commands

rushstack seems too opinionated and too "full" solution (formatting / changelogs / ...)
I am currently (only) mainly interested in a replacement for the lerna version/publish commands

Semantic Release may be relevant:

https://github.com/semantic-release/semantic-release

Semantic Release may be relevant:

https://github.com/semantic-release/semantic-release

semantic release does not (currently) support mono-repos

semantic release does not (currently) support mono-repos

Looks like the versioning part could be done by standard-version

https://github.com/conventional-changelog/standard-version

What is missing is the publishing of of all changed packages to npmjs.com
This problem could be simplified if we assume:

same version number for all packages.
all packages always gets published together.

In that case the newly pushed tag could trigger npm publish on all public packages in mono-repo

Looks like the versioning part could be done by standard-version

https://github.com/conventional-changelog/standard-version

What is missing is the publishing of of all changed packages to npmjs.com
This problem could be simplified if we assume:

same version number for all packages.
all packages always gets published together.

In that case the newly pushed tag could trigger npm publish on all public packages in mono-repo


Several small fixes

Make some constants platform specific (statusbar etc.)
Make compose box move in sight when keyboard pops up
Fix narrowing for compose text send
Fix group subheader and title

Automated message from Dropbox CLA bot
@borisyankov, it looks like you've already signed the Dropbox CLA. Thanks!


update libsqlite3-sys

Setup
Versions

Rust: 1.34.2
Diesel: 1.4.2
Database: sqlite
Operating System mac os

Feature Flags

diesel: sqlite

Problem Description
I expected diesel to build when having both rusqlite and diesel as dependency.
What are you trying to accomplish?
Building examples of actix-web with recent rusqlite, when having diesel in same workspace. https://github.com/actix/examples/pull/148
What is the expected output?
Non failing build
What is the actual output?
error: multiple packages link to native library `sqlite3`, but a native library can be linked only once

package `libsqlite3-sys v0.9.1`
    ... which is depended on by `diesel v1.4.2`
    ... which is depended on by `diesel-rusqlite v0.1.0 (/private/tmp/diesel-rusqlite)`
links to native library `sqlite3`

package `libsqlite3-sys v0.15.0`
    ... which is depended on by `rusqlite v0.19.0`
    ... which is depended on by `diesel-rusqlite v0.1.0 (/private/tmp/diesel-rusqlite)`
also links to native library `sqlite3`

Are you seeing any additional errors?
No.
Steps to reproduce
/tmp $ mkdir diesel-rusqlite
/tmp $ cd diesel-rusqlite/
/t/diesel-rusqlite $ cargo init
     Created binary (application) package
/t/diesel-rusqlite (master|…) $ echo 'diesel = { version = "1.4.2", features = ["sqlite"] }' >> Cargo.toml
/t/diesel-rusqlite (master|…) $ echo 'rusqlite = "0.19"' >> Cargo.toml
/t/diesel-rusqlite (master|…) $ cargo build

Checklist

[x] I have already looked over the issue tracker for similar issues.
[x] This issue can be reproduced on Rust's stable channel. (Your issue will be
closed if this is not the case)

Note that rusqlite 0.19 was released today, but the same holds for 0.18 released april 24.

It would be great if you can open a PR bumping this version (and also that one in diesel_cli).


Add an action to automatically release a stable version on tag push

This should be easy based on this answer

Solve for pypi in #46


Include Localization Support

I'm working on a new keyboard layout and would like the descriptions to be in another language. Is it possible to create a JSON file for this?
If the application has many locales, show only that locales. Otherwise show only the default.
This is a sketch I did.
Option 1 - Only descriptions

Option 2 - Best scenario

I think we have a general problem that some descriptions are too long to fit inside the button. This will most likely be an even bigger problem in other languages such as German. I suggest putting the translation in the button itself, but cutting it off when it gets too long.
I was planning on creating a separate interface where longer descriptions can be displayed. This interface can show up when you click on a button or when you press a button on your keyboard.

Option 2 wouldn't work for the Apple keyboard layout, since the F-keys fill the entire length.
Another thing to remember is that the project will need to be reorganized to support different languages (all the intermediate files will need to change format to specify which language the description is in).
I like this idea though, and the added option on the right side for language gets a +1 from me.


About the maximum number of animations.

Did I reach the limit?
When I'm trying to update the old model, adding new Pose and Gesture, when I get to 117 animations, I can't save the file.
(must reduce to 116 to be able to save)
I tried fixing it in the "skin layer setting" menu, it still didn't help.
Is it a bug or normal?
I have too many animations?
The mod has a limit?
more info:
CustomPlayerModels-Fabric-1.19.3-0.6.3a.jar
fabric-api-0.72.0+1.19.3.jar

So I'll have to focus on the model details instead for now...

The mod has a limit of 61 (2^6-3) custom poses/gestures, due to the skin layers. A bug currently counts toggle and value layers into this (Which work differently, and has a limit of 253).


chore: sync versions

[jx-info] Hi, we've detected that the pipelines in this repository are using a syntax that will soon be deprecated.
We'll continue to update you through PRs as we progress. Please check #8589 for further information.

@kulll: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

verify
35a75286d08dd0865b5ded37d1a9789632e7968f
link
/test verify

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


docs: update ui mockup of app.

fixes #70
Now, the mockup includes more relevant tags and additional information like matriculation number to demonstrate the head tutor keeping track of students.
This is to make the ui mockup closer to the vision of our app.
Lets strive toward better documentation.

Looks good!

looks good to go :)

LGTM!


import $file with files that have another extension other than sc

Hi, is it possible to import scripts that have an extension other than sc using the import $file syntax?
I can do:
interp.load.module(Path(pwd + "/Blah.scala"))
Compiling Main.sc
...

But if I try with import $file I get:
import $file.`Blah.scala`
Cannot resolve $file import: /Users/amunoz/Blah.scala

Which is a bit baffling because the file actually exists. All those errors go away if I rename the file to Blah.sc and use import $file.Blah.

Can't import anything but .sc files right now; i doubt this will change because it would complicate file import resolution and reduce the quality of the error messages. Most scripting languages like Python or Ruby are similar IIRC: you can have your main script called whatever you want, but the imported scripts need the right extension

Then a better message aother than:
Cannot resolve $file import: /Users/amunoz/Blah.scala

Would be helpful. Maybe add the sc extension?
Cannot resolve $file import: /Users/amunoz/Blah.scala.sc


Show incorrect network when Buy token Astr

Description the bug
Show incorrect network when Buy token Astr
To reproduce the bug
Version test: v1.0.1(134)
Actual: Display ETH token
https://user-images.githubusercontent.com/117999489/234567374-d0f7bc38-ce49-4b7b-a354-4590e4d7e331.mp4
Expect: Show network selected

Version test: v1.0.1(137)
Validation passed.


Incorrect year when adding days

Describe the bug
If you try to add more days that left in the year then the year should be incremented, but it's stays the same, although month is correctly incremented
To Reproduce
Steps to reproduce the behavior:

Create a Moment date, if today is December 31 then just
const date = moment();
otherwise
 const date = moment('2020-12-31');
Add a day to date
date.add(1, 'd');
Output date
const output = date.format('GGGG-MM-DD');

Expected behavior
Date should be 2021-01-01
Actual behavior
Date is 2020-01-01
Please run the following code in your environment and include the output:
console.log((new Date()).toString()) // Thu Dec 31 2020 14:26:04 GMT+0200 (Eastern European Standard Time)
console.log((new Date()).toLocaleString()) // 12/31/2020, 2:26:04 PM
console.log((new Date()).getTimezoneOffset()) // -120
console.log(navigator.userAgent) // Mozilla/5.0 (darwin) AppleWebKit/537.36 (KHTML, like Gecko) jsdom/11.12.0
console.log(moment.version) // 2.24.0

@atkach To get your preferred output, use const output = date.format('YYYY-MM-DD'); .
GGGG is the year of the ISO week and not the actual year. An ISO week-numbering year has 52 or 53 full weeks.
That is 364 or 371 days instead of the usual 365 or 366 days.
For more info, you can refer the moment docs.
Tested in Moment 2.29.1. You can use the below format as per your output need.
const output = moment('2020-12-31').add(1, 'd').format('YYYY-MM-DD');
console.log(output); // o/p : 2021-01-01

@atkach To get your preferred output, use const output = date.format('YYYY-MM-DD'); .
GGGG is the year of the ISO week and not the actual year. An ISO week-numbering year has 52 or 53 full weeks.
That is 364 or 371 days instead of the usual 365 or 366 days.
For more info, you can refer the moment docs.
Tested in Moment 2.29.1. You can use the below format as per your output need.
const output = moment('2020-12-31').add(1, 'd').format('YYYY-MM-DD');
console.log(output); // o/p : 2021-01-01

@atkach To get your preferred output, use const output = date.format('YYYY-MM-DD'); .
GGGG is the year of the ISO week and not the actual year. An ISO week-numbering year has 52 or 53 full weeks.
That is 364 or 371 days instead of the usual 365 or 366 days.
For more info, you can refer the moment docs.
Tested in Moment 2.29.1. You can use the below format as per your output need.
const output = moment('2020-12-31').add(1, 'd').format('YYYY-MM-DD');
console.log(output); // o/p : 2021-01-01

Thanks, it solved my issue.

@atkach To get your preferred output, use const output = date.format('YYYY-MM-DD'); .
GGGG is the year of the ISO week and not the actual year. An ISO week-numbering year has 52 or 53 full weeks.
That is 364 or 371 days instead of the usual 365 or 366 days.
For more info, you can refer the moment docs.
Tested in Moment 2.29.1. You can use the below format as per your output need.
const output = moment('2020-12-31').add(1, 'd').format('YYYY-MM-DD');
console.log(output); // o/p : 2021-01-01

Thanks, it solved my issue.


Adding font loading to draw text functions

This PR adds the graphics_set_font function that loads sprite fonts that will be used on the graphics_draw_character function.
It also adds font width and height calculation on graphics_draw_text, removing the fixed values.

Very cool! could you maybe add an example ? or explain how to generate a format similar to .h for other fonts?

Very cool! could you maybe add an example ? or explain how to generate a format similar to .h for other fonts?

Added an example (customfont).

Thanks @stefanmielke

As a further comment not made inline: would you please change console_init() to also configure the system font? I think the console should use it, rather than inherit whatever custom font was last configured, especially as the console is "asynchronously" initialized for asserts and crashes.

Did you mean something else rather than on console_init(), like when on __console_render? That way we would always render using that font, even if we change the font right before rendering the console.
I guess if we do that we should state somewhere that you have to set the font every frame if you use the console (or else we'd have to keep the last font used somewhere and revert back to it after drawing the console).

No I meant console_init. What I meant is that it could get called by an assertion failure while the user is drawing something via graphics, and may have changed the font.
After console_init, I don't expect graphics.c API to be used directly: the idea of the console is to just use printf.

@rasky I added the check used inside __is_transparent. Hoping this removes that block.


Improve sidenav behavior on mobile.

The sidenav now hovers over the main text instead of pushing the main
text sideways which both looks cooler and is less disruptive to the visuals.
The rendering of the sidenav toggler button now matches the "back to top"
button I added last week.

Ping.


New feature: phaseShift, controllefPhaseShift, multiControlledPhaseShift

phaseShift implemented (density matrix branch)

all implemented on density matrix branch


The pixel dependency should currently be pulled in from a branch of my fork (github.com/fgrosse/pixel) because I am waiting for faiface/pixel#186 to be merged.
If you have Go 1.11 or higher you should be able to work around this via
GO111MODULE=on go get github.com/fgrosse/go-home

Alternatively you can clone this repo outside your GOPATH, cd into it and then do go install. Note that you need to install the required external dependencies for OpenGL (see README.md)

GOARCH="amd64"
GOBIN=""
GOCACHE="~/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="~/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12.3/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12.3/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/44/txz_wqq568n4lbh6014ft754hlbqxb/T/go-build351885161=/tmp/go-build -gno-record-gcc-switches -fno-common"

OpenGL is installed, I tried both outside a project and inside a project, both inside and outside of my GOPATH.
It is a compile-error, so I don't think it has anything to do with my OpenGL installation.

Cloning and installing it works.
You should prob still look into this compile error.

It's interesting and I will try and reproduce the issue on a fresh checkout. Maybe it's really a problem with the replace directive when using go get with modules?
Thanks for reporting and the extra info :)

I decided to document installation better. Using go get for an application (i.e. not a library) isn't really useful. Thanks again for drawing my attention to this :)


Flatten error handling and make it chainable

Codecov Report

Merging #6 (4721de6) into master (9e9d326) will decrease coverage by 0.85%.
The diff coverage is 57.89%.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
- Coverage   86.18%   85.32%   -0.86%
==========================================
  Files          12       14       +2
  Lines         398      654     +256
==========================================
+ Hits          343      558     +215
- Misses         55       96      +41

Impacted Files
Coverage Δ

src/lib.rs
100.00% <ø> (ø)

src/directory.rs
68.75% <20.00%> (+3.03%)
:arrow_up:

src/path/mod.rs
81.81% <37.50%> (+2.50%)
:arrow_up:

src/file.rs
81.72% <56.25%> (+2.30%)
:arrow_up:

src/error.rs
75.00% <100.00%> (+6.81%)
:arrow_up:

src/error_test.rs
100.00% <100.00%> (ø)

src/directory_test.rs
58.90% <0.00%> (ø)

src/file_test.rs
89.70% <0.00%> (ø)

Continue to review full report at Codecov.

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

this is really great. thanks a lot.
i'll move the result to some types.rs and publish a new version.


Updated IFTTT?

Hello, it looks like IFTTT updated their website to no longer include the Maker module. Is there any way you could update the documentation on this? I'm new to this. Thanks a bunch!

Sorry for the delay in responding. I think IFTTT replaced their Maker module with a webhooks service. See details here: https://help.ifttt.com/hc/en-us/articles/115010230347-Webhooks-service-FAQ
I hope to update the documentation in the coming days to reflect this.
Thanks for bringing it to my attention!


Enhancement: Kade Engine needs a reset settings button.

I accidentally changed something random while trying to find how to switch to the old input system (just found out that option was removed) and now my accuracy barely lowers.
I have no idea how to fix it, and even though I've been searching for 2 hours I still have no way to fix it. I completely deleted Kade Engine, but after reinstalling it still remembered all my settings (I can tell because I set my controls to DFJK and it stayed that way)
I don't know what to do. I just want to reset my settings and get it over with, but I literally can't.

i agree that there should be a reset option, but for the time being, you can reset your save data by going to appdata, roamings, kadedev, and there should be a folder called "Kade Engine", thats where the save is stored, you can just delete the folder, btw this only works on kade engine 1.5.1 - above since kade changed the package name from ninjamuffin99.funkin to kadedev.kadeengine

i agree that there should be a reset option, but for the time being, you can reset your save data by going to appdata, roamings, kadedev, and there should be a folder called "Kade Engine", thats where the save is stored, you can just delete the folder, btw this only works on kade engine 1.5.1 - above since kade changed the package name from ninjamuffin99.funkin to kadedev.kadeengine

Oh my god thankyou so much, I looked through my program files and couldn't find any save data I'm gonna do this right now.

i agree that there should be a reset option, but for the time being, you can reset your save data by going to appdata, roamings, kadedev, and there should be a folder called "Kade Engine", thats where the save is stored, you can just delete the folder, btw this only works on kade engine 1.5.1 - above since kade changed the package name from ninjamuffin99.funkin to kadedev.kadeengine

Oh my god thankyou so much, I looked through my program files and couldn't find any save data. I'm gonna do this right now.

did it work

exists


[V1] Initial support of multimodal models for V1 re-arch

This PR adds V1 support for selected image language models

[x] Intern-VL
[x] Molmo
[x] Pixtral
[x] ~Qwen2-VL (missing MRope implementation, will address in a separate PR)~ separated to #10988

We can consider passing the placeholder indices to get_input_embeddings so that the relationship between input_ids and multimodal_embeddings becomes more explicit.

Hmm I don't think that alone will help actually because V1 assumes chunked prefill by default. Unless we're passing additional information such as computed tokens per request, the model runner doesn't know the original indices of input_ids in their corresponding requests.

It seems that we have test related to using image embeddings as input (which will be a breaking change in V1 since we cannot take batched image embedding directly as input), thus I'm separating Qwen2VL from this PR.

LGTM! It'd be nice if @DarkLight1337 can also take another look.

Sorry for the late reply, it looks good to me.