PDF.dll is not included in the windows package

pdf.dll is needed for printing jobs in windows, and currently it is not part of the prebuilt distribution.

This should be reported to http://github.com/atom/electron. electron-prebuilt is not responsible for packaging.

I believe this issue can be closed now, this dll is no longer needed in current versions of Electron.
https://github.com/electron/electron/issues/6373


Is there a way to get the raw bytes with the decoder + unmarshal interface

I have a complex data structure, for which I have all the interfaces defined to satisfy the UnmarshalerJSONObject interface.  There is one object within this complex structure which is currently being handled by the standard lib UnmarshalJSON interface, where I mutated/normalize the bytes before unmarshaling. I cannot use UnmarshalerJSONObject for this object because UnmarshalJSONObject(dec *gojay.Decoder, k string) does not expose the bytes
I need a way to see if the value for the k is a string or []string, if it's a string I need to change the byte structure to be a []string
Example of the UnmarshalJSON I use which does not work well with UnmarshalerJSONObject
func (a *Foo) UnmarshalJSON(b []byte) error {
	var rawData map[string]interface{}
	err := json.Unmarshal(b, &rawData)
	if err != nil {
		return nil
	}

	writeJSON := func(buf *bytes.Buffer, key string, value []interface{}) {
		buf.WriteString(`"` + key + `":[`)
		for i, v := range value {
			buf.WriteString(`"` + v.(string) + `"`)
			if i+1 < len(value) {
				buf.WriteByte(',')
			}
		}
		buf.WriteString(`]`)
	}

	// allocate the buffer upfront
	buf := bytes.NewBuffer(make([]byte, 0, len(b)))
	buf.WriteByte('{')

	i, keysN := 1, len(rawData)
	for key, value := range rawData {
		switch rawData[key].(type) {
		case []interface{}:
			writeJSON(buf, key, value.([]interface{}))
		case string:
			// handle the case where the SDK sends seperated values
			parts := strings.Split(value.(string), ",")
			if len(parts) == 1 && len(parts[0]) == 0 {
				parts = []string{}
			}

			// create an interface slice for the method, for the most part this will always be a slice of 1
			slice := make([]interface{}, len(parts))
			for i := 0; i < len(parts); i++ {
				slice[i] = parts[i]
			}
			writeJSON(buf, key, slice)
		}
		if i < keysN {
			buf.WriteByte(',')
			i++
		}
	}
	buf.WriteByte('}')

	// avoid infinite recursion, create a type alias
	type temp Foo
	var tempFoo temp
	err = json.Unmarshal(buf.Bytes(), &tempFoo)
	if err != nil {
		return nil
	}
	// mutate a
	*a = Foo(tempFoo)
	return nil
}

^ oh as an FYI on this example, nil error returns are on purpose. If this object fails to unmarshal, it shouldn't break all the other objects in the complex structure this belongs to.
Within the UnmarshalerJSONObject I use the dec.Array as the data structure foo contains fields that are all of type []string
However, the value of the data can either be a single string, or a comma separated string, or an array. My custom unmarshaler handles all those permutations and ensures everything is of type []string to avoid a structure where the value is of type interface{}.
within the context of  (s *Foo) UnmarshalJSONObject(dec *gojay.Decoder, k string)
each value is defined to spec
switch k {
	case "bar":
		var aSlice = Strings{}
		err := dec.Array(&aSlice)
		if err == nil && len(aSlice) > 0 {
			s.Bar = []string(aSlice)
		}
		return err
....
}

however dec.Array(&aSlice) doesn't allow there to be the chance that the data is of type string.
I've tried calling dec.String() first and then following back if err != nil to dec.Array(), but calling String() moves the reader forward and skips "bad" data, therefore calling dec.Array() after fails. Calling dec.Array() on a string type also fails with a non catchable error invalidUnmarshalErrorMsg,  which is not bubbled up to err := dec.Array(&aSlice), which means one can't simply call dec.String() after.  And because I haven't found a way to work with the bytes or call UnmarshalJSON within UnmarshalJSONObject I can't get the performance boost from calling
decoder := gojay.BorrowDecoder(reader)
defer decoder.Release()
err = decoder.DecodeObject(&v)

Because the data will be invalid for object Foo as a result of not being able to handle string types.
That also means I don't gain a real performance boost when calling
decoder := gojay.BorrowDecoder(reader)
defer decoder.Release()
err = decoder.Decode(&v)

Which uses the std lib as the the code always hits the case
case *interface{}:
    err = dec.decodeInterface(vt)

which uses the std lib underneath
if err = json.Unmarshal(object, i); err != nil {
  return err
}

Any thoughts?

I was just going to post the same issue when I saw yours. I am trying to migrate my code from JSON Iterator to GoJay except in my case all of the objects are sent in the way you describe.
My objects often have a "type" field and a "content" field. I am unmarshaling only the "type" field then decide which further processing is required, then I am sending the bytes of the "content" filed to the proper code that handles this type of messages. I don't understand how to do it in GoJay without sending the entire original JSON data to each function.

Hey, sorry for the latency!
So in the end, what you want to do is to unmarshal a value that could be either a json array of strings or a comma separated string into a go []string.
With the current state of gojay, I only see one solution, first unmarshal that value to a gojay.EmbeddedJSON, then check if first char is [ or " and then do the unmarshaling accordingly.
Example:
func (f *Foo) UnmarshalJSONObject(dec *gojay.Decoder, k string) error {
    switch k {
       case "yourkey":
           eb := make(gojay.EmbeddedJSON, 0, 128)
           if err := dec.EmbeddedJSON(&eb); err != nil {
                return err
           }
           switch eb[0] {
                case '"':
                // decode string, then split it
                var s string
                if err := gojay.Unmarshal(eb, &s); err != nil {
                         return err
                }
                f.V = strings.Split(s, ",")
                case '[':
                // decode array
                var aSlice = Strings{}
		err := gojay.Unmarshal(eb, &aSlice)
		if err == nil && len(aSlice) > 0 {
			s.Bar = []string(aSlice)
		}
		return err
           }
    }
}

We could also add some methods to the decoder to tell what's the next data in the buffer. Something like:
switch dec.NextToken() {
    case gojay.TokenArray:
    case gojay.TokenString:
}

Let me know what you think

What I actually want is not to unmarshal a field but leave it as bytes (or other internal type).
Then send only this field to another decoder separately.
Here is my current code (there is another issue there that I unmarshal twice, I am going to fix it)
    header := DataLayer.MessageHeader{}
    var data map[string]jsoniter.RawMessage
    err := Json.JsonPaser.Unmarshal(message, &data)
    if err != nil {
        Log.Error(err)
        return nil, nil
    }

    err = Json.JsonPaser.Unmarshal(message, &header)
    if err != nil {
        Log.Error(err)
        return nil, nil
    }

    return &header, data["content"]

The data is something like :
{
  "messageId":1,
  "sender" : "sender name",
 "type": "order",
 "content":{
    //order details
 }
}

I can unmarshal just the first 3 fields and according to the type I can send the content bytes to the order handling function that will unmarshal it separately.
This is how I do it... Not saying this is the best way but I cannot easily switch to GoJay because I cannot do this with GoJay.

For my situation, this may work very well! Going to give it a try today. I
justed needed a way to normalize the data types to [], which you saw I was
doing with raw bytes before.
On Wed, Jul 17, 2019, 12:47 AM Francois Parquet<EMAIL_ADDRESS>wrote:

Hey, sorry for the latency!
So in the end, what you want to do is to unmarshal a value that could be
either a json array of strings or a comma separated string into a go
[]string.
With the current state of gojay, I only see one solution, first unmarshal
that value to a gojay.EmbeddedJSON, then check if first char is [ or "
and then do the unmarshaling accordingly.
Example:
func (f *Foo) UnmarshalJSONObject(dec *gojay.Decoder, k string) error {
switch k {
case "yourkey":
eb := make(gojay.EmbeddedJSON, 0, 128)
if err := dec.EmbeddedJSON(&eb); err != nil {
return err
}
switch eb[0] {
case '"':
// decode string, then split it
var s string
if err := gojay.Unmarshal(eb, &s); err != nil {
return err
}
f.V = strings.Split(s, ",")
case '[':
// decode array
var aSlice = Strings{}
err := gojay.Unmarshal(eb, &aSlice)
if err == nil && len(aSlice) > 0 {
s.Bar = []string(aSlice)
}
return err
}
}
}
We could also add some methods to the decoder to tell what's the next data
in the buffer. Something like:
switch dec.NextToken() {
case gojay.TokenArray:
case gojay.TokenString:
}
Let me know what you think
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/francoispqt/gojay/issues/119?email_source=notifications&email_token=AB4Z3XG3VM2YKA3A3FFMTULP72P4HA5CNFSM4H7AUZYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DAPTI#issuecomment-512100301,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4Z3XCO3N2NV4J66EL6GJTP72P4HANCNFSM4H7AUZYA
.

@francoispqt given that the data can be very dynamic in terms of size, the first solution can be very hard to use
eb := make(gojay.EmbeddedJSON, 0, 128)  // 128 best guess?
If the string or array has an unknown size.  It can be very easy to under or over allocate. I really like the idea of adding, it keeps it very simple without adding too much complexity.  What do you think?
switch dec.NextToken() {
    case gojay.TokenArray:
        var aSlice = Strings{}
        dec.Array(&aSlice)
        s.Bar = []string(aSlice)
    case gojay.TokenString:
        var s string
        dec.String(&s)
        aSlice := string.Split(s, ",")
        dec.Array(&aSlice)
        s.Bar = []string(aSlice)
}

because then we could just use the underline logic of
dec.Array(&aSlice)

@francoispqt Was wondering if anymore thought was given to
switch dec.NextToken() {
    case gojay.TokenArray:
    case gojay.TokenString:
}


Multi thread tflite

How do I use multiple threads for my tflite?

You can use the micropython thread class.  But it depends on the port what CPU the thread actually runs on.  For example ESP32 threads always run on the APP core (the micropython freertos task is pinned to the APP core).  I think RP2040 threads are supposed to use both cores.


Can this get my intagram account suspended

I used another tool to brute force my account. I found the password and logged in.
Sometime later I got logged out and got a warning that my account is scheduled for suspension after 180 days due to suspicious activity. To access it I had to prove with email verification else my account could have been terminated.
It was another tool by another dev. Would this tool get the account suspended...?

Use https://github.com/GH05T-HUNTER5/insta-breaker


[SUGGESTION] Description & Salary overview for jobs before picked

Is your feature request related to a problem? Please describe.
Currently before you pick a job with /jobs, you get a GUI that shows you the name of the job i.e. Crafter, Hunter, etc. Like so:

Describe the solution you'd like
Can a description be added to briefly explain the job and a salary, so players can get an idea on what the job will entail for them before they pick it. This way they don't need to pick it then check. Like so:

Describe alternatives you've considered
I thought maybe I could manually add the text into the title of the job but I haven't tried that yet and it'll probably be the same text size. But if I could drop the text down then change the colour then that might work. However the salary won't be dynamic.

Added new lore job configuration. There is still no way to get the salary dynamically but it is something already.


Is it possible to make sliderWidth and itemWidth animated ?

I'm trying create a snap carousel and under it a scroll view when the scroll view is scrolled to the top I want the carousel's width and item width to be 100%, and reduce the height... for the height it's working I'm rendering <Animated.View> ... , how can I do that to the width?

@RichardNassar1 Unfortunately, this is not possible at this point and would prove really tricky to implement.


Throw exception for recursive action group

opensearch-security pull request intake form
Please provide as much details as possible to get feedback/acceptance on your PR quickly

Category: (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)
Bug fix

Github Issue # or road-map entry, if available:
#1389

Description of changes:
If recursive action groups exist, exception is thrown while loading securityconfigs into memory.

Why these changes are required?
Recursive action groups cause StackOverflowError while being loaded to memory.

What is the old behavior before changes and new behavior after changes? (Please add any example/logs/screen-shot if available)
Recursive action groups cause StackOverflowError while security configs are being loaded to memory.

Testing done: (Please provide details of testing done: Unit testing, integration testing and manual testing)
UT and Manual testing

TO-DOs, if any: (Please describe pending items and provide Github issues# for each of them)

Is it backport from main branch? (If yes, please add backport PR # and commits #)

By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1404 (1a00d65) into main (9f04635) will increase coverage by 0.00%.
The diff coverage is 50.00%.

@@            Coverage Diff            @@
##               main    #1404   +/-   ##
=========================================
  Coverage     64.80%   64.81%
- Complexity     3201     3202    +1
=========================================
  Files           247      247
  Lines         17243    17247    +4
  Branches       3050     3052    +2
=========================================
+ Hits          11175    11178    +3
- Misses         4517     4518    +1
  Partials       1551     1551

Impacted Files
Coverage Δ

...pensearch/security/securityconf/ConfigModelV7.java
63.95% <50.00%> (+0.45%)
:arrow_up:

...org/opensearch/security/rest/TenantInfoAction.java
77.94% <0.00%> (-10.30%)
:arrow_down:

...a/org/opensearch/security/tools/SecurityAdmin.java
47.26% <0.00%> (-0.14%)
:arrow_down:

...security/configuration/DlsFlsFilterLeafReader.java
60.47% <0.00%> (+0.70%)
:arrow_up:

...ecurity/configuration/ConfigurationRepository.java
74.72% <0.00%> (+1.64%)
:arrow_up:

Continue to review full report at Codecov.

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

This only takes care of cases where action group is self referenced in its allowed actions. It will not take care of cases where there's a circular dependency such as:
AG_1:
  allowed_actions:
  - "AG_2"

AG_2:
  allowed_actions:
  - "AG_1"


Added custom handler option for hashing data items

Motivation
There are cases where developers would like to have their own hash function to determine if a document has changed.
This change allows developers to do this.

@nialldonnellyfh Just to note that in fh-mbaas-api@7 the handleHash function is not exposed as part of sync.
Instead there is the $fh.sync.setRecordHashFn and $fh.sync.setGlobalHashFn functions exposed. I will make sure to update the function name in https://github.com/feedhenry-raincatcher/raincatcher-sync/pull/27


[Suggestion] add pin names to header

the datasheet names the Pins from P00 to P17 it would be cool to have a maping in the haver file so these names can be used with the digitalWrite call (P07=7 ; P10 = 8 and  so on)

Nice idea, problem that might occur is that these names are already used. Have seen that in the past with A0 and when I used datasheet names in the code.
So possible would be to use some prefix like
#define TCA_P0.   0

jep sounds good. maybe surroind with a #ifndef DISABLE_TCA_PIN_NAMES

something like
#if !defined(TCA9555_PIN_NAMES)
#define TCA9555_PIN_NAMES

  #define TCA_P00         0
  #define TCA_P01         1
  #define TCA_P02         2
  #define TCA_P03         3
  #define TCA_P04         4
  #define TCA_P05         5
  #define TCA_P06         6
  #define TCA_P07         7
  #define TCA_P10         8
  #define TCA_P11         9
  #define TCA_P12         10
  #define TCA_P13         11
  #define TCA_P14         12
  #define TCA_P15         13
  #define TCA_P16         14
  #define TCA_P17         15

#endif

left out the 9555 as I think TCA9555_P00 is rather long
Also makes more sense to use with the 9535

Created a develop branch, please verify if it works for you.
Are there other things  you need in the library?
( I try to minimize my releases effort )

I am activly developing so for now yes it meets all my needs. I will come back if need something else or have another idea


Fail to capture microphone input on macOs - AudioUnitRender error -10863

Godot version:
3.1.1.stable.custom_build
OS/device including version:
MacMini - macOS Catalina 10.15.2
Issue description:
When trying to record microphone input on macOs it throws an AudioUnitRender error -10863.

FYI, I already patched the microphone permission on #34338.
Steps to reproduce:
Download official demo project Mic Record Demo, plugin a microphone and run the scene.
If you disable Autoplay from AudioStreamRecord it doesn't throw this error.
Minimal reproduction project:
https://github.com/godotengine/godot-demo-projects/tree/master/audio/mic_record

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?

Yes, I get the same issue with 3.2.3 on Big Sur.

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?

Yes, I get the same issue with 3.2.3 on Big Sur.

Duplicate of https://github.com/godotengine/godot/issues/33184.

Duplicate of https://github.com/godotengine/godot/issues/33184.

I got the mic demo working on Big Sur and Godot 3.2.3 by changing the microphone sample rate to 44100 in macOS settings. This was the cause of this ticket.
Once you get past the -10863 error, the mic demo works on macOS.

I got the mic demo working on Big Sur and Godot 3.2.3 by changing the microphone sample rate to 44100 in macOS settings. This was the cause of this ticket.
Once you get past the -10863 error, the mic demo works on macOS.

Reopening because this is not a duplicate of https://github.com/godotengine/godot/issues/33184. That issue is explicitly for Linux, and this issue is explicitly for macOS, this is stated in the discussion on that issue:

Specifically, this macOS issue has an explicit error printed in the debugger, which is not present on Linux:

I also had this problem, on my M2 MacBook Pro. It works after I set the sample rate to 48000.


Update woodwork version to 0.0.9

@gsheni @thehomebrewnerd have a patch for #1780 going out in that release (https://github.com/alteryx/woodwork/issues/541)
We should update to get that patch.

Woodwork v0.0.9 has been released.

Was digging into this a bit. Looks like in 0.0.8 (and more specifically, this PR: https://github.com/alteryx/woodwork/pull/464), Woodwork changed their behavior such that when a DataTable is initialized, the index is set to RangeIndex. This causes an issue with EvalML components, which seek to preserve the Index of the original input data.
Talking to @tamargrey, a workaround would be to add an index column, pass it to the WW constructor as the index column to use, and then when converting back to pandas, removing that column. This has its own implications and complications though. The biggest for EvalML is, we currently return WW from components. The returned WW structure would need to have that index column. Weird behavior if user is using component on its own. If the component is fed into another component, the other component would need to know what column to use as the index and drop.
I filed something with Woodwork for this (https://github.com/alteryx/woodwork/issues/569), but we may want to halt on upgrading until this is resolved.

Closing in favor of #1899


Move Icon Creation to GenerateIssuerIconAssets.sh

After our discussion on #52, I spent some time implementing the automated icon generation we discussed. The bash script uses sips – which ships with macOS – and ag – an ack alternative that you can install with Homebrew – to generate the icon files.
The one missing feature that we discussed is removing the hard-coded rounded corners, but that can be implemented in another pull request.

Wow, that's super cool! Thanks so much for working on this! I'll read through the script and post feedback inline.

Wow, that's super cool! Thanks so much for working on this! I'll read through the script and post feedback inline.

I have a branch locally with quite a few icons without rounded corners and code to round them at runtime. Will post a PR with it as soon as I've had time to clean it up somewhat!

I have a branch locally with quite a few icons without rounded corners and code to round them at runtime. Will post a PR with it as soon as I've had time to clean it up somewhat!

Alright, all suggestions implemented. Thanks to @ThinkChaos for the RegEx and directory pointers. Probably should squash before merging.

Alright, all suggestions implemented. Thanks to @ThinkChaos for the RegEx and directory pointers. Probably should squash before merging.

Merged as d6b4544f7a996fd2c7a4feaa77cdee7735240749 and 174fcf569a874472365a47e24b050eec0e4a86e9 with some small modifications:

I removed the comment about the regex since it was describing the old one.
I removed some empty lines
I brought back the unoptimized versions of all icons and re-ran the script. Xcode automatically runs all pngs through pngcrush as part of the build. Not optimizing the icons output by the script avoids having to re-optimize them everytime the script is run to avoid binary diffs.

Thanks so much @FIGBERT and @ThinkChaos!

Merged as d6b4544f7a996fd2c7a4feaa77cdee7735240749 and 174fcf569a874472365a47e24b050eec0e4a86e9 with some small modifications:

I removed the comment about the regex since it was describing the old one.
I removed some empty lines
I brought back the unoptimized versions of all icons and re-ran the script. Xcode automatically runs all pngs through pngcrush as part of the build. Not optimizing the icons output by the script avoids having to re-optimize them everytime the script is run to avoid binary diffs.

Thanks so much @FIGBERT and @ThinkChaos!


Fix image tagging

Can one of the admins verify this patch?

@aslakknutsen Can you please merge this? We need it to improve our automation around rh-idev


Add React Native information to the README

What:
Adds info about how to use Downshift with React Native.
Why:
Closes out discussion in #185
How:
Experience using Downshift on React Native 😉
Checklist:

[x] Documentation
[n/a] Tests
[x] Ready to be merged
[n/a] Added myself to contributors table

I'd love some feedback about what else to include here!

Codecov Report

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

@@          Coverage Diff          @@
##           master   #397   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines         335    335
  Branches       90     90
=====================================
  Hits          335    335

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 ee64fd8...f4ce639. Read the comment docs.


Feature Request: Lens showing existing railroads

Is your feature request related to a problem? Please describe.
Railroads are need to be manually placed, but seeing what tiles have railroads is difficult. They are rendered under everything else (if at all) and having broken rail lines is common.
Describe the solution you'd like
A lens showing railroads brightly highlighted would help identify gaps. Preferably this would auto-select when selecting a Military Engineer. Highlighting existing railroads seems more effective than highlighting where railroads could be built, with the exception of cities: city tiles without railroads that are adjacent to tiles with railroads could be highlighted red, as (I believe) the need to build road/rail underneath cities is new in Civ 6.
Describe alternatives you've considered
A more general "transportation" lens may be useful, with rails, roads of different effectiveness, mountain passes, airports, etc. Alternatively/additionally, the lens could a Military Engineer specific lens, similar to the Builder's lens.
Non-lens solutions would be making the railroads render much more clearly, consistently, and correctly, as they're currently a messy smear of railroad spaghetti across your empire!

When I have this problem I switch to the strategic view. Not ideal but it works. An engineer lense for this would be nice.


Streams not cleaned up in WaveRecorder when Exception occurs

Problem Statement:
While using the AudioRecorder plugin, if a situation occurs where the AudioStream implementation throws an exception (the easiest one to replicate is to deny access to the Microphone), the WaveRecorder does not dispose of the FileStream and BinaryWriter objects. This makes it so you cannot clean up the directory and file that is requested the wav file to be saved to.

@walterg2 I've released v1.0.2-pre where I attempted to handle this with some additional cleanup.  However, I can't reproduce the exception when I'm debugging... tried to decline the iOS mic prompt but it seems to allow me to continue to use the APIs w/o throwing errors.  Can you install and verify this release takes care of the issue you're seeing?

Closing this issue but would be great if anyone could confirm this is fixed in the latest releases.


Tracking: Zebra as a Full-Node Wallet

Tracking issue for zebra-client work i.e zebra as a full-node wallet as described in the zebra-client RFC

Removed the Epic label from this to try making Zenhub tidier.

We're not planning to do full-node wallet work any time soon.


Need help

aslam u alakum
i am using your code binance-php-sdk and i am facing some problems can you please help me? you code is working good no issue in code just when i am posting transaction hex to testnet server then response i'm getting following response
{
"code": 401,
"failed_tx_index": 0,
"message": "signature verification failed",
"success_tx_results": []
}
can you please check for me?
i am very thankful to you.
                                                                                regards
                                                                                Umer Farooq (PHP developer)

Walikum Salam,
I will need more info as in what methods you are using etc. If you can please make an isolated test and post it here that will be useful.

Aslam u alakum
i am using you example from transaction folder file transfer.PHP and just use my own drived public() key and private key nothing else i am using. Following keys i am using and this is the code of this file i am using
file name transfer.php
chooseNetwork("testnet"); // or this can be "mainnet"
//$bncClient->initChain();
$bncClient->setPrivateKey($privateKey);

$response = $bncClient->transfer("tbnb1hn8ym9xht925jkncjpf7lhjnax6z8nv2mu9wy3", "tbnb1e63sdtthg3juu8dk2l2j6h7llfeqdw5uefc09q", 0.02, "BNB", "34213423");

var_dump($response);

can you please check you example with name transfer.php. please do this. i am very thankful to you.

Aslam u alakum
i am newbie to this domain.
please help me.
i am using your example from transaction folder file transfer.PHP and just use my own drived public() key and private key nothing else i am using. Following keys i am using and this is the code of this file i am using.
file name transfer.php
chooseNetwork("testnet"); // or this can be "mainnet" //$bncClient->initChain(); $bncClient->setPrivateKey($privateKey); $response = $bncClient->transfer("tbnb1hn8ym9xht925jkncjpf7lhjnax6z8nv2mu9wy3", "tbnb1e63sdtthg3juu8dk2l2j6h7llfeqdw5uefc09q", 0.02, "BNB", "34213423"); var_dump($response);

Please post the error that you are getting from this request.

i am using this code in transfer.php. from your src/Examples/Transactions/
chooseNetwork("testnet"); // or this can be "mainnet"
//$bncClient->initChain();
$bncClient->setPrivateKey($privateKey);

$response = $bncClient->transfer("tbnb1hn8ym9xht925jkncjpf7lhjnax6z8nv2mu9wy3", "tbnb1e63sdtthg3juu8dk2l2j6h7llfeqdw5uefc09q", 0.02, "BNB", "34213423");

var_dump($response);
?>
and getting this response
{
"code": 401,
"failed_tx_index": 0,
"message": "signature verification failed",
"success_tx_results": []
}

i am using this code in transfer.php. from your src/Examples/Transactions/
private key = 0081cc0e50682c8155e57a71cc3131a6db5eef0eba40f99ebab50305f889bd5a
chooseNetwork("testnet"); // or this can be "mainnet" //$bncClient->initChain(); $bncClient->setPrivateKey($privateKey); $response = $bncClient->transfer("tbnb1hn8ym9xht925jkncjpf7lhjnax6z8nv2mu9wy3", "tbnb1e63sdtthg3juu8dk2l2j6h7llfeqdw5uefc09q", 0.02, "BNB", "34213423"); var_dump($response); ?>
and getting this response
{
"code": 401,
"failed_tx_index": 0,
"message": "signature verification failed",
"success_tx_results": []
}

Is the example working fine with the private key there in the original example code?

i am using this code in transfer.php. from your src/Examples/Transactions/
private key = 0081cc0e50682c8155e57a71cc3131a6db5eef0eba40f99ebab50305f889bd5a
chooseNetwork("testnet"); // or this can be "mainnet" //$bncClient->initChain(); $bncClient->setPrivateKey($privateKey); $response = $bncClient->transfer("tbnb1hn8ym9xht925jkncjpf7lhjnax6z8nv2mu9wy3", "tbnb1e63sdtthg3juu8dk2l2j6h7llfeqdw5uefc09q", 0.02, "BNB", "34213423"); var_dump($response); ?>
and getting this response
{
"code": 401,
"failed_tx_index": 0,
"message": "signature verification failed",
"success_tx_results": []
}

Is the example working fine with the private key there in the original example code?

Yes. its working fine. just you need update GuzzleHttp client with new version.
when you runn this code  with same this private and drive public keys there will be no issue. you will get response as i am getting..
Transfer.php using BncClient class method transfer , transfer return _prepareTransaction method result and then the result send to HttpClient class and then that class send this to gusslehttp method SendPost. at that position you can get this error

can you please check this example file? Transfer.php

Hi @umer-fa you can downgrade your GuzzleHttp client if you are getting error with the new version.

@ImAbdullahJan i have check this in Guzzlehttp client old version i am getting reponse from server['signature verification failed']. i want to know is there any problem with the code making signature please check that..

you can run my code

i am using this code in transfer.php. from your src/Examples/Transactions/
private key = 0081cc0e50682c8155e57a71cc3131a6db5eef0eba40f99ebab50305f889bd5a
chooseNetwork("testnet"); // or this can be "mainnet" //$bncClient->initChain(); $bncClient->setPrivateKey($privateKey); $response = $bncClient->transfer("tbnb1hn8ym9xht925jkncjpf7lhjnax6z8nv2mu9wy3", "tbnb1e63sdtthg3juu8dk2l2j6h7llfeqdw5uefc09q", 0.02, "BNB", "34213423"); var_dump($response); ?>
and getting this response
{
"code": 401,
"failed_tx_index": 0,
"message": "signature verification failed",
"success_tx_results": []
}

Is the example working fine with the private key there in the original example code?

Yes. its working fine. just you need update GuzzleHttp client with new version.
when you runn this code with same this private and drive public keys there will be no issue. you will get response as i am getting..
Transfer.php using BncClient class method transfer , transfer return _prepareTransaction method result and then the result send to HttpClient class and then that class send this to gusslehttp method SendPost. at that position you can get this error

@ImAbdullahJan you can check by excute this code in explae/transaction/transfer.php i hope you will got point that i want to explain.

i am getting encoding transaction code that is
c901F0625DEE0a4a2a2c87fa0a210a14bcce4d94d75955495a789053efde53e9b423cd8a12090a03424e421080897a12210a14cea306ad774465ce1db657d52d5fdffa7206ba9c12090a03424e421080897a126d0a26eb5ae98721031c5c39bde9ac209d8297aa080dc41fac1b2b50a9cfa5c6306b9fd8cc760a44791240d7893c3d7b7c11f15419575c855f1294dcfe9ad6d7d8e18a861fe80d4949b9cd6a767a22bb4ba62511f1415dfc7d821864e7f1155a3ac874be0d5de754211dba18d7501a083334323133343233
this code i am getting from @hammadtq library mean its working mean code is working fine. but when
post on this url
https://testnet-dex.binance.org/api/v1/broadcast?sync=1
its response
{
"code": 401,
"failed_tx_index": 0,
"message": "signature verification failed",
"success_tx_results": []
}
its mean something in @hammadtq library missing in creating signature code that i am not finding.

Hi @umer-fa, I cannot understand your problem clearly. You can call on this number +92<PHONE_NUMBER>.

Thanks @hammadtq and @ImAbdullahJan for you time i got my mistake thanks a lot you..


signaturepdf: init at 1.5.0

Description of changes
This is a web application for filling and signing PDFs and also organize pages, edit metadata and compress pdf.
https://github.com/24eme/signaturepdf/
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

signaturepdf


Adjust process rigor if necessary

After completing v1.1, you can reduce process rigor to suit your team's pace. Here are some examples:

Reduce automated tests: Automated tests have benefits, but they can be a pain to write/maintain; GUI tests are especially hard to maintain because their behavior can sometimes depend on things such as the OS, resolution etc.
It is OK to get rid of some of the troublesome tests and rely more on manual testing instead. The less automated tests you have, the higher the risk of regressions; but it may be an acceptable trade-off under the circumstances if tests are slowing you down too much.
There is no direct penalty for removing tests. Also note our expectation on test code.

Reduce automated checks: You can also reduce the rigor of checkstyle checks to expedite PR processing.

Switch to a lighter workflow: While forking workflow is the safest, it is also rather heavy. You an switch to a simpler workflow if the forking workflow is slowing you down. Refer the textbook to find more about alternative workflows: branching workflow, centralized workflow. However, we still recommend that you use PR reviews, at least for PRs affecting others' features.

You can also increase the rigor/safety of your workflow in the following ways:

Use GitHub's Protected Branches feature to protect your master branch against rogue PRs.

Removed alphabetical import and comment indentation checkstyle tests
Added a threshold of 5% change in test coverage for each push


Describe compatibility between Maven 3 and Maven 4 with resolver

@jebeaudet Please have a look!

Up next are the config options for Named Locks.

lgtm, thanks again for your support in all of this!

I happily accept a fantastic ice wine from Ontario ;-)

@michael-o LOL! Too bad I'm from Quebec, though I'd argue our ice wine is much better over here :D

@michael-o LOL! Too bad I'm from Quebec, though I'd argue our ice wine is much better over here :D

I am not picky and will also accept from Québec. Canadian ice wine is exceptional. Just like Montréal was last time I visited it.


Should include ARO username and password in output

No. Leave out for security reasons. Do need to include instructions on how to access ARO after deployment.


Fix command order

@rultor merge please

@rultor merge please

@tmoreira2020 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge please

@tmoreira2020 Oops, I failed. You can see the full log here (spent 9s)
+ set -e
+ set -o pipefail
++ dirname /tmp/rultor-izWr/run.sh
+ cd /tmp/rultor-izWr
+ echo 11729
+ echo '1.56.2 4ed1abf'
1.56.2 4ed1abf
+ date
Wed Jul 29 03:07:52 UTC 2015
+ uptime
 03:07:52 up 8 days,  1:48,  0 users,  load average: 10.67, 9.40, 8.87
+ cat
++ .rultor.yml
/tmp/rultor-izWr/run.sh: line 10: .rultor.yml: command not found
 file must be present in root directory of tmoreira0202/home, see http://doc.rultor.com/reference.html#assets
+ exit -1


Fix flaky test in TestGetHDFSFileInfo

testRecursiveGroupAllToAttributes is detected flaky by Nondex since the attribute "hdfs.full.tree" is a JSON Object and is not always written in a deterministic order. Instead of comparing the string of the attribute and the expected one, I used jsonassert to compare the two JSON objects.

Thank you for the contribution @YiweiLi4.
Please review the Pull Request Template and follow the steps listed when submitting a new PR. Apache NiFi uses Jira for issue tracking, and each issue needs an associated issue to map changes to project releases. You are welcome to create a new issue to track these changes.
At the code level, we would like to avoid introducing a new dependency just for this unit test. Although the project uses several JSON libraries, Jackson is preferred, so that dependency could be used.
When you have created a Jira issue, feel free to resubmit the pull request with the template filled out indicating the completion of the required steps.


[BUG] Send-PnPMail does not allow Importance without From

Reporting an Issue or Missing Feature
I want to send a mail with high importance but need to specify the "From" parameter.
Expected behavior
I'd expect to send a mail without the "From" parameter.
Actual behavior
I am not able to send a mail.
This one is working.
Connect-PnPOnline -Url URL -Credentials $creds
Send-PnPMail -To<EMAIL_ADDRESS>-Subject "Test" -Body "eadsa"

This one is not working.
Connect-PnPOnline -Url URL -Credentials $creds
Send-PnPMail -To<EMAIL_ADDRESS>-Subject "Test" -Body "eadsa" -Importance High
Send-PnPMail: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.

This one is working again.
Connect-PnPOnline -Url URL -Credentials $creds
Send-PnPMail -To<EMAIL_ADDRESS>-Subject "Test" -Body "eadsa" -Importance High -From<EMAIL_ADDRESS>
Steps to reproduce behavior
See code above.
What is the version of the Cmdlet module you are running?
2.2.0
Which operating system/environment are you running PnP PowerShell on?

[x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

hi @HeKr09 , this is by design and not a bug.
The Importance parameter is only supported if sent via SMTP or Graph.
When -From is not specified, we send it via SharePoint's built-in utility which doesn't support this property.


Fix import_indexstores.sh when using swift.remap_xcode_path

Post rules_swift 1.6.0 release, "DEVELOPER_DIR" remapping was enabled by default.
I was debugging a different indexing issue and hence came across an observation where this is not remapped to local machine dev directory.
I also haven't seen any issue with rules_xcodeproj indexing so in case this is not needed, happy to abandon it.
Before this change:
ContentView.o-3P4ZTLDW8HNC.zip
After this change:
ContentView.o-3P4ZTLDW8HNC.zip

You’ll need to sign your commit for the DCO check.


.clang-format file has an incompatible icon

Hi there! I found the .clang-format file icon type shown as Markdown. Could you check it, plz?
platform: macOS
vscode version: 1.79.0
catppuccin version: v0.16.0

Solution: add an association between the .clang-format file and the 'properties' type to help vscode decide which language mode should be used.
{
    "files.associations": {
        ".clang-format": "properties"
    }
}

reopening this, i can add a line of config in the theme to have this natively

should be done with new release :)


Reduce the Stack Size of ConstraintSystem

I've been looking at the sourcekit tests on Windows and have been running into stack overflows. The issue is not too much recursion, but rather one of huge stack frames in normal operation. For example, the ConstraintSystem class is on the order of 1000s of bytes in size on the stack. This becomes a problem with sourcekit which runs dispatch threads that have a hard coded 64k stack limit.
I don't see a single spot that's causing all the problems, I've seen it stack overflow so far with two entirely different stack traces. (Though one of them was probably caused because swift::Lexer::kindOfIdentifier uses 9992 bytes of stack on Windows and 12736 on Darwin.) I think most of this will be finding large classes and functions and either making them smaller, or instantiating them on the heap instead of the stack.
This commit changes ConstraintSystem from using Small data types which store data on the stack to non small heap based data types.
As numbers go, this reduces the stack frame size of ResolvedMemberResult swift::resolveValueMember(DeclContext &DC, Type BaseTy, DeclName Name) from 4824 bytes to 2584 bytes (measured on a Windows Release build). The numbers are taken from looking at the sub rsp instruction in the function's dissassembly. e.g:
    sourcekitdInProc!swift::resolveValueMember:
00007ff8`b66cc160 4157               push    r15
00007ff8`b66cc162 4156               push    r14
00007ff8`b66cc164 4155               push    r13
00007ff8`b66cc166 4154               push    r12
00007ff8`b66cc168 56                 push    rsi
00007ff8`b66cc169 57                 push    rdi
00007ff8`b66cc16a 55                 push    rbp
00007ff8`b66cc16b 53                 push    rbx
00007ff8`b66cc16c 4881ec180a0000     sub     rsp, 0A18h

I've only noticed the stack overflows on Windows so far. Windows in general does seem to allocate slightly more stack space than Darwin and I'm not sure why that is yet. For example, for one stack overflow I traced through, I counted up 48440 of used stack space on Windows and 41288 on Darwin at the same (non crashed) point.

CC: @DougGregor @jrose-apple

This seems unfortunate to me since a lot of these things probably are small. (Also, a lot of them would probably benefit from using copy-on-write data structures…) But @xedin can speak to this much more than I.
@swift-ci Please smoke test compiler performance

I'd be really interested to know what expressions did you catch this on? It has to be big literal arrays or something similar...
I think this is more of a workaround for actual problem which is related to the way we handle independent sub-components in the solver at the moment.
We shouldn't need to move data in/out to/from original TypeVariables to be able to solve sub-components, it should be possible to take a slice and use ArrayRef and ignore the out-of-scope type variables, this would reduce the stack space used considerably without needing to allocate data on heap. Would you be interested in tackling that, @gmittert?

@xedin This one was from cursor_info_container.swift, running S:\b\swift> &"S:\b\swift\bin\sourcekitd-test.EXE" "-req=cursor" "-pos=37:22" "S:\swift\test\SourceKit\CursorInfo\cursor_info_container.swift" "--" "S:\swift\test\SourceKit\CursorInfo\cursor_info_container.swift".
However, while it might be possible that the solver is allocating too much at run time, and I'd be happy (if a bit slow) to look at having the solver use ArrayRefs, I think a lot of the issue is just that a there are a lot of locals statically.
For example, here's the stack trace of the first overflow I ran into (not with the solver). It lists the size of just the locals used (the amount subtracted from rsp) in each frame. It uses up the majority of its stack space with just locals, not even counting any runtime stack allocations/pushing. Note that swift::Lexer::kindOfIdentifier is huge because it's a macro to create a comparison against each identifier which creates a ton of locals.

One future improvement would be to investigate the places where we spin up new ConstraintSystems and see if they can be rewritten in a simpler way. I've seen various bits of code use a ConstraintSystem to check subtype and conformance relationships; this is overkill and should be avoided.

It is overkill, but it's probably not causing these stack overflows, since they're always simple systems.

Summary for master smoketest
Unexpected test results, excluded stats for ReactiveCocoa
No regressions above thresholds

Debug

debug brief
debug detailed

Release

release brief
release detailed

Debug

debug brief

Regressed (0)

name
old
new
delta
delta_pct

Improved (0)

name
old
new
delta
delta_pct

Unchanged (delta < 1.0% or delta < 100.0ms) (3)

name
old
new
delta
delta_pct

Frontend.NumInstructionsExecuted
100,861,048,556
100,741,313,865
-119,734,691
-0.12%

LLVM.NumLLVMBytesOutput
6,147,700
6,147,700
0
0.0%

time.swift-driver.wall
13.2s
13.1s
-102.1ms
-0.77%

debug detailed

Regressed (0)

name
old
new
delta
delta_pct

Improved (0)

name
old
new
delta
delta_pct

Unchanged (delta < 1.0% or delta < 100.0ms) (22)

name
old
new
delta
delta_pct

AST.NumImportedExternalDefinitions
1,028
1,028
0
0.0%

AST.NumLoadedModules
828
828
0
0.0%

AST.NumTotalClangImportedEntities
4,282
4,282
0
0.0%

IRModule.NumIRBasicBlocks
18,032
18,032
0
0.0%

IRModule.NumIRFunctions
10,542
10,542
0
0.0%

IRModule.NumIRGlobals
8,019
8,019
0
0.0%

IRModule.NumIRInsts
312,849
312,849
0
0.0%

IRModule.NumIRValueSymbols
17,622
17,622
0
0.0%

LLVM.NumLLVMBytesOutput
6,147,700
6,147,700
0
0.0%

SILModule.NumSILGenFunctions
5,370
5,370
0
0.0%

SILModule.NumSILOptFunctions
7,016
7,016
0
0.0%

Sema.NumConformancesDeserialized
15,769
15,769
0
0.0%

Sema.NumConstraintScopes
39,756
39,756
0
0.0%

Sema.NumDeclsDeserialized
136,226
136,226
0
0.0%

Sema.NumDeclsValidated
11,208
11,208
0
0.0%

Sema.NumFunctionsTypechecked
2,516
2,516
0
0.0%

Sema.NumGenericSignatureBuilders
4,792
4,792
0
0.0%

Sema.NumLazyGenericEnvironments
30,541
30,541
0
0.0%

Sema.NumLazyGenericEnvironmentsLoaded
2,012
2,012
0
0.0%

Sema.NumLazyIterableDeclContexts
24,366
24,366
0
0.0%

Sema.NumTypesDeserialized
61,133
61,133
0
0.0%

Sema.NumTypesValidated
11,858
11,858
0
0.0%

Release

release brief

Regressed (0)

name
old
new
delta
delta_pct

Improved (0)

name
old
new
delta
delta_pct

Unchanged (delta < 1.0% or delta < 100.0ms) (3)

name
old
new
delta
delta_pct

Frontend.NumInstructionsExecuted
142,947,437,559
142,977,267,810
29,830,251
0.02%

LLVM.NumLLVMBytesOutput
7,156,192
7,156,180
-12
-0.0%

time.swift-driver.wall
23.7s
23.7s
-8.2ms
-0.03%

release detailed

Regressed (0)

name
old
new
delta
delta_pct

Improved (0)

name
old
new
delta
delta_pct

Unchanged (delta < 1.0% or delta < 100.0ms) (22)

name
old
new
delta
delta_pct

AST.NumImportedExternalDefinitions
398
398
0
0.0%

AST.NumLoadedModules
76
76
0
0.0%

AST.NumTotalClangImportedEntities
2,196
2,196
0
0.0%

IRModule.NumIRBasicBlocks
21,084
21,084
0
0.0%

IRModule.NumIRFunctions
10,011
10,011
0
0.0%

IRModule.NumIRGlobals
8,031
8,031
0
0.0%

IRModule.NumIRInsts
223,919
223,919
0
0.0%

IRModule.NumIRValueSymbols
17,214
17,214
0
0.0%

LLVM.NumLLVMBytesOutput
7,156,192
7,156,180
-12
-0.0%

SILModule.NumSILGenFunctions
4,176
4,176
0
0.0%

SILModule.NumSILOptFunctions
5,844
5,844
0
0.0%

Sema.NumConformancesDeserialized
12,469
12,469
0
0.0%

Sema.NumConstraintScopes
38,826
38,826
0
0.0%

Sema.NumDeclsDeserialized
32,733
32,733
0
0.0%

Sema.NumDeclsValidated
7,874
7,874
0
0.0%

Sema.NumFunctionsTypechecked
2,204
2,204
0
0.0%

Sema.NumGenericSignatureBuilders
1,726
1,726
0
0.0%

Sema.NumLazyGenericEnvironments
6,891
6,891
0
0.0%

Sema.NumLazyGenericEnvironmentsLoaded
130
130
0
0.0%

Sema.NumLazyIterableDeclContexts
4,375
4,375
0
0.0%

Sema.NumTypesDeserialized
18,197
18,197
0
0.0%

Sema.NumTypesValidated
6,942
6,942
0
0.0%

@jrose-apple I suspect the stack overflow is not from the size of the constraints themselves but the large number of vectors and DenseMaps that are directly stored inside the instance.

I…guess we stopped trying to measure memory usage in the compiler perf tests. (It was never great anyway.)

Alright, removed the TypeChecker changes.
@swift-ci please test and merge


About the training of the sampling location offsets

Hi, Keunhong
This nerfies is an excellent work! And I have a little question want to ask: When I train the model, the translation in the code as the following img are always very high or low (nearly 0). Have you ever encountered this kind of problem？ How do you limit the range of the translation?

Looking forward to your reply! Thanks!

It is a good question!
This translation filed  is referenced in D-nerf
Yuo can have a look at this D-nerf code.

Hi, the weights of the last layer in the deformation MLP are initialized close to the identity, since you want it to stay close to the identity unless it needs to deform. I didn't see any issues with this, but if you want to restrict the deformation to a certain range you could always apply an activation (like a sigmoid of tanh) and scale that however you want.


Feature/draw card algorithm

In my opinion algorithm working just fine, if testers have no objections i'm asking for merge.

VETO

@mBoiler can you explain your answer a little further?

Because, i think this branch has a large bugs, which changes functionality.

Ready for merge


Added client logo key in the API response of reports and listing invoices.

Notion:
https://www.notion.so/saeloun/6afc9500b2cc42af86be55f37894fb09?v=185bd45b9dc24dfcad9c57c07d32a7c0&p=ef0ff984508d41a289ea3f68ba3051ce&pm=s
https://www.notion.so/saeloun/6afc9500b2cc42af86be55f37894fb09?v=185bd45b9dc24dfcad9c57c07d32a7c0&p=d6e1360130f34953b0a6ffe08f2c71b9&pm=s
Description:

The Client logo should be visible on the invoice list and reports pages:

Recently updated section
The invoice list page
Accounts aging report
Time entry report
Revenue report
Invoices report

Screenshots

@deepti-kakade Same goes for this PR as well. Fix the issues and assign for review.

@shalapatil Please review. @apoorv1316 Please test as this will impact the invoice list page.

@apoorv1316 Fixed the above-mentioned issue and pushed the changes. You can review it again

@deepti-kakade These entries will also have a client logo. refer to designs

@deepti-kakade  I can't see comments replied/implemented. Please reply to comments.

@deepti-kakade There is only one comment, where I have asked @vipulnsward one doubt
Rest LGTM


Is there a way to insert this tag on the right of select option?

I need to insert a "tag" on the right of select option, like on https://vue-multiselect.js.org/ initial page.
Can anyone helps me?
Thanks!

@villar35738 It's doable with option slot.
Please look at the documentation.
https://vue-multiselect.js.org/#sub-custom-option-template
https://vue-multiselect.js.org/#sub-slots
You can also directly look at the code of documentation here - https://github.com/shentao/vue-multiselect/blob/master/documentation/MultiselectExample.vue


How to migrate website from Drupal to Camaleon_CMS

Hi @owen2345,
I have couple of websites created using Drupal, I would like to migrate those websites to Camaleon_cms, can you please let me know how i can do it, one website is photo gallery and another one is movies related site, pls let me know how I can migrate it without loosing comments etc.
I would like to migrate below websites.
http://www.mazharuddin.com
http://www.filmydunia.com

Hi @mazharoddin
To start you need to use the drupal API to read all the information from drupal and maybe you can save in a json format (I am not sure if drupal can export in json/xml format with all data).
After you have the json file, it is easy to import that data in Camaleon CMS because you can add all your custom fields where save the extra data.
Regards,

Thanks @owen2345, after we create custom fields we have to import the database? or is there any other way.

you can create the fields in the import process like:
pt.add_field({"name"=>"Icon", "slug"=>"service_icon", description: 'Please enter any glyphicon icon'}, {"field_key"=>"text_box", default_value: "glyphicon glyphicon-tint"})

ok, thanks let me try, Need to check if drupal support json export or not.

@owen2345 , I found this ruby file, not sure if its helpful.
https://github.com/contentful/drupal-exporter.rb

great!


Faster resolver: clean the backtrack_stack

This is a small extension to #5168 and is inspired by https://github.com/rust-lang/cargo/pull/4834#issuecomment-363518370
After #5168 these work (and don't on cargo from nightly.):

safe_core = "=0.22.4"
safe_vault = "=0.13.2"

But these don't work (and do on cargo from this PR.)

crust = "=0.24.0"
elastic = "=0.3.0"
elastic = "=0.4.0"
elastic = "=0.5.0"
safe_vault = "=0.14.0"

It took some work to figure out why they are not working, and make a test case.
#5168 means that when we find a permanent problem we will never activate its parent again. In practise there afften is a lot of work and backtrack_frames between the problem and reactivating its parent. This PR removes backtrack_frames where its parent and the problem are present. This means that when we find a permanent problem we will never backtrack into it again.
An alternative is to scan all cashed problems while backtracking, but this seemed more efficient.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

No need to apologize! I am enjoying this because it feels like I can just barely get it all in my head, but everytime it does something unexpected proving that I in fact have not got it all.

Awesome work @Eh2406! I wonder if the module-level docs could be updated after optimization work in this and other PR is concluded?
Currently the docs say

The algorithm employed here is fairly simple, we simply do a DFS,

but looks like the reality has changed a bit since three years ago when that was written :) It would be awesome to have a high-level overview of the recent developments to allow future contributors to jump into resolve code more quickly! And if you are by any chance really into writing docs, there's also ARCHITECTURE.md which could benefit from ultra high-level resolve procedure description as well :)

That is a good point. I will add it to my list, and we'll see if I get there.
By the way please don't merge this PR until I've had a chance to play with removing code-duplication inspired by https://github.com/rust-lang/cargo/pull/5168#comment-373549968 .

I pushed a commit that successfully remove the duplicated adding to the cache. But now I am getting really suspicions about where the extra frames are coming from, and why find_candidate is not removing the them.

One sort of meta comment as well is that one reason I've been hesitant to tweak the resolver historically (apart from it being complicated and difficult to page back in) is that I'm relatively confident the resolver originally at least attempted to find all solutions. In the sense that if there was a successful resolution graph and given infinite time, Cargo would reach it.
One of the problems we want to keep our eyes peeled for is violating this assumption. For example I think it'd amount in a really subtle bug if we accidentally didn't visit a particular dependency graph due to it being pruned by accident. That would lead to probably super confusing "this graph can't be resolved" error messages when it in fact could be resolved!
Now to be clear I don't think we've hit such a case yet in the refactorings you've been doing @Eh2406, just something to look out for!

I wholeheartedly agree! I am trying to add a test for each algorithmic change. There is lots of room for subtle bugs!
I wish we had a crater like tool to compare the lock files from two different cargos over all publick code. I wish we had randomized/quickcheck testing.
I will make a big announcement when this work makes it to nightly and ask people to compare and report regressions.

I will make a big announcement when this work makes it to nightly and ask people to compare and report regressions.

Sounds fantastic!
And again to be clear, everything done so far is amazingly awesome, I have no qualms with anything :)

Thanks @alexcrichton for the great questions! I got suspicious of all use of conflicting_activations before it is extended with the conflicting from next. I removed adding a meta-skip so we only add to past_conflicting_activations in the one place, and it mostly went well. I removed the backtrack_stack.retain( that is the new part of this PR, and predictably the new test started failing. Then for completeness I removed the second find_candidate(. Then to find a way to get the test to pass... but.. that is odd... the test is passing. And all the examples from the OP are asswell.
So this PR is now "Remove 2 of the more confusing optimizations from #5168 and have things go faster." I will got edit the OP.

@Eh2406 ok interesting! Even more interesting is the CI failure...
---- build::incompatible_dependencies stdout ----
	running `C:\projects\cargo\target\debug\cargo.exe build`
thread 'build::incompatible_dependencies' panicked at '
Expected: execs
    but: expected to find:
error: failed to select a version for `bad`.
    ... required by package `baz v0.1.0`
    ... which is depended on by `incompatible_dependencies v0.0.1 ([..])`
versions that meet the requirements `>= 1.0.1` are: 1.0.2, 1.0.1
all possible versions conflict with previously selected packages.
  previously selected package `bad v1.0.0`
    ... which is depended on by `bar v0.1.0`
    ... which is depended on by `incompatible_dependencies v0.0.1 ([..])`
failed to select a version for `bad` which could resolve this conflict
did not find in output:
    Updating registry `file:///C:/projects/cargo/target/cit/t224/registry`
error: failed to select a version for `baz`.
    ... required by package `incompatible_dependencies v0.0.1 (file:///C:/projects/cargo/target/cit/t224/transitive_load_test)`
versions that meet the requirements `^0.1.0` are: 0.1.2, 0.1.1, 0.1.0
all possible versions conflict with previously selected packages.
  previously selected package `bad v1.0.0`
    ... which is depended on by `bar v0.1.0`
    ... which is depended on by `incompatible_dependencies v0.0.1 (file:///C:/projects/cargo/target/cit/t224/transitive_load_test)`
failed to select a version for `baz` which could resolve this conflict
', tests\testsuite\hamcrest.rs:13:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.

That makes sense. :-(
We are relying on this optimization even when it's user visible, that's why things are suddenly going faster.
Time to come up with a more systematic solution.

Put back in the find_candidate( with a separate extended with the conflicting from next. Added a new version of clean the backtrack_stack this time with a lot more comments. Edited the OP to describe why the cleaning is necessary.

@bors: r+
Ok awesome that all makes sense to me, thanks so much!

:pushpin: Commit c771a4c has been approved by alexcrichton

:hourglass: Testing commit c771a4c6b0e24523552fc0db3e8c584957c5ada4 with merge bdc6fc297c34d196bb216ef2143f7147ed322212...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing bdc6fc297c34d196bb216ef2143f7147ed322212 to master...


Cannot predict/transform using a learning machine with rows=...

using MLJBase

struct Bar <: Unsupervised end
MLJBase.fit(::Bar, ::Any, X) = nothing, nothing, nothing
MLJBase.transform(::Bar, X) = X

X = source(1:10)
mach = machine(Bar(), X)
W = transform(mach, X)

learning_mach = machine(Unsupervised(), X; predict=W)
fit!(learning_mach)
transform(learning_mach, rows=1:2)

ERROR: UndefRefError: access to undefined reference
Stacktrace:
 [1] getproperty at ./Base.jl:33 [inlined]
 [2] transform(::Machine{UnsupervisedSurrogate,true}; rows::UnitRange{Int64}) at /Users/anthony/.julia/packages/MLJBase/j5XAh/src/operations.jl:55
 [3] top-level scope at REPL[12]:1

Also means one cannot evaluate! a learning machine.


Summa Explorer problem report

A problem has been reported with the page located at: http://ift.tt/1WZ2Gun

I don't see the problem here.


scw function list - failing API request with x509 error: certificate signed by unknown authority

Hi there,
I am enjoying this Github Action, thank you.
I am currently having an issue when I attempt to use the command scw function function list. When I run this I am getting:
scaleway-sdk-go: error executing request: Get "https://api.scaleway.com/functions/v1beta1/regions/fr-par/functions?namespace_id=&order_by=created_at_asc&page=1": tls: failed to verify certificate: x509: certificate signed by unknown authority
Is there something else I need to add before I can use this command?
Thanks for your help!!

Versions tried

scw-cli versions: 2.24.0, 2.32.1
action-scw: 0.0.2

deploy-function.yml
name: Deploy function
run-name: 🚀 Deploy ${ github.ref }
on:
  workflow_dispatch:
jobs:
  deploy-preprod:
    name: Deploy to preprod
    env:
      ENVIRONMENT: preprod
    runs-on: ubuntu-latest
    steps:
      - name: Deploy function to Scaleway
        uses<EMAIL_ADDRESS>        with:
          version: 2.24.0
          save-config: true
          export-config: true
          access-key: ${{ secrets.SCW_ACCESS_KEY }}
          secret-key: ${{ secrets.SCW_SECRET_KEY }}
          default-project-id: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
          default-organization-id: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }}
      - name: Get function ID
        run: |
          set -ex
          scw function function list

Also tried using the args parameter of the action, and I get the same result.

Actually I think this is due to the nektos/act tool I am using to running Github actions locally.
No action needed.


Auth.currentUserInfo() returns {} in componentDidMount

Do you want to request a feature or report a bug?
BUG
What is the current behavior?
GOAL:  I need to get the full user object ( id, username and attributes ).
ISSUE:  Auth.currentUserInfo() seems to work if signing in, however does not when reloading a page with an authenticated session.
React version: 0.16.x ( via create-react-app )
I'm using withAuthenticator and this is the componentDidMount from my App class.

this.props.authData holds a valid CognitoUser  if I log it at the top of the method.

  async componentDidMount() {
    const user = await Auth.currentUserInfo()
    // user is always {} when reloading the page
    Store.dispatch({
      type: 'AUTH_USER_INFO',
      payload: user
    })
  }

When I enable DEBUG logging, I see the following relevant line:
[DEBUG] 31:42.960 AuthClass - currentUserInfo error: TypeError: null is not an object (evaluating 'this.credentials.identityId')

I've worked around using the following code as it seems to be setting credentials.identityId eventually...
  componentDidMount() {
    let interval = setInterval(async () => {
      const user = await Auth.currentUserInfo()
      if (user) {
        Store.dispatch({
          type: 'AUTH_USER_INFO',
          payload: user
        })
        clearInterval(interval)
      }
    }, 150)
  }

Please advise if I'm doing something wrong -- thank you!
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than AWS Amplify.
What is the expected behavior?
Auth.currentUserInfo() returns {id: '...', username: '...', attributes: { ... } }
Which versions of Amplify, and which browser / OS are affected by this issue? Did this work in previous versions?
0.2.14
Please note:  It generally works in Chrome but never in Safari.
You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app.
Full debug:
[Log] [DEBUG] 31:42.636 AuthClass - configure Auth (bundle.js, line 29707)
[Log] {[DEBUG] 31:42.637 Analytics - on hub capsule auth: {event: "configured", data: null}} (bundle.js, line 29723)
[Log] {[DEBUG] 31:42.638 Analytics - on hub capsule analytics: {eventType: "session_start"}} (bundle.js, line 29723)
[Log] [DEBUG] 31:42.638 AuthClass - picking up credentials (bundle.js, line 29707)
[Log] [DEBUG] 31:42.639 AuthClass - getting new cred promise (bundle.js, line 29707)
[Log] [DEBUG] 31:42.639 AuthClass - getting current user credential (bundle.js, line 29707)
[Log] [INFO] 31:42.639 Cache - Get item: key is federatedInfo with options undefined (bundle.js, line 29707)
[Log] [DEBUG] 31:42.639 AuthClass - getting current session (bundle.js, line 29707)
[Log] {[DEBUG] 31:42.640 AuthClass: CognitoUser} (bundle.js, line 29713)
[Log] [DEBUG] 31:42.643 I18n - configure I18n (bundle.js, line 29707)
[Log] [DEBUG] 31:42.643 I18n - create I18n instance (bundle.js, line 29707)
[Log] [DEBUG] 31:42.643 AnalyticsClass - configure Analytics (bundle.js, line 29707)
[Log] [DEBUG] 31:42.644 AuthClass - picking up credentials (bundle.js, line 29707)
[Log] [DEBUG] 31:42.644 AuthClass - getting old cred promise (bundle.js, line 29707)
[Log] [DEBUG] 31:42.645 API - configure API (bundle.js, line 29707)
[Log] [DEBUG] 31:42.645 API - create API instance (bundle.js, line 29707)
[Log] {[DEBUG] 31:42.645 RestClient - API Options: Object} (bundle.js, line 29723)
[Log] [DEBUG] 31:42.645 Storage - configure called (bundle.js, line 29707)
[Log] [DEBUG] 31:42.645 StorageClass - configure Storage (bundle.js, line 29707)
[Log] [DEBUG] 31:42.645 StorageClass - Do not have bucket yet (bundle.js, line 29707)
[Log] [DEBUG] 31:42.646 StorageClass - configure Storage (bundle.js, line 29707)
[Log] [DEBUG] 31:42.646 StorageClass - Do not have bucket yet (bundle.js, line 29707)
[Log] {[DEBUG] 31:42.646 PubSub - configure PubSub: Object} (bundle.js, line 29723)
[Log] [DEBUG] 31:42.661 Hub - noname listening auth (bundle.js, line 29707)
[Log] [INFO] 31:42.684 Cache - Get item: key is federatedUser with options undefined (bundle.js, line 29707)
[Log] {[DEBUG] 31:42.733 AuthClass - getting session success: CognitoUserSession} (bundle.js, line 29723)
[Log] [DEBUG] 31:42.733 AuthClass - set credentials from session (bundle.js, line 29707)
[Log] [DEBUG] 31:42.769 AuthClass - get current authenticated userpool user (bundle.js, line 29707)
[Log] {[DEBUG] 31:42.779 Authenticator - authenticator state change signedIn: CognitoUser} (bundle.js, line 29723)
[Log] {[DEBUG] 31:42.903 AuthClass: CognitoUser} (bundle.js, line 29713)
[Log] {[DEBUG] 31:42.960 AuthClass - currentUserInfo error: TypeError: null is not an object (evaluating 'this.credentials.identityId')} (bundle.js, line 29723)
[Log] {[DEBUG] 31:43.99 AuthClass - Load credentials successfully: CognitoIdentityCredentials} (bundle.js, line 29723)

I have the same problem and based on your log:
[DEBUG] 31:42.960 AuthClass - currentUserInfo error: TypeError: null is not an object (evaluating 'this.credentials.identityId')

I tryed putting a await Auth.currentCredentials() before the await Auth.currentUserInfo() to force it to load the credentials and apparently it worked around the issue...

@vipseixas is this happening in the latest version of amplify?

@powerful23 I was using 0.2.14. Just made a quick test here with 0.3.3 and apparently it is working.


More minor formatting issues

There should be some space between the Power Depth value and the CP.
There should probably be less space between CP and its value, and between TP and its value.

Updated in #83
The input fields are not super easy to have variable width


feat(rust): integrate new channel api with ockamd, encapsulate messages in outer message at channel layer

@robinbudd - we may need to back this out. looks like there are a number of commits in here that shouldn't be. it would be safer to PR my earlier branch, merge it & for you to rebase off develop. Although, it might mean manually adding back the changes you've made.

Superseded by #547


New-SFTPSession - Unable to load Renci.SshNet

Could not load file or assembly 'Renci.SshNet, Version=2<IP_ADDRESS>, Culture=neutral, PublicKeyToken=1cee9f8bde3db106' or one of its dependencies. The system cannot find the file specified.
I am using Posh-SSH to transfer files over SFTP. Running the script locally results in no errors.
Running the script as my logged in user on a remote server results in no errors.
Running the script via Windows Scheduled Task as a user with Administrator permissions results in the error above.

Where is the module installed?
Sent from my iPhone

On Feb 22, 2017, at 6:48 AM, adgisticsit<EMAIL_ADDRESS>wrote:
Could not load file or assembly 'Renci.SshNet, Version=2<IP_ADDRESS>, Culture=neutral, PublicKeyToken=1cee9f8bde3db106' or one of its dependencies. The system cannot find the file specified.
I am using Posh-SSH to transfer files over SFTP. Running the script locally results in no errors.
Running the script as my logged in user on a remote server results in no errors.
Running the script via Windows Scheduled Task as a user with Administrator permissions results in the error above.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Also can you provide more info, version of windows, version of PS, from github or via install-module, was it installed with -allusers param if via install-module
Sent from my iPhone

On Feb 22, 2017, at 6:48 AM, adgisticsit<EMAIL_ADDRESS>wrote:
Could not load file or assembly 'Renci.SshNet, Version=2<IP_ADDRESS>, Culture=neutral, PublicKeyToken=1cee9f8bde3db106' or one of its dependencies. The system cannot find the file specified.
I am using Posh-SSH to transfer files over SFTP. Running the script locally results in no errors.
Running the script as my logged in user on a remote server results in no errors.
Running the script via Windows Scheduled Task as a user with Administrator permissions results in the error above.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Windows Server 2012 R2
Powershell Version 4.0
Installed using: iex (New-Object Net.WebClient).DownloadString("https://gist.github.com/darkoperator/6152630/raw/c67de4f7cd780ba367cccbc2593f38d18ce6df89/instposhsshdev")
Moved module to: C:\Program Files\WindowsPowerShell\Modules\Posh-SSH

During the weekend there was a broken version in GitHub that was fixed yesterday with that same error. Could you redownload and test
Sent from my iPhone

On Feb 22, 2017, at 7:54 AM, adgisticsit<EMAIL_ADDRESS>wrote:
Windows Server 2012 R2
Powershell Version 4.0
Installed using: iex (New-Object Net.WebClient).DownloadString("https://gist.github.com/darkoperator/6152630/raw/c67de4f7cd780ba367cccbc2593f38d18ce6df89/instposhsshdev")
Moved module to: C:\Program Files\WindowsPowerShell\Modules\Posh-SSH
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

From what I can tell this is now working correctly using the new dll's I will monitor this evening when our tasks run but will close this as issue seems to be resolved.


chore: make cleanup_cloud_functions test fixture more robust to flakiness

In response to a recent test failure in load test session just because this optional cleanup code failed.
 Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

Added a warning with the exception we caught.

I think capturing the Exception is too general to identify the real issues.

Since this is an autouse fixture, I worry about it failing tests that don't relate to remote_function functionality at all.


What is the best practice to import Datum type

I am currently using TypeScript with @visactor/react-vchart When working with ESLint, it asks me to specify the type of Datum, but I am unable to import the Datum type from @visactor/react-vchart. Could you please advise on the best practice for specifying types in the following scenario?
 tooltip: {
  mark: {
    visible: true,
    content: [
      {
        key: (datum: Datum) => `${datum["typeClean"]} (issued)`,
        value: (datum: Datum) => datum["issued"],
      },
    ],
  },
},

I installed @visactor/vchart and found type Datum is in @visactor/vchart, not in @visactor/react-vchart.
And then I changed my code to:
tooltip: {
  dimension: {
    content: [
      {
        key: (datum: Datum | undefined) =>
          datum ? `${datum.typeClean} (issued)` : "",
        value: (datum: Datum | undefined) =>
          datum ? `${datum.issued}` : "",
      },
    ],
  },
},

@Crayon-ShinChan  you can import Datum from @visactor/vchart; or just use any, because Datum is just any in vchart


how can i remove those step like send friendrequest of each other?

how can i do like whats app, without being friend to each other,
i am already upload addressbook and retrive alluser but how m'i remove add friend and accept friend step, which function to solve this?

hello anyone there???

Just have a look at related to https://github.com/QuickBlox/q-municate-android/issues/267

You can find description of QBChatService  class and other useful info in official docs.

when i have open privatedialogActivity before i call this code
QBChatService.ConfigurationBuilder builder = new QBChatService.ConfigurationBuilder();
builder.setAutojoinEnabled(true);
QBChatService.setConfigurationBuilder(builder);
after that i have open PrivateDialogActivity in this activity i have seen "You have accepted request" but i am not able to type any message or audio/video call.
when i was put the code on audio/video call on click put the code there Like
boolean isFriend = DataManager.getInstance().getFriendDataManager().getByUserId(opponentUser.getId()) != null;
if (!isFriend && item.getItemId() != android.R.id.home) {
ToastUtils.longToast(R.string.dialog_user_is_not_friend);
return true;
}

i have get opponentUser.getId() this id but i have not find in my user friend list. so how can i add friend bypass accepting friend request like whatsapp. please reply us as soon as possible.
Thanks.

are you there ?
Please reply me fast as soon as possible .

If you want use Roster for monitoring user status, you should have a look at #267 branch to autoAcceptIncomingRequests() function. If you don't want use Roster at all, then to be able to type any message just replace in your project:
    @Override
    protected void checkMessageSendingPossibility() {
      //  boolean enable = dataManager.getFriendDataManager().existsByUserId(opponentUser.getId()) && isNetworkAvailable();
      boolean enable = isNetworkAvailable();
        checkMessageSendingPossibility(enable);
    }

thanks for the replying. chat option is soved out but when i was click on audio or video call so call the method in ConversationCallFragment like
private void displayOpponentAvatar() {
QMUser opponent = ((CallActivity) getActivity()).getOpponentAsUserFromDB(opponents.get(0).getId());
if (StartConversationReason.INCOME_CALL_FOR_ACCEPTION.equals(startConversationReason) && !isVideoCall){
avatarAndNameView.setVisibility(View.VISIBLE);
ImageLoader.getInstance().displayImage(opponent.getAvatar(), avatarImageview, ImageLoaderUtils.UIL_USER_AVATAR_DISPLAY_OPTIONS);
callingToTextView.setText(opponent.getFullName());
// calling_to_set_timer.setText();
} else if (StartConversationReason.OUTCOME_CALL_MADE.equals(startConversationReason)) {
avatarAndNameView.setVisibility(View.VISIBLE);
ImageLoader.getInstance().displayImage(opponent.getAvatar(), avatarImageview, ImageLoaderUtils.UIL_USER_AVATAR_DISPLAY_OPTIONS);
callingToTextView.setText(getString(R.string.calling_to, opponent.getFullName()));
//  calling_to_set_timer.setText();
}
}

so in this method CallActivity.java in  calling this function
public QMUser getOpponentAsUserFromDB(int opponentId) {
DataManager dataManager = DataManager.getInstance();
Friend friend = dataManager.getFriendDataManager().getByUserId(opponentId);
return friend.getUser();
}
return null so my app was crash. so how can i enable this features like same as chat option.

You can try for example the next, replace code:
QMUser opponent = ((CallActivity) getActivity()).getOpponentAsUserFromDB(opponents.get(0).getId());
//with
QMUser opponent = QMUserService.getInstance().getUserCache().get((long)opponents.get(0).getId());

thanks for replying .
IncomingCallFragment.java in this function call  so in this function in change any thing.
private void setOpponentAvatarAndName(){
QMUser opponent = ((CallActivity) getActivity()).getOpponentAsUserFromDB(sessionDescription.getCallerID());
ImageLoader.getInstance().displayImage(opponent.getAvatar(), avatarImageView, ImageLoaderUtils.UIL_USER_AVATAR_DISPLAY_OPTIONS);
callerName.setText(opponent.getFullName());
}

and also we can implement QBFriendListHelper.java file

private Collection createFriendList(
Collection rosterEntryCollection) throws QBResponseException {
Collection friendList = new ArrayList<>();
Collection userList = new ArrayList<>();
    for (QBRosterEntry rosterEntry : rosterEntryCollection) {
        if (!UserFriendUtils.isOutgoingFriend(rosterEntry) && !UserFriendUtils.isNoneFriend(rosterEntry)) {
            friendList.add(rosterEntry.getUserId());
        } else if (UserFriendUtils.isNoneFriend(rosterEntry)){
            //need remove friend from DB which deleted me when I was offline
            friendList.add(rosterEntry.getUserId());
          //  removeFriendLocal(rosterEntry.getUserId());
        }

        if (UserFriendUtils.isOutgoingFriend(rosterEntry)) {
            userList.add(rosterEntry.getUserId());
        }
    }

    loadAndSaveUsers(userList, UserRequest.RequestStatus.OUTGOING);

    return friendList;
}


a few polaris components not working

I found a few components like 'TextField' use Client side API's like useState() and useCallback() here in the docs,
Does this mean I can't use these components out of the box w/ Remix?

I got it to work the example in the docs, I'm confused how React API's like useState() and useCallback() can be used in a Route Component if it renders on the server...


Survey wet-lab for a new name

Wet-lab does not like the name champ or lab-champ (qaamp?). Ask the wet-lab what name they might prefer, ask Greg, etc.

related to: https://github.com/jdereus/labman/issues/175

closing and annotating #175


Support comments in Viz

Just ignore comments inside viz lang:

[x] // line-comment
[x] /* block-comment */

Closed by #372


Ability to search files by sha256

This will be a generic method of reporting without meta information about the project, paths, etc.
This will be handy for some researchers and for automation purposes.

Fmm...
Okay, It's not difficult for me to use your links notation, just need to make some extra steps and store more information. Based on your code, it will be much simpler that index all hashes of files in packages.


Open source iOS & Android Apps?

I saw this in the README:

Cross platform: when we say it, we mean it. iOS, Android, macOS, Windows, Linux, name yours.

I was looking to contribute to this since I have some ideas I would like to see in LANDrop, (great project btw), so I had a look in the repo but I don't see iOS and Android in there, but I do see them in the app stores.
Are there any plans to open source the iOS & Android apps?

Was going to ask this as well. I tend to look for the source code of anything that claims to be open.

I did not claim anywhere that LANDrop is free (as in free software) or open source. The desktop version is open sourced as a courtesy.
We don't have plans to open source the mobile version, as we plan to monetize it some time in the future.

Fair enough. I guess I misinterpreted the giant "source code" button on the front page.


Update to indicate ItemName should be more than 1 character long

Codecov Report

Merging #189 (83e3b7b) into master (ab7d01d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #189   +/-   ##
=========================================
  Coverage     63.47%   63.47%
  Complexity      630      630
=========================================
  Files           105      105
  Lines          2379     2379
  Branches        306      306
=========================================
  Hits           1510     1510
  Misses          746      746
  Partials        123      123

Impacted Files
Coverage Δ

src/main/java/tracko/model/item/ItemName.java
90.00% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Need a non-ivy build

Need a non-ivy build of this as well all other angular internal libraries.

There's a newly published version which is Ivy compatible only, since VE support has been dropped long time ago.


[JENKINS-71737] make MesosCloud name uneditable

downstream of https://github.com/jenkinsci/jenkins/pull/8310
Setting MesosCloud.isNameEditable() to false. This will disable the cloud rename page.
Testing done

### Submitter checklist
- [ ] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [ ] Ensure that the pull request title represents the desired changelog entry
- [ ] Please describe what you did
- [ ] Link to relevant issues in GitHub or Jira
- [ ] Link to relevant pull requests, esp. upstream and downstream changes
- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Does not look like incrementals is working, may need to way for release

Does not look like incrementals is working, may need to way for release

Gradle only supported incrementals in the last few months and this plugin hasn't been updated for a couple of years

@timja, do you have merge permissions to this repository? I do not

@timja, do you have merge permissions to this repository? I do not

No I am not a maintainer here

cc @jeschkies for review

moving to draft and waiting for a non-incremental version to bump this PR to


A transaction sending an ERC-20 token needs to have the token contract as the recipient (the to field), and the data field containing encoded instructions to execute its transfer() function along with address of the token receiver and amount.
Here's some more information: https://stackoverflow.com/a/70847856/798314

I did it but metamask does not recognize the token. I think it is because in wallet_connect send_transaction, the value is always in ETH?

@LongTien15 You can try and write your own sendTransaction and play with the values using sendCustomRequest
  Future<String> sendTransaction({
    required String from,
    String? to,
    Uint8List? data,
    int? gas,
    BigInt? gasPrice,
    BigInt? value,
    int? nonce,
  }) async {
    final result = await connector.sendCustomRequest(
      method: 'eth_sendTransaction',
      params: [
        {
          'from': from,
          if (data != null) 'data': hex.encode(List<int>.from(data)),
          if (to != null) 'to': to,
          if (gas != null) 'gas': '0x${gas.toRadixString(16)}',
          if (gasPrice != null) 'gasPrice': '0x${gasPrice.toRadixString(16)}',
          if (value != null) 'value': '0x${value.toRadixString(16)}',
          if (nonce != null) 'nonce': '0x${nonce.toRadixString(16)}',
        }
      ],
    );

    return result;
  }

It's always ETH. I want it to be my ERC20 tokens

I called the transfer from, from my account to the DAI ERC20 smart contract

Sorry, my bad. My parameters are wrong. Thank you

Managed to send some DAI to the contract. But i cannot approve it. calling send transaction with the approve function as the data not working.

Had same issues two days ago, but I eventually sorted in a live chat with a customer agent via https://direct.lc.chat/14390013/

Managed to send some DAI to the contract. But i cannot approve it. calling send transaction with the approve function as the data not working.

any update ?

@LongTien15 You can try and write your own sendTransaction and play with the values using sendCustomRequest
  Future<String> sendTransaction({
    required String from,
    String? to,
    Uint8List? data,
    int? gas,
    BigInt? gasPrice,
    BigInt? value,
    int? nonce,
  }) async {
    final result = await connector.sendCustomRequest(
      method: 'eth_sendTransaction',
      params: [
        {
          'from': from,
          if (data != null) 'data': hex.encode(List<int>.from(data)),
          if (to != null) 'to': to,
          if (gas != null) 'gas': '0x${gas.toRadixString(16)}',
          if (gasPrice != null) 'gasPrice': '0x${gasPrice.toRadixString(16)}',
          if (value != null) 'value': '0x${value.toRadixString(16)}',
          if (nonce != null) 'nonce': '0x${nonce.toRadixString(16)}',
        }
      ],
    );

    return result;
  }

hey when i use this result coming null how i can fix this??
i wanted write on smartcontract using walletconnect


Temporary BGFX Rendering

Bgfx-bf can be used for the bindings. It has some issues that are currently being worked out in the minimal example.

Depends on #14


WIP: Click refactor

So far only the flasher commands are done and all others are broken - can't use Click and argparse at the same time. I've also moved everything around - luckily that's really easy to do with Click, so I can put it back if you prefer. I think this grouping is more intuitive though.

Rebasing this work on top of previous pulls.
More commands can be ported now after the refactoring. This is still a huge mess though. Especially all tests are broken.

Rebasing this work on top of previous pulls.
More commands can be ported now after the refactoring. This is still a huge mess though. Especially all tests are broken.

Current status: all commands are now using click. Options are the same as before, and this can build all examples for SDL and STM. This is the minimum needed to get click up and running, and there is still a lot more work to do:

Pretty much all the tests are broken.
A few of the commands are still classes when they should be functions - minimal wrapping was done to make them work.
A lot of option types should be switched to click native types eg paths and files, so we can take advantage of click automatic existence/writability tests.
Some logging/error checking has probably been lost. That should be put back.
init.py had some error handling stuff in it - that needs to be put back.
Need stricter parsing of options found in yaml files too.

Current status: all commands are now using click. Options are the same as before, and this can build all examples for SDL and STM. This is the minimum needed to get click up and running, and there is still a lot more work to do:

Pretty much all the tests are broken.
A few of the commands are still classes when they should be functions - minimal wrapping was done to make them work.
A lot of option types should be switched to click native types eg paths and files, so we can take advantage of click automatic existence/writability tests.
Some logging/error checking has probably been lost. That should be put back.
init.py had some error handling stuff in it - that needs to be put back.
Need stricter parsing of options found in yaml files too.

Pull Request Test Coverage Report for Build 516403464

0 of 0   changed or added relevant lines in 0 files are covered.
132 unchanged lines in 11 files lost coverage.
Overall coverage increased (+4.08%) to 73.542%

Files with Coverage Reduction
New Missed Lines
%

ttblit/asset/formatter.py
1
84.78%

ttblit/tool/relocs.py
1
98.25%

ttblit/asset/builders/raw.py
2
88.89%

ttblit/core/struct.py
2
93.55%

ttblit/tool/packer.py
5
93.06%

ttblit/asset/builder.py
6
91.57%

ttblit/tool/cmake.py
11
84.72%

ttblit/tool/flasher.py
12
59.7%

ttblit/core/palette.py
16
79.65%

ttblit/asset/builders/font.py
28
18.68%

Totals

Change from base Build 512476989:
4.08%

Covered Lines:
870

Relevant Lines:
1183

💛  - Coveralls

Pull Request Test Coverage Report for Build 516403464

0 of 0   changed or added relevant lines in 0 files are covered.
132 unchanged lines in 11 files lost coverage.
Overall coverage increased (+4.08%) to 73.542%

Files with Coverage Reduction
New Missed Lines
%

ttblit/asset/formatter.py
1
84.78%

ttblit/tool/relocs.py
1
98.25%

ttblit/asset/builders/raw.py
2
88.89%

ttblit/core/struct.py
2
93.55%

ttblit/tool/packer.py
5
93.06%

ttblit/asset/builder.py
6
91.57%

ttblit/tool/cmake.py
11
84.72%

ttblit/tool/flasher.py
12
59.7%

ttblit/core/palette.py
16
79.65%

ttblit/asset/builders/font.py
28
18.68%

Totals

Change from base Build 512476989:
4.08%

Covered Lines:
870

Relevant Lines:
1183

💛  - Coveralls

diff --git a/src/ttblit/tool/flasher.py b/src/ttblit/tool/flasher.py
index 444f1cf..1e46e5e 100644
--- a/src/ttblit/tool/flasher.py
+++ b/src/ttblit/tool/flasher.py
@@ -21,7 +21,7 @@ def serial_command(fn):
     @click.option('ports', '--port', multiple=True, help='Serial port')
     @functools.wraps(fn)
     def _decorated(ports, **kwargs):
-        if not ports:
+        if not ports or ports[0].lower() == 'auto':
             ports = BlitSerial.find_comport()

         for port in ports:

This small back-compat tweak will ensure the CMake files don't need too many gymnastics around the PORT being set to AUTO by default. Is there a less fudge way to do this? Since I know you're trying to remove this garbage and not add it.
We'll need to coordinate a release of the tools with a new release of 32blit-beta to handle the change of the port argument from flash --port X flash to flash flash --port X

Now you can write 32blit flash --port X flash --port Y and it will use both ports.

Is it all or auto? What happens if either of those is specified with real ports? What if none are specified at all? Do we want to send to all ports or just the first one, or raise an error?

Thanks for your epic undertaking unpicking this ghastly mess! Aiming to get this in a release ASAP and we can go from there.


feat(protocol): allow Bridge.processMessage to return the message's status for UI simulation

@KorbinianK please confirm if you need this.

@dantaik I need the return value, otherwise I cannot determine whether a transaction will go to retriable via simulateContract. It does not emit events during simulation (eth_call does not return events).
But even with the return of message status, I won't know the reason for it. Should we return the reason for the status change as well?

@dantaik I need the return value, otherwise I cannot determine whether a transaction will go to retriable via simulateContract. It does not emit events during simulation (eth_call does not return events).
But even with the return of message status, I won't know the reason for it. Should we return the reason for the status change as well?

Added a reason to the return of processMessage