does symfony no longer support Ukraine?

Why has Ukraine's support information disappeared from home page of the symfony?

Ah, the story starts @ https://github.com/symfony-cli/symfony-cli/commit/7b1629faea560cc8b0c917872fae3ca62d13f250 and https://github.com/symfony-cli/symfony-cli/issues/304.
 This usually makes folks feel better about performing actions that are direct or indirect support of the terrorist groups like ruscists that cause said "dying". Nobody is brave enough to plainly say they are fine with ethnic cleansing. They always hide behind "politics" and similar nonsense.

@Nyholm since you made an abusive comment in the locked issue, I'll reply to you here.
First, may we ask you to refrain from using the word "political"? It's very triggering. You claim this to be about community but then proceed to saying things like this.
We have a long history of replacing any references to ethnic cleansing with a dismissive "this is politics". This is plain wrong. When you get robbed, do you expect people to say "this is politics and we must refrain from supporting you"? When your family is in mortal danger, is this just politics?
Standing by and being silent equates to supporting the oppressor. It's that simple. "Oh hey, wouldn't be discriminate against a terrorist? What if they have a really good reason for mass murder? Let them be. We don't support them, so ignoring them is fine". This type of behavior is what makes a community non-inclusive or even plain hostile.
Your stance may make sense if you drag it out of the context. But that lack of context is what makes it even more toxic.
So what we see now is inclusive towards anybody but Ukrainians. You can easily educate yourself. Instead, you shift the burden of feeling extremely unwelcome to others and it's not okay. Why do you expect people living in terror daily to feel welcome with such an attitude?
I guess my point is that "politics" is a widely known oppressive tool for dismissing anybody you want to exclude, not having to try understanding what's happening.

Hey.
FYI, I was suggested to keep the thread locked until tomorrow morning. I dont want to kill the discussion, I just wanted to cool things down.

First, may we ask you to refrain from using the word "political"?

I see that you are very correct. I did not know. But I think that is the issue. I am a decent programmer, I dont know how triggering that word really is.
I know that I can only try to imagine the pain of Ukrainians right now. I dont know what I would do if I was in your situation. I am trying to talk with my Ukrainian friends regularly and offer them help. But there is a difference between what I do and think and what Symfony officially says and does.

If you were to decide, how would Symfony handle world conflicts like this?
Btw, I am part of the Symfony.com/slack channel if you want to discuss more synchronously.

On your edit:

And.. "no clear side to support" WTF is this even?

Sorry, it might not have been clear. I was referring to the conflict in middle east.

@Nyholm I don't do PHP, just thought it's outraging that it's okay for such a community to (passively) support the terrorists. I believe someone else from our small group of Ukrainian FOSS maintainers has already posted in other channels, I'll leave it to them to talk on slack — they'll convey the general perception just fine. Also, we have a lot of content here that document just how terrible ordinary ruscists behave as well as the reactions of the seemingly supportive communities where they operate — it's nice to be able to have a record of such conversations in public (slack is not very open/transparent in this regard).
Most of the days in our private chat people start early morning (or late/middle of the night) by comparing the notes of how their walls were shaking (more often than not — in real time!), or enumerating who's still alive, or how they were watching the drones maneuvering between the buildings, and sometimes hitting ones right in front of them. And, while I was lucky to be living in another country when the invasion became full-scale, it affected me personally too through relatives held at gunpoint, stripped off of the means of communication, robbed by the same ordinary ruscists that you're so eager to make feel welcome.
These are very real consequences of the culture you're trying to invite into your community. It's not just armed humans on the ground. These are also humans that promote acceptance of the culture of imperialism and terror. A part of their work is to convince people to remove signs of supporting Ukraine from the informational field.
The owner of this repository lost his house to a terrorist missile almost two years ago and now can't dedicate enough time to advance one of his popular projects: https://news.ycombinator.com/item?id=38681672. Another FOSS maintainer is getting death threats towards his daughters: https://twitter.com/mourner/status/1732047714798743903.
And giving in to such removals is explicit support of the terrorist state of r*ssia.
Another part of their work is using propagandist tools like whataboutism, term substitution to derail focus/attention from things that matter. The terrorist attacks of hamas is just one example. And it might deserve attention in a different separate context. But in the context where people talk about supporting Ukraine, its mentions appear to exclusively shift the focus to multiple unrelated things so that focused conversations don't survive.
These are small bits of propaganda that, when used on scale (and we see this on Twitter and GitHub, among other places), cause white noise, allowing to suppress the efforts to inform people about what's happening with whatever the ruscist propagandists planned for today.
This all is to say that whenever you add and remove support, this affects people IRL. Whenever you refuse to learn and declare yourself impartial, it affects people. Moreover — this usually works as support of the oppressor (and undermining the oppressed, subsequently).
The suggestion is simple — make an effort to educate yourself, and then, support people. Whenever you don't do this, you still support somebody, but likely not ones worth supporting.
One thing we observed over the past years was that some of use hoped (and assumed!) that software engineers in Muscovy must be smart and educated, and would see through the propaganda. But what we saw instead is that they are ordinary people and they keep propagating the rotten culture of colonialism and denying the existence of other cultures. They didn't have to learn to tolerate terrorism, it's just something that fits well into what they've been taught by previous generations.
Of course, there may be exceptions (and we've seen them), but they're so statistically insignificant that showing them off is rather harmful as it fools people that then get killed. This is one of the reasons we don't tolerate when somebody westsplains to us that there's "good r*ssians". Somebody may behave differently with you but not with us. This is very similar to when PoC or women tell others about their experiences with racism or rape, but you refuse to believe because your friend "couldn't have done such a terrible thing". If you want to be just, you'll have to listen to the stories of people who's going through things more carefully. Neutrality will only put you into the "antiukrainian" bucket in the people's eyes. "Don't pick sides" is a common manipulation we can expect from the bot networks on twitter, but then, you can use your own mind to decide.
You call yourself a decent programmers. "They" are also good programmers. They may contribute to your favorite project, and in an hour they'd use that project to help automate murdering Ukrainians. Having a technical background does not make one immune from being persuaded to support the modern-day Hitler.
You can educate yourself and that would be something to distinguish you from other decent programmers that may be very interested in writing good solutions for whatever the dictator says.
And of course, they're educated enough to say that you're excluding them whenever you mention Ukraine. Of course, they want to feel better about themselves, when they ask the community to help them where they're stuck trying to design another tool that would help kill more Ukrainians.
So is it enough to be technically aware to make social calls like removing support of Ukraine? I think not.
Not sure if it's helpful, but here's a good example of a person from the Python community I'm a part of, being understanding and supportive: https://github.com/nedbat/coveragepy/commit/5ec587caf0bd670a0af34ad5b766119689b91b56#commitcomment-73645112.
P.S. You may see other Ukrainians voicing displeasure with similar actions in other places on GitHub and wider internet. This is not because we enjoy talking about this with other people — there's a huge nation-wide trauma for decades. We just know how effectively the ruscists trick regular westerners into collaborating with Muscovy.

I appreciate you sharing and helping me to understand. I agree with you. You are not wrong at all.

The easiest way is to first make something stupid, then write even more stupidity, and then make excuses and thank them for what they helped you understand.
 And your sweet, supposedly tactful behavior is just a mask for your Swedish assholeness. How many Ukrainian refugees did you specifically help and in what way? Just don’t say that we advised and provided information support.


bug: Can't unmarshal in structure that contains interface field

What version of fxamacker/cbor are you using?
v2.2.0
Does this issue reproduce with the latest release?
Yes
What OS and CPU architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/yaroslav/.cache/go-build"
GOENV="/home/yaroslav/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/yaroslav/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build217708215=/tmp/go-build -gno-record-gcc-switches"

What did you do?
https://play.golang.org/p/JnZ6HLQyFXC
I tried to unmarshal CBOR into struct that contains interface field. That field initialized with zero value of specific type, so it should be clear for unmarshaler how to unmarshal it. A similar code for encoding/json package works well, but cbor.Unmarshal returns error cbor: cannot unmarshal map into Go struct field main.Outer.2 of type main.TestInterface

What did you expect to see?
Unmarshaled data without errors
What did you see instead?
Error cbor: cannot unmarshal map into Go struct field main.Outer.2 of type main.TestInterface

Thanks for reporting this bug.  I'm looking into it.

I faced this issue too.

Any news after looking into this on Dec 2, 2020?

Sorry about the delay.  I know how to fix it but I need to do more optimizing and testing.

Quick update on my schedule...I added the "in progress" tag on Feb 11, then Winter Storm Uri started damaging my place.  Repairs are still ongoing and it is not yet deemed "inhabitable" by my insurance company.
My apologies for the delay.

Quick update on my schedule...I added the "in progress" tag on Feb 11, then Winter Storm Uri started damaging my place.  Repairs are still ongoing and it is not yet deemed "inhabitable" by my insurance company.
My apologies for the delay.

@fxamacker No worries, man. Take care of yourself!


Function to find cycles

It would be useful to have a method that finds all elementary cycles (where no vertex is repeated except for the start/end one) in a directed graph. Here's an example from Mathematica: https://mathematica.stackexchange.com/questions/9434/finding-elementary-cycles-of-directed-graphs

That sounds like a nice addition. The existing property isDAG will tell you if a directed graph is acyclic — don't know if that helps you for your current application.

I'm constructing explicitly cyclic graphs (finding possible juggling patterns, so any path through the graph eventually has to end up back at the starting position). Basically, I've used your library to construct the graph depicted on this page, and now I want to find all the possible cycles. Then, I'll filter the found cycles by various criteria given by the user (for example, limiting to a min or max length, or including a min- or max-height throw.

Oh, and it looks like this algorithm is where it's at, although I'm having a little trouble translating from 1973-academic-ese into Swift, and the Java implementations I've found are a slog to get through: http://citeseerx.ist.psu.edu/viewdoc/download?doi=<IP_ADDRESS>5.5999&rep=rep1&type=pdf

Hmm yeah my initial searching comes back to the same paper. That would be the ideal algorithm to implement it looks like, but I think for now, just to have something working, a modification can be made to topologicalSort() to return all cycles (in a new function, not topologicalSort()). The guard statement in visit() will be triggered every time a cycle occurs. In another version of the function, it could build up a list of cycles, I think, if we add a parent property to TSNode.

By the way, this library is way cool. I'm excited to see it grow, especially with #21. I'd love to make my graph into a value type (struct) instead of a subclass.

Thanks, much appreciated. In the mini-version of the library that's included in Classic Computer Science Problems in Swift Graph has already been refactored into a protocol, so I think it's definitely feasible. However, it will be a breaking change for existing users of the library, so it's debatable whether it's worth it. Also unfortunately there are still some protocol limitations that get in the way of it being truly elegant.

@ZevEisenberg When you have a chance, can you test the new detectCycles() function against your graph? Thanks!

Yes! I’ve got a hack day tomorrow and I’m planning on doing just that. Exciting!

@davecom hey, Dave. I checked out your branch, and this is pretty cool! I have two questions:

Do you know what the time/space complexity characteristics of this algorithm are? Do you know how it compares to, for example, Johnson's Algorithm?
Would it be possible to have a version that returns the edges, rather than the vertices? My struct that conforms to Edge represents a "throw" in my juggling simulator, and a throw needs to have a "height" (integer) associated with it. It's not a weight, exactly, in that it doesn't affect the cost of getting from one node to another, but for my app, it's critical that I get back the edges associated in the cycles. I may try a PR for this.

@ZevEisenberg

I looked into all of the known algorithms, and the original papers behind them. I also looked at papers that compare all of them. The wisdom on the Internet is that Johnson's algorithm (1975) is the most efficient. One comparative paper actually found Tarjan's (1973) and another from 1976 who's authors names escapes me, outperforms it. Here is that comparative paper: http://epubs.siam.org/doi/10.1137/0205007

Then there was this strange conference proceeding/paper from 2006 that had the authors' claiming to have discovered a "new algorithm" for this problem that had some advantages over the older algorithms. It's the proceeding by Liu and Wang that I cite in the implementation in Cycle.swift. They provide a clear description, but no pseudocode, no proof, and no asymptotic approximation. However the paper is cited 78 times and if you read it, their algorithm obviously works (so it's strange nobody thought of it before...). Upon careful reading, the Liu/Wang algorithm is even less efficient than they present it. The table they show is comparing performance (in literal seconds) from the original papers running on 1970s computers to their algorithm running in 2006. So, it's not a very efficient algorithm (it still loses), but it's really easy to implement. As you can see, I implemented it in about half an hour. And — it lets you stop after you get to cycles of a certain length, which the other algorithms don't. So, for now I think it's good enough for the project unless someone runs into some performance issues.
Sorry for the long explanation — I just studied this pretty carefully.

Thank you for #33 !


MLDB-1574 check alias in TableLexicalScope::doGetAllColumns

This is to unblock Alexis while waiting for the larger refactoring.

+1


SEO improve

Try to improve SEO by head title and some HTML tags
close #52

Coverage remained the same at 92.683% when pulling f49d16a40cf420bc1d5006eb7a22c53b8b50dab6 on GoreStarry:52-SEO-title into b3782e02b71aa0f6903eaaf8e696a1b936cfcac5 on cofacts:master.

Coverage remained the same at 92.683% when pulling de7f0935631bf5166015ed387f94027874c79202 on GoreStarry:52-SEO-title into b3782e02b71aa0f6903eaaf8e696a1b936cfcac5 on cofacts:master.


Size of an empty collection is 1

using .length or .size().
This is due to the fact that the models attribute already contains a model before any models are assigned to it.

I'm not seeing this:
> c = new Backbone.Collection;
Backbone.Collection
> c.length
0

So the problem was I wanted to initialize a collection with an empty set of models and options and I used something like
c = new Backbone.Collection({}, options)
instead of
c= new Backbone.Collection([], options)

That'll do it.


Build and Testing framework

Review Owner: @ravipesala

[x] build CI for Carbon	[Thiyagu]	[	to	]
[x] add sufficent test case	[Team]	[	to	]

handled as part of PRs


lib.d.ts Updates for TypeScript 4.7

Including

https://github.com/microsoft/TSJS-lib-generator/
Outstanding lib.d.ts PRs to TS

@sandersn did we manage to do this for 4.7?

Should be taken care of by https://github.com/microsoft/TypeScript/pull/48577


[r2.17-rocm-enhanced] Cherry pick fixes for 6.2

http://rocm-ci.amd.com/job/wip-tensorflow-ci-builder/5/console Job is triggered with this PR.
Once build is passed, will merge the PR

TF compiled fine and runtime/dev docker gets created.


Update From Origin Roslyn Team Commits

These commits are so large, since Roslyn Team has done working on C# 7.2

Done Merging


(PUP-5867) Add acceptance test for cached catalog status in report

Update: beaker problems figured out! This passes in both Centos and Windows now.

Note: since reports are named using timestamps, I went the route of removing all reports before each test and assuming there will only be one in the report directory when we need to read.

Targeting 4.4.1, on hold until 4.4.0 is out.

Needs to be retargeted to stable


Bug in rebind report functionality

The functionality that I introduced in #48 seems to have a bug. If we upload a report that is bound to a specific dataset in a different workspace already (which is the usual case, as reports always need a dataset set and for development activities the reports need to be connected to the development dataset), the rebinding to another dataset works fine when doing the initial upload.
However, on further updates of the report, we see the following behavior:

As you can see, the report is duplicated and bound to the original dataset in another workspace (that is the dataset the report is also linked to during development in PowerBI desktop). It looks like the rebinding doesn't happen again, and the report is duplicated (which seems to be PowerBIs default behavior if you upload a report with the same name to the workspace just bound to another dataset). The Terraform plan output however kind of looks correct (it shows a modification, not a re-upload):
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # powerbi_pbix.example_report will be updated in-place
  ~ resource "powerbi_pbix" "example_report" {
        id                = "84042895-5c00-4de6-8ed6-3b2a5340103c"
        name              = "My report"
      ~ source_hash       = "27cf945c3439dfbfd8211c1e32d85614" -> "c5c73418721579f69a65b2cd2088104a"
        # (5 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Found the main reason for this bug and it is as designed looking at the code: https://github.com/codecutout/terraform-provider-powerbi/blob/cda7bedc1fc0ff305cbcadb63fbea195d555d4e2/internal/powerbi/resource_pbix.go#L319-L332
However, as the updated report gets a new report_id (which is never reflected into the state) the rebind operation will still trigger a rebinding on the old report (first row in the screenshot above). I'm not sure what the original intention for this code was, can you shed some light onto this @alex-davies ?

I have implemented a first naive and incomplete fix in #55. The result is still something what I would consider broken/buggy, however, it would help us tremendously currently as having additional reports is not as bad and critical as having reports bound to the wrong dataset. (In our production environment currently all reports are bound to the dev datasets, with no easy way to rebind them. The situation is really bad.)
The result with this fix applied is as follows:

For each additional update to the report we get a new report in the service portal.

The intention for the code was to keep report_id and dataset_id as the original IDs for those values when pbix was uploaded.
Although I think it was assumed that rebinding only really affected the dataset_id and the id the report remained consistent. Can you indeed confirm that the behaviour of a rebind is to change the id of the report? Or is it another upload of the report that causes a duplicate with a different report_id?
PowerBI's behaviour with uplaoding pbix is not intuitive or clear enough to try and reason about theorteically. Can you get a failing integration test?

Although I think it was assumed that rebinding only really affected the dataset_id and the id the report remained consistent. Can you indeed confirm that the behaviour of a rebind is to change the id of the report? Or is it another upload of the report that causes a duplicate with a different report_id?

That was also my thinking, however, if you upload a report that is originally bound to a different dataset (other than the one in the workspace you are currently deploying to, so in the example above My dataset) you get a completely new report and thus also a new report_id.

PowerBI's behaviour with uplaoding pbix is not intuitive or clear enough to try and reason about theorteically. Can you get a failing integration test?

Providing such test is difficult, as you need at least two workspaces (one I'd call origin, where the original dataset is located, for example PPC-KPI-Tool-Dataset in the first example in a workspace called dmp-dev and the workspace you are deploying to, in my case typically also created by the provider). The report (PBIX) needs to be bound to that dataset in the origin workspace. Additionally, the service principal used to authenticate the provider needs access to both workspaces. I would assume that this is pretty hard if not impossible to arrange for an integration test.
However, I have now spent a couple of hours on this and do have a pretty good understanding what's going on. So if you like you can share some contact details with me and I can explain and/or demo in detail what is happening. We could then also discuss if it's possible to do that from an integration test :)

As an alternative solution to the problem at hand, I have just found the following. If the rebinding happens before the report is uploaded, a lot of the problems I have described earlier go away.
As this seems to be possible from looking at this helper, I'd propose that as an alternative fix to the bug. Not sure if that would have any downsides though.

@alxy  finally had some time to look more into this
That helper was built prior to the api that allowed rebinding. It was mostly an experiment and currently only used in tests to rebind to push datasets. It works by unzipping and altering the actual PBIX file and as such is entirely unsupported and we cant give any guarantees that it will continue to work with new features or updates to the pbix format
As for your current issue, my understanding of the issues is

Imports will typically update both dataset and report in place (i.e. it will not assign new IDs)
This update behaviour does not work if the report has been rebinded to a different dataset. In these cases it creates a new report with a new id
Your 'fix' has its side affects because it forces a new report to be created everytime
Mainting the ID of the report is critical otherwise every deploy will break everyones link to the report
There is no way to force an import to update other than its default (and not very intuitive) behaviour

I believe I have a fix. By unbinding the dataset before the import it allows the import to perform its update, then we can rebind it back again
Would you be able to look at the changes on https://github.com/codecutout/terraform-provider-powerbi/pull/57/files and confirm my understanding (and confirm the fix) for the issue is correct

Your understanding of the issue is correct and your list nicely summarized it.
However, I have tested your fix now locally and it does not seem to work, as the behavior I get is the same as I presented in the very first message in this issue. I'm not exactly sure why that as, as I think the bugfix makes sense:

If there is an update to the report (which is rebound to a different dataset), first rebind the report to its original dataset
Then, do the import (thus we don't get a new report and report_id and the import should correctly override)
Lastly, rebind the report again to the given dataset in rebind_dataset_id

I will try to find out now why the fix is not working as intended.

OK, I guess I have found the issue. If I upload a report and do not use the rebind_dataset_id yet, I get the following result:
Terraform:
resource "powerbi_pbix" "example_report" {
  workspace_id = powerbi_workspace.example.id
  name         = "My report"
  source       = "data/Reports/PCT_Production_One_Pager.pbix"
  source_hash  = filemd5("data/Reports/PCT_Production_One_Pager.pbix")
}

State:
{
      "mode": "managed",
      "type": "powerbi_pbix",
      "name": "example_report",
      "provider": "provider[\"registry.terraform.io/codecutout/powerbi\"]",
      "instances": [
        {
          "schema_version": 0,
          "attributes": {
            "dataset_id": null,
            "datasource": [],
            "id": "559b9d16-222c-4b9f-9ff6-9c4bd312e4d6",
            "name": "My report",
            "parameter": [],
            "rebind_dataset_id": null,
            "report_id": "d0e243c3-078d-4001-89c2-d504022072e4",
            "skip_report": false,
            "source": "data/Reports/PCT_Production_One_Pager.pbix",
            "source_hash": "964c9490149b324039711367020d3b7d",
            "timeouts": null,
            "workspace_id": "ce2347d6-6233-4998-92d0-ac2ce80b0f2b"
          },
          "sensitive_attributes": [],
        }
      ]
    },

Service portal:

As you can see, dataset_id is null even though the report is bound to a dataset (that has been set in PowerBI desktop).
This means, later on the report can't be rebound to the original dataset (this should happen in your unbindPBIXDataset() function), because there is no reference to this original dataset anywhere in the state.

Interesting!
My mistake was assuming that the dataset deployed with the pbix was always going to be the dataset the report is attached to. That is obviously not the case for pbix files that have reports linking to an external dataset
In order not to complicate the existing dataset_id (which is defined as the dataset deployed in the pbix) I've introduced a new variable report_original_dataset_id solely to track the dataset the report is originally pointing to, for the sole purpose of unbinding
Although I don't like introducing new variable, i think it will be far messier to try and use other variables for this purpose
@alxy Take a look and play with the new PR and see if you can find any other use case I have missed

I have tested the fix now and it seems to be working fine for the use case we have. In particular, I have tested the following:

Report updated: Result is no new report_id and the report is correctly updated
Dataset updated: Dataset is updated, and the report is still bound to the correct dataset
Remove the rebind_datatset_id: Report is bound back to its original dataset
terraform destroy: All resources are properly removed

So to me this fix looks pretty good I have to say! Looking forward to test it properly in our production setup once it is released :)

@alex-davies Is there a chance to get this merged? :)

@alxy @alex-davies Any news on this fix? It will be great to have it merged and in production, I'm building some huge pipelines for report deployments and this is a blocker for me, because the original report-id is lost when the report is duplicated after RebindReport action.

@cbogdanmihai The fix has been released already in #57 and is available with the latest version of this provider.


Add a comment system

https://squidfunk.github.io/mkdocs-material/setup/adding-a-comment-system/#giscus-integration
Motivation: allows users to ask questions / give comments where they don't understand, which in terms helps to improve the docs.

Can I add a prompt like "If something on this page did not make sense to you, please feel free to ask a question here. (Markdown and mathjax is supported)"?
Also, as per feedback, consider carefully whether having comments is a good idea.


fix: don't count replacement underpriced errors

Description
Update the list of special errors to match op-geth for underpriced transactions. See here.

proxyd/v4.13.0


Proposal: forward Result<T, E> without need to rewrap

This was something discussed a long time ago and partially available in some 3rd party implementations of the Result monad.
In this PR you can see the change I am suggesting to the Result definition, which are backwards compatible as well as some places to showcase the impact.
If the proposal gets approved I will amends the rest of the codebase to avoid rewrapping in success(...), failure(...).

Closing this in favour of: https://github.com/lens-protocol/lens-sdk/pull/575


getorderhistory returns only orders from last 30 days

I just noticed that. I am using this data for calculation but with only a 30 day timeframe it's useless.
Is it bittrex' fault? Or do you have an idea on how to recive all orders?
new Promise((resolve, reject) => bittrex.getorderhistory({market: 'BTC-LTC'},data => {
      if (data instanceof Object)
        resolve(data)
    }))

returns LTC orderHistory but only from the last 30 days.
The docs also don't say that.
new Promise((resolve, reject) => bittrex.getorderhistory({},data => {
      if (data instanceof Object)
        resolve(data)
    }))

returns all orderHistory for ALL currencies but it's capped to 500 entries...

This library does not impose any rules on any calls so this would be a Bittrex issue - or at least a limitation in the current API. I know the Bittrex website is currently using a new API, but they haven't yet released any documentation for it. My order history on the website currently only provides the last 200 orders, so you shouldn't rely on it providing 500 in the future.
The website does have a URL call (via the "Load All" button) to download your entire history https://bittrex.com/api/v2.0/auth/orders/DownloadFullOrderHistory but it does not work via the current API methods.
Personally I keep track of my own history in a local database, you might have to look at doing the same if you need a longer history. You can start by manually downloading your entire history as a CSV.
If the new API gets documentation we will be able to provide further advice on whether it's possible to get a longer history, but currently there isn't a way.

Ok sent a ticket for further information to bittrex. Didn't saw the csv download button yesterday.

@saschb2b ok then, i'll close this ticket but could you write a followup with the answer you got from bittrex when/if you get a response?
@dparlevliet thanks for picking up!

So far no answer from my ticket. But found this old record. With a count parameter. Doesn't work anymore https://web.archive.org/web/20140716170136/https://bittrex.com/Home/Api

Got an answer finally

Hi,
Unfortunately that function has been deprecated.  We plan to release a new version of our API in the next several months with improvements to the order depth.  In the meantime, if you want tick data, you may want to investigate using tradingview which now supports all Bittrex markets.
Thank you,
Travis @ Bittrex
Follow us on Twitter @ https://twitter.com/BittrexExchange

@saschb2b Do you know what the __RequestVerificationToken is and how can it be obtained?

@Ornolfr: __RequestVerificationToken refers to the session cookie value. You can get it by logging into bittrex.com and using Chrome DevTools (or equivalent) to inspect cookies:

The full request would look something like this:
POST https://bittrex.com/api/v2.0/auth/market/GetOrderHistory
Content-Type: application/x-www-form-urlencoded
Cookies: __RequestVerificationToken=REPLACE_ME; .AspNet.ApplicationCookie=REPLACE_ME

marketname=BTC-LTC&__RequestVerificationToken=REPLACE_ME

Note that __RequestVerificationToken is only valid for a single session, and .AspNet.ApplicationCookie seems to also expire fairly frequently.

Can I get more than 50 trades by the team "https://bittrex.com/api/v2.0/key/market/getorderhistory?marketname=BTC-LTC" ?


HmIP DLD sometimes report wrong ACTIVITY_STATE

Describe the issue you are experiencing
My setup:

Fingerprint scanner
HmIP FWI
HmIP DLD

Most of the time I get state changes as expected, but sometimes are are weird.
When using the fingerprint scanner to open the door (unlock + open) then the ACTIVITY_STATE is sometimes "Locking".
Values that I see in HomeAssistant (see attached protocolls from RaspberryMatic; the seconds information is comming from HA; protocol: RM_History - Kopie.csv):

The DLD is in state "Unlocked"

I use the Fingerprint scanner

DLD changed to "Is locking" (16:01:51)
DLD changed to "Is Unlocking" (16:01:52)
DLD changed to "Was unlocked" (16:01:53)

Sometimes I have also this behaviour:

The DLD is in state "Unlocked"

I use the Fingerprint scanner

DLD changed to "Is locking"
DLD changed to "Was unlocked"

I have discovered this issue through HA and posted it first in the HA HmIP local repository: https://github.com/danielperna84/hahomematic/issues/1314
Describe the behavior you expected

The DLD is in state "Unlocked"

I use the Fingerprint scanner

DLD changed to "Is Unlocking"
DLD changed to "Was unlocked"

Steps to reproduce the issue
Not reproducable easily. It happens randomly.
What is the version this bug report is based on?
<IP_ADDRESS>31130
Which base platform are you running?
ova (Open Virtual Infrastructure)
Which HomeMatic/homematicIP radio module are you using?
HmIP-RFUSB
Anything in the logs that might be useful for us?
Logs have been overwritten already.

Additional information
No response

This is still applicable (happened yesterday).

I have the same problem:
Pressed the open door button -> state switched to IS LOCKING for a second and switches then to IS UNLOCKING.
happens I would say 1 of 30 times

Still applicable (RM v<IP_ADDRESS>40826 and DLD v1.4.12)


Fatal error: Call to undefined function GuzzleHttp\Psr7\uri_for() in guzzlehttp/guzzle/src/Client.php:63

Guzzle version(s) affected: 7.0.1
PHP version: 7.4.8
cURL version: 7.64.0
Description
I am writing a composer plugin. Whenever Guzzle is used, it throws a fatal error: Call to undefined function GuzzleHttp\Psr7\uri_for() in project/vendor/guzzlehttp/guzzle/src/Client.php:63
How to reproduce
See minimal proof of concept attached in project.zip. In the top level directory (project):

composer install
composer about

By changing the argument true to false in line 37 of project/composer-logger/src/Plugin.php, you can exclude usage of Guzzle and verify that the plugin works fine except for Guzzle.
project.zip

This is a known issue, and will be fixed by https://github.com/guzzle/psr7/pull/345 and https://github.com/guzzle/guzzle/pull/2712. Unfortunately, things are moving a little slowly. The PSR7 changes are pending a review from @Tobion.

This will be fixed in Guzzle 7.2.0 (is the current plan).

Hi Folks, I'm still getting this error on my project:
Fatal error: Uncaught Error: Call to undefined function tk\GuzzleHttp\Psr7\stream_for() in /app/wp-content/plugins/buddyforms-premium/build/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:296 Stack trace:
After a quick research in the code, I found that still there's a function being called on the CurlFactory class instead of using his method equivalent. According to this PR  we should use GuzzleHttp\Psr7\Utils::streamFor instead of \GuzzleHttp\Psr7\stream_for($sink) please take a look at the image below:

I tried to send a PR but I got a 403 😂 I will be waiting for any kind of feedback 🙏

Run composer update and you will get the required dependencies.

Was this ever fixed? I have Guzzle 7.01 and the latest Laravel and I've run composer update. Still get the error.

Was this ever fixed? I have Guzzle 7.01 and the latest Laravel and I've run composer update. Still get the error.
@teamayu
Same setup here, using "guzzlehttp/guzzle": "^7.2.0", fixed it nicely.

Thanks @AntoineTB , all good now. :)

Everyone should be using Guzzle 7.3.0. It's the newest, and only supported version. :)

Thanks.

Had the same issue on a project composer.json that was referencing guzzle as "guzzlehttp/guzzle": "^7.0.1", (version 7.3 of the package installed).
To solve the problem I just needed to run composer update and the exception was gone!

Thanks @renoirtech.

Everyone should be using Guzzle 7.3.0. It's the newest, and only supported version. :)

I have the same problem.
I updated all also it is not working.
Call to undefined function GuzzleHttp\Psr7\stream_for()
So who can help me ?

see : https://github.com/guzzle/guzzle/issues/2824

This error just returned on guzzlehttp/guzzle": "7.7.0", 7.6.0 works fine.

This is a bug in kreait/firebase-php, both calling a function that does not exist and failing to add a dependency on the psr7 package.

Same problem here, tried it with guzzlehttp/guzzle 7.7.x, 7.6.x, 7.4x:

Attempted to call function "uri_for" from namespace "GuzzleHttp\Psr7

This is not a bug with Guzzle. The code that is calling that function needs to be changed to call the new static class method.

The code in the upstream library has already been fixed: https://github.com/kreait/firebase-php/commit/ccc01386ba42e6247a15413172ffe9a9aeec7d12. Make sure you are using at least v5.20.0, v6.0.0 or v7.0.0 of kreait/firebase-php.


Adding SonarQube support

Added travis file with secure token for sonarcloud.io
Added basic SonarQube file

Hey @danbev I added SonarQube support to give the project some visibility on the Sonar site which is a good resource for OSS projects. I also tried to bake it into Travis. I followed this guide here:
https://docs.travis-ci.com/user/sonarcloud/ and the additions look sane and straightforward. I ran it locally so the sonar-props file is perfect, however I had to remove some of the hardcoded values like server address and my login token which I am now assuming the travis file handles.
I also added us on https://sonarcloud.io/dashboard?id=bucharest-gold-licenser and created an encrypted access token which is now in the travis file. I don't have permissions (and am unsure) to run and check this on Travis to validate that it is working. Ping me off the PR if you want to get the access token in case something is configured wrong.

@lgriffin We have a meeting later today and I'll bring this up there. I don't think any of the other projects in this organisation use SonarQube so don't think it should be added without discussion first.

That's no problem, worst case I can remove the Travis aspect and just check in the sonar props file for local use. It gives a lot of visibility for OSS projects certainly something to consider for the team 👍


Problem With Build Project

OS: [Win10 PRO 1803]
Visual Studio [2017 15.9.2]

https://github.com/MahApps/MahApps.Metro/wiki/Building-the-MahApps.Metro-solution

i try like this and same problem


Support for new SwitchBot Remote Button

It would be great to be able to support events on Remote button presses.

requested #38 and #34
only battery level is possible. remotes link directly with a switchbot device. They work differently


No Tests

it seems like there are some obvious properties that could be tested for:

lift . unlift = id
eq === not . neq
read# and write# are mutating the appropriate bytes and index# agrees with read# (esp. for types like Word128, Word256 which do pointer arithmetic)

But I figure it'd be good to test anything that involves element size.

It would be nice to test these explicitly in this library. I haven't done it mostly because it's a little tedious and because I've become convinced of the correctness of these functions by the tests in other libraries that depend on this one. If you (or anyone) are willing to endure the mind-numbing rigmarole of adding a test suite for these things to this library, feel free to do so.


Getting Error while connecting to sentinel using password.

Getting below error while connecting to sentinel using a password. I have kept the password the same for both Redis and sentinel still getting the issue.
Can't connect to sentinel server. Unable to connect to: redis://x.x.x.x:26379
Expected behavior
Should be able to connect to sentinel using the same password.
Actual behavior
Getting error - Can't connect to sentinel server. Unable to connect to: redis://x.x.x.x:26379
Steps to reproduce or test case
Redis version
Redis: 5.0.8
Redisson version
Redisson: 3.13.6
Redisson configuration
{   "sentinelServersConfig": {     "idleConnectionTimeout": 10000,     "connectTimeout": 5000,     "timeout": 5000,     "retryAttempts": 3,     "retryInterval": 1500,     "failedSlaveReconnectionInterval": 5000,     "failedSlaveCheckInterval": 10000,     "password": "password",     "subscriptionsPerConnection": 5,     "clientName": null,     "subscriptionConnectionMinimumIdleSize": 1,     "subscriptionConnectionPoolSize": 50,     "slaveConnectionMinimumIdleSize": 10,     "slaveConnectionPoolSize": 64,     "masterConnectionMinimumIdleSize": 10,     "masterConnectionPoolSize": 64,     "readMode": "MASTER",     "subscriptionMode": "MASTER",     "sentinelAddresses": [       "redis://X.X.X.X:26379"     ],     "checkSentinelsList": false,     "masterName": "redismaster",     "database": 1   },   "threads": 16,   "nettyThreads": 32,   "transportMode": "NIO" }

Have created a PR to fix this, request you to please review it - #3134

Fixed! Thanks for report

Any ETA on when 3.13.7 will be released with this fix?

Any ETA on when 3.13.7 will be released with this fix?

this issue was fixed in 3.14.0 version

this issue was fixed in 3.14.0 version


Updated build.gradle file

Android Studio wouldn't build for me without updating to the latest support libraries of 23.0.1

Hooray for lib updates that remove all traces of old versions.


Upgrade UI - Expand view

Upgrade UI - Expand view

Resolve in https://github.com/Koniverse/SubWallet-Extension/issues/1229


support aliyun ecs discovery

Proposal
Hi~ We are alibaba aliyun team, we have a aliyun ecs discovery implement.
https://github.com/AliyunContainerService/prometheus/tree/master/discovery/ecs
https://github.com/AliyunContainerService/prometheus/blob/feature/aliyun-ecs-discovery/discovery/aliyun/README.md
Can we take a merge-request of our commit to master branch?

pressure test: this implement support pressure test with 1K+ ECS, and every ECS have 20 tags, support frequency ECS scale scenario.
support filter with ECS label.
use scrolling API to discovery ecs to support frequency ECS scale change scenario.
we can do some translation to English.

A quick glance at the link shows me that we could accept it if there are enough tests and if we do not take configuration and secrets from environment variables. We'd also need an alibaba account to test this.

@roidelapluie
ok~THX~
I will make a merge request with test case, and refine comments and README.
We can provide alibaba account for testing.

WIP, I m trying to make it out in this month.

Is there any progress? I am very looking forward to the pr being merged

Hello from the bug scrub.
@roidelapluie what's the current state of this?
We discussed the general state of SD recently (umbrella issue to be filed soon), as we see an increasing amount of issues maintaining all the SDs we currently have, not to speak about adding more. We need clear ownership for every mechanisms, so this here would need on owner for starters.
Alternatively, there is always the option of providing an external solution via HTTP SD.

Hello from the bug scrub.
@roidelapluie what's the current state of this?
We discussed the general state of SD recently (umbrella issue to be filed soon), as we see an increasing amount of issues maintaining all the SDs we currently have, not to speak about adding more. We need clear ownership for every mechanisms, so this here would need on owner for starters.
Alternatively, there is always the option of providing an external solution via HTTP SD.

Apologies for the delayed response.
Regarding the current status of this issue, our team intends to submit an official Pull Request (PR) for the Alibaba Cloud ECS service discovery mechanism in the near future, specifically sometime within July.
Due to the stringent requirements for stability at the infrastructure layer, there is indeed a need for a service discovery approach beyond just relying on HTTP Service Discovery (HTTP SD) for Alibaba Cloud ECS instances.
Moving forward, it is proposed that our Alibaba Cloud team takes on the ongoing maintenance of this service discovery mechanism. Consequently, it is imperative that we ensure the official release version offers a mature SLA and is thoroughly covered by UT.

This sounds very promising, thank you very much.
@simonpasquier FYI, this should be mentioned in the planned umbrella issue.
@roidelapluie I think you would be in the best position to coordinate with Alibaba folks how to integrate their code and onboard them as maintainers. It would be great if you could let us know if you could do that or not.

Yes, I am waiting for more details and a proper PR from alibaba.

Yes, I am waiting for more details and a proper PR from alibaba.
@roidelapluie
Hi, sorry for the late.
We have already make a PR: #15212 . PTAL.
And we made a pressure test report, published in the blog channel. prometheus aliyun ecs sd pressure test report


[docs] Add custom defaultPropsHandler

Allows resolving default values for props inside the function body
function Component(props) {
  const { value = 42 }  = props;
  return <div aria-valuenow={value} />
}

This will come in handy when we also resolve default values from the theme via hooks (see #15023).
TODO

[x] Remove defaultProps for non-class components

[x] Grid
[x] GridListTile
~[ ] Hidden~ Leaving this for now. Adds quite a bit of bundle size for no benefit (currently)

[ ] Wait for reactjs/react-docgen#351 ~resolution~ release
[x] Consider #15023 (rebase that PR once this is merged and extend the props finder).

I think we should consider merging this. While the gzip increase is unfortunate we get at least a decrease in parsed size. It also helps apps using the /es build and only support evergreen browsers.
If we push more components away from withStyles like #15023 we need default values in object destructuring anyway.

Im happy to merge this. I’ll have a look at some code before I officially approve it.
To me one of the benefits of trimming down the library, by using functional components, means we can relax our reservations of increasing the bundle size a little.

Does is close #15042?
The only drawback I can think of: What about people accessing our defaultProps? We prepare them for the future. React will likely deprecate the default props: https://github.com/reactjs/rfcs/pull/107. It will be an important change for people. I image they will provide a codemod for it.

The only drawback I can think of: What about people accessing our defaultProps?

They were never part of our public API. We had one issue where someone was using them but it wasn't in a meaningful way. We have the theming for overriding default props.

@eps1lon  I haven't dug into the code too much but do you think this is something that could be contributed back to react-docgen? I'd be happy to assist with the effort as well :)

@NMinhNguyen If I remember correctly then it was pretty rough to integrate this in the base function because they had some weird fallback functionality and accounted for all sorts of component patterns. It looked like the base function needed some refactoring first to account for todays understanding what components are. Not sure I want to get involved into that.
You can copy the code from this implementation and use it in your own code base. We essentially just run two default props resolvers: the default from react-docgen and a custom one that looks inside the function body.
I'd suggest you open an issue in react-docgen with a feature request and link to this example implementation.


How to specify Interceptor configuration for Static Web App's integrated APIs?

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.1.1
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
None
Description
Followed this MS Doc for adding API into Static Web App (SWA), I'd like to

MS account login prompt as a popup.
add Msal Interceptor to send in token silently without any interaction calling integrated API.

Is there any detailed document available explaining options and values? For example popup vs. redirect, how to piggy back adding hello: world from sessionStorage in addition to token into the header, etc.
MSAL Configuration
@NgModule({
  declarations: [...],
  imports: [...,
  MsalModule.forRoot
    (
        new PublicClientApplication
        (
            {
                // MSal Configuration
                auth:
                {
                    clientId: '...',   authority: 'https://login.microsoftonline.com/common',  redirectUri: 'http://localhost:4280/'
                },
                cache:
                {
                    cacheLocation: 'localStorage', // tried 'sessionStorage' too
                    storeAuthStateInCookie: false, // using Chrome
                }
            }
        )
        ,
        {
            // MSAL Guard Configuration
            interactionType: InteractionType.Redirect,
            authRequest: {scopes: ['user.read']}
        },
        {
            // MSAL Interceptor Configurations
            interactionType: InteractionType.Popup, // .redirect never hits API
            protectedResourceMap:
            new Map
            ([
                ['https://graph.microsoft.com/v1.0/me', ['user.read'] ],
                ['/api/AF1', ['api://custom api consent']]    // get invalid reading
                ['/api/AF1', null]    // hit API but token not in context.req.headers
            ])
        }

Relevant Code Snippets
No response
Identity Provider
Azure AD / MSA
Source
External (Customer)

We currently don't have any documentation on using MSAL Angular with Static Web Apps.
All our docs for using MSAL Angular can be found here: https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-angular/docs/v2-docs

Msal interceptor is a convenience function that adds the access token to the authorization header of the request. To add additional things to the header, you may want to write your own interceptor.
From your configuration, the last entry to your protectedResourceMap has the api and then null. The reason that the token is not in the headers is because null is used to unprotect the resource, so the token would not be attached. More information can be found in the interceptor docs https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-angular/docs/v2-docs/msal-interceptor.md .

Solution:
['/api/*', ['offline_access']]


For Eufy Battery Doorbell "Start_Stream" Toggle No Longer Generates "Livestream" URL

Using version 0.2.0
When I attempt to toggle "start_stream" using the button in the "value" column, no value for "livestream" is generated. This only seems to be an issue with the Eufy Battery Doorbell (I have also tested Eufy Cam 2/2 Pro and they generate the "livestream" URL without issue).
Logs that are generated after attempting to toggle "start_stream" are as follows (earliest at the bottom):
eufy-security.0 | 2021-02-14 20:56:54.872 | error | (500) Camera.stopStream(): Response code not ok (code: 20023 msg: Failed to request.)
eufy-security.0 | 2021-02-14 20:56:48.157 | warn | (500) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_RUNTIME_STATE (2107) channel: 2 - data:<PHONE_NUMBER>000000
eufy-security.0 | 2021-02-14 20:56:44.989 | warn | (500) P2PClientProtocol.handleDataControl(): Not implemented - CONTROL message with commandId: CMD_SUB1G_REP_RUNTIME_STATE (2107) channel: 1 - data:<PHONE_NUMBER>000000
eufy-security.0 | 2021-02-14 20:55:54.696 | error | (500) EufySecurity.stationP2PCommandResult(): Station: T8010XXXXXXXX command CMD_DOORBELL_SET_PAYLOAD failed with error: ERROR_INVALID_COMMAND (-103)

I previously had version 0.1.4 installed and this was not an issue.
Please let me know if you need any additional details, and thank you so much for your work on this!

Hi @pldmgg,
please activate the debug mode 2 of the adapter and reproduce the error. Then please send me the logfile (note: the logfile contains sensitive data; mainly the token, so redact it).
You can find my mail in the license description here.

Having the same issue, so a debug output from my side:
2021-02-15 10:04:57.576  - debug: eufy-security.0 (26235) Station.startLivestream(): P2P connection to station XXX present, start livestream for channel: 0.
2021-02-15 10:04:57.576  - debug: eufy-security.0 (26235) Station.startLivestream(): Using CMD_DOORBELL_SET_PAYLOAD for station XXX (main_sw_version: <IP_ADDRESS>h)
2021-02-15 10:04:57.577  - debug: eufy-security.0 (26235) P2PClientProtocol._sendCommand(): sequence: 6 command_type: 1700 channel: 255 retries: 0 message_states.size: 1
2021-02-15 10:04:57.589  - debug: eufy-security.0 (26235) P2PClientProtocol.handleMsg(): ACK DATA - received from host <IP_ADDRESS>:22281 for sequence 6
2021-02-15 10:04:57.601  - debug: eufy-security.0 (26235) P2PClientProtocol.handleMsg(): DATA DATA - received from host X.X.X.X:22281 - Processing sequence 6...
2021-02-15 10:04:57.602  - debug: eufy-security.0 (26235) P2PClientProtocol.handleData(): commandId: CMD_DOORBELL_SET_PAYLOAD (1700) - result: code: ERROR_INVALID_COMMAND (-103) message:  - data: 99ffffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2021-02-15 10:04:57.603  - debug: eufy-security.0 (26235) P2PClientProtocol.handleData(): Result data for command received - message: {"sequence":6,"command_type":1700,"channel":255,"data":{"type":"Buffer","data":[209,0,0,6,88,90,89,72,164,6,116,1,0,0,1,0,255,0,0,0,123,34,99,111,109,109,97,110,100,84,121,112,101,34,58,49,48,48,48,44,34,100,97,116,97,34,58,123,34,97,99,99,111,117,110,116,95,105,100,34,58,34,54,52,53,48,53,52,100,51,99,97,49,57,55,98,49,101,49,102,55,51,54,49,100,52,98,54,102,48,50,102,102,102,48,49,50,99,51,98,53,57,34,44,34,101,110,99,114,121,112,116,107,101,121,34,58,34,57,49,55,99,48,97,57,53,101,48,55,101,57,57,100,97,102,98,99,101,98,55,98,98,100,102,52,53,57,55,50,102,52,49,97,49,53,51,57,55,101,57,101,48,49,57,53,51,101,97,102,55,97,97,48,102,102,51,57,98,55,102,101,48,50,52,48,53,99,51,55,56,56,99,100,53,49,97,51,98,48,53,48,98,55,49,52,51,53,57,49,48,99,102,53,57,101,100,101,50,56,48,101,100,56,50,54,98,98,99,57,49,48,99,54,99,50,102,99,52,100,51,56,99,54,53,50,49,100,48,57,98,99,99,54,101,99,54,57,56,97,102,53,52,51,51,49,51,55,101,97,52,57,102,57,51,50,52,48,49,97,56,101,49,98,52,99,52,98,102,57,99,50,99,102,55,51,53,99,53,102,98,101,99,52,102,50,53,100,97,99,49,48,53,99,55,49,97,56,102,57,50,56,100,101,56,99,100,55,101,98,56,55,102,49,97,48,49,50,50,48,52,99,48,50,102,53,100,56,101,102,56,48,52,54,50,49,53,98,99,57,102,101,54,53,98,50,98,97,49,52,100,52,48,49,51,34,44,34,115,116,114,101,97,109,116,121,112,101,34,58,49,125,125]},"retries":1,"acknowledged":true,"return_code":-133,"timeout":{"_idleTimeout":-1,"_idlePrev":null,"_idleNext":null,"_idleStart":2177706,"_onTimeout":null,"_repeat":null,"_destroyed":true}} result: ERROR_INVALID_COMMAND (-103)
2021-02-15 10:04:57.603  - debug: eufy-security.0 (26235) Station.onCommandResponse(): station: XXX command_type: 1700 channel: 255 return_code: ERROR_INVALID_COMMAND (-103)
2021-02-15 10:04:57.603  - error: eufy-security.0 (26235) EufySecurity.stationP2PCommandResult(): Station: XXX command CMD_DOORBELL_SET_PAYLOAD failed with error: ERROR_INVALID_COMMAND (-103)
2021-02-15 10:04:57.604  - debug: eufy-security.0 (26235) P2PClientProtocol.handleMsg(): DATA DATA - Received expected sequence (seqNo: 6 queuedData.size: 0)```

I didn't recognize a token. but redacted my station ID.

@cratoo , @pldmgg
To fix the error "ERROR_INVALID_COMMAND (-103)", I see 2 possibilities:

someone records the network traffic of the Eufy app during the start and stop of the livestream and sends it to me.
Someone shares the doorbell as a guest from the Eufy app with my email address for the time of troubleshooting.

Just tried version 0.2.2 and this is resolved. Thanks so much for your work on this!


from now on,does mmdet only support voc format for 3 method?

it only support faster rcnn and ssd?if I want to use another method to train voc data ,what should I do?
transfer voc format to coco format?

Hello, Please forgive me for my bad English.
may I use the cascade mask rcnn to train the voc dataset, can I rewrite the VOCDataset? How can I rewrite it? Could you update it, please forgive me for being a beginner, I don’t know a lot. @hellock

Hello, Please forgive me for my bad English.
may I use the cascade mask rcnn to train the voc dataset, can I rewrite the VOCDataset? How can I rewrite it? Could you update it, please forgive me for being a beginner, I don’t know a lot. @hellock

Just follow the xml_style.py and add your customed code to inherit base class and rewrite your own function.


AEE not showing the other way (from C to A)

AEE must show (non-editably) as reciprocation under the C which is the target of the AEE.
In the same way that subclasses show under the C which is their superclass.
Is:

Must be similar to this:

"Inverse relations:
Used as Event equivalent - inverse of AEE"

Generally, all relations must show. Either editably, or ineditably, depending on the type of relation, but it must always show.

@Ptrhnk, @adammertel  OK, then probably let's release asap, because many things that I requested I see again and request again, because the version (while the deploy is from 6. 5.) is an old generation somehow, and also it is inconvenient that there is a lot of new assistance features that we cannot benefit from.


Add platform persistent storage KVS API

Add the initial API for the key value storage interface. Other changes
will implement this API for the various platforms.

Problem
CHIP needs a mechanism of persisting data.
Summary of Changes
Add an API for persistent storage of key value pairs in the CHIP platform. Future changes will implement this API on the various platforms.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@rgoliver What will the class be used for? It seems pretty similar to what ConfigurationManager provides despite that the latter doesn't expose methods to read/write arbitrary keys. But maybe it could be adjusted somehow to your needs?

@rgoliver What will the class be used for? It seems pretty similar to what ConfigurationManager provides despite that the latter doesn't expose methods to read/write arbitrary keys. But maybe it could be adjusted somehow to your needs?

It is my understanding that the storage solution needs a bit of cleaning up, most/all the configuration manager stuff was pulled in and from my asking around it didn't sound like it was being used for CHIP yet. The intent is to provide a more general purpose storage solution beyond the Key/uint32, or fixed configurations provided in configuration manager.
My intent is to start with this KVS API, and implement it on a couple platforms, with some included tests; and then start cleaning up the other persistent storage/configuration_manager stuff so we can avoid duplicates/dead code.

Thanks for explanation. It is true that currently nobody stores any data in ConfigurationManager, but many components try to read from it, so I was wondering how ConfigurationManager and your interface will relate to each other. From your description I understand that both interfaces will probably stay, but ConfigurationManager may be built on top of KVS API, so we should have no code duplication in the platform layer.


Determine whether we could make this plugin support Scala.js

Not sure whether it is a good idea to include Scala.js into this project.
What do we have to consider?

Minifying and merging (This is easy though)
APIs. This is very hard to make it useful. AFAIK, we don't have Scala.js facade for AWS SDK.
Actually, we don't have a lot of facades to make Scala.js application useable.
We can use js.Dynamic.global, but that'll be worse than using Javascript directly.

The project should have a flag to indicate the target platform -- JVM or NodeJs.
I think we should not mix both in the same project since it doesn't work in Lambda.
The plan will be pushed back until we get other JVM features implemented.

I think this would be an amazingly useful feature as so much Scala code works with Scala.js these days and JS code has much better startup time on AWS Lambda.

@ShaneDelmore Agreed. I'd love to add this feature for sure, but it's very hard at the moment to make the Scala.js useable on AWS Lambda.
I've updated description.


Rename before/after to beforeEach/afterEach

Maybe add aliases

In controller hooks named beforeEach and afterEach

It's better to have consistency among controller hooks and global hooks

Completed in c48bc7a


Test data not available?

Hello!
Thanks for your work on this exciting looking tool! I have just installed it and was hoping to test using the data linked in this repo. Unfortunatley the googledrive folder linked is empty (https://drive.google.com/drive/folders/1tFWWTCUoE2Jg0zrMvKKtTqEBuwkkJ1bl)
Would it be possible to add the test dat to this repo or for me to access it in another way?
Many thanks

I found it in the data/test!
Maybe this readme could be editted??


Create a MycroftOS enclosure

Information
Mark-1, Mark-2 and Picroft all have their own configured "enclosure" which allows to run hardware specific code for that specific hardware combo. We can and should do the same for MycroftOS.

As MycroftOS is basically similar as Enclosure type of code, all we need is to define the platform itself.
Done by; 7eb848f661b1b789130bca47536181d1b587ee4b
Will need to check if that holds up and been processed by registering a MycroftOS device.

We needed to patch MSM to add the MycroftOS enclosure. Done with bdcbb3d98d4db61ada4d88d63f8f3792b26cbf72 and now working without error. However still empty skills list for it. We will get there later if required. Closing for now.


operator k10-kasten-operator-rhmp (6.5.13)

New operator bundle
Name: k10-kasten-operator-rhmp
Version: 6.5.13
Certification project: 618d6e75997a4c5a1ba64786
Test result URL: https://catalog.redhat.com/api/containers/v1/projects/certification/test-results/id/663a8b8252b4ad8cad569762
Test logs URL: https://catalog.redhat.com/api/containers/v1/projects/certification/artifacts/id/663a8b80fd53e78f44c510cb

/pipeline restart operator-hosted-pipeline

/pipeline restart operator-hosted-pipeline


Fix GetAnalogActionData to use AnalogActionHandles rather than ActionSetLayers

I was having difficulty grabbing analog inputs from controllers due to an odd discrepancy with how the Blueprint node for GetAnalogActionData was handling some functionality, so I changed the functionality to behave more in line with the SteamInput documentation.

Thanks. :)


replace printable for try/except utf-8

Codecov Report

Merging #2255 into master will decrease coverage by 14.45%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #2255       +/-   ##
===========================================
- Coverage   92.81%   78.36%   -14.46%
===========================================
  Files         171        9      -162
  Lines       18925      550    -18375
===========================================
- Hits        17566      431    -17135
+ Misses       1359      119     -1240

Impacted Files
Coverage Δ

qiita_db/handlers/tests/test_processing_job.py

...lers/analysis_handlers/tests/test_base_handlers.py

qiita_db/test/test_search.py

qiita_pet/test/test_download.py

qiita_db/handlers/tests/test_analysis.py

qiita_db/commands.py

qiita_db/test/test_processing_job.py

qiita_db/test/test_analysis.py

qiita_db/test/test_sql_connection.py

qiita_db/test/test_base.py

... and 150 more

Continue to review full report at Codecov.

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


Add more tests to blog post

Testing new blog post
Testing show blog post (admin)
Testing add a comment to post
Changing some PostFixtures methods to static for reusability
Simplify and reordering some tests

@javiereguiluz @bocharsky-bw done!

Now the fixtures and tests using a FixturesTrait for common methods.
and all controller test case now extending from ControllerTestCase to use common decriptive methods and strict assertions.

Status: Need Reviews :)

I'm not that sure about tests/ControllerTestCase.php. For experienced Symfony developers makes sense ... but for newcomers? They probably see that and think ... "mmm, it's pretty complex to create just one simple functional test ... first I need to create this special ControllerTestCase, then I need to create my tests, etc."
I'm not asking to removing this (yet) ... but let's think a bit about it. Thanks!

This ControllerTestCase is just an utility class to make tests more descriptive and simple, it's more related to basic POO inheritance and DRY (no Symfony/funtional Tests related).
I think it's good to show to newcomers good practices related to how to simplify their apps too. For newcomers of "Symfony framework" it should be easy to understand I think, anyway a nice class description could clarify possible misinterpretations.

Maybe I could remove the response assertions and leave only the client creation methods, what do you think?

Last changes:

Moved response assert to tests metods again
Removed controller inheritance by trait usage
Added comments

Rebased and resolved conflicts with https://github.com/symfony/symfony-demo/pull/502

@yceruto thanks for all the changes and for rebasing, etc. There are a lot of things that I like in this PR, so I'm going to merge it now. However, there are some things that I don't like because it's not a practice promoted by Symfony (although your proposal works perfectly and it's technically correct). So, I'm going to create a PR soon after to revert some changes. Thanks!


fix: seccomp detection is failing when minor version is not an integer

When the reported minor version is not an integer (i.e. 21+) the seccomp detection is failing and will prevent the operator from starting correctly.
Closes: #946
This patch makes that function more resilient.
Signed-off-by: Leonardo Cecchi<EMAIL_ADDRESS>

/ok-to-merge

/test


No options parameter for init(...)

Currently init(...) only expects the header (selector string), but not the options as the constructor does.
Invoking init(...) results in smooth-scroll not using the options previously passed to constructor.
Additional proposal: It could make sense to also allow an element for the header element because sometimes it has been already looked up.

The opposite, actually. init() accepts options but not a selector, as the selector is tied to the instantiation step. New selector means new instantiation.
see https://github.com/cferdinandi/smooth-scroll/blob/master/src/js/smooth-scroll/smooth-scroll.js#L584-L604
The only time you would need to call init() is to re-initialize Smooth Scroll with a fresh set of options. The behavior you're describing is exactly as intended.


MapR 6.1 use env_override.sh instead of env.sh

https://mapr.com/docs/61/ReferenceGuide/env_override.sh.html?hl=about%2Cenv_override.sh

Done on mapr61 branch, needs to be tested properly, especially with kerberos


403 Forbidden Error when updating labels via REST API

Description
As per title, I'm getting a 403 Forbidden Error when updating labels for issues via REST API. Tried with both the issue id and name. Seems to only happen to my instance (all repositories) running version 1.22.4 in Docker, as I've tested on the demo site (v1.23.0) and cloudron (1.22.4) without any issues.
Gitea Version
1.22.4
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/m4l0n/eb982cd419bd05cf4924e0e886672774
Screenshots

Git Version
No response
Operating System
No response
How are you running Gitea?
Docker installation
Database
PostgreSQL

It seems that your token does not have write permission to this repo.
Can you check it?

Hi @yp05327
My token indeed has write permissions to both issue and repository, which is the same as what I've tried with demo.gitea.com and gitea.com, and cloudron

Does the user who created this token has write permission?

You're right - the user isn't added as a collaborator with write access to the repository. Solved. Thanks!

No need to close this issue, we will fix the internal server error, and it will be closed automatically.
Thanks for your report.


Dashboard layout changes

[x] change "transactions" label in Daily G$ Claim to "Total claimers"
[x] capitalize words in titles
[x] remove the "general" cube (in circulation, held in escrow)
[x] layout order

Total Impact boxes
Google maps with total ubi by country
Daily G$ Claims
total supply graph
Daily G$ Usage + Daily Count Of Transactions
rest of cubes/graphs that we have today

The link to the PR - https://github.com/GoodDollar/GoodDashboard/pull/23

@yaroslav-fedyshyn-nordwhale the top 3 boxes need to be moved to bottom after Daily G$ Usage.
total impact boxes is something new. see relevant issue.

@sirpy
I move it under 'Daily G$ usage' graph - and pushed a fix to the master branch.
Screenshot:

Implemented according to require
Checked on DEV V0.24.1-3
Desktop: Windows 10 // Google Chrome  83.0.4103.106


Set Up Your Java Development Environment

Tutorials: https://developers.sap.com/tutorials/cp-java-reference-app-setup.html
Write here how you think we can improve the tutorial ...
There is no Preferences -> Team. I am afraid, I can't configure Git. I don't know whether this is really necessary.

Exlipse oxygen version has teams options. Window > Preferences > Team > Git > Configuration.
Probably a different version of eclipse was used. As we have mentioned to use oxygen, these are the options available.


Resume creation for Groq's Mixtral API

Use Groq's API for calling Llama 3.2 and create a resume using the old one.
You may refer to this https://github.com/Sohammhatre10/resume_scanner/blob/main/GroqMixtralResumeScanner/resume_scanner.py

please assign it to me @Sohammhatre10

Sure @agrawal-sneha


Proposals for 01-Introduction

Under "Creating Symbols", maybe you could mention ```IndexedBase`.
The following fails, is this intentional?

import math
math.sqrt(-1)
math.exp(1j * math.pi)

IndexedBase will probably be mentioned in the code generation tutorial. It's a little more advanced for the intro notebook.
math.sqrt(-1) fails because math only works with real numbers. You have to use cmath.sqrt to get complex numbers. This could be something to mention, that SymPy always assumes complex numbers unlike many numeric math libraries.

Yes, I noted that showing the errors in math is intentional


Command + [ and Command + ] for Previous, Next Tab

Hi There
Firstly thank you for recreate this Plugin since upgraded to Firefox 57, killed almost every plugin that i am using.
since very early I have pointed my Command + [ and Command + ] (Mac), Would be Ctrl + [ and Ctrl + ] on Windows to switch between tabs.
Its the plugin does work with this combination, but it works on Alt (Option) + [ and Alt (Option) + ], however the fingers is not handy as Command + [.
Looking forwarding for a solutions!
Thank you again!

Hi vk4hdi,
ctrl+] (no spaces) seems to work fine for me. Can you confirm you do not have site filter enabled in "Activation Settings..." "Websites: All sites" sohuld be selected.
Perhaps, some other extension is catching the event, colud you try this on a new blank profile?
Thanks,
Peter

Hi Peter
Thank you for quick response,
Under the Navigation Section, it seems Command+[ and Command+] is assigned to "Back" & "Forward", it seems the plugin is unable to overwrite. (but I used another plugin which can overwrite in older version of Firefox, but no longer available.
https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly
Do you have any idea?
Thank you

Hi vk4hdi,
unfortunately, I do not have a mac available to test this.
If you press command+] without the extension enabled, does it navigate forward? If it does, then it's a firefox shortcut that we are probably unable to override (API Limitation mentioned in other bugs as well).
Just for the fun of it - try these combinations to see if any of those work.:
ctrl+]
meta+]
command+]
Do not forget to reload the tab or better - restart firefox after changing the extenstion settings.
Best,
Peter

Hi Peter
Yes, It works! but it seems couple bug you may want to know
Once "switched" to a blank tab, the function stops working
if user is typing text in the textfield (form) the function stops working, its trying to behaving in the text box
:)
Thanks!!
Alex

Hi Alex,
cool!
the blank tab issue is limitation of the API.
The input is a "feature" used for single key shortcuts. You can disable the behavior by ticking the "Activate while in Form fields" in Activation settings of the shortcut.

Hi Peter
Thanks! any chance to activate while in the URL location bar?
:)

Not that I know of, the Firefox API does not support this.


Select dataset replicas with a sorted sites

Sometimes the user would prefer to read file replicas for a list of sites, to be considered as ordered by preference.
In the dataset tools we either consider a specific choice or round-robin selection.
We need to implement an additional option for a user-provided ranking of available sites.

Yes, this would be a nice feature.
Meanwhile it can be achieved (sort of) with a combination of -ws and -ir options. The ws sites are ordered by order of appearance in the command line, and the ir option insert the INFN redirector prefix in case a file is not in the ws list.


Info log messages ignore level filtering

What steps will reproduce the problem?
Implement a custom log target. Configure it to receive only error messages. Produce a single error message. Inspect $this->messages from the export() method of the custom log target.
What is the expected result?
A single error message.
What do you get instead?
Two messages. An expected error message and another info message with the request context.
Additional info
This is caused by this code block. An info message is being appended to other messages after filtering has already been performed.

Q
A

Yii version
<IP_ADDRESS>

PHP version
7.1

Operating system
GNU/Linux

I don't think that this could be fixed in 2.0. This is more like a design issue - fake context message should not be injected at collect() level. This approach may be fine for FileTarget, but it does not fit well to other targets. Context message should handled at export() level and adapted to specific target.
For now, if you don't want to log context message, you can set $logVars to empty array.


add type hints in Dev 3.x

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Please describe the motivation of this PR and the goal you want to achieve through this PR.
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
The documentation has been modified accordingly, like docstring or example tutorials.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.45 out of 46 committers have signed the CLA.:white_check_mark: Mxbonn:white_check_mark: Youth-Got:white_check_mark: p-mishra1:white_check_mark: MiXaiLL76:white_check_mark: jbwang1997:white_check_mark: chhluo:white_check_mark: ZwwWayne:white_check_mark: atinfinity:white_check_mark: duanzhihua:white_check_mark: STLAND-admin:white_check_mark: shinya7y:white_check_mark: ayulockin:white_check_mark: xiaoyuan0203:white_check_mark: RangiLyu:white_check_mark: BIGWangYuDong:white_check_mark: RockeyCoss:white_check_mark: daquexian:white_check_mark: BubblyYi:white_check_mark: fbagci:white_check_mark: fathomson:white_check_mark: ShunchiZhang:white_check_mark: grimoire:white_check_mark: ceasona:white_check_mark: normster:white_check_mark: JiayuXu0:white_check_mark: Nourollah:white_check_mark: Zheng-LinXiao:white_check_mark: hewanru-bit:white_check_mark: Lehsuby:white_check_mark: lyq10085:white_check_mark: Happylkx:white_check_mark: akshaygulabrao:white_check_mark: Ryoo72:white_check_mark: wanghonglie:white_check_mark: DrRyanHuang:white_check_mark: sudoAimer:white_check_mark: gy-7:white_check_mark: JarvisKevin:white_check_mark: sjiang95:white_check_mark: zytx121:white_check_mark: motokimura:white_check_mark: BainOuO:white_check_mark: wangjiangben-hw:white_check_mark: hhaAndroid:white_check_mark: i-aki-y:x: cyhraneYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi @cyhrane,
Thanks for your kind PR. It seems that there are conflicts between your PR and the targeted branch. Could you solve the conflicts so that we could eventually merge this PR?
You can find more details in the place shown as below:

You might need to checkout a new branch from dev-3.x, then modify the code, then create a new PR.

closed because this PR cannot be merged


Debug studio

Motivation
When developing apps (especially more complex ones) with SGLang's frontend it's a bit hard to tell what is actually getting passed into the generate/ endpoint. This PR introduces a "prompt debugging studio" that allows you to turn on a debug mode and will start intercepting generate requests and saving them to a debug server, where you can go to a web interface and view all the prompts and responses for SGL functions.
For example, if you start the debug server:
python -m sglang.launch_debug_server

It will start a debug server on http://<IP_ADDRESS>:56765
Then, you can add a debug region to an sgl function:
@sgl.function
def text_qa(s, question):
    s.begin_debug_region("TEXT_QA")
    s += "Q: " + question + "\n"
    s += "A:" + sgl.gen("answer", stop="\n")

state = text_qa.run(
    question="What is the capital of France?",
    temperature=0.1,
    stream=True
)

The s.begin_debug_region will start debugging under the prompt name "TEXT_QA". You can then go to http://localhost:56765 (will have to ssh forward if you're developing on a remote server) and you should see prompts start appearing

Modifications

Adds BeginDebugRegion and EndDebugRegion to SGLExpr for the frontend language
Adds launch_debug_server which under the hood relies on enochian-studio (one of my packages) for the debug server

enochian-studio can be found here, I can say it's up to date since I maintain it, along with Etched

Adds posting to the debug server if enabled for all backends

Checklist

[x] Format your code according to the Contributor Guide.
[x] Add unit tests as outlined in the Contributor Guide.
[x] Update documentation as needed, including docstrings or example tutorials.

^ Couldn't reproduce CI error locally :(

@zolinthecow Nice work! I will start to review this PR this weekend. Stay tuned!

closed due to inactivity and low priority


Support for INSDC Sequence records (i.e., Genbank/EMBL format)?

Any thoughts about supporting the INSDC data model as well?  This would be for the data in genbank/embl format.  This corresponds to the SeqRecord data type in biopython.  Apologies if this questions is totally redundant/annoying.

I think that'd map well to @heuermh's https://github.com/bigdatagenomics/bdg-formats/pull/83, no? If so, SGTM!

Yes, but it would extend a ways past it.  What @heuermh currently implemented is similar to Biopython's Seq object.  The SeqRecord object includes one of those, but also includes per-letter annotations (e.g., quality scores), dbxrefs, and a list of Feature objects.  Basically, the sequence and all the annotations on top of it.  Is there any appetite to develop that?

Oh, that's kinda cool. I might say that we could add the per-base annotations and the dbxrefs, but I would leave out the Features, since we can reconstruct that from a join. @heuermh thoughts?

I was thinking Sequence and Feature as currently defined, and then a SequenceAnnotation or similar for the list of features and other stuff that goes in a Biopython SeqRecord or Biojava RichSequence.  Didn't the GA4GH recently propose something for this?

Nice! I like that proposal.

@laserson What would you like to use as the specification/reference model for this?
I've written Biojava 1.x (biojava-legacy) to/from Sequence/Slice/Read conversions here, similar could be done for Biojava 5.x on HEAD (biojava), and it wouldn't take much to use those libraries to support Genbank/EMBL formats in addition to FASTA and FASTQ.
Since Biojava is LGPL version 2.1, there is a question of where this code should live.  There is also a question of the proposal at https://github.com/bigdatagenomics/bdg-convert.

I don't have experience with Biojava but probably a good place to start?

A good place to start, sure, but some of the code is 15 years old.  Is there a more up-to-date specification or reference?
There's this for the feature table
http://www.insdc.org/files/feature_table.html
and an annotated example Genbank record
https://www.ncbi.nlm.nih.gov/genbank/samplerecord/
I think I'm with Chris Fields in that, well, good luck
https://www.biostars.org/p/165727/
Given a Genbank record, which bits would be important to you?

Yeah, I'm also aware of how unspecified the Genbank format is.
For me, the obvious things to add are Features on top of the sequence.  Also nice would be the per-letter annotations.  And also the ket-value pairs you can add (is this called "qualifiers" or something like that?)

Fixed by https://github.com/heuermh/biojava-adam, which is in the process of being transferred to the Biojava organization.


Debian9 SpecCPU 2017 ISO support

Added support for SpecCPU2017 with ISO support that targets to run on Debian9.

ISO mount is missing config/ and config/flags directories and config/flags/clang.xml file. Added the mkdir and push file command during prepare.
Added Debian9 Static VM to allow staticvm config to specify os_type=debian9. And skips reinstall build_tools when targeting version 6.
Respect user specified mount directory when trigger install.sh.

@yuyantingzero


Retrofit out all jQuery based JavaScript for vanilla ES6

Because, you know, we ain't kids anymore ;)

Hey, I almost felt your neckbeard from here! 😉
I do agree though, vanilla JS should be the baseline of Stalfos: not jQuery. While we're at it, we should definitely introduce ES6 to the mix.
At the moment, there's a block. I'm reworking the gulp setup on the develop branch which is needed for any integration of browserify, babel etc.
I'm hoping to get this done and released within the next couple of weeks though.
I'll map out a project in the interim. Fancy getting involved in the work?

A skeletal project structure for when this is ready to go. We'll probably want to make each item a separate issue to aid discussion and proper specification.

Removing block because v1.1.0 has been released 🎉

So are we good to go with ES6.
Forks repo, cracks knuckles, grabs a beer, goes and watches TV ;)

We are indeed. I'm otherwise occupied at the moment, but will happily take a PR!
The hankchizljaw.io repo has a rough cut of what I was thinking, so could be used as a base.

Pull Request added - https://github.com/hankchizljaw/stalfos/pull/27

🧹Closing this issue because a complete rebuild for V2 is on the way 🧹


Backup Optim : Primary Key instead of Limit Offset

Questions
Answers

Description?
Please be specific when describing this change. What did you change? Why?

Type?
bug fix / improvement / new feature / refactor

BC breaks?
yes / no

Deprecations?
yes / no

Fixed ticket?
Fixes #{issue URL here}, Fixes #{another issue URL here}

Sponsor company
Your company or customer's name goes here (if applicable).

How to test?
Indicate how to verify that this change works as expected.

There is another issue with composite primary key, like in ps_cart_rule_combination
We could ignore the primary_key optimization for these tables with composite indexes, but it is precisely on these tables that we find the largest volumes and that the need for optimization is the greatest

I think we can close this one backup SQL optimisation already done on this one https://github.com/PrestaShop/autoupgrade/pull/894.


Add option to remove all existing unique role assignments

Added option to remove all existing unique role assignments.
Added option to reset role inheritance

Note that I changed title and suggested schema changes. I had mistakenly thought that executing BreakRoleInheritance twice would alter the role assignments. After confirming with the SP server side object model I confirmed that running BreakRoleInheritance twice does absolutely nothing. I had mixed up som local tests that I did. Sorry for the misunderstanding. The option to reset role inheritance is unchanged.
Speaking of Reseting Role Inheritance I think there might be a bug in SharePoint. In the SSOM that is callable from SCOM a internal call is made to Microsoft.SharePoint.SPSecurableObjectImpl.RevertRoleInheritance(bool copyRoleAssignments, bool clearSubScopes)
copyRoleAssignments is set to true and clearSubScopes is set to false. This means that reseting role inheritance should not affect child objects like lists. When I do this from CSOM/SSOM/UI SharePoint (2013/Online) always also resets role inheritance in child lists. Also when breaking role inheritance it seems that the clearSubScope parameter has no effect. The child objects is never affected.
Am I misunderstanding this functionality?

Hi,
Thanks for your submission. Could you please target the following XSD file:
https://github.com/SharePoint/PnP-Provisioning-Schema/blob/experimental/OfficeDevPnP.ProvisioningSchema/ProvisioningSchema-vNext.xsd
rather than the 2018-01 schema version, which is now released?
Thanks,
Paolo


AAudio sample buffer size Optimization

Optional:
Currently sample gets the buffer size and frequency from Java side; the only used one is actually frequency.  The buffer size used to read/write AAudio's internal circular buffer is HARDCODED to framesPerBuffer(), which does not depend on Java side code ( but by all means it should be the same value though ).
Need re-visit this area and remove Java side parameter pulling to avoid confusion, of course, after a good cup of tea with @philburk

some cleanup in the pull:  https://github.com/googlesamples/android-audio-high-performance/pull/43

The native AAudio framesPerBurst is more accurate than the Java AudioManager query because it is device specific. Depending on the device, they may not be the same.

buffer size is cleaned out: no coming from Java side etc


fix(deps): update images to latest

This PR contains the following updates:

Package
Type
Update
Change

icr.io/ibm-iac-charts/sysdig-deploy
helm_release
minor
1.30.0 -> 1.34.4

icr.io/ibm-iac/kspm-analyzer

minor
1.35.0 -> 1.38.0

icr.io/ibm-iac/kspm-collector

minor
1.35.0 -> 1.36.0

icr.io/ibm-iac/vuln-runtime-scanner

patch
1.6.4 -> 1.6.6

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline


[KEYCLOAK-12100] Add ISO8601 Time Encoder for logs timestamps.

Hi
This is a PR for including the formating of the timestamp in logs for human readability and security audits. This is my first PR, with a plausible simple approach. Please guide me further on the approach.

@abstractj  Hi could you please give me some feedback on this pull request?

@Madankapoor thanks for submitting this. Even though I appreciate the change, I think we need to work on a design proposal to provide a proper encoder for logging, if we're going to add more flags to Gatekeeper, I'd rather have something like https://github.com/openshift/ocp-release-operator-sdk/blob/a497e0f5d565dfe8be3f9025c0a85b38dc1085b8/doc/user/logging.md#default-zap-logger.
Let me ask what others think on the dev mailing list and will get back to you this week.

Hi, @abstractj Thanks for the feedback.   It makes sense to have something like https://github.com/openshift/ocp-release-operator-sdk/blob/a497e0f5d565dfe8be3f9025c0a85b38dc1085b8/doc/user/logging.md#default-zap-logger which would give more flexibility and extendability.   Let's discuss a more elaborate approach and I am also willing to volunteer to implement it after discussion.

Closing PR as suggested by @abstractj  and waiting for a better design proposal. With reference to
conversation in

https://issues.redhat.com/browse/KEYCLOAK-12100
https://groups.google.com/d/msg/keycloak-dev/fahLWU5NlEQ/ZbGHJK7vBAAJ


Vendor updates

This add Kontainer engine support for EBS encryption https://github.com/rancher/rancher/issues/21552


Arrow appears behind the target view instead of over it.

I have added tooltips using sequential manager to my root view controller and the arrow of the tool tip actually appears behind the bar button or the target view in question.

You are using navigationContorller. So you have to add tooltip on navigationcontorller's view. Like something;
JDFTooltipView *tooltip = [[JDFTooltipView alloc] initWithTargetView:settingsButton hostView:self.navigationController.view.window tooltipText:@"Yeni bir widiniz var." arrowDirection:JDFTooltipViewArrowDirectionUp width:260.0f];
                [tooltip show];


since last update (0.1.8), BinanceDataDumper might not been properly working

Since last update,
every time I try to import BinanceDataDumper,
from binance_historical_data import BinanceDataDumper
import datetime

data_dumper = BinanceDataDumper(
    path_dir_where_to_dump="./test/",
    data_type="klines",  # aggTrades, klines, trades
    data_frequency="5m",  # argument for data_type="klines"
)

I keep getting the following error message:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-4-124f350d6565> in <module>
----> 1 from binance_historical_data import BinanceDataDumper
      2 import datetime
      3
      4 data_dumper = BinanceDataDumper(
      5     path_dir_where_to_dump="./teste/",

/opt/conda/lib/python3.8/site-packages/binance_historical_data/__init__.py in <module>
      6 # Local imports
      7 from . import logger
----> 8 from .data_dumper import BinanceDataDumper
      9
     10 # Global constants

/opt/conda/lib/python3.8/site-packages/binance_historical_data/data_dumper.py in <module>
     23
     24
---> 25 class BinanceDataDumper():
     26
     27     _ASSET_CLASSES = ("spot")  # , "futures"

/opt/conda/lib/python3.8/site-packages/binance_historical_data/data_dumper.py in BinanceDataDumper()
    229             is_to_update_existing=False,
    230             int_max_tickers_to_get=None,
--> 231             tickers_to_exclude : Optional[list[str]] = None,
    232     ):
    233         """Main method to dump new of update existing historical data

TypeError: 'type' object is not subscriptable

Hi,
I'm sorry for your bad experience with my python package.
I will try to fix this error today.
Until then you can try to use the previous versions of the package: pip install binance_historical_data==0.1.7
I'll write here once the problem is identified and fixed.
Best regards,
Stas.

Hi,
I released a fix.
Seems that the problem was with type hints which change a lot with python versions.
Also, I added the simplest tox tests to prevent such problems in the future.
To install the latest version please use: pip install binance_historical_data==0.1.9
Could you please confirm that the issue was tackled?


Incorporate repetition-step ABNF

I noticed the repetition-step ABNF wasn't quite right when checking the ABNF for group priority

had to do a manual merge

Argh, yuk. Thought they'd be sufficiently far apart that there wouldn't be a problem. It all looks good to me and my C++ code seems a bit happier with the reordering.


[WIP] Integrate Liger CPO & SimPO

What does this PR do?
Integrating Liger-kernel's CPO and SimPO losses into cpo_trainer.

Related to https://github.com/huggingface/trl/issues/2495
TODO:

[ ] Update Liger-kernel's aux-output to include chosen_rewards andrejected_rewards

Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a GitHub issue? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

Wait for https://github.com/linkedin/Liger-Kernel/pull/492


More on File uploads => Multipart

Am in a situation where i'd like all files uploaded to be sent as multi-part, there are forms where i have many file inputs but i can't figure out a way to loop through all the file fields without repeating my code for each and every file input field.
To my observation, admin-on-rest is ideal for text-content only. I mean managing content that doesn't need file uploads e.t.c
Due to the fact that your library lacks in-depth documentation on files handling, for example i only found ImageInput for handling image files, what about other types of files?  these are critical aspects of a modern admin-dashboard.
Regards i do appreciate this lib, Awesome lib man!

Admin-on-rest lacks documentation on submitting multipart data with AJAX because it's not in its scope. Admin-on-rest provides a resource created or edited via a web interface as à JSON object, it's your job to pass it to your backend. The reason is that since REST isn't standardized, there is no way we can adapt to your own API with a library.
Google for "Multipart AJAX" to find answers to your question.


feat(ui): code block rendering

User Story
As a developer using LeapfrogAI's chat UI for code generation and programming questions
I want the chat UI responses with code in a particular language to be rendered as a code block with the correct syntax highlighting
So that I can easily comprehend, critique, and copy the generated code
Acceptance Criteria
Given a coding-related prompt leads to code generation by the AI backend
When this code block is generated using markdown syntax
Then a code block with proper syntax highlighting, and a copy button, are rendered in-line on the chat UI

[ ] Code blocks for all general programming languages, with correct syntax highlighting
[ ] Code blocks with a copy button that preserves all code properties (tabbing/spacing, special characters, etc.)
[ ] Follow ChatGPTs format with displaying program language at the top of the block as well as a copy icon action (See screenshot below)

Describe alternatives you've considered
N/A
Additional context
Example of current, undesired behavior:
Screenshot from 2024-05-23 10-34-50
ChatGPT Screenshot:

@andrewrisse Since @justinthelaw already wrote this issue up it will replace the placeholder issue I made