Search SDK: SearchParameters.ToString() reverse?

Hi,
Thanks for all support.
I was wondering if its possible to reverse SeachParameters.ToString() and use that query again?
I have been trying following:
var query = SeachParameters.ToString();
var results = await indexClient.Documents.SearchAsync(query);
var results = await indexClient.Documents.SearchAsync(query, new SearchParameters { QueryType = QueryType.Full });
var results = await indexClient.Documents.SearchAsync("*", new SearchParameters { Filter = query });
First one result similar but not exactly the same result, for example is all fields included which isnt wanted.
Is there anyway to do this? Otherwise I would have to save SearchParameters as a JSON string and deserialize the entire object.
Looks however that i get corrent result when i use the query in Search explorer (Azure Portal)

@viktor-morin SearchParameters.ToString isn't meant to be used directly. It is implemented so that a SearchParameters instance can be converted to a URL query string, but that is only used when the SearchAsync method is configured to use HTTP GET instead of POST (it uses POST by default, which we recommend).
The first parameter to SearchAsync is the same as the search parameter you would use in the REST API or Search Explorer. For example, if you execute this query in search explorer:
search=description:jacket&$filter=price lt 100&queryType=full
You can achieve the same thing in .NET with this code:
var results = await indexClient.Documents.SearchAsync("description:jacket", new SearchParameters { QueryType = QueryType.Full, Filter = "price lt 100" });

Please let me know if that clarifies things.

Okay, understand!
So in my case I guess the best way is to save it as a JSON string and deserialize it back to a SearchParameters object since we set alot of properties. There isn't a "smart" way to convert SearchParameters.ToString() back to SearchParameters by try figure out which part of the string should be used as the query string and rest as parameters for SearchParameters object

There's something about your scenario that I'm not understanding. Are you just looking for a way to safely persist SearchParameters instances? If so, why?

@brjohnstmsft I worked wound it so it isnt longer an issue. However to explain the situation. We build up a SearchParameters object depending on user interactions and our own selections and then using that to get our results from Azure Search. Since many of these search are the same, we would like to save the complete query as a key, the results as value and store it in our cache. Thats how we are using it today.
However, we with my question we tried to (and have) implemeted so when one of the results is affected in the search we throw away that cachekey since its invalid. But instead of letting the user perform the new search I tried to use the key, in this case the compete query, make a new search and update the prepopulate the value. This case would the user never actaully wait for the search, always just go to the cache.
We solved it in another way, but I still think it would be a good feature that you could save your query as a string and use it again 👍 Have a great weekend!

@viktor-morin Thanks for the details. It's always interesting to learn how people are building solutions with the SDK. :)
You didn't mention whether the cache in your scenario is in-memory or out-of-process. If in-memory, you could always cache the SearchParameters object alongside the results so you could use it again later. If it's a remote cache, I'd recommend defining your own persistence format for SearchParameters. It's much safer from a backwards compatibility perspective because you explicitly control the versioning. If you rely on the results of serializing SDK model classes, you may be caught by surprise if those classes change in a future version of the SDK.
Anyway, glad you got it working! Closing this issue.


Sous deploy crashed

[22:02:38][Step 3/3] Running sous deploy -cluster ci-sf -tag 1.0.56 -d -v -flavor na
[22:02:38][Step 3/3]
[22:02:38][Step 3/3] ################################################################################
[22:02:38][Step 3/3] #                                                                              #
[22:02:38][Step 3/3] #                                       OOPS                                   #
[22:02:38][Step 3/3] #                                                                              #
[22:02:38][Step 3/3] #        Sous has panicked, due to programmer error. Please report this        #
[22:02:38][Step 3/3] #        to the project maintainers at:                                        #
[22:02:38][Step 3/3] #                                                                              #
[22:02:38][Step 3/3] #                https://github.com/opentable/sous/issues                      #
[22:02:38][Step 3/3] #                                                                              #
[22:02:38][Step 3/3] #        Please include this entire message and the stack trace below          #
[22:02:38][Step 3/3] #        and we will investigate and fix it as soon as possible.               #
[22:02:38][Step 3/3] #                                                                              #
[22:02:38][Step 3/3] #        Thanks for your help in improving Sous for all!                       #
[22:02:38][Step 3/3] #                                                                              #
[22:02:38][Step 3/3] #        - The OpenTable DevTools Team                                         #
[22:02:38][Step 3/3] #                                                                              #
[22:02:38][Step 3/3] ################################################################################
[22:02:38][Step 3/3]
[22:02:38][Step 3/3] Sous Version: 0.5.46+8fe02df2c31c59133834bca6d3386450da6afd62
[22:02:38][Step 3/3]
[22:02:38][Step 3/3] panic: assignment to entry in nil map
[22:02:38][Step 3/3]
[22:02:38][Step 3/3] goroutine 1 [running]:
[22:02:38][Step 3/3] panic(0xc05a60, 0xc42026a7c0)
[22:02:38][Step 3/3] /usr/local/go/src/runtime/panic.go:500 +0x1a1
[22:02:38][Step 3/3] github.com/opentable/sous/graph.(*SousGraph).guardedAdd(0xc4202b8dd0, 0xceb349, 0x11, 0xc06ae0, 0xc420010780)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/graph/actions.go:13 +0xac
[22:02:38][Step 3/3] github.com/opentable/sous/graph.(*SousGraph).GetUpdate(0xc4202b8dd0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ffc673737fe, 0x2, 0x7ffc673737e9, ...)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/graph/actions.go:19 +0x109
[22:02:38][Step 3/3] github.com/opentable/sous/cli.(*SousDeploy).Execute(0xc4202b8dd0, 0xc42000c1d0, 0x0, 0x0, 0xc420014bd0, 0x0)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/cli/sous_deploy.go:52 +0xae
[22:02:38][Step 3/3] github.com/opentable/sous/util/cmdr.(*CLI).InvokeWithoutPrinting(0xc420255180, 0xc42000c140, 0xa, 0xa, 0xc154a0, 0xc420303ea0)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/util/cmdr/cli.go:108 +0xa3
[22:02:38][Step 3/3] github.com/opentable/sous/util/cmdr.(*CLI).Invoke(0xc420255180, 0xc42000c140, 0xa, 0xa, 0xa, 0xc4202ed810)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/util/cmdr/cli.go:76 +0x4d
[22:02:38][Step 3/3] github.com/opentable/sous/cli.(*CLI).Invoke(0xc420253b20, 0xc42000c140, 0xa, 0xa, 0x1336760, 0xc420034010)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/cli/cli.go:86 +0xc4
[22:02:38][Step 3/3] main.main()
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/main.go:35 +0x215
[22:02:38][Step 3/3] Failed to deploy 1.0.56/na to ci-sf
[22:02:38][Step 3/3] Process exited with code 1
[22:02:38][Step 3/3] Process exited with code 1
[22:02:38][Step 3/3] Step Perform Deployment (Command Line) failed

Thanks David, tracked in SOUS-736 https://opentable.atlassian.net/browse/SOUS-736 I just had to get another release out first, and am now working on this, I’ve found the issue, expect a fix today.

On 26 Oct 2017, at 23:04, David Khanaferov<EMAIL_ADDRESS>wrote:
[22:02:38][Step 3/3] Running sous deploy -cluster ci-sf -tag 1.0.56 -d -v -flavor na
[22:02:38][Step 3/3]
[22:02:38][Step 3/3] ################################################################################
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] # OOPS #
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] # Sous has panicked, due to programmer error. Please report this #
[22:02:38][Step 3/3] # to the project maintainers at: #
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] # https://github.com/opentable/sous/issues https://github.com/opentable/sous/issues #
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] # Please include this entire message and the stack trace below #
[22:02:38][Step 3/3] # and we will investigate and fix it as soon as possible. #
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] # Thanks for your help in improving Sous for all! #
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] # - The OpenTable DevTools Team #
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] ################################################################################
[22:02:38][Step 3/3]
[22:02:38][Step 3/3] Sous Version: 0.5.46+8fe02df2c31c59133834bca6d3386450da6afd62
[22:02:38][Step 3/3]
[22:02:38][Step 3/3] panic: assignment to entry in nil map
[22:02:38][Step 3/3]
[22:02:38][Step 3/3] goroutine 1 [running]:
[22:02:38][Step 3/3] panic(0xc05a60, 0xc42026a7c0)
[22:02:38][Step 3/3] /usr/local/go/src/runtime/panic.go:500 +0x1a1
[22:02:38][Step 3/3] github.com/opentable/sous/graph.(*SousGraph).guardedAdd(0xc4202b8dd0, 0xceb349, 0x11, 0xc06ae0, 0xc420010780)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/graph/actions.go:13 +0xac
[22:02:38][Step 3/3] github.com/opentable/sous/graph.(*SousGraph).GetUpdate(0xc4202b8dd0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ffc673737fe, 0x2, 0x7ffc673737e9, ...)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/graph/actions.go:19 +0x109
[22:02:38][Step 3/3] github.com/opentable/sous/cli.(*SousDeploy).Execute(0xc4202b8dd0, 0xc42000c1d0, 0x0, 0x0, 0xc420014bd0, 0x0)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/cli/sous_deploy.go:52 +0xae
[22:02:38][Step 3/3] github.com/opentable/sous/util/cmdr.(*CLI).InvokeWithoutPrinting(0xc420255180, 0xc42000c140, 0xa, 0xa, 0xc154a0, 0xc420303ea0)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/util/cmdr/cli.go:108 +0xa3
[22:02:38][Step 3/3] github.com/opentable/sous/util/cmdr.(*CLI).Invoke(0xc420255180, 0xc42000c140, 0xa, 0xa, 0xa, 0xc4202ed810)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/util/cmdr/cli.go:76 +0x4d
[22:02:38][Step 3/3] github.com/opentable/sous/cli.(*CLI).Invoke(0xc420253b20, 0xc42000c140, 0xa, 0xa, 0x1336760, 0xc420034010)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/cli/cli.go:86 +0xc4
[22:02:38][Step 3/3] main.main()
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/main.go:35 +0x215
[22:02:38][Step 3/3] Failed to deploy 1.0.56/na to ci-sf
[22:02:38][Step 3/3] Process exited with code 1
[22:02:38][Step 3/3] Process exited with code 1
[22:02:38][Step 3/3] Step Perform Deployment (Command Line) failed
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/opentable/sous/issues/495, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGzTSiTf8fw146UY3otU5nqStAvKegYks5swQIDgaJpZM4QISDM.

Looks like this was already fixed in 0.5.47. Just released 0.5.48 as well. brew upgrade sous…

On 27 Oct 2017, at 15:28, Sam Salisbury<EMAIL_ADDRESS>wrote:
Thanks David, tracked in SOUS-736 https://opentable.atlassian.net/browse/SOUS-736 I just had to get another release out first, and am now working on this, I’ve found the issue, expect a fix today.

On 26 Oct 2017, at 23:04, David Khanaferov<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
[22:02:38][Step 3/3] Running sous deploy -cluster ci-sf -tag 1.0.56 -d -v -flavor na
[22:02:38][Step 3/3]
[22:02:38][Step 3/3] ################################################################################
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] # OOPS #
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] # Sous has panicked, due to programmer error. Please report this #
[22:02:38][Step 3/3] # to the project maintainers at: #
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] # https://github.com/opentable/sous/issues https://github.com/opentable/sous/issues #
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] # Please include this entire message and the stack trace below #
[22:02:38][Step 3/3] # and we will investigate and fix it as soon as possible. #
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] # Thanks for your help in improving Sous for all! #
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] # - The OpenTable DevTools Team #
[22:02:38][Step 3/3] # #
[22:02:38][Step 3/3] ################################################################################
[22:02:38][Step 3/3]
[22:02:38][Step 3/3] Sous Version: 0.5.46+8fe02df2c31c59133834bca6d3386450da6afd62
[22:02:38][Step 3/3]
[22:02:38][Step 3/3] panic: assignment to entry in nil map
[22:02:38][Step 3/3]
[22:02:38][Step 3/3] goroutine 1 [running]:
[22:02:38][Step 3/3] panic(0xc05a60, 0xc42026a7c0)
[22:02:38][Step 3/3] /usr/local/go/src/runtime/panic.go:500 +0x1a1
[22:02:38][Step 3/3] github.com/opentable/sous/graph http://github.com/opentable/sous/graph.(*SousGraph).guardedAdd(0xc4202b8dd0, 0xceb349, 0x11, 0xc06ae0, 0xc420010780)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/graph/actions.go:13 http://github.com/opentable/sous/graph/actions.go:13 +0xac
[22:02:38][Step 3/3] github.com/opentable/sous/graph http://github.com/opentable/sous/graph.(*SousGraph).GetUpdate(0xc4202b8dd0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ffc673737fe, 0x2, 0x7ffc673737e9, ...)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/graph/actions.go:19 http://github.com/opentable/sous/graph/actions.go:19 +0x109
[22:02:38][Step 3/3] github.com/opentable/sous/cli http://github.com/opentable/sous/cli.(*SousDeploy).Execute(0xc4202b8dd0, 0xc42000c1d0, 0x0, 0x0, 0xc420014bd0, 0x0)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/cli/sous_deploy.go:52 http://github.com/opentable/sous/cli/sous_deploy.go:52 +0xae
[22:02:38][Step 3/3] github.com/opentable/sous/util/cmdr http://github.com/opentable/sous/util/cmdr.(*CLI).InvokeWithoutPrinting(0xc420255180, 0xc42000c140, 0xa, 0xa, 0xc154a0, 0xc420303ea0)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/util/cmdr/cli.go:108 http://github.com/opentable/sous/util/cmdr/cli.go:108 +0xa3
[22:02:38][Step 3/3] github.com/opentable/sous/util/cmdr http://github.com/opentable/sous/util/cmdr.(*CLI).Invoke(0xc420255180, 0xc42000c140, 0xa, 0xa, 0xa, 0xc4202ed810)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/util/cmdr/cli.go:76 http://github.com/opentable/sous/util/cmdr/cli.go:76 +0x4d
[22:02:38][Step 3/3] github.com/opentable/sous/cli http://github.com/opentable/sous/cli.(*CLI).Invoke(0xc420253b20, 0xc42000c140, 0xa, 0xa, 0x1336760, 0xc420034010)
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/cli/cli.go:86 http://github.com/opentable/sous/cli/cli.go:86 +0xc4
[22:02:38][Step 3/3] main.main()
[22:02:38][Step 3/3] /ext-go/1/src/github.com/opentable/sous/main.go:35 http://github.com/opentable/sous/main.go:35 +0x215
[22:02:38][Step 3/3] Failed to deploy 1.0.56/na to ci-sf
[22:02:38][Step 3/3] Process exited with code 1
[22:02:38][Step 3/3] Process exited with code 1
[22:02:38][Step 3/3] Step Perform Deployment (Command Line) failed
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/opentable/sous/issues/495, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGzTSiTf8fw146UY3otU5nqStAvKegYks5swQIDgaJpZM4QISDM.

@dkhanaferov I believe this is now fixed. Please upgrade to the latest Sous (brew upgrade sous on mac, or download from GH releases). Closing for now, feel free to reopen if this crops up again.


Feature/ledger key for terra.js

support LedgerKey for terra.js

@Vritra4 Can you check circleci failures?

@hanjukim i think CHECKOUT_KEY in secret is invalid. could you check the key? i can't access the key..

@simcheolhwan please review it again :)


Add running method to schedule

Expose running jobs in Schedule class

👍

👍  I am wondering why the original version doesn't have this important feature.


"Display -> Object Types" hides map pieces based on model type, not based on object type

Steps to reproduce:

Enable displaying of Collision.
Select any piece of collision and duplicate it. Move the duplicate to a different location so you can tell it apart.
Go to the "ModelName" field of the new collision piece and change it to any Map Piece model (e.g. m0010B0).
Disable displaying of Map Pieces.

Expected result: The new collision piece appears in blue, like other collision objects.
Actual result: The new collision piece becomes invisible as if it was a Map Piece. It only appears if displaying "Map Pieces" is enabled. That's despite the fact that it says "Collision" in the "Object Type" field.

Late reply, but yeah, you're right. The reason why is doesn't ATM is because DSMS doesn't expect an MSB part to have the wrong type of model (because Fromsoft has yet to do it in any game, and there's no reason you would ever want it either), and it would be a bit of an effort to make DSMS use object type instead. So pretty low priority.
I'll leave this open for the indefinitely since someday, somebody may feel goofy enough to do it.

Yeah I didn't really understand the relationship between models and object types when I made this report. What I really wanted was a way to convert map pieces to collision.


feat: init sorting

close #92

It looks like the token price is ordered by the 24 hour % change. Let's order it by $ value instead.

Otherwise, this looks all good. The animation could start to feel a little too slow/over the top for people who are chronic re-sorters, but let's see how it goes. We can always cut it back if it starts to get annoying.

@parrot9design Isn't it better to keep price sorting based on 24h change? Seems to me as relatively more important info to sort by. If you want to sort by token value, marketcap is better metric for that anyway.

I guess it depends. Sorting based on 24h change is good for spotting trends, but sorting by $ value makes it easier to compare prices, particularly of stablecoins. As for which is better...is there any way we could have the option to sort by both?

I guess it depends. Sorting based on 24h change is good for spotting trends, but sorting by $ value makes it easier to compare prices, particularly of stablecoins. As for which is better...is there any way we could have the option to sort by both?

I couldn't think of anything not too much invasive for the UI.
Changed sorting based on price, we can revisit this later maybe with some feedback from the community

I guess it depends. Sorting based on 24h change is good for spotting trends, but sorting by $ value makes it easier to compare prices, particularly of stablecoins. As for which is better...is there any way we could have the option to sort by both?

I couldn't think of anything not too much invasive for the UI. Changed sorting based on price, we can revisit this later maybe with some feedback from the community

Sounds great, thanks @hetfly!

Looks absolutely stunning!


remove outdated warning message

Returning is supported by sqlite3 in the current version.
Reference: https://sqlite.org/lang_returning.html
Discussion: https://stackoverflow.com/a/67644622/3156509

I'll take a look at lint error, probably new versions of something got released

@OlivierCavadenti were returning tests enabled for sqlite before?

@OlivierCavadenti I think this might have been a premature change. I've tried enabling tests for SQLite, and I don't think that returning is working as expected. When performing inserts, I don't see SQLite driver actually returning anything, even when I add the knex part for handling it.

Released in 1.0.1, supported only by better-sqlite3 for now.


added pagerfanta to function findCurrentOfferedProducts

ack

@dmetzler1988 you have to be care of performance in case of a lot of products because pagerfanta uses the Paginator of doctrine and we had a lot of troubles with that ...
https://github.com/whiteoctober/Pagerfanta/blob/master/src/Pagerfanta/Adapter/DoctrineORMAdapter.php#L26


[master] Fix apiKey sanitization with the getValidName function

Purpose

$Subject
Related issues:
https://github.com/ballerina-platform/openapi-tools/pull/1680
https://github.com/ballerina-platform/ballerina-library/issues/5140

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Close with the favour of https://github.com/ballerina-platform/openapi-tools/pull/1697


"Create VM" button should not be available when user is granted only with UserRole

Description of problem:
"Create VM" should not be available when user is granted only with UserRole
Version-Release number of selected component (if applicable):
4.2.3
How reproducible:
always
Steps to Reproduce:

create user and grant him UserRole permission to system or just some vm
after login with this user - "create vm" button is visible and when you attempt to create vm you are not able to close the vm creation window and you have to go to rhv manager home page and navgate from there

Actual results:
"create vm" button is visible
Expected results:
"create vm" button is not visible

originally reported at https://bugzilla.redhat.com/show_bug.cgi?id=1597705


Unable to Restore Old Wallet

Having upgraded to 1.2, my lnd node became corrupted ([ERR] SRVR: unable to start server: edge not found of which there are a few open incidents with users having similar issues going to lnd v0.6).
I decided to rebuild my node and then use my seed and channel.backup to restore (Choose SEED+SCB - Seed & channel.backup file option)
The issue I have is that my seed was protected with a password (Password D). However, that password contains special characters ( specifically a single $ character). However, there is now logic built in to 1.2 that prevents the use of special characters so it won't accept the password that my seed is protected with. So is there a way to bypass this logic to enable me to enter the actual password that my seed is protected with?
I built my node using  raspiblitz v0.99 and given I created my Password D with that special character in using that version, I guess the same logic preventing the use of special characters was not in place at that point. I don't know whether the fact it contains a special character is going to be an issue even if I can somehow bypass the logic that is preventing me from trying to  restore my wallet with the actual password protecting it or not, but I'd at least like to get to that point and try. Thanks

When doing recovery from seed - at the moment I would still recommend using the LND Desktop Wallet, because it somehow is more relaible to recover on-chain funds from seed (this still on investigation why RaspiBlitz is not able to get the same results) and it should accept special chars in password. I never used the channel.backup with the desktop app, but it should be possible (maybe ask on LND slack).
https://github.com/lightninglabs/lightning-app
Once you recovered all your funds with the desktop app then you can setup I fresh RaspiBlitz and fund it from that lightning desktop app.

[ERR] SRVR: unable to start server: edge not found of which there are a few open incidents with users having similar issues going to lnd v0.6).
I decided to rebuild my node and then use my seed and channel.backup to restore (Choose SEED+SCB - Seed & channel.backup file option)

were you successful at restoring your node and wallet?  Please provide details for others if possible.

were you successful at restoring your node and wallet? Please provide details for others if possible.

I think not...
"edge not found" problem update: https://github.com/rootzoll/raspiblitz/issues/562#issuecomment-497939315

Hi all, sorry for the delay in replying. Unfortunately I was not successful in restoring my node using the LND Desktop wallet, but more down to my stupidity than anything technical. I was unable to restore from the seed and passphrase, it didn't like my passphrase so I must have either written it down wrong or got it confused with a previous passphrase. So going to start again from scratch.  Interesting update to #562 where this situation should be avoided in v 0.7.0. That (along with doing a better job recording my recovery seed and passphrase!) should leave me in a better position going forward. Suggest this issue is closed


Question regarding Query Builder

what is the use of Reset for Contact, Company and Create mail.

reset and restart button works similar.

not used anymore
need to reset on later stages


set upcoming release tags for next branches on soroban-dev image

@paulbellamy Now that we're using tags, is there anything that prevents us from adding back the caching of the horizon, friendbot, and rpc image builds? The caching was removed in https://github.com/stellar/quickstart/pull/435.


Re-generate token only on data changes or after a certain amount of lifetime

A token should only be re-generated after:

the data changed
its lifecycle has past a certain amount of time (10% of lifetime, for example)

This greatly reduces crypto CPU usage, as well as prevents slamming the cookies due to race conditions.
Our todo list is:

[x] track data change;
[ ] configure the refresh lifetime (10% can be the default);
[x] ensure that the token cookie is not sent when there is a valid token in request and user hasn't changed the session data;
[ ] ensure that the token cookie is sent when there is a valid token in request and is the refresh time (current time represents X% of iat and exp claims);

#11 implements points 1 and 3

It was completed right?

@malukenho indeed!


Viewing Transaction Logs in Azure Portal

Hi,
I was viewing the transaction logs in SQL server.
My question is Can we see the transaction logs in Azure Portal or using Azure PowerShell?
Thanks

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

ID: ea2ebe6c-220c-c582-6259-6b3867cc6d99
Version Independent ID: 8cd2d494-c723-f4b7-4dc4-4809196d6579
Content: The Transaction Log (SQL Server) - SQL Server
Content Source: docs/relational-databases/logs/the-transaction-log-sql-server.md
Product: sql
Technology: supportability
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

Hi @aayush3667 , thanks for contacting Microsoft! Let me check for you. Please note that, depending on complexity, this may take some time.
Thanks!
Masha from the SQL Docs team

Hi,
still waiting for the solution.
Thanks

Hi @aayush3667 , thank  you for patience :) I am still investigating, but I do apologize for the delay.
Thanks!
Masha from the SQL Docs team

Hi @aayush3667,
Azure SQL database  blocks the ability to parse the tx log. This is because we truncate it regularly so even if allowed it would be of limited duration.
Thank you

Hi @aayush3667, just wanted to check in with you and see if you are able to provide a need to read the log? Please note, if we don't hear back from you soon, we will assume your question has been answered and close out this Git Issue.
Thanks!
Masha from the SQL Docs team

Hi @aayush3667 , since it's been some time since we've heard from you, we'll assume that your issue has been resolved and close out this Git Issue. However, please feel free to respond via comment should you need anything further.
Thanks and hope you have a wonderful rest of your day!
Masha from SQL Docs team


[Feature] Logs deletion

Search before asking

[X] I had searched in the issues and found no similar issues.

Feature Request
When there are more and more cloud function logs, you need to delete some old logs to reduce data memory！
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Add log export function

Sorry it took so long to reply. This is an important suggestion. I will include this suggestion in our roadmap.
Thanks for the feedback.

see this
https://forum.laf.run/d/73


MyCroft precise in 2.5.1 (debian install)

My profile is the same as in 2.4, where I have:
    "wake": {
      "system": "precise",
      "precise": {
        "model": "precise/hey-mycroft.pb",
        "sensitivity": 0.5,
        "trigger_level": 3,
        "chunk_size": 2048
      }
    },

Now the debian package installation of rhasspy 2.5.1 seems to search in a different place for the model file:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/rhasspy/rhasspy/rhasspywake_precise_hermes/models/precise/hey-mycroft.pb'

The above error can be fixed by using an absolute path in the profile.json, however precise itself does not seem to work. When saying "Hey mycroft", I hear no confirmation beep, and successive utterances are not recognized. All I see in the logs is:
[DEBUG:2020-07-18 20:48:18,308] rhasspywake_precise_hermes: -> HotwordDetected(model_id='hey-mycroft.pb', model_version='', model_type='personal', current_sensitivity=0.5, site_id='default', session_id=None, send_audio_captured=None, lang=None)
[DEBUG:2020-07-18 20:48:18,308] rhasspywake_precise_hermes: Publishing 182 bytes(s) to hermes/hotword/hey-mycroft/detected
[DEBUG:2020-07-18 20:48:18,322] rhasspyserver_hermes: <- HotwordDetected(model_id='hey-mycroft.pb', model_version='', model_type='personal', current_sensitivity=0.5, site_id='default', session_id=None, send_audio_captured=None, lang=None)

Is precise broken in 2.5?

Precise should be working fine in 2.5. Have you set "Rhasspy" as the dialogue manager? That needs to be running for the beeps to sound and for the ASR/NLU systems to be engaged after a hotword is detected.

Yes, actually this solved the problem.


Added required for specific form fields

I created an issue https://github.com/zero-to-mastery/Keiko-Corp/issues/738#issue-720373048
Resolved the above issue and follows the below checklist.
Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number/url helps us identify the problem being solved and keep the issues tab clean and tidy

This is not a fix. This is a request to add login and signup pages to the site.
Summarize what this PR fixes:-
Fixes #
Checklist
(Add an x between the brackets to check the items)

[x ] I have summarize what this PR fixes above
[x] I have provided the issue ID/URL above
[x] I have not added Bootstrap or jQuery and used correct styling guide.
[x] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[x] I was the first one to claim the issue or I created the issue - I created the issue

Please add hacktoberfest and hacktoberfest-accepted label to the PR


Out of memory

Search Terms:
high memory usage heap react
Code
export type ScheduleProps = {
  // ...
  eventContentComponent?: React.ElementType<EventContentProps>;
  eventRootComponent?: React.ElementType<EventRootProps>;
};

Expected behavior:
Compiled.
Actual behavior:
$ tsc --project . --noEmit

<--- Last few GCs --->

[15840:0x2897f30]    25267 ms: Mark-sweep 1335.2 (1446.8) -> 1327.9 (1449.3) MB, 938.0 / 0.0 ms  (average mu = 0.195, current mu = 0.058) allocation failure scavenge might not succeed
[15840:0x2897f30]    26971 ms: Mark-sweep 1339.7 (1449.3) -> 1332.1 (1450.8) MB, 1650.9 / 0.0 ms  (average mu = 0.096, current mu = 0.031) allocation failure scavenge might not succeed

<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x38acc9bdbe1d]
    1: StubFrame [pc: 0x38acc9ba236e]
Security context: 0x23118b41e6e1 <JSObject>
    2: slice [0x23118b406d09](this=0x26806be58fb9 <JSArray[12]>,0)
    3: /* anonymous */(aka /* anonymous */) [0x367b1a96a1f9] [/home/f/Projects/remotelock/react-week-scheduler/node_modules/typescript/lib/tsc.js:~32894] [pc=0x38acca56d751](this=0x2aaba17826f1 <undefined>,t=0x0e1171e59ff9 <Type map = 0x12d8538d48a1>)

Repo: https://github.com/remotelock/react-week-scheduler
Steps to reproduce:

Clone repo
git checkout 9c64f4f7224d199d9706c4fdec4cd073292c1842
yarn
yarn check-ts

Replacing React.ElementType here (L25 & 27) with any works around the bug.

Same root cause as #29949. Turning off strictFunctionTypes should be a workaround until we can fix these comparisons for properties of HOCs to be more efficient.

I encountered this in a project part of somewhat big monorepo. It's also a React library project, but I don't know if it's the same cause as the HOCs issue because this particular project doesn't export React component. It does import many types and utility types from 3rd party libraries.
I was trying tsc build mode combined with --incremental. It works previously since TS v3.1
Anyway, even after setting "strict": false, I still got Out of memory error
<--- Last few GCs --->

[12998:0x353c730]    49033 ms: Scavenge 1381.6 (1423.5) -> 1380.7 (1424.0) MB, 4.2 / 0.0 ms  (average mu = 0.333, current mu = 0.317) allocation failure
[12998:0x353c730]    49039 ms: Scavenge 1381.6 (1424.0) -> 1380.7 (1424.5) MB, 4.6 / 0.0 ms  (average mu = 0.333, current mu = 0.317) allocation failure
[12998:0x353c730]    49046 ms: Scavenge 1381.7 (1424.5) -> 1380.7 (1425.0) MB, 4.2 / 0.0 ms  (average mu = 0.333, current mu = 0.317) allocation failure

<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x280fd72dbe1d]
Security context: 0x0039a671e6e1 <JSObject>
    1: typeToTypeNodeHelper(aka typeToTypeNodeHelper) [0x30c46bab2291] [/home/panjiesw/dev/workspaces/srin/swuif/node_modules/typescript/lib/tsc.js:~27985] [pc=0x280fd780a88a](this=0x1d70352826f1 <undefined>,type=0x1d1526819d51 <Type map = 0x3691eff0ba1>,context=0x24815e948909 <Object map = 0x34bf4388c0d1>)
    2: symbolToParameterDeclaration(aka symbolToPar...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x8daaa0 node::Abort() [node]
 2: 0x8daaec  [node]
 3: 0xad73ce v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
 4: 0xad7604 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
 5: 0xec4c32  [node]
 6: 0xec4d38 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [node]
 7: 0xed0e12 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
 8: 0xed1744 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 9: 0xed43b1 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [node]
10: 0xe9d834 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node]
11: 0x113cf9e v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node]
12: 0x280fd72dbe1d

The tsc CLI stopped at 1.4GB RAM consumption as seen in the log. This also made VSCode eats a lot of RAM, topping at around 2.1GB, but it eventually settled down, probably that's the amount of RAM needed to parse the project.

I ran into a similar memory issue which was causing tsc to get killed on CI due to lack of memory. I refactored the code to use the newer React.createRef() API and typed all my refs as RefObject<T>, whose type doesn't involve { bivarianceHack(instance: T | null): void }["bivarianceHack"] and the memory usage went down enough that my CI build passes again.
I'm posting this here in case this helps someone else who also didn't want to disable strictFunctionTypes.

Another memory issue exampel:
https://circleci.com/gh/unional/komondor/988
This happens on Node 8-10, but pass in 11.

Ran into same problem as @panjiesw. Also importing utility types and the like from many projects. It would just continuously climb no matter what. Turning off incremental compilation fixed it.

I found the source in my case btw. It's because of the changes in how generics work in 3.4 and later 3.5, and also the type definitions of imported libraries. Few changes to make generics explicit help my projects build

met same problem and I investigate using llnode
v8 bt result

v8 findjsobject results

It's triggered by using https://github.com/immerjs/immer, after I delete the code using ok, it's fine

@hardfist your example appears to be running OOM in a different phase of complication than the rest of this thread - you should open a new issue.

I think would be great if TypeScript can figure out the possible locations in the code that cause this out of memory problem. It's really hard to pinpoint...

We're experiencing similar issue https://github.com/microsoft/TypeScript/issues/33612#issuecomment-555574062

With 3.7 the memory usage is insane (during npm test from 5-6GB it eats the whole 16GB and the kernel starts swapping like crazy), but with ts@next everything's smooth as butter :+1:

Getting this as well merely by having @types/babel__traverse in my node_modules (no skipLibCheck).
Started with this commit: https://github.com/DefinitelyTyped/DefinitelyTyped/commit/4fccaa038eee7bb2d2a16eb6f4df79614d95e0fd#diff-a540d520f49a14b1742cdf4f1a2d61b0

I've got a self-contained concrete repo for this with no libraries required:

switch to node v10.x.
checkout https://github.com/typescript-eslint/typescript-eslint/pull/1939 (specifically this commit)
yarn install --ignore-scripts (need the --ignore-scripts or it'll attempt to do a build post install)
cd packages/typescript-estree
yarn build
observe OOM.

I think that this is due to the changes I made here, which added the following:
type SimpleTraverseOptions = {
  [type in AST_NODE_TYPES]?: (
    node: Extract<TSESTree.Node, { type: type }>,
    parent: TSESTree.Node | undefined,
  ) => void;
};

TSESTree.Node is a large discriminated union of ~160 object types.
AST_NODE_TYPES is a large enum of ~150 values.
Each value in AST_NODE_TYPES has 1 (or more) matching items in the TSESTree.Node union.
The intention behind the type was to do something similar to this type without enumerating it all by hand.
Example usage of the type is:
const x: SimpleTraverseOptions = {
  MemberExpression(node): void { ... }
//                 ^^^^ automatically typed as TSESTree.MemberExpression
};

Versions tested:

TS v3.8.3

v8.12.0 - OOM
v10.17.0 - OOM
v12.14.1 - compiles fine (~20.9s, compared to master which is ~6.3s).
v13.13.0 - compiles fine (~18.5s, compared to master which is ~6.2s).

TS v3.9.1-rc

v8.12.0 - OOM
v10.17.0 - OOM
v12.14.1 - compiles fine (~18s, compared to master which is ~6s).
v13.13.0 - compiles fine (~18.1s, compared to master which is ~6s).

Experiencing the same issue. Any updates / solutions / recommendations?

The original example no longer OOMs on latest TS. If you have a new, self-contained example on latest TS, please open a new issue to let us know. ❤


The screen will stop refreshing on RaspberryPi after a moment.

The screen will stop refreshing on RaspberryPi after a moment.

Going to need a bit more information before we can help...

WeChatSight119.mp4.zip
I am very sorry to reply to you now. The attachment is the case of running the example. If you need any information, please reply me, thank you.

Hi @aisakong, I watched the video but couldn't determine what the problem was from the clip you recorded. Can you explain what the issue is in relation to the video?

No feedback, closing.


Backport/cherry-pick Arunava's fix for  [NETBEANS-764] to release90

Unless there are objections, I'll merge this today afternoon.

No objections and please continue cherry picking, there may be several recent PRs in main that we need in release90.


currency: use kvstore as persistence layer

replace the redis client by a configurable kvstore in the currency service in pkg/currency/service.go:20
the config could look like this:
kvstore:
  currency:
    type: chain
    application: example
    elements: [redis, ddb]

i would like to add inMemory here to the elements, what do you think @j4k4 ?

closed in #134


Feature/updatecore2

You did it @dinakarmeda!
Thank you for signing the Anthem Opensource Software CLA.


XRController doesn't connect to controller

Godot version
v4.0.beta3.official [01ae26d31]
System information
Arch Linux
Issue description
OpenXR can't create controller actions:
OpenXR: Running on OpenXR runtime:  Oculus   46.226.0
Godot Engine v4.0.beta3.official.01ae26d31 - https://godotengine.org
OpenXR: XrGraphicsRequirementsVulkan2KHR:
 - minApiVersionSupported:  1.0.0
 - maxApiVersionSupported:  1.2.0
Vulkan API 1.1.0 - Using Vulkan Device #0: Qualcomm - Adreno (TM) 650

OpenXR: failed to create action  default_pose ! [ XR_ERROR_PATH_UNSUPPORTED ]
OpenXR: failed to create action  aim_pose ! [ XR_ERROR_PATH_UNSUPPORTED ]
OpenXR: failed to create action  grip_pose ! [ XR_ERROR_PATH_UNSUPPORTED ]
OpenXR: failed to create action  palm_pose ! [ XR_ERROR_PATH_UNSUPPORTED ]
OpenXR: failed to create action  haptic ! [ XR_ERROR_PATH_UNSUPPORTED ]
OpenXR: Failed to get interaction profile for 4297 [ XR_ERROR_PATH_UNSUPPORTED ]

Steps to reproduce
VR project with XRNode3D objects.
Minimal reproduction project
No response

Using this action map fixed the issue: https://github.com/godotengine/godot/issues/65395#issuecomment-1250408661

What, did you just add that resource to the project and then set the xr/openxr/default_action_map setting to the file? I did that and still have the issue

Yes that is what I did.


[repo] Prepare release core-1.9.0-beta.2

Note: This PR was opened automatically by the prepare release workflow.
Changes

CHANGELOG files updated for projects being released.

I noticed this PR was merged.
Post a comment with "/CreateReleaseTag" in the body if you would like me to create the release tag core-1.9.0-beta.2 for the merge commit which will trigger the package workflow.

/CreateReleaseTag

I just pushed the core-1.9.0-beta.2 tag.
The package workflow should begin momentarily.

The packages for core-1.9.0-beta.2 are now available: https://github.com/CodeBlanchOrg/opentelemetry-dotnet/actions/runs/9409197343/artifacts/1577234964.
Once these packages have been validated have a maintainer post a comment with "/PushPackages" in the body if you would like me to push to NuGet.

/PushPackages

I am uploading the packages for core-1.9.0-beta.2 to NuGet and then I will publish the release.

The release core-1.9.0-beta.2 has been published and packages should be available on NuGet momentarily.
Have a nice day!


File not found.

So, when I complile and generate the code, the file that is supposed to be in dist isn't there. I have placed the Pysilon folder in a exculsion so antivirus shouldn't be acting on it and when its compiling the stuff it says in the console at the end : FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\name\OneDrive\Desktop\Pysilon\resources\passwords_grabber.py'. How should i go about fixing this?

it also says WARNING: Skipping C:\Users\name\OneDrive\Desktop\Pysilon\pysilon\Lib\site-packages\altgraph-0.17.4.dist-info due to invalid metadata entry 'name'

this happens because your antivirus deleted the file (because its still malware code in it, even if you havent created it yet. Disable your antivirus, reextract the pysilon folder and it should work


⚠ HopeAlley Ecards has degraded performance

In 90d2426, HopeAlley Ecards (https://hopealley.com/ecards) experienced degraded performance:

HTTP code: 200
Response time: 6090 ms

Resolved: HopeAlley Ecards performance has improved in 68fe8df after 8 minutes.


Release/2.8.x

Summary

Checklist

[ ] The Pull Request has tests
[ ] There's an entry in the CHANGELOG
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

[Implement ...]

Issue reference

Fix #[issue number]

Please do not open PRs based on branches maintained by others.


"Sadova" is listed in the drop-down menu

Description:
"Sadova" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Sadova" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Sadova, DOLJ".


:bug: Fix bug with temporal jobs failing background jobs because the worker hasn't run in a long time and DB connections have been dropped

Description
As the title says, when the temporal-worker hasn't run a job in a long time, django might drop the database connections to them, to fix it, we close faulty db connections at the start of each job, this way django will need to recreate the connections next time it needs to make a DB query.
⚠ If you modify backend code, be sure to run these commands :
cd backend
pnpm run openapi # will generate OpenAPI schema at `/openapi/schema.yaml`
pnpm run freeze # will update the `requirements.txt` file if you added new packages

⚠ If you modify frontend code, be sure to run these commands :
pnpm run format # format the files using biome

Type of Change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

NOT FIXED !!!!!!!!!!


JVM crash during finalization

I wan to use libpam4j in a production system therefore I started to play with it. I created my first program to test basic funcionality of libpam4j:
public class App
{
    public static void main( String[] args) throws Exception
    {
        UnixUser u = new PAM("login").authenticate(args[0], args[1]);
        System.out.println("Groups : " + u.getGroups());
    }
}

After ~10 execution the program surprisingly terminated with segfault. The segfault occured in the finalizer thread of JVM after the list of groups was printed to standard output.
The error file can be found here.
Relevant section:
Stack: [0x6bfaf000,0x6c000000],  sp=0x6bffe0d0,  free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ld-linux.so.2+0x8ecf]  _dl_rtld_di_serinfo+0x3ff

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.lang.ClassLoader$NativeLibrary.find(Ljava/lang/String;)J+0
j  java.lang.ClassLoader.findNative(Ljava/lang/ClassLoader;Ljava/lang/String;)J+49
v  ~StubRoutines::call_stub
j  com.sun.jna.Native.free(J)V+0
j  com.sun.jna.Memory.free(J)V+1
j  com.sun.jna.Memory.dispose()V+4
j  com.sun.jna.Memory.finalize()V+1
v  ~StubRoutines::call_stub
j  java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V+0
j  java.lang.ref.Finalizer.runFinalizer()V+45
j  java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V+1
j  java.lang.ref.Finalizer$FinalizerThread.run()V+24
v  ~StubRoutines::call_stub

So it seems the problem occured during Memory object dispose, used in the UnixUser class.
The program was executed with maven and:

Ubuntu 14.04 (32 bit)
Java 1.7.0_40-b43
libpam.so. 0.83.1
JNA 4.0.0
libpam4j 1.8

Let me know if I have bad version issue.
Unfortunately after 50 execution the program crashed again in the finalizer JVM thread. The second error file is here.
The stack is different but the context is the same (during PAM.dispose()):
j  com.sun.jna.NativeLibrary.getSymbolAddress(Ljava/lang/String;)J+24
j  com.sun.jna.Function.<init>(Lcom/sun/jna/NativeLibrary;Ljava/lang/String;ILjava/lang/String;)V+68
j  com.sun.jna.NativeLibrary.getFunction(Ljava/lang/String;ILjava/lang/String;)Lcom/sun/jna/Function;+59
j  com.sun.jna.NativeLibrary.getFunction(Ljava/lang/String;I)Lcom/sun/jna/Function;+7
j  com.sun.jna.NativeLibrary.getFunction(Ljava/lang/String;Ljava/lang/reflect/Method;)Lcom/sun/jna/Function;+109
j  com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+203
j  com.sun.proxy.$Proxy16.pam_end(Lorg/jvnet/libpam/impl/PAMLibrary$pam_handle_t;I)I+23
j  org.jvnet.libpam.PAM.dispose()V+18
j  org.jvnet.libpam.PAM.finalize()V+5

Now, the test phase is aborted because it is not a stable component.
Did you encounter same issues during development?
I hope this helps : I found a JVM crash issue at JNA (https://github.com/twall/jna/issues/24)
If you need furhter details do not hesitate to write me.

This should be fixed with PR #378


Support query parameter

First of all: this tool is great!
It would be nice if results could be shared via URLs. The most straight-forward way to do this IMO is to sync a query parameter with the input value, e.g.: https://arethetypeswrong.github.io/?package=classnames

👍 I forgot to write it down in the README, but this is definitely high on my list!


eagerly allocate the intermediate computation buffers

for better predictability and more importantly sometimes allocation may take significant amount of times (~ minute) resulting in very unpredictable query performance.

👍

@leventov that makes sense for the specific context of processing threads and i can imaging things being adjusted that way. however StupidPool is used in other places too where same thread might ask for multiple different buffers. my intention with this PR is to solve the problem mentioned in the description.

Actually, using it as a ThreadLocal is also incorrect because this isn't something that actually follows the lifecycle of the threads.  If one of the processing threads dies for some unknown reason, that doesn't necessarily mean that we want new objects to be created.
The reason to use ThreadLocal is when an object is necessarily tied to the lifecycle of a thread or if the cost of management of those objects is sufficiently small that you don't care about spurious instantiations.  Neither of those statements are true in this case.

@cheddar ThreadLocal isn't necessarily tied only with a Thread, it could be tied with a pair of a Thread and some object (i. e. ThreadLocal field is not static).
I'm pretty sure StupidPool is overused in the Druid codebase and could be avoided somewhere. Recently we have issues with GC and OOMs in production which most likely come from StupidPool's "finalized" direct buffers. The issue is probably mitigated by #3629 and #3631, but I'm not sure is gone entirely.

@himanshug what did you want included in the release notes for this? (you tagged it "Release Notes")

@gianm i wanted to mention just a note that don't set druid.processing.numThreads and druid.processing.buffer.sizeBytes to arbitrarily large values or historical/peon startup might fail to start.
added it under "Other Notes"


Error: Failed to download resource "theora"

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: [macOS 10.13.6]
scrcpy version: [1.17]
installation method: [brew]
device model:
Android version:

Describe the bug
Whenever I try to install scrcpy using the brew install scrcpy command the following error occurs
curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Error: Failed to download resource "theora"
Download failed: https://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2

This is a brew issue I guess. See #2247.

This is a brew issue I guess. See #2247.

Unfortunately that didn't fix it, the problem still persists.

You could try with macports: https://github.com/Genymobile/scrcpy#macos

You could try with macports: https://github.com/Genymobile/scrcpy#macos

Ok, it worked.


Grove Accelerometer support

Hello I have this accelerometer (http://www.seeedstudio.com/depot/Grove-3Axis-Digital-Accelerometer16g-p-1156.html?cPath=25_132) and I was wondering if there is support for it yet?

We recently added the driver for the Grove 3-axis Digital Accelerometer (16g). It's named ADXL345 in the library files, examples are included too!


fix: remove no actions return

I had messaged this on ADO but just creating PR for visibility.
What did you mean by

TODO: Handle reload when actions not yet loaded

It seemed to work fine without this, and it prevents the bug. Does  this protect against another issue?
Also, need to consider same code in LogDialogs page

Gotcha.  I’d say just test the browser reload and see if it causes issues.  (It’s an edge case)

:tada: This PR is included in version 0.382.8 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Google.py language is not getting picked up from kwargs

self.params = {             'address': location,             'key': None if self.client and self.client_secret else kwargs.get('key', google_key),             'client': self.client,             'bounds': kwargs.get('bounds', ''),             'language': kwargs.get('bounds ', ''),             'region': kwargs.get('region', ''),             'components': kwargs.get('components', ''),         }
line 49 : change bounds to language.

 Thanks in advance

Great!! I've just sent the PR.
Regards,
Oliver Lewis
On Wed, May 18, 2016 at 9:48 PM, Denis<EMAIL_ADDRESS>wrote:

Simply send a PR with the appropriate parameter. Thanks in advance
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/DenisCarriere/geocoder/issues/191#issuecomment-220226844


"Show more" actually shows less

If the transaction data is very short, it gets duplicated.

Clicking on "show more" shows the actual shorter data.

I couldn't reproduce this, maybe it got fixed?. Could you please give this a look? @francovenica

@Agupane You need a tx with a really short Data.
Check this one

https://safe-team-rinkeby.staging.gnosisdev.com/app/#/safes/0x9913B9180C20C6b0F21B6480c84422F6ebc4B808/transactions
Tx 180, a contract interaction created on May 12, 2020 - 21:54:44


chore: bump request phone code ip rate limits

_ No description provided. _

the schema.ts is what needs to be updated. galoy.yaml is just an export.

_ No description provided. _

the schema.ts is what needs to be updated. galoy.yaml is just an export.

Fixed


misc cleanup

Codecov Report

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

@@            Coverage Diff            @@
##             master     #586   +/-   ##
=========================================
  Coverage     73.26%   73.26%
  Complexity      774      774
=========================================
  Files            54       54
  Lines          3834     3834
  Branches        481      481
=========================================
  Hits           2809     2809
  Misses          821      821
  Partials        204      204

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 6a53c11...dd5828f. Read the comment docs.


Remove kernel from /boot when the  booster-remove script is called

I think booster should remove the /boot/vmlinuz-$kernel when the remove hook is executed. Most kernel packages don't install the kernel to /boot themselves and instead, let the initramfs generators do the job.
Mkinitcpio does this, too (see https://github.com/archlinux/mkinitcpio/blob/master/libalpm/scripts/mkinitcpio-remove#L36)

I believe there was an activity to consolidate kernel management and make it generic for all the Arch's initamfs generators. СС @grazzolini for more comments on it.

Yes, there is this https://github.com/archlinux/mkinitcpio/pull/7 (see the discussions and https://github.com/archlinux/mkinitcpio/commit/9c1e0f3dd01151b79e9b557ea8510605616c1369).
Basically, mkinitcpio only removes vmlinuz from /boot, if lib/modules/$kernel/pkgbase exists and otherwise bails. In those cases the responsibility is left to the kernel package.

We try to make multi-initramfs configuration possible. i.e. if both booster and initramfs are installed then booster should not delete files used by initramfs.
I think installing vmlinuz should really be done by linux package itself. initramfs should be responsible for image generation/removal only.

@anatol I'm all up for having generic hooks that copies vmlinuz to /boot and also handle initramfs generation, of any of the generators we have on the repository. And I started doing some work in that direction. However, the more I did that, the more I looked at kernel-install and the more using something like it made sense.
The reason for not having the kernel package copy vmlinuz to /boot anymore is that you can have setups that don't need /boot, many people today have to use their ESP as /boot or juggle files around.


Branch the dotnet/source-build repo for 6.0 servicing

When doing this, the darc subscriptions will need updating

release/6.0 has been created.


CI cleanup timeout increase

With enough test applications/namespaces in combination with a slow
instance of gh actions, we've seen some delays to clean up all test
namespaces, and consequently test failures.
Relaxing further the wait-for-namespaces cleanup time, as re-running
the test suite for a non-osm-related/infra timeout can be a lot more expensive
than grating additional infra cleanup time.
Affected area:

Tests                  [X]

CI System              [X]

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

Codecov Report

Merging #1864 into main will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1864      +/-   ##
==========================================
- Coverage   59.22%   59.16%   -0.07%
==========================================
  Files         126      126
  Lines        5175     5177       +2
==========================================
- Hits         3065     3063       -2
- Misses       2107     2111       +4
  Partials        3        3

Impacted Files
Coverage Δ

...ertificate/providers/tresor/certificate_manager.go
69.66% <0.00%> (-6.75%)
:arrow_down:

pkg/envoy/route/config.go
95.83% <0.00%> (+0.83%)
:arrow_up:

pkg/injector/webhook.go
74.31% <0.00%> (+0.83%)
: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 321febf...79abda2. Read the comment docs.


[WIP] fix(region): sync k8s cluster info to kubeserver

What this PR does / why we need it:

Does this PR need to be backport to the previous release branch?:

/cc @ioito
/area region

Check kube-server PR: https://github.com/yunionio/kubecomps/pull/60


commands: introduce new commands

These changes introduce restart-workflow, stop-workflow, cancel-workflow
close, reopen, merge, rename.
It also adds a new event for workflow_run failed. If a failed job is detected for the main event, then a new issue is created by the bot that references it.
This new issue will be labeled with failed-ci for now.
Signed-off-by: Victor Palade<EMAIL_ADDRESS>

/assign
/triage
/label Feature


Error appears when starting deploy again after previous deploy was completed

Does this occur consistently? Yes
Repro steps:

Start deploying

Action: appService.Deploy
Error type: 409
Error Message: There is a deployment currently in progress. Please try again when it completes.
Version: 0.16.3
OS: darwin
OS Release: 19.3.0
Product: Visual Studio Code
Product Version: 1.43.1
Language: en

Call Stack
extension.bundle.js:316:399870
retryCallback extension.bundle.js:218:116490
retryCallback extension.bundle.js:157:31058
extension.bundle.js:157:32671
handleRedirect extension.bundle.js:164:7747
extension.bundle.js:157:29843
Request._callback extension.bundle.js:1:629227
Request.r._callback.r.callback.r.callback extension.bundle.js:194:6012
Request.emit events.js:203:13
Request.<anonymous> extension.bundle.js:194:19284
Request.emit events.js:208:15
IncomingMessage.<anonymous> extension.bundle.js:194:18074
Object.onceWrapper events.js:291:20
IncomingMessage.emit events.js:208:15
endReadableNT _stream_readable.js:1168:12
processTicksAndRejections task_queues.js:77:11

@aantonov80
Could you try deploying again or restarting your app?  Sometimes the app gets a little hung up, but this shouldn't be a recurring issue.


feat(*): add tencent cloud provider and clb plugin

About me
Thanks a lot for this awesome project! I'm roc, an engineer from the Tencent Kubernetes Engine(TKE) team.
Background
TKE has tke-extend-network-controller, which supports network access for room-based games and exposes game rooms by binding game server pod to CLB(Cloud Load Balancer) listener exclusively(1 CLB listener, 1 POD ip:port).
tke-extend-network-controller does not rely on OpenKruiseGame(OKG) or Agones, But OKG users prefer to define the game room network in the OKG way, this PR add the tencentcloud provider to OKG and add the clb plugin, which based on tke-extend-network-controller's DedicatedCLBListener(Atomic capability to bind a pod ip:port to a clb's port).
Why not based on LoadBalaner service ?
Others OKG lb plugins (e.g. AlibabaCloud-SLB, Volcengine-CLB) are based on LoadBalancer service, which use annotation to reuse existing LoadBalaner, and define lb port on the LoadBalancer service.
But for TKE, a lot of LoadBalancer service reuse the same LoadBalancer is not recommended and disabled by default, this is mainly because of the service-controller's reconciliation performance issues for this scenario, which may cause a long delay in the binding or unbinding operation, and it is difficult to optimize due to historical and architectural reasons. This is also why tke-extend-network-controller introduce DedicatedCLBListener rather than based on LoadBalancer service to reuse clb to bind pods.
How to use
This plugin is for TKE Users, User need install tke-extend-network-controller first (can be installed through TKE application marketplace), then make sure tencentcloud provider is enabled:
[tencentcloud]
enable = true
[tencentcloud.clb]
max_port = 1100
min_port = 1000

And define TencentCloud-CLB network for GameServerSet:
apiVersion: game.kruise.io/v1alpha1
kind: GameServerSet
metadata:
  name: clb-nginx
  namespace: default
spec:
  replicas: 2
  updateStrategy:
    rollingUpdate:
      podUpdatePolicy: InPlaceIfPossible
  network:
    networkType: TencentCloud-CLB
    networkConf:
      - name: ClbIds
        value: "lb-3ip9k5kr,lb-4ia8k0yh"
      - name: PortProtocols
        value: "80/TCP,7777/UDP"
  gameServerTemplate:
    spec:
      containers:
        - image: nginx
          name: nginx

You could found auto created dedicatedclblisteners:
$ kubectl get dedicatedclblisteners.networking.cloud.tencent.com
NAME                LBID          LBPORT   POD           STATE
clb-nginx-0-7ndzj   lb-3ip9k5kr   1003     clb-nginx-0   Bound
clb-nginx-0-gqmbm   lb-3ip9k5kr   1002     clb-nginx-0   Bound
clb-nginx-1-pdckl   lb-3ip9k5kr   1001     clb-nginx-1   Bound
clb-nginx-1-zk9st   lb-3ip9k5kr   1000     clb-nginx-1   Bound

And you can also found clb's ip:port(externalAddresses) for gameserver pod on GameServer's networkStatus:
  networkStatus:
    createTime: "2024-10-28T03:16:20Z"
    currentNetworkState: Ready
    desiredNetworkState: Ready
    externalAddresses:
    - ip: <IP_ADDRESS>
      ports:
      - name: "80"
        port: 1002
        protocol: TCP
    - ip: <IP_ADDRESS>
      ports:
      - name: "7777"
        port: 1003
        protocol: UDP
    internalAddresses:
    - ip: <IP_ADDRESS>
      ports:
      - name: "80"
        port: 80
        protocol: TCP
    - ip: <IP_ADDRESS>
      ports:
      - name: "7777"
        port: 7777
        protocol: UDP
    lastTransitionTime: "2024-10-28T03:16:20Z"
    networkType: TencentCloud-CLB

Check more info in user_manuals/network.md.
What's Next

Add RBAC permission for networking.cloud.tencent.com apiGroup in kruise-game chart's rbac_role.yaml after this PR is merged.


Use of KerberosClient with webhdfs

Currently webhdfs uses InsecureClient by default. However, the hdfs package also has an KerberosClient which can be used to do authenticated requests.
Our hdfs system uses Kerberos and I would like it if KerberosClient is added as an option.
The KerberosClient does not need any additional settings (as far as I can test). And thus only an additional parameter is needed: use_kerberos_client.
Are you willing to accept a pull request for this?

I, personally, do not use the HDFS/Hadoop side of Luigi. But so long as your suggested PR doesn't change the default behavior, please feel free to submit for review!

Are you willing to accept a pull request for this?

Yep, for sure.

I've added some documentation and tested it on a cluster with kerberos authentication: it works!


Proxy authentication header not send when redirect from a https link to a http link

Proxy authentication header not send when redirect from a https link to a http link
debug logs
[2023-08-04 08:05:54]: starting new connection: https://golive-asia.thaiticketmajor.com/
[2023-08-04 08:05:54]: proxy(xxxxx) intercepts 'https://golive-asia.thaiticketmajor.com/'
[2023-08-04 08:05:54]: tunnel to golive-asia.thaiticketmajor.com:443 using basic auth. **(have basic auth)**
[2023-08-04 08:05:55]: No cached session for DnsName("golive-asia.thaiticketmajor.com")
[2023-08-04 08:05:55]: Not resuming any session
[2023-08-04 08:05:55]: Using ciphersuite TLS13_AES_256_GCM_SHA384
[2023-08-04 08:05:55]: Not resuming
[2023-08-04 08:05:55]: TLS1.3 encrypted extensions: [Protocols([ProtocolName(6832)])]
[2023-08-04 08:05:55]: ALPN protocol is Some(b"h2")
[2023-08-04 08:05:56]: redirecting 'https://golive-asia.thaiticketmajor.com/booking/prww/zones.php?query=565' to 'http://thaiticketmajor.queue-it.net/?c=thaiticketmajor&e=onweukjjjdh2&ver=p2'
[2023-08-04 08:05:56]: starting new connection: http://thaiticketmajor.queue-it.net/
[2023-08-04 08:05:56]: proxy(xxxx) intercepts 'http://thaiticketmajor.queue-it.net/'  **(no basic auth)**
[2023-08-04 08:05:58]: get status: 407 Proxy Authentication Required

reproduce:
async fn main() {
        let proxy = "PROXY HERE";
        let proxy = reqwest::Proxy::all(proxy).unwrap();
        let client = reqwest::Client::builder()
            .proxy(proxy)
            .build()
            .unwrap();
        let _ = client
            .get("https://golive-asia.thaiticketmajor.com/booking/prww/zones.php?query=565")
            .send()
            .await
            .unwrap();
}

the website had changed. The url can not reproduce the problem now.


Missing option to create ticket in bug tracker

In HockeyApp there was an option to create a new ticket in a bug tracker. This option appears to be missing in AppCenter. There is an option to auto-create tickets when the number of crashes exceeds some threshold but that does not fit our workflow.
Are there any plans to add the ability to create a Jira ticket for a specific crash group?

@chris-paterson thank you for that feedback, I've passed it on to the Distribution team. I know we have bug tracker integration from the Diagnostics side, I'm not sure what we have planned for the Distribution service.

Hey, thanks for the quick reply! Sorry if there was a misunderstanding but I was talking about diagnostics, not distribution.
Where would I find the option to create a ticket for a specific crash group in the diagnostic side?

Hi @chris-paterson! We do support creating a ticket in Jira Cloud for crash groups: https://docs.microsoft.com/en-us/appcenter/dashboard/bugtracker/. Today it is auto-creation, but if I understand you correctly, you're asking for manual creation of a bug in a specific crash group, is that right?
If so, that's on our backlog, but no ETA yet. Adding @winnieli1 to share more details.

Yeah, that's correct, we'd like to manually create tickets.
Thanks for the update!

Hi Chris - thanks for the feature request! This is something we'd like to support but unfortunately I don't have a better answer for you. We'll keep this issue open to track community support and I'll update you if I have any news. We also consitently update our public roadmap to reflect what our plans are so definitely keep an eye out on that!

we just moved from hockey app to app center and looking forward to such feature,

This is also a very important feature of HockeyApp. We have multiple App variants which would create redundant JIRA tickets from crashes. We manually create crash tickets and mostly just link to existing crash tickets.

Very important for our app too.
Automatic creation of a ticket is not useful to us also because we have in Jira some mandatory custom fields and I believe that automatic ticket creation would be almost impossible; I can create the Jira ticket manually, this is not a problem.
What will be useful is a way to link the crash to the Jira ticket so that from the crash I can open ticket quickly, and most important I would like to see which crash is connected to the bug tracker in crash list: I mean to add one more status "tracked" so that I can quickly see identify crash without ticket (like it was in Hockey App).

Same for us - thanks @DanieleScipioni
It's very hard to keep track if you don't see which crash is already linked to a JIRA issue.

The automatic creation feature is very useful for our workflow, but the inability to set a specific threshold in AppCenter makes the auto-create feature very noisy. If possible, please add the threshold option back in for AppCenter.

Same here, auto-create works, but its not usefull when you can't set any parameters like 'minimum crashrate' or some additional fields.
Would be nice to get this function :)

This seems to be a duplicate of #902


Are there any performance test to compare petastorm+ parquet and TFrecord?

Hi, dear
For lots of image+annotation files, petastorm+ parquet will have great speed up. But TFrecord also has better performance than image+annotation files.
So  Are there any performance report/test to compare petastorm+ parquet and TFrecord?

I can share with you results of a benchmark I did some time ago.
Setup:

synthetic dataset
5 fields, each 1 MB size
random data
50 samples total.
parquet row_group 50 (i.e. one row group in one file)
Measurements are done under load of 6 concurrently running benchmark scripts.
In TF benchmark, we always decode entire row as the entire row has to be loaded from the store and parsed.
For apache parquet, we conduct separate measurement when reading 1, 2, 3, 4 or 5 columns. ‘N’ in “PARQ N” is number of columns read.

Result: reading 4 columns with Parquet is equivalent to reading the entire row with TF Records. That kind of an overhead is not surprising given a relative complexity of parquet format comparing to protobuf.
In my mind, Petastorm and TF Records are not directly comparable. The purpose of petastorm is to enable a wider team of researchers to experiment based on a single dataset. Petastorm features were developed to support that:

Built in type-safety (based on Unischema)
Higher level data types (reader returns typed tensors defined by the schema) and not binary blobs.
Columnar access: allows different researchers to use subsets of dataset, either column-wise or row-wise (using predicate and indexes (predicates and row-group selectors, in Petastorm terms)
... and there are many more.

as the result, Petastorm enables building simpler and more reliable pipelines while the cost is the peak data throughput (which might not always be the bottleneck in your training anyway).
Hope this helps...

Thank you! It's helpful! @selitvin
How about on big data? such as imageNet dataset or others.
Can you share the benchmark code?
Can you share me the petastorm roadmap? I want to know what petastorm will develop in the future.
for example,  whether petastorm will support MXnet?

Sorry, I don't think I can find the benchmarking code. You are probably looking for something else, but we have some benchmark tools described here: https://petastorm.readthedocs.io/en/latest/benchmarks_tutorial_include.html
Our roadmap is primarily driven by internal needs. I am always interested to hear from the community about requirements.
At the moment we don't plan to develop MXNet support, but we would be open for contributions. Core logic of Petastorm is implemented in Python, so I would hope that connecting it to MXNet would not be very hard.

@selitvin Thank you!

@selitvin   Which interface do you use? make_reader or  make_petastorm_dataset? Did you compare parquet and TFrecords for training?

As user, i experienced x2-x3 better write performance & compression for petastorm compared to tfrecords. Read was slower and increases training time ~x1.5-x2.
These results are tightly coupled to nature of my data - "small" examples ~1k each. containing variable length sequences.


Suddenly stopped working

It worked just fine for a while, but now when I check the status with systemctl I get this error:

maj 21 15:16:33 HomeOfHatsuneMiku python[1203]:     import requests
maj 21 15:16:33 HomeOfHatsuneMiku python[1203]: ModuleNotFoundError: No module named 'requests'
maj 21 15:16:33 HomeOfHatsuneMiku python[1203]: During handling of the above exception, another exception occurred:
maj 21 15:16:33 HomeOfHatsuneMiku python[1203]: Traceback (most recent call last):
maj 21 15:16:33 HomeOfHatsuneMiku python[1203]:   File "/home/saki/steam-presence/main.py", line 38, in <module>
maj 21 15:16:33 HomeOfHatsuneMiku python[1203]:     answer = input("looks like either requests, pypresence, steamgrid, psutil, or beautifulSoup is not installed, do you want to install them? (y/n) ")
maj 21 15:16:33 HomeOfHatsuneMiku python[1203]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
maj 21 15:16:33 HomeOfHatsuneMiku python[1203]: EOFError: EOF when reading a line
maj 21 15:16:33 HomeOfHatsuneMiku systemd[1187]: steam-presence.service: Main process exited, code=exited, status=1/FAILURE
maj 21 15:16:33 HomeOfHatsuneMiku systemd[1187]: steam-presence.service: Failed with result 'exit-code'.

Requests is installed and importing it with the terminal works, so I have no idea why this could be happening. When I run main.py to install it, it tries to use pip which I can't use because it's an externally managed environment (so I have to use pacman). Any idea what could be happening here?

I ran into this as well. You need to recreate the venv (so uninstall and then reinstall) if your python installation upgraded (from 3.11 to 3.12)

I ran into this as well. You need to recreate the venv (so uninstall and then reinstall) if your python installation upgraded (from 3.11 to 3.12)

yeah this actually makes sense, i'll probably get around to making a repair script, or add a repair mode to the installer - closing for now as this is almost definitely the issue


Handle cursor 404 during batch processing

404 is returned by the server when cursor has expired during batch processing.

Codecov Report

Merging #109 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #109   +/-   ##
=======================================
  Coverage   80.01%   80.01%
=======================================
  Files          12       12
  Lines        2117     2117
=======================================
  Hits         1694     1694
  Misses        423      423

Impacted Files
Coverage Δ

pyArango/query.py
82.6% <100%> (ø)
: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 276fced...4446319. Read the comment docs.

Thank you, merged!


Fix embed_storage on features inside lists/sequences

Add a dedicated function for embed_storage to always preserve the embedded/casted arrays (and to have more control over embed_storage in general).
Fix #4591
(Waiting for #4608 to be merged to mark this PR as ready for review - required for fixing xgetsize in private repos)

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Fetching thousands of resources

Is there any example to fetch thousands of resources in a guaranteed way, for example 60k ec2 instances from a single AWS region.

It’s same like take 100 ec2 instances. Maybe some problem with aws limit and this take more time.
terraformer call list api and after this get api for each instance. interesting memory usage in this case.
maybe better use tag filter and running with few steps


How do I open the .MD files

The zip file contains numerous .MD files and I apparently don't have an app on my Mac that can open these files.  What app is needed?

Those are markdown documents.  The best way to view them is through the Github website ... it formats them for you if you just click on the file while browsing the sources.
Other than that, you might want to try "Marked" on the app store.

TextEdit opens them just fine too.

Thanks!  That displayed it as plain text.  Do you know of a reader that displays it with formatting , similar to how it is shown on github?
On Nov 1, 2011, at 1:33 PM, Rune Madsen wrote:

TextEdit opens them just fine too.
--
Reply to this email directly or view it on GitHub:
https://github.com/RestKit/RestKit/issues/427#issuecomment-2593999

As I mentioned, Marked…
On Nov 1, 2011, at 3:01 PM, tblack2200 wrote:

Thanks!  That displayed it as plain text.  Do you know of a reader that displays it with formatting , similar to how it is shown on github?
On Nov 1, 2011, at 1:33 PM, Rune Madsen wrote:

TextEdit opens them just fine too.
--
Reply to this email directly or view it on GitHub:
https://github.com/RestKit/RestKit/issues/427#issuecomment-2593999

--
Reply to this email directly or view it on GitHub:
https://github.com/RestKit/RestKit/issues/427#issuecomment-2595127

These are markdown files. They are text
On Tue, Nov 1, 2011 at 1:56 PM, tblack2200 <
<EMAIL_ADDRESS>
The zip file contains numerous .MD files and I apparently don't have an
app on my Mac that can open these files.  What app is needed?
--
Reply to this email directly or view it on GitHub:
https://github.com/RestKit/RestKit/issues/427


Not able to change password for any user

Hi guys,
I just launched in us-west-2 to test the template. It was easy to deploy but not able to log in whenever I try to sign in with admin user it ask to change password as signin in first time and gives an error that cannot modify the email.

Investigating. I've been able to validate this issue is happening in a stack I just launched. Looking into why this is happening.

Thanks!

Hi Brandonjs, In order to resolve this issue, we should have to change the code on the "aws-ops-wheel" application such that the application does not send "userAttributes.email" parameter while making "RespondToAuthChallenge" API call.

@brandonjs: Password reset issue still persists after validation with updated code. Please look into it.

@iamrahularora How did you deploy/update the stack?  The code has been pushed, but the "one-click" launch template on the front page has not yet.  I am currently working on that.

one-click launch template has been updated.  Verified by launching a new stack and able to change the password.


bibtex information, Publication fill,and url_scholarbib

Hi,
I am always receiving AttributeError: 'Publication' object has no attribute 'url_scholarbib' when trying to do pub.fill()
I believe that the error lies in https://github.com/OrganicIrradiation/scholarly/blob/867f740f61d05c10925e502b56d4bcdf1b1849cb/scholarly/scholarly.py#L168
Scholar changed their simple link to a modal created via js. (class gs_or_cit gs_nph)
I don't really know how would you like to implement this kind of click, but would be glad to help.

Hi, @leokaplan, I have the same problem but the reason is my location. Google scholar replys in spanish. Instead of  'Import into BibTeX'  I get 'Importar al BibTeX'

I am always receiving AttributeError: 'Publication' object has no attribute 'url_scholarbib' when trying to do pub.fill()

So it doesn´t find that specific text as a result I don´t get the url_scholarbib attribute.

Thanks @ffont. This workaround solved the issue for me.


Filtering data based on rowkey

Hi @weiqingy
Does the rowkey filter field be filtered through startRow, endRow? If the amount of data is large, there will be no performance problems. In my business scenario, a day's data is synchronized to hive, and rowkey is designed as a timestamp suffix, such as "xxxx_20180501".
Code:
 df.filter($"col0" === "xxxx_20180501" || $"col0" <= "xxxx_20180501").select("id","col0").show()

Thanks a lot.

Any update on this query ?

@libsgh It looks like less than (or less than equal to) filter is supported. Have a look at this: https://github.com/hortonworks-spark/shc/blob/master/core/src/main/scala/org/apache/spark/sql/execution/datasources/hbase/HBaseFilter.scala#L209
Basically, these filters are converted to Hbase filters and pushed while reading the data. Not sure if triple equals is supported. You may want to try double equals as well in your first condition.
Is it not working for you ?
More Information on HBase Filters -

https://hbase.apache.org/book.html#client.filter
https://stackoverflow.com/questions/7256100/scan-with-filter-using-hbase-shell


Remove Jason from the API management list and reflow doc content.

After chatting with Jason, remove him as an owner of the API working group.

@geeknoid: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.
Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/release-note-none


Training time

Hi, can you approximate train time of 100k examples on Gtx 1080? I started it, seems very slow. Thanks.

The current pretrained model (used to make the predictions in the README) took about 24-48 hours to train on a GTX1080Ti. You'd be looking at 72 hours-ish for a GTX1080.
If you feel adventurous, I am pretty sure that there are a lot of low-hanging fruits in the training code that could speed up the whole thing. Current data loading is not optimal for example.

Thanks, I've noticed it's taking some time to process one batch.
I've few more questions :

where can I see your 200k data set? What was the parameters you ran the
training?
the loss value I saw started from 6900 and dropping. Is this normal
value?
my parameters were: 100k data set, batch size 32, 100k iterations (too
much?)
can I speed up the lstm cells(or other ways to speed up) ? I've read
that cudnnlstm does support variants sequence length.
Thanks again.

בתאריך יום א׳, 31 במרץ 2019, 16:05, מאת Edouard Belval <
<EMAIL_ADDRESS>
The current pretrained model (used to make the predictions in the README)
took about 24-48 hours to train on a GTX1080Ti. You'd be looking at 72
hours-ish for a GTX1080.
If you feel adventurous, I am pretty sure that there are a lot of
low-hanging fruits in the training code that could speed up the whole
thing. Current data loading is not optimal for example.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Belval/CRNN/issues/40#issuecomment-478340057, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKS0brt1zJF7si7Rt5O_cKNLvKRXuWKAks5vcLKmgaJpZM4cULKs
.

Thanks, I've noticed it's taking some time to process one batch. I've few more questions : 1) where can I see your 200k data set? What was the parameters you ran the training? 2) the loss value I saw started from 6900 and dropping. Is this normal value? 3) my parameters were: 100k data set, batch size 32, 100k iterations (too much?) 4) can I speed up the lstm cells(or other ways to speed up) ? I've read that cudnnlstm does support variants sequence length. Thanks again. בתאריך יום א׳, 31 במרץ 2019, 16:05, מאת Edouard Belval <<EMAIL_ADDRESS>…
The current pretrained model (used to make the predictions in the README) took about 24-48 hours to train on a GTX1080Ti. You'd be looking at 72 hours-ish for a GTX1080. If you feel adventurous, I am pretty sure that there are a lot of low-hanging fruits in the training code that could speed up the whole thing. Current data loading is not optimal for example. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#40 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AKS0brt1zJF7si7Rt5O_cKNLvKRXuWKAks5vcLKmgaJpZM4cULKs .

hi，I want to know the time you spend running one batch.My running time is very slow.


Training data size limit?

I've got a 50,000+ line JSON file for training data and it seems to hang in training. Is there a limit? Should I split it up?

For large amounts of data there is a natural limit based on the amount of hard disk space and free memory that your system has. Using the MongoDB adapter is advised for large amounts of data (https://github.com/gunthercox/ChatterBot/wiki/Storage-adapters#mongo-database-adapter).

Ah, thanks. That should help.

Also, check out #143

Using ultrajson and MongoDB solved the issue for me, a la:
from chatterbot import ChatBot
import ujson

bot = ChatBot("Terminal",
              storage_adapter="chatterbot.adapters.storage.MongoDatabaseAdapter",
              io_adapters=[
                  "chatterbot.adapters.io.TerminalAdapter"
              ],
              database="whatever")

f = open("all.json")
all_json = ujson.loads(f.read())
bot.train(all_json)

Any timing details on how long this took to train?

Not long. Under a minute.

Wonder how a big database like this will affect closest meaning adapters....

@cd-rum What trainer did you use when training your bot? When I tried implementing the code that you had written to train my bot using a MongoDB, I used the ChatterBotCorpusTrainer and got the error AttributeError: 'dict' object has no attribute 'split'.

@cd-rum Which trainer did you use when training the data? At first, I tried using the ChatterBotCorpusTrainer and tried training the chatterbot using the dictionary I extracted from the JSON file, but I got the error AttributeError: 'dict' object has no attribute 'split'. I then tried using the ListTrainer and converted the dictionary into a list, but while training the data, MongoDB force-quit because there were too many recursive calls during training.


fix(react, date picker): make sure the date are dynamics

Proposed Changes
Made sure the calendar initial date is dynamic
How to Test
Open the demo, put that in the console (it overrides the date and set Jan 1 2022).
Date = class extends Date{
     constructor(options) {
         if (options) {
         super(options);
       } else {
          super(1641013200000);
         }
     }
   };

type new Date() in your console to make sure it worked.
Open the date picker demo, the initially selected month should be January
Potential Breaking Changes
None
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

Seems like it's still june


Can't use "/__*" as rule path

When entering (copy pasting) the following policy as inbound rule:
<validate-graphql-request error-variable-name="name" max-size="102400" max-depth="4">
    <authorize>
        <rule path="/__*" action="reject" />
    </authorize>
</validate-graphql-request>

The editor will show this error message: Error in element 'validate-graphql-request' on line 4, column 10: 'path' attribute must match this pattern: '/type/field'
Using this value path="/__schema/*" solves the error message but doesn't apply the rule correctly (see other issue)

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

ID: b7f02695-5527-0ea0-4355-c6886889a127
Version Independent ID: 2736a179-c630-89b9-95f4-c52ecd30394c
Content: Azure API Management policies for GraphQL APIs
Content Source: articles/api-management/graphql-policies.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

This is a known issue same as #96794 and the fix will be rolled out in release 0.31.1818.0 or higher. You can look up APIM runtime version using below URL.

https:/'service-name'.azure-api.net/internal-status-0123456789abcdef

Current ETA is around 4 weeks to deploy subject to change based on other factors. Sorry for the inconvenience caused.
We are now proceeding to close the thread. Feel free to reach out for any further questions.


Add qiskit-neko integration test job

Summary
This commit adds a new CI job to run the Qiskit Neko test suite. Qiskit
Neko is an integration suite that's designed to validate backwards
compatibility for end user workflows and between different components in
Qiskit. This test job will hopefully eventually replace the role that
the tutorials CI job is playing for backwards compatibility testing.
Right now the test suite is still fairly small but it covers some
examples of terra, aer, experiments, nature, and machine learning. The
test suite will continue to grow and improve our coverage for testing.
For nature there is just a single test running a ground state energy
problem.
This test job will install qiskit-neko and nature from main, while the
other qiskit components (nature, aer, machine learning, and experiments)
will be installed from release. This will enable us to check that a
proposed PR does not regress compatibility on an API or an integration
point with another qiskit project and ensure that nature doesn't break
CI for another project using neko.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
9770

Relevant Lines:
11514

💛  - Coveralls

Yeah we should be good to merge this now. We will want to do it sooner too to ensure that a nature change doesn't regress the test suite for terra or aer.


Question About DatabaseMetaData.getImportedKeys() and getPrimaryKeys()

Currently(v<IP_ADDRESS>), DatabaseMetaData.getImportedKeys() always return empty string on FK_NAME column, even if FKCOLUMN_NAME column is not empty. Is it better to return some non-empty string in FK_NAME column, especially if there exists more than one foreign keys.
Besides, DatabaseMetaData.getPrimaryKeys() always return null string on PK_NAME column, even if there exists primary key.

Fixed in the latest release.