engagement create template not rendering properly in production server

The engagement template is quite lengthy and has lots of multiple choice (manytomany) fields to complete. I had mocked up a working template using django-multiselectfield and django-easy-select2 in development, but this is not working as intended when deployed.

This could be because I didn't upload static files in production. The third party package I'm using is easy_select2.

It was because I hadn't uploaded static files to production.

Re-opening this issue as static files are no longer loading properly.
It would appear this has been a re-issue since I push up the .github/workflows directory and files, which then triggers the CI/CD Django, Postgres, DigitalOcean workflow. This workflow starts a new deployment via .do/.app.yaml. This workflow is working and the deployment is successful.
However, the apps statics files are no longer loading into production? I'm not sure what's causing this. It could be related to the above changes, but it is not obvious to me if/how the two are related.
I have successfully loaded the static files into the spaces section of my DO account. When I run `python manage.py collectstatic' the apps static files are uploaded successfully.
I have also tried deploying the app directly from the DO. I used this route the first time I put static files into production. However, this no longer works.
@yulqen any suggestions and advice on the above would be gratefully received. Maybe something to discuss on Friday?

I've not heard of the CI service you're using but will dig in on Friday. 👍🏻

@yulqen sorted. I had to update the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY values in the env variables in the do console. Not sure how they ended up being different! The css are now render again :balloon:
From what I can see the values for these keys are encrypted in the .do app.yaml file.
Thank you for helping me :+1:


Improve the error handling in the implementation of the storage_read callback of the NativeSyscallHandler

The storage_read callback works but it's error handling has an unhandled case and includes dbg! macros which should at most log the error.
https://github.com/lambdaclass/starknet_in_rust/pull/943/files#diff-050b376c364b46aa56077588d77a5939973603c9caf47e452bc0895b5b6cd161R155

Hello man, Sorry if i see This Issue now but I'm texting you a possible solution. For the error handling of the storage_read callback within NativeSyscallHandler, it is crucial to address specific error types, such as FileNotFoundError, return distinct error codes for identification, log detailed information for debugging, handle permission issues, implement fallback mechanisms for critical operations, and document the error-handling strategy for clarity and understanding.
Here I'm writing for you an example  and you should adapt it based on the specifics of your implementation and the requirements of Starknet Application
python
Copy code
def storage_read(file_path):
try:
with open(file_path, 'r') as file:
data = file.read()
# Process the data
return data
except FileNotFoundError:
# Handle file not found error
log_error(f"File not found: {file_path}")
return None
except PermissionError:
# Handle permission error
log_error(f"Permission error for file: {file_path}")
return None
except Exception as e:
# Handle other exceptions
log_error(f"An error occurred while reading {file_path}: {str(e)}")
return None
def log_error(message):
# Log the error with relevant details
print(f"ERROR: {message}")
# You can also log to a file or external logging service
Hope this will be helpful For Everyone, have a nice day :)

The unhandled case represents the case in which a storage read fails because of an external reason (such as failure to read from a database).
In this case returning an error is not the correct behaviour, as this will only propagate the error to the cairo program, making it seem like the error was due to the contract's logic rather than an external failure. As we are adding sandboxing for cairo-native execution.
Would it make sense to let it panick in this case? And let the sandbox handle it/fallback to cairo-vm. Otherwise this would require refactoring the trait itself to be able to "tell" the native context that the execution has failed due to an external failure.
What do you think about this @juanbono?

I'm more in favour of returning a rust Error that can be handled as usual. Because panicking kinds of leak the information that Cairo Native can be run in a sandbox process.


Regex target matching

Shortcodes seems to be 11 or 39 chars, and hashtags probably has some length restrictions. But without definitive specifications I'd err on the side of being permissive.
Related to #571

Thanks! We rebased it to v4.4-dev and merged your changes.


How can i use all_or_nothing option when doing bulk insertion

Is there any way to add the all_or_nothing options when using db.save([docs], callback)?
In the example blow is the POST -d {all_or_nothing:true, docs:[]}
Example :http://wiki.apache.org/couchdb/Replication_and_conflicts

You can activate this feature when instantiating the Connection object:
const c = new cradle.Connection({
  host: this._host,
  port: this._port,
  allOrNothing: true,
  cache: false
});

The documentation is missing this point but it's working. (However it won't work with CouchDB 2 atm)

@FWoelffel i am currently having issues with CouchDB 2.0, please do you why all_or_nothing won't work on CouchDB 2.0 and any alternative or work around to achieve ACID for bulk update?? Thanks for your anticipated help.

Last time I checked the source code it was simply not implemented yet. I can't say if it is now (it appears not) and I can't remember where I saw that.
If anyone could provide some complementary information that would be greatly appreciated.


read jackson area react js role job description

ReactJS / UI Focused Full Stack Developer
Perficient Company Jackson, MS, US

done


when specific data will be available to view.

Sorry if I am wasting your time, I just don't know who exactly to ask this question.
This doesn't really seem like a maputnik issue, but when I use mapbox studio styler, I can get national parks to show up at view 5, however with openmaptiles and maputnik, it won't show up till 6. These little nuances matter to me. And I don't know how to change it. I feel like it is a construct made when designing the map data itself?
I noticed when using tippecanoe, you can specify when data is viewable as well, so I guess I need to make edits at the database level?

Hey @CraigglesO this looks correct to me. OpenMapTiles supports park polygons for zoom level 6+ you can see this in the docs here https://openmaptiles.org/schema/#park (click "Show Diagrams")

Ah! I understand a little better now. Thank you for pointing this out, One more question, is it possible for me to edit parks to show up on z5?
Are there any tutorials. I realize this is not your problem, so feel free to close this if you don't have an easy answer.
Thanks for the help so far.
Craig.

No problem, glad to help. The SQL question is probably one for the https://github.com/openmaptiles/openmaptiles issue tracker (I also don't really have many skills in that area)


simple landing page

cleanup some things, and made a simple landing page with the ideas that we proposed and discussed

note that some of the css might not be perfect across all devices, but we can probably fix that later

please let me know if something doesnt look right :)

how it looks for me currently - will add color palette soon (hopefully)


EntityExtendBundle: add ORM reflection method

Added a way to get the column name from the class name and field name. When using enums and loads of EntityExtend migrations, it is not easy to find out the column name

Hi @gplanchat ,
Thank you for your PR! We greatly appreciate all contributions to Oro projects.
Internal task id #BAP-17148


Feature/client app to deployment

pod - > deployment with replicas set from config file
added service and servicemonitor

LGTM 👍🏻


TinaAdmin: View/Edit buttons are hidden when filename is too long

Description
If the filename's in the TinaAdmin are too long, the View / Edit Button from the RouteMappingPlugin are getting hidden, because of overflow-hidden in https://github.com/tinacms/tinacms/blob/e0ec70f5a40a9ac4155b68cc5affa29849902ef2/packages/tinacms/src/admin/pages/CollectionListPage.tsx#L138 or the max-w-screen-md in https://github.com/tinacms/tinacms/blob/e0ec70f5a40a9ac4155b68cc5affa29849902ef2/packages/tinacms/src/admin/pages/CollectionListPage.tsx#L120

Steps to reproduce

Activate TinaAdmin with a RouteMappingPlugin
Add a new document with a "long" filename

Expected result
View / Edit buttons should still be visible
Actual result
View / Edit buttons are hidden
Environment
Tinacms Package Versions

├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>

Tools

Tool
Version

browser

os

node

npm

This is a great find!  Thanks so much 👍
Should have a fix for it soon.


Add CI stages to Jenkins source

Allow querying for the CI stages of a jenkins build. This incorporates
a new Stage model, querying jenkins for them and printing the Stage
model along with unit tests.

Does this apply only to builds? because this is what I see:
cibyl --stages --jobs DFG-pidone-sanity-17.0_director-rhel-virthost-3cont_2comp-ipv4-geneve-ansible-sts-sanity
Environment: osp_downstream_jenkins
INFO     cibyl.orchestrator   Performing query on system osp_jenkins
INFO     cibyl.orchestrator   Took 1.74s to query system osp_jenkins using source: 'jenkins' of type: 'jenkins'
  System: osp_jenkins
    Job: DFG-pidone-sanity-17.0_director-rhel-virthost-3cont_2comp-ipv4-geneve-ansible-sts-sanity
    Total jobs found in query: 1

Yes, I planned to add them to the spec in a later change. This PR only includes the stages for the core CI jenkins source


Missing tags from repositories with many tags

I have a test that uses the ubi8/ubi image. I've tried with both latest and 8.5, but in both cases I get the result:
Image is not Red Hat certified : registry.access.redhat.com/ubi8/ubi:8.5 : Tag 8.5 not found. Found : 8.0-122, 8.0-122, 8.0-122, 8.0-122, 8.0-126, 8.0-126, 8.0-126, 8.0-126, 8.0-129, 8.0-129, 8.0-129, 8.0-129, 8.0-154, 8.0-154, 8.0-154, 8.0-154, 8.0-199, 8.0-199, 8.0-199, 8.0-199, 8.0, 8.0-208, 8.0, 8.0-208, 8.0, 8.0-208, 8.0, 8.0-208, 8.1-277, 8.1-277, 8.1-277, 8.1-277, 8.1-328, 8.1-328, 8.1-328, 8.1-328, 8.1-397, 8.1-397, 8.1-397, 8.1-397, 8.1-406, 8.1-406, 8.1-406, 8.1-406, 8.1, 8.1-408, 8.1, 8.1-408, 8.1, 8.1-408, 8.1, 8.1-408, 8.2-265, 8.2-265, 8.2-265, 8.2-265, 8.2-299, 8.2-299, 8.2-299, 8.2-299, 8.2-299.1592810498, 8.2-299.1592810498, 8.2-299.1592810498, 8.2-299.1592810498, 8.2-299.1594117625, 8.2-299.1594117625, 8.2-299.1594117625, 8.2-299.1594117625, 8.2, 8.2-347, 8.2, 8.2-347, 8.2, 8.2-347, 8.2, 8.2-347, 8.3-199, 8.3-199, 8.3-199, 8.3-199, 8.3-227, 8.3-227, 8.3-227, 8.3-227, 8.3-289, 8.3-289, 8.3-289, 8.3-289, 8.3-297, 8.3-297, 8.3-297, 8.3-297, 8.3, 8.3-297.1618432833, 8.3, 8.3-297.1618432833, 8.3, 8.3-297.1618432833, 8.3, 8.3-297.1618432833, 8.4-199, 8.4-199, 8.4-199, 8.4-199, 8.4-203, 8.4-203, 8.4-203, 8.4-203, 8.4-203.1622660121, 8.4-203.1622660121, 8.4-203.1622660121, 8.4-203.1622660121, 8.4-206, 8.4-206, 8.4-206, 8.4-206
Looking at the Pyxis endpoint, I see that there are 148 images, but only the first 100 are returned by default:
https://catalog.redhat.com/api/containers/v1/repositories/registry/registry.access.redhat.com/repository/ubi8/ubi/images
Passing the page=1 argument, I see the remaining 48 images, including those with the 8.5 and latest tags:
https://catalog.redhat.com/api/containers/v1/repositories/registry/registry.access.redhat.com/repository/ubi8/ubi/images?page=1

Closing this issue as it seems this is resolved, along with additional issues as noted in the PR.


Marble diagrams for display in inline JsDocs are missing from npm package

Bug Report
Current Behavior
The inline JsDoc/TypeDoc often make reference to images using relative paths, but those images aren't part of the npm bundle (for as far as I can tell), and thus the Inline docs, when rendered in my IDE, are missing those images.
For example, see the docs for combineLatest:
/**
 * Combines multiple Observables to create an Observable whose values are
 * calculated from the latest values of each of its input Observables.
 *
 * Whenever any input Observable emits a value, it
 * computes a formula using the latest values from all the inputs, then emits
 * the output of that formula.
 *
 * ![](combineLatest.png)

Expected behavior
I'd expect the images to be displayed.
Reproduction
For example, in IntelliJ, open a rxjs ts file (e.g. node_modules/rxjs/src/internal/observable/combineLatest.ts), click into a method definition (with extensive comment that makes use of an image, e.g. around line 226 there), and choose View > Quick Documentation.
Please provide repro code does not involves framework, or other setups to address this bug is specific to rxjs core
n/a
Environment
n/a
Possible Solution

Not sure how this can be achieved with npm, but the images could potentially be shipped in a way that they don't get redistributed to end users and are available in IDEs only. Alternatively, URLs to the rxjs webserver could potentially be used (instead of relative paths).
Additional context/Screenshots

Hmm... These should probably link to web urls. Because our npm package is already enormous.

Hmm... These should probably link to web urls. Because our npm package is already enormous.

I don't think we can easily achieve this with our current docs generation setup. Basically, what we do right now is that we extract JSDoc comments from exported items, parse it and in case of images, we replace such lines with the real images.
So, in our code, if we'd replace e.g.
![](combineLatest.png)

with
![](https://rxjs.dev/assets/images/marble-diagrams/combineLatest.png)

we'd have to update our embedMarbleDiagrams.js processor.
But, we'd have to let everybody know how to embed new or replace existing images in potential new PRs because having absolute URLs would have to be stripped in the embedMarbleDiagrams.js and then only the last URL path (in this case: combineLatest.png) would have to be used so we can embed the image properly. It's not impossible, but given the time we have on this project, I don't think we could achieve it in a timely manner.
Also, our marble diagrams need to go through massive face-lifting (we also have a new way of writing marble diagrams by using SVG images instead of PNG images that we used before).
@niklas-wortmann, what do you think about this? Would using absolute paths (like this one: ![](https://rxjs.dev/assets/images/marble-diagrams/combineLatest.png)) create issues to maintainers that would like to update/create new images for existing operators - they'd have to know that they'd have to use absolute URL, but only the file name would be used to inject the image properly.
@anno1985, I'm open for suggestions or possibly a PR that would address this issue properly (with both embedMarbleDiagrams.js fix and a guide how to include existing images to the docs with the absolute URL).

Yes, I found this issue as well:

It could've been solved with migrating to SVG images which are usually much smaller:

(IDE that I use has a bug and it only displays black images, but this is how it would look like ☝).
But that's a lot of work that we need to invest. And everyone would have to know how to write a proper syntax. Also, we'd have to keep all old images in our repository for anyone with the old versions of the library to be able to access those images from our site.

It's black because the IDE doesn't support all sorts of colors as rgba and hsl. If replaced with HEX (like #00aaff) it should work.

Here I have developments with diagrams that:

[x] Drawing text with <path />. No need to worry about the presence of the font.
[x] Dynamic calculation of stream title width.
[x] Dynamic calculation of operator width. <foreignObject /> is not used.
[x] Lack of sub pixel coordinates. Clearer display.
[x] Rendering without browser APIs. Can be easily run in Node.js.
[x] complete & error now have the same radius as next. But complete & error become larger if next overlaps them. Just like here.
[x] Built-in dark theme!

Is this topic interesting?


Investigate why cUSD faucet transfers stopped

From @ericnakagawa on Slack:

Hi Arthur and team, we’re investigating some issues reported at the ETH Global Hackathon. The cUSD wallet distributions stopped 20 days back. CELO token was being distributed, but no mento Stables.

These two issues could benefit from being done in the same effort (to avoid future context switching):

#90
https://github.com/celo-org/devrel-x-product-clabs/issues/2

(of course pending prioritisation, just linking here to not forget)


Excuse me, why can't several plugins be found in the mvn library when starting the UI according to the readme file in openmetadata-ui? There is an error when running mvn clean install. The tagert folder in openmetadata-dist and the generated in openmetadata-ui fail to be generated.

Affected module
Does it impact the UI, backend or Ingestion Framework?
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Screenshots or steps to reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8]
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Add any other context about the problem here.

@Jack-Cai-1998, please use the slack channel to ask questions and not create issues for that. Also when creating an issue, add a brief summary and the rest of the details in the description.


Relax condition on reboot and a cleanup

The cooldown is performed at the end of the test and its main goal is to validate that the NRT is reset to the initial value.
On reboot scenarios, this check always fails because it turns out that the memory distribution across the same numa zones of the same node is not similar after the reboot, but is always found the same on the node level.After investigation, it turns out that new capacities after reboot are reported as so by the kernel. Since this is a behavior we cannot control, we need to adapt it, and thus here we suggest relaxing the equality check of memory resources. We allow a deviation of 52Mi which should cover these differences.

/lgtm /approve

/lgtm /approve

The bot didn't seem to recognize the lgtm label for some unclear reason, but only the approval

(I closed the PR by mistake so I reopened it and that triggered the tests again, although all tests were passing before the close)

/retest

/cherry-pick release-4.14
backporting e2e test improvements is generally fine


how to you get the text to wrap on print label?

You may need to split the lines and calculate the position in your program.
发自我的 iPhone

在 2019年9月9日，上午5:23，afrakhan123<EMAIL_ADDRESS>写道：
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Dashboard/Assets Export not exporting Roles

Superset is configured to use FEATURE_FLAG: DASHBOARD_RBAC to control which roles have access to specific dashboards.
When assets or dashboard is exported, the roles that have access to the dashboards are NOT exported.
How to reproduce the bug

Enable feature flag DASHBOARD_RBAC and configure a dashboard for a specific role
Use the REST API export/dashboard or assets/dashboard and download the zip file
Check the exported dashboard-name.yaml file.  The role is not exported

Expected results
Roles are also exported as part of dashboard
Actual results
Roles are not exported
Environment
(please complete the following information):

browser type and version: Chrome/Mac OS
superset version: 2.0.0
python version: 3.8.12
any feature flags active: DASHBOARD_RBAC

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

Facing the same issue

Is this still an issue in 3.x? I think so, but this needs validation.

I think @yousoph and @eschutho were taking stock of what is/isn't part of the import/export workflow, so I'll ping them on this. Barring validation and use case, this issue might be closed as stale before too long.


Remove passing resp http.ResponseWriter, req *http.Request objects

Please comment if you want to work on this issue

The file snapshot_endpoint_v1alpha1.go uses func (s *HTTPServer) snapshotRequest(resp http.ResponseWriter, req *http.Request) (interface{}, error) as an http handler.
This method creates an object of snapshotAPIOps
snapOp := &snapshotAPIOps{
		req:  req,
		resp: resp,
	}

It then invokes other methods create,list,get,delete for appropriate calls.
Since  snapOp already has req,resp objects we do not need to pass them explicitly to method.
It can be reused. Therefore, change the methods to use the req,resp property of snapOps.
func (sOps *snapshotAPIOps) list(volName, namespace, casType string) (interface{}, error)
func (sOps *snapshotAPIOps) create() (interface{}, error)
func (sOps *snapshotAPIOps) get(snapName, volName, namespace, casType string) (interface{}, error)
func (sOps *snapshotAPIOps) delete(snapName, volName, namespace, casType string) (interface{}, error)

Links to important resources

Contributors guide
hacktoberfest2018 channel on slack. Ping us here if you want to discuss anything around hacktoberfest

Hey, I'm potentially interested in resolving this issue and wanted to make sure I understood it.
It sounds like a PR to resolve this issue would:

Remove use of req/resp from the list, create, get and delete methods.
Update invocations of those functions to remove the req/resp responses.

Is that correct? Thanks!

I would like to work on this.


More convenient TestTransport

This changes TestTransport to have one add_request_response method instead of separate assert_request and add_response.
In my opinion this is nicer because you have the request and response right next to each other in tests and not first all responses and then all requests.
I only changed TestTransport and one test as an example so it doesn't compile yet. If you @nlordell  think its a good change I can apply it to all tests.
Other minor changes:

created structs instead of the tuples
turned the future error in send into a panic because I wasn't sure why it wasn't a panic in the first place

Would it make sense to use the https://github.com/asomers/mockall library here as well? This might allow us to do a convenient test transport for free.

Thats an awesome idea! Then we don't have to implement a TestTransport at all.

Closing this. Will reopen later when I have more to not spam you with notifications.


Consider adding a parameterless DataProtectionProvider.Create overload

Currently, DataProtectionProvider.Create always overrides the default key repository by a file system repository pointing to the keyDirectory parameter.
That would be great if we had a parameterless overload that let the data protection block decide itself what's the most appropriate place to store the crypto keys (file system, registry, in-memory) instead of overriding it.
https://github.com/aspnet/DataProtection/blob/dev/src/Microsoft.AspNetCore.DataProtection.Extensions/DataProtectionProvider.cs
Having such an overload would make the authentication ticket serializer compat' package much easier to use in non-vNext apps.
@Eilon any chance we could have that for RC2? I'd really like to use that in the OWIN/Katana version of ASOS (see https://github.com/aspnet-contrib/AspNet.Security.OpenIdConnect.Server/issues/188).
/cc @blowdart @javiercn

FYI, the reason this overload didn't exist in the first place is because part of the security of the system hinges on the ability to isolate applications from one another, and outside the context of the ASP.NET hosting environment there's no good way to get this information automatically from the ambient environment. Forcing the directory to be specified manually provides this isolation. If you want an overload that doesn't require specifying a directory, then you really should at least force the developer to provide an application name or similar to regain the isolation that was lost. In the source code this is referred to as the "discriminator".
The "using DataProtection in ASP.NET 4.x applications" sample works around this by using the IIS metabase path as a unique identifier so that the developer doesn't need to worry about specifying an isolation identifier. Unfortunately this trick doesn't work for self-hosted ASP.NET 4.x apps.
/cc @blowdart

Oh dear. I did not realise this.
@ajaybhargavb time to change your work I'm afraid.
@PinpointTownes you're not going to get what you want. Is it worth doing this at all?

@PinpointTownes you're not going to get what you want. Is it worth doing this at all?

I've been asked to provide interoperability between ASOS vNext and the OWIN/Katana version. For  that, I need to use the same ticket format and the same data protection stack.
Why not adding a discriminator parameter, as suggested by @GrabYourPitchforks?
TBH, if Microsoft.AspNetCore.DataProtection.SystemWeb offered a way to retrieve an IDataProtectionProvider, I'd happily use it. Sadly, pretty much everything in this package is internal, and AFAICT, there's no easy way to achieve what I want.
Would you prefer if Microsoft.AspNetCore.DataProtection.SystemWeb exposed a public (static) Create method, instead of having such an extension on DataProtectionProvider?

BTW, it's not a demand specific to ASOS. People who'll want to share vNext's authentication cookies with a Katana app will be facing the same situation.

OK, if the discriminator works for you - @ajaybhargavb can you make it so?

As for sharing cookies, we have a package for that anyway.

Already updated :smile:

As for sharing cookies, we have a package for that anyway.

But the whole problem is that this package doesn't handle the data protector instantiation. It's still up to the developer to create it. And with the existing stuff, it's too painful.

@ajaybhargavb Dear lord. You young people with your eagerness.

Ideally, we'd need a SystemWebDataProtectionProvider.Create() method that would do the same thing as DataProtectionProvider.Create but would internally use SystemWebApplicationDiscriminator to provide isolation.

I've said it before to you @PinpointTownes that the more options we add the more we move away from the "Fire and forget" nature of the data protector shrug

On the other hand, the less options you provide, the more people will have to roll their own thing to achieve what their want, which seems far more risky than providing a built-in method.

Personally, I'm fine with just DataProtectionProvider.Create as it should cover most "use DP vNext in Katana apps" scenarios. Requiring an explicit application name to provide isolation shouldn't be too painful.


Silent refresh is not calling

I have different lifetime of acces_token and id_token (id<access). And I'm using silent refresh.
In situation if id_token is expired but access_token not, the user is considered authorized but silent refresh is not called.
This occur because in function setupExpirationTimers none of the conditions is satisfied
( useAccessTokenExp == false and hasValidIdToken() == false).

Thanks for this. Do I see it right that this issue arises when the application is closed meanwhile when the id_token expires?

Yes. I close application, after some time id_token expires, but access_token not.
I open application. User is considered authorized. But silent refresh is not called.

Ok, I see. So in this case, it works as indented. When the application is (re)started and there is no valid tokens the user has to login again. Silent Refresh is primarily indented to be used within one user session and in addition to this the lib restarts the timer when after a restart valid tokens are available.
Can you live with that?

Thanks.
Most likely its my mistake that I analyze only access_token expiration on login.


Is there any plungin to save network image to local gallery?

Currently, I'm using image_gallery_saver, but it doesn't on Android 10 or above devices.  Is there any solutions ?

Hi @Sandwich2080
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter,
if you disagree please write in the comments and I will reopen it
Thank you

Hi @Sandwich2080
Issue already opened Plugin not saving images on Android 10
For issue related to the 3rd party plugin image_gallery_saver you may want to open an issue in the dedicated github.
if you disagree please write in the comments and I will reopen it
Thank you


Handle DotNetCliToolReference

I think this should be closed now that the tool targets dotnet core 3.1.   See this announcement.

:+1:


Filter GitHub issues by label

Hey, I just made a Pull Request!
Following on from the discussion in #13593 I have added optional filterBy and orderBy props to the components in the github-issues plugin.
The filterBy prop has the same optional fields as IssueFilters object, which is defined in the GitHub graphql schema.
The orderBy prop similarly has the same fields as the IssueOrder object defined in the Graphql schema.
The props can be assigned like this:
<GitHubIssuesCard
  filterBy={{
    labels: ['bug', 'enhancement'],
    states: ['OPEN']
  }}
  orderBy={{
    field: 'COMMENTS',
    direction: 'ASC',
  }}
/>

The props are optional, and the component can still be used as before:
<GitHubIssuesCard />

:heavy_check_mark: Checklist

[X] A changeset describing the change and affected packages. (more info)
[X] Added or updated documentation
[X] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[X] All your commits have a Signed-off-by line in the message. (more info)

Thank you for contributing during Hacktoberfest 🍂! You can claim the Backstage Hacktoberfest Holopin at https://bck.st/hacktoberfest-holopin 🙌🏻


fix(frontend): unable to scroll the sidebar of overview tab

Summary
Previously the sidebar could not be scrolled independently. The sidebar could only be scrolled if the entire page was scrolled to the bottom
And even then there were trim issues like the ones reported at https://github.com/jsr-io/jsr/pull/260.

Before
After

Test link: https://jsr.io/@oak/oak
Solution
Add flex, flex-column class to sidebar so it doesn't overflow.

By the way, it makes the invalid flex-none class of the search box work.

close https://github.com/jsr-io/jsr/issues/41, close https://github.com/jsr-io/jsr/pull/258, close https://github.com/jsr-io/jsr/pull/260

Hey, you mentioned my PR here (https://github.com/jsr-io/jsr/pull/260)
But I think that an independent scroll area with permanent scrollbars isn't the right solution and does not look so good, especially when there is also a table of contents like here. There is also the search up there, so it's unnecessary.
https://github.com/jsr-io/jsr/pull/260 is fixing the issues and maintaining the sticky, which I think is the desired behavior,
but maybe @lucacasonato could put more light into that


Merge Sort in JavaScript

🚀 Feature
Adding Merge Sort function in JavaScript sort directory
Have you read the Contributing Guidelines on Pull Requests?
Yes
Motivation
To implement a recursive function to sort a list in JavaScript using Merge sort.
Pitch
Use Divide and Conquer and Recursion to implement merge sort.

I can do this in JavaScript

Hey! kindly assign this to me

I would like to work on the C++ version of this algorithm under DWOC.

I would like to work on the C++ version of this algorithm under DWOC.

@Sameera-Aryasomayajula Merge sort in C++ has already been implemented.

@Sameera-Aryasomayajula Merge sort in C++ has already been implemented.


AWS SDK V2 Upgrade

In the Keda project, we are currently using below AWS Go SDK version.
github.com/aws/aws-sdk-go v1.44.287
But AWS released a V2 version long back which has few advantages over V1.
This PR is to update the code to use AWS SDK V2.
Checklist

[x] When introducing a new scaler, I agree with the scaling governance policy
[x] I have verified that my change is according to the deprecations & breaking changes policy
[x] Tests have been added
[x] Changelog has been updated and is aligned with our changelog requirements
[ ] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
[ ] A PR is opened to update the documentation on (repo) (if applicable)
[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Fixes #4905

Relates to #4905

/run-e2e aws

/run-e2e aws

/run-e2e aws

/run-e2e aws

@JorTurFer I have cancelled it and raised a fresh review.
https://github.com/kedacore/keda/pull/4953


skip-render needs to be supported by Amber worker

We don't currently have a way to support --skip-render with the Amber worker.

https://github.com/google/amber/pull/303 should enable the --skip-render option.

We know have to implement it in runspv


[DPUL/production] Riiif::ConversionError: Unable to execute command "identify -format '%h %w %m %[channels]' /opt/dpul/releases/20220713180040/public/uploads/spotlight/temporary_image/image/1627/Charles-Darwin-Overview-life-focus-evolution-work__2_.jpeg[0]"
identify-im6.q16: delegate failed 'dwebp' -pam '%i' -o '%o'' @ error/delegate.c/InvokeDelegate/1919. identify-im6.q16: unable to open file /tmp/magick-15245OGs1QuWsL7vU': No such file or directory @ error/constitute.c/ReadImage/544.

Backtrace
View full backtrace and more info at honeybadger.io

@kelea99 was someone trying to upload a Charles Darwin image? Does this need attention or everything is okay?

Someone uploaded a bad file we think.

Wrote to/heard back from stakeholders. It has been erroring continuously for those two images. Im meeting with them next week to see what's up.


Status Code 406

Status Code 406 on POST /signercertificate
When I upload a DSC certificate in the wrong format I should get the error code 406.
A detailed description is in the API Test
The Error Code was 400
Expected behaviour
The Error Code in the specification of the EU is that the error Code is 406.

As of the specification was not conform to HTTP RFC the status codes were changed in final implementation.
Please find the actual implementation attached to our latest release.


[CELEBORN-1272] Do not increment epoch when retry commit

What changes were proposed in this pull request?
https://github.com/apache/incubator-celeborn/pull/2145 https://github.com/apache/incubator-celeborn/pull/2162 changes the behavior that retry commit files should use the same epoch. This PR revert the behavior back.
Why are the changes needed?
ditto
Does this PR introduce any user-facing change?
No
How was this patch tested?
Passes UTs.

cc @cfmcgrady @RexXiong

I think the behavior was changed by https://github.com/apache/incubator-celeborn/pull/2162?

#2145 changes the behavior that retry commit files should use the same epoch. This PR revert the behavior back.

I think the behavior was changed by #2162?

updated, thanks

Thanks, merging to main(v0.5.0)/branch-0.4(v0.4.1)/branch-0.3(v0.3.3)


Sortable list does not accept dropping second item using ng-sortable

Hi All
First: great project, throws jqueryUI of the table!!
Context:
I need 2 lists of wich you can clone items from 1 list to the other. I made this in AngularJS using ng-sortable on both lists.
Both lists are horizontal lists, using display:inline
Steps to reproduce:

dragging first item from list 1  to empty list 2: works ok, item is cloned, list 2 now has 1 item
dragging a second item from list 1 to list 2: list 2 does not accept the item from the moment the mouse enters the UL area, but only from the moment it enters the LI area

http://jsbin.com/yunifehafo/3/edit?html,js,output
Extra:

I tested this both with the master branch as with the ng-sortable branch
dropping the item in list 2, does trigger the onEnd event, but not the onAdd event

Thanks in advance
Wim

You incorrectly used ng-repeat.
You need to add track by $index: http://jsbin.com/xisimi/1/edit

Thanks For your quick reply, but that does not fix the issue.
When you drag a second item to the "toolbox", it is not cloned when the mouse enters the box (the UL) you have to drag it above an LI or wiggle it around in the UL, untill it is cloned.
When this is not clear, I can make a screen capture.

Use http://recordit.co/

Thanks for the recordit hint!
Here is my screencapture: http://recordit.co/dDpfIvM23e
It is based on your latest jsbin http://jsbin.com/xisimi/1/edit
This is what I show on the video:

I drag knife into the toolbox: workst as expected
I try to drag hammer into the toolbox: id does not work, even if the icon next to the mouse changes. I it is not sufficient to enter the UL area with the mouse, However it worked in (1)
I drag hammer onto knife, this time hammer gets added
I drag drill onto the toolbox, same problem.
I darg drill onto the toolbox from the bottom, this works as expected, as from the moment the UL area is entered, the item is added.

Thanks for your time!

Alas, I have no solution to this problem.

I was able to fix it!
I changed
if ((el.children.length === 0) || (el.children[0] === ghostEl) ||
					(el === evt.target) && (target = _ghostInBottom(el, evt))
				) {

to
if ((el.children.length === 0) || (el.children[0] === ghostEl) ||
					(el === evt.target)
				) {

I don't know what the && (target = _ghostInBottom(el, evt)) is doing, as removing it solved my problem and did not really break something. Any hints?
thanks

Dear all! ng-sortable.js is moved to the separate repository. If this issue is still actual, please create it there once again and this rojects needs a maintainer:

2+: https://github.com/SortableJS/angular-sortablejs 🆘
1.*: https://github.com/SortableJS/angular-legacy-sortablejs


Long texts in dropdown inside sidenav overflowing into next button

As you can see in the picture, text Structures shouldn't be overlapping Computer Architecture and also Object Oriented Programming shouldn't be broken into two lines.

3. semestar

Engineering Math

Algorithms and Data Structures

Computer Architecture

Signals

Introduction to Object Oriented Programming

Thanks for the help and have a nice day!

I have the same problem!
quick fix (but not solution): add overflow:hidden to links inside sidenav, e.g. #dropdown a

Bump.
I'm seeing the same issue -- it seems that links inside the dropdown cannot be very long at all without causing this overlap.  Any solution yet?

This issue is not happening anymore, but the nav is having weird behaviors when you use long text,
a suitable solution:
.side-nav li>a {
    ...
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

Closed due inactivity. Feel free to reopen it, if it's still necessary.


Getting the skeleton with composer giver an error

Hello,
When I try to get the Silex-Skeleton with composer as instructed in the description:
./composer.phar create-project Silex-Skeleton-1.1/ myapplication/
The following error message is given:
[InvalidArgumentException]
Could not find package silex-skeleton-1.1/ with stability stable.
Moreover the the file composer.json does not seem to date
Can you help me please ?

Hi ,
the current version is 1.1.1 by default and you can copy/paste the correct commande from the read me :
https://github.com/silexphp/Silex-Skeleton/blob/1.1/README.rst

Hello,
Thank you for the answer. It works correctly.
Sorry,

if so you can marked as closed :)


Fixed map grouping by, was generating an invalid jpql query

Query dsl was generating a query like this:
select show_acts_0
from Show show
  left join show.acts as show_acts_0 with key(show_acts_0) = ?1

So I included convert to groupBy as well, same as setProjection()

Looks good
Thanks for the contribution @velo!


Installation error

Hi, it looks like the artefact names have changed:
asdf install helm-diff latest
Downloading helm-diff from https://github.com/databus23/helm-diff/releases/download/v3.3.2/helm-diff-macos.tgz
gzip: unknown compression format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

yes, since v3.3.0 the url has changed from
https://github.com/databus23/helm-diff/releases/download/v3.3.2/helm-diff-linux.tgz
to
https://github.com/databus23/helm-diff/releases/download/v3.3.2/helm-diff-linux-amd64.tgz


feat: Create the sms module

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#131  👈
#127 : 1 other dependent PR (#125 )
#121 : 2 other dependent PRs (#86 , #122 )
#117 : 1 other dependent PR (#118 )
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Blckbrry-Pi and the rest of your teammates on  Graphite


Inconsistent Handling of na_values and converters in read_csv

On master (commit 40b4bb4):
>>> data = """A
1
CAT
3"""
>>> f = lambda x: x
>>> read_csv(StringIO(data), na_values='CAT', converters={'A': f}, engine='c')
     A
0    1
1  CAT
2    3
>>> read_csv(StringIO(data), na_values='CAT', converters={'A': f}, engine='python')
     A
0    1
1  NaN
2    3

I expect both to give the same output, though I believe the Python output is more correct because it respects na_values unlike the C engine.   I thought the simple fix would be to remove the continue statement here, but that causes test failures, so probably a more involved refactoring might be needed to align the order of converter application, NaN value conversion, and dtype conversion.
IMO this should be added to #12686, as this is a difference in behaviour between the two engines.
xref #5232

I have to say that decision to continue after applying a converter in the C-engine is really bugged.  It causes a lot of other post-processing to be skipped.  Another example (adapted from the parser tests):
>>> """A B
-999 1.200
2 -999.000
3 4.500"""
>>> f = lambda x: x
>>> read_csv(StringIO(data), sep=' ', header=0, na_values=[-999.0, -999], converters={'B':f})
     A         B
0  NaN     1.200
1  2.0  -999.000
2  3.0     4.500

The Python engine fails for a different reason, which is why I don't show any example for it.

xref #15144 (closed):
>>> data = 'A,B,C\n10,-1,10\n10,10,10'
>>> read_fwf(StringIO(data), converters={'B': lambda x: x / 10.}, na_values={'B': [-1]})
 A    B  C
10 -0.1 10
10    1 10

Expected:
 A    B  C
10  NaN 10
10    1 10

The current behavior is due to the fact that converters are applied BEFORE na_values are, but consensus appears to be that we should apply na_values first.

This is an insidious problem with the C engine! In 0.24.2, I observe implicit conversions also cause the parser to ignore the na_values parameter:
import io, pandas as pd
data = """\
Time,ConcRT(ug/m3),ConcHR(ug/m3),Flow(lpm),WS(m/s),WD(Deg),AT(C),RH(%),BP(mmHg),FT(C),FRH(%),BV(V),PM,Status
2018-06-27 21:00:00,+000012,+000007,+16.7,00.0,000,+022.6,025,704,+030.1,012,12.5,0,00000
2018-06-27 22:00:00,+000003,+000009,+16.7,00.0,000,+021.2,033,705,+028.6,015,12.5,0,00000
2018-06-27 23:00:00,+099999,+099999,+00.0,00.0,000,+019.6,038,705,+024.0,015,12.5,0,00001

"""

Note these are numeric values, but their representation probably requires an implicit converter be called.
The C engine will not locate NaNs unless the verbatim per-character value is presented to na_values:
pd.read_csv(io.StringIO(data), na_values=['99999'])

| Time | ConcRT(ug/m3) | ConcHR(ug/m3) | Flow(lpm) | WS(m/s) | WD(Deg) | AT(C) | RH(%) | BP(mmHg) | FT(C) | FRH(%) | BV(V) | PM | Status
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
2018-06-27 21:00:00 | 12 | 7 | 16.7 | 0.0 | 0 | 22.6 | 25 | 704 | 30.1 | 12 | 12.5 | 0 | 0
2018-06-27 22:00:00 | 3 | 9 | 16.7 | 0.0 | 0 | 21.2 | 33 | 705 | 28.6 | 15 | 12.5 | 0 | 0
2018-06-27 23:00:00 | 99999 | 99999 | 0.0 | 0.0 | 0 | 19.6 | 38 | 705 | 24.0 | 15 | 12.5 | 0 | 1
pd.read_csv(io.StringIO(data), na_values=[99999])

Time
ConcRT(ug/m3)
ConcHR(ug/m3)
Flow(lpm)
WS(m/s)
WD(Deg)
AT(C)
RH(%)
BP(mmHg)
FT(C)
FRH(%)
BV(V)
PM
Status

2018-06-27 21:00:00
12
7
16.7
0.0
0
22.6
25
704
30.1
12
12.5
0
0

2018-06-27 22:00:00
3
9
16.7
0.0
0
21.2
33
705
28.6
15
12.5
0
0

2018-06-27 23:00:00
99999
99999
0.0
0.0
0
19.6
38
705
24.0
15
12.5
0
1

pd.read_csv(io.StringIO(data), na_values=['+099999'])

Time
ConcRT(ug/m3)
ConcHR(ug/m3)
Flow(lpm)
WS(m/s)
WD(Deg)
AT(C)
RH(%)
BP(mmHg)
FT(C)
FRH(%)
BV(V)
PM
Status

2018-06-27 21:00:00
12.0
7.0
16.7
0.0
0
22.6
25
704
30.1
12
12.5
0
0

2018-06-27 22:00:00
3.0
9.0
16.7
0.0
0
21.2
33
705
28.6
15
12.5
0
0

2018-06-27 23:00:00
NaN
NaN
0.0
0.0
0
19.6
38
705
24.0
15
12.5
0
1

This situation highlights the shortcomings of picking a simple 'before' or 'after' for converters to be applied. Consensus so far is to apply na_values before converters but I suspect certain converters should always be applied first.

Note the Python engine handles the situation identically (and "correctly") in all scenarios:
pd.read_csv(io.StringIO(data), na_values=['99999'], engine='python')

Time
ConcRT(ug/m3)
ConcHR(ug/m3)
Flow(lpm)
WS(m/s)
WD(Deg)
AT(C)
RH(%)
BP(mmHg)
FT(C)
FRH(%)
BV(V)
PM
Status

2018-06-27 21:00:00
12.0
7.0
16.7
0.0
0
22.6
25
704
30.1
12
12.5
0
0

2018-06-27 22:00:00
3.0
9.0
16.7
0.0
0
21.2
33
705
28.6
15
12.5
0
0

2018-06-27 23:00:00
NaN
NaN
0.0
0.0
0
19.6
38
705
24.0
15
12.5
0
1

pd.read_csv(io.StringIO(data), na_values=[99999], engine='python')

Time
ConcRT(ug/m3)
ConcHR(ug/m3)
Flow(lpm)
WS(m/s)
WD(Deg)
AT(C)
RH(%)
BP(mmHg)
FT(C)
FRH(%)
BV(V)
PM
Status

2018-06-27 21:00:00
12.0
7.0
16.7
0.0
0
22.6
25
704
30.1
12
12.5
0
0

2018-06-27 22:00:00
3.0
9.0
16.7
0.0
0
21.2
33
705
28.6
15
12.5
0
0

2018-06-27 23:00:00
NaN
NaN
0.0
0.0
0
19.6
38
705
24.0
15
12.5
0
1

pd.read_csv(io.StringIO(data), na_values=['+099999'], engine='python')

Time
ConcRT(ug/m3)
ConcHR(ug/m3)
Flow(lpm)
WS(m/s)
WD(Deg)
AT(C)
RH(%)
BP(mmHg)
FT(C)
FRH(%)
BV(V)
PM
Status

2018-06-27 21:00:00
12.0
7.0
16.7
0.0
0
22.6
25
704
30.1
12
12.5
0
0

2018-06-27 22:00:00
3.0
9.0
16.7
0.0
0
21.2
33
705
28.6
15
12.5
0
0

2018-06-27 23:00:00
NaN
NaN
0.0
0.0
0
19.6
38
705
24.0
15
12.5
0
1

@patricktokeeffe I agree, this bug is insidious, very difficult to find and highly confusing. Here is a snippet to trace it down. It took me a couple of hours.
`import requests
import zipfile
from io import BytesIO
import pandas as pd
from datetime import datetime
zip_url = "https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/10_minutes/solar/historical/10minutenwerte_SOLAR_00704_20020801_20091231_hist.zip"
response = requests.get(zip_url)
response.raise_for_status()
Open the .zip file in memory
with zipfile.ZipFile(BytesIO(response.content)) as z:
# Extract the .txt file containing the data
txt_file_name = z.namelist()[0]
with z.open(txt_file_name) as file:
df = pd.read_csv(file, sep=";", na_values="-999", engine="c")
print(df.loc[df['MESS_DATUM'] ==<PHONE_NUMBER>00]['GS_10'])
print(df.loc[df['MESS_DATUM'] ==<PHONE_NUMBER>10]['GS_10'])`
This is my output:
262143   -999.0 Name: GS_10, dtype: float64 262144   NaN Name: GS_10, dtype: float64
Some values of my data are correctly interpreted as NAN and some are not. Apperently at the two dates I selected above, is where the switch actually happens. Before "200709010900" every value of -999 is not interpreted as NAN. After "200709010910" all -999 values are correctly interpreted as NAN. I checked the csv-file manually and couldn't find any inconsistencies. However, once I change engine="python", it all works as expected. Am I missing something or is this indeed a weird bug?


TODO: Compress/decompress every elysiajs beet_api endpoint

Only the cache endpoints are currently compressed, we could likely speed up page loads by compressing every endpoint result.

completed


Default or enforced values for MJD min and max

Small niggle - the request throws an error if I don't add min/max MJD values.

Solutions could be to either enforce the input in the HTML form or pre-populate with a default ~1 month window (min = 1 month ago, max = today)

This is now implemented. The two values on a line will need to be separated by a comma if spaces are required for the RA column. I'm still working on improving the help messsages and form validation handling.


ValueError: Shape must be rank 0 but is rank 1 for '{{node ReadFile}} = ReadFile[](args_0)' with input shapes: [?].

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version (use command below): 2.2.0
Python version: 3.7.3
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
Describe the expected behavior
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
Getting the following error
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-159-9b4a28882f72> in <module>
      1 dataset = tf.data.Dataset.from_tensor_slices((images))
----> 2 train(dataset.batch(2).map(preprocessing))

~/venv/lib/python3.7/site-packages/tensorflow/python/data/ops/dataset_ops.py in map(self, map_func, num_parallel_calls, deterministic)
   1619     """
   1620     if num_parallel_calls is None:
-> 1621       return MapDataset(self, map_func, preserve_cardinality=True)
   1622     else:
   1623       return ParallelMapDataset(

~/venv/lib/python3.7/site-packages/tensorflow/python/data/ops/dataset_ops.py in __init__(self, input_dataset, map_func, use_inter_op_parallelism, preserve_cardinality, use_legacy_function)
   3979         self._transformation_name(),
   3980         dataset=input_dataset,
-> 3981         use_legacy_function=use_legacy_function)
   3982     variant_tensor = gen_dataset_ops.map_dataset(
   3983         input_dataset._variant_tensor,  # pylint: disable=protected-access

~/venv/lib/python3.7/site-packages/tensorflow/python/data/ops/dataset_ops.py in __init__(self, func, transformation_name, dataset, input_classes, input_shapes, input_types, input_structure, add_to_graph, use_legacy_function, defun_kwargs)
   3219       with tracking.resource_tracker_scope(resource_tracker):
   3220         # TODO(b/141462134): Switch to using garbage collection.
-> 3221         self._function = wrapper_fn.get_concrete_function()
   3222
   3223         if add_to_graph:

~/venv/lib/python3.7/site-packages/tensorflow/python/eager/function.py in get_concrete_function(self, *args, **kwargs)
   2530     """
   2531     graph_function = self._get_concrete_function_garbage_collected(
-> 2532         *args, **kwargs)
   2533     graph_function._garbage_collector.release()  # pylint: disable=protected-access
   2534     return graph_function

~/venv/lib/python3.7/site-packages/tensorflow/python/eager/function.py in _get_concrete_function_garbage_collected(self, *args, **kwargs)
   2494       args, kwargs = None, None
   2495     with self._lock:
-> 2496       graph_function, args, kwargs = self._maybe_define_function(args, kwargs)
   2497       if self.input_signature:
   2498         args = self.input_signature

~/venv/lib/python3.7/site-packages/tensorflow/python/eager/function.py in _maybe_define_function(self, args, kwargs)
   2775
   2776       self._function_cache.missed.add(call_context_key)
-> 2777       graph_function = self._create_graph_function(args, kwargs)
   2778       self._function_cache.primary[cache_key] = graph_function
   2779       return graph_function, args, kwargs

~/venv/lib/python3.7/site-packages/tensorflow/python/eager/function.py in _create_graph_function(self, args, kwargs, override_flat_arg_shapes)
   2665             arg_names=arg_names,
   2666             override_flat_arg_shapes=override_flat_arg_shapes,
-> 2667             capture_by_value=self._capture_by_value),
   2668         self._function_attributes,
   2669         # Tell the ConcreteFunction to clean up its graph once it goes out of

~/venv/lib/python3.7/site-packages/tensorflow/python/framework/func_graph.py in func_graph_from_py_func(name, python_func, args, kwargs, signature, func_graph, autograph, autograph_options, add_control_dependencies, arg_names, op_return_value, collections, capture_by_value, override_flat_arg_shapes)
    979         _, original_func = tf_decorator.unwrap(python_func)
    980
--> 981       func_outputs = python_func(*func_args, **func_kwargs)
    982
    983       # invariant: `func_outputs` contains only Tensors, CompositeTensors,

~/venv/lib/python3.7/site-packages/tensorflow/python/data/ops/dataset_ops.py in wrapper_fn(*args)
   3212           attributes=defun_kwargs)
   3213       def wrapper_fn(*args):  # pylint: disable=missing-docstring
-> 3214         ret = _wrapper_helper(*args)
   3215         ret = structure.to_tensor_list(self._output_structure, ret)
   3216         return [ops.convert_to_tensor(t) for t in ret]

~/venv/lib/python3.7/site-packages/tensorflow/python/data/ops/dataset_ops.py in _wrapper_helper(*args)
   3154         nested_args = (nested_args,)
   3155
-> 3156       ret = autograph.tf_convert(func, ag_ctx)(*nested_args)
   3157       # If `func` returns a list of tensors, `nest.flatten()` and
   3158       # `ops.convert_to_tensor()` would conspire to attempt to stack

~/venv/lib/python3.7/site-packages/tensorflow/python/autograph/impl/api.py in wrapper(*args, **kwargs)
    263       except Exception as e:  # pylint:disable=broad-except
    264         if hasattr(e, 'ag_error_metadata'):
--> 265           raise e.ag_error_metadata.to_exception(e)
    266         else:
    267           raise

ValueError: in user code:

    <ipython-input-156-6db31559ad89>:5 preprocessing  *
        image = tf.io.read_file(image)
    /home/jake/venv/lib/python3.7/site-packages/tensorflow/python/ops/gen_io_ops.py:568 read_file  **
        "ReadFile", filename=filename, name=name)
    /home/jake/venv/lib/python3.7/site-packages/tensorflow/python/framework/op_def_library.py:744 _apply_op_helper
        attrs=attr_protos, op_def=op_def)
    /home/jake/venv/lib/python3.7/site-packages/tensorflow/python/framework/func_graph.py:595 _create_op_internal
        compute_device)
    /home/jake/venv/lib/python3.7/site-packages/tensorflow/python/framework/ops.py:3327 _create_op_internal
        op_def=op_def)
    /home/jake/venv/lib/python3.7/site-packages/tensorflow/python/framework/ops.py:1817 __init__
        control_input_ops, op_def)
    /home/jake/venv/lib/python3.7/site-packages/tensorflow/python/framework/ops.py:1657 _create_c_op
        raise ValueError(str(e))

    ValueError: Shape must be rank 0 but is rank 1 for '{{node ReadFile}} = ReadFile[](args_0)' with input shapes: [?].

the code is
import tensorflow as tf

def preprocessing(image):
    print('preprocessing->',image)
    image = tf.io.read_file(image)
    #image = tf.image.decode_jpeg(img, channels=3)
    #image = tf.cast(img, tf.float32)
    return image

def train(ds):
    for i, batch in enumerate(ds):
        print("=====================batch{}====================={}".format(i,batch))
        for x in batch:
            print(x)
            #print(x.numpy())
            #print(x[1].numpy())
images = ['/media/jake/mark-4tb3/Screenshot_from_2020-02-19_23-05-22.png','/media/jake/mark-4tb3/Screenshot_from_2020-02-19_23-05-22.png','/media/jake/mark-4tb3/Screenshot_from_2020-02-19_23-05-22.png','/media/jake/mark-4tb3/Screenshot_from_2020-02-19_23-05-22.png']

images = tf.ragged.constant(images)

dataset = tf.data.Dataset.from_tensor_slices((images))
train(dataset.batch(2).map(preprocessing))

I have tried in colab with TF versions 2.2, 2.3-rc1,nightly versions and was able to reproduce the issue.Please, find the gist here.Thanks!

The error is raised due tf.io.read_file in .map() method.
You may try preprocessing before creating batches and changing last line to,
train(dataset.batch(2))#.map(preprocessing))

The error is raised due tf.io.read_file in .map() method.
You may try preprocessing before creating batches and changing last line to,
train(dataset.batch(2))#.map(preprocessing))

so is there no way use .map() duing batch?
right now my image file is the directory path.
each batch I have to read the actual image file with map function

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
Thanks!

We should be able to vectorize the map function by creating a batch first
dataset.batch(batch_size).map(some_tf.py_function) should have worked as mentioned in the official tensorflow guide for Optimize pipeline performance. I am facing the same issue and the issue is caused by the tf.io.read_file function, it is unable to read files in parallel

Solved this problem using tf.py_function
# create a python function that takes a Tensor batch of string paths
# and loads images from these paths in a loop
def load_images(batch):
    images = [
        tf.io.decode_jpeg(
            tf.io.read_file(
                e.decode("utf-8")
            )
        )
        for e in batch.numpy()
    ]
    return images

# Wrap our function using tf.py_function
@tf.function
def load_images_tf(batch):
  batch = tf.py_function(load_images, [batch], [tf.uint8])
  return batch

Unfortunately, you can't vectorise this kind of mapping, but this way you still can load your data in batches if all the data doesn't fit in memory
tf_dataset.batch(5).map(load_images_tf)


BoxView: Make the Text for the Most Recent History Smaller

In this PR, history records are made smaller, dates are compacted, and the icon and text are aligned.
Note: Merge this PR first, then this one

 2.0 BoxView make the text for the most recent history smaller (and/or standardize text size) and restrict the maximum string length #tiny

@vahidbazzaz if you don't mind I'd rebase this on master because I squash-merged the PR that this PR was based on.


Finder favorite position and fixes

Fix for Finder favorite not always getting removed (if keybase directory didn't exist). Saves Finder favorite position (instead of always adding first). Also some go code removal.
Installer changes:

Saves position of Finder favorite and restores
Doesn't add Finder favorite if finder_disabled.config file present
Finder favorite removed even if directory not present (fix)
Don't add Finder favorite on 10.10 because there are Finder favorite bugs causing duplicate entries and other weirdness

Go changes:

UninstallKBFSOnStop calls uninstallMountDir separately (fixes Finder favorite not getting removed if directory didn't exist)
Add --debug to native installer calls for more logging
Remove unused go code AfterUpdateApply and checkFuseUpgrade, from an older time

@keybase/react-hackers

@maxtaco  can someone from core look at the go code


zetacore : Remove redundant CoinType in Inbound and Outbound params

Cointype is duplicated in the Inbound and Outbound params. The value for both of these is always the same
https://github.com/zeta-chain/zeta-node/blob/develop/proto/crosschain/cross_chain_tx.proto#L25-L40
https://github.com/zeta-chain/zeta-node/blob/develop/proto/crosschain/cross_chain_tx.proto#L50-L74
This can be removed and the CoinType field can be moved directly under the CCTX struct
message CrossChainTx {
  string creator = 1;
  string index = 2;
  string zeta_fees = 5 [
    (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Uint",
    (gogoproto.nullable) = false,
    (gogoproto.moretags) = "yaml:\"zeta_fees\""
  ];
  string relayed_message = 6; // Not used by protocol , just relayed across
  Status cctx_status = 8;
  InboundTxParams inbound_tx_params = 9;
  repeated OutboundTxParams outbound_tx_params = 10;
  common.CoinType coin_type = 11;
}

The cointype is not correctly added for revert outbounds
https://github.com/zeta-chain/zeta-node/blob/aa81140f78031087d89e0344896d00034fa13dbf/x/crosschain/types/cctx.go#L119-L128
implementing the mentioned changes should also fix this problem


[Proposal]: Use deploy preview of Netlify

Proposal
Use deploy preview of Netlify

https://www.netlify.com/blog/2016/07/20/introducing-deploy-previews-in-netlify/

Reason
Now, I'm facing a strange phenomenon (#911, #915)
It's better if preview can show before deploy to Netlify. How do you think @hexojs/core ?
Who can change Netlify settings?

Oops... So, sorry. It is already enabled.


Added web demo

Display many but not all variants of the GLSL noise shader library
functions, including export to a shadertoy-compatible format for
further experimentation.

Github Pages can display this html from the repository without needing a separate site for hosting the pages. I enabled that and tested the pages here: https://redblobgames.github.io/webgl-noise/webdemo/

Github Pages can display this html from the repository without needing a
separate site for hosting the pages.

Could you please tell me how to do that, or point me to the instructions? I
can't find that option. I granted your pull request. Thank you very much!
/Stefan G

Nevermind, there was a slight delay before Github actually published the pages after I changed the settings. It works like intended now.

Great! Suggestion: in the About section of https://github.com/stegu/webgl-noise if you click the "gear" icon there's an entry for the project URL. That'd be another possible place to link to http://stegu.github.io/webgl-noise/webdemo/

I'm not seeing that URL option, sorry. I did make the demo link much more
prominent in the single wiki page, though.
On Wed, Mar 3, 2021 at 9:13 PM Amit Patel<EMAIL_ADDRESS>wrote:

Great! Suggestion: in the About section of
https://github.com/stegu/webgl-noise if you click the "gear" icon there's
an entry for the project URL. That'd be another possible place to link to
http://stegu.github.io/webgl-noise/webdemo/
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/stegu/webgl-noise/pull/7#issuecomment-790024306, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFGK2RAQUMDY4XA6BCOFL3TB2J65ANCNFSM4YJJY4VQ
.


Update to Fabric/NeoForge/Forge 1.21.4

Can you update the mod to support Minecraft 1.21.4 update? Thanks

Minecraft 1.21.4 is out, you don't have to support 1.21.3 anymore as new update already dropped this December 3th


Output filename when template parsing fails.

ran into a situation where a template failed to parse in a project with many templates. Error gave line and col number, but not filename, leaving us with a needle in a haystack.
This pr traps yaml parsing errors and outputs a helpful error message before raising the original exception.

/do-e2e-tests

/do-e2e-tests


"My Story" is not updated

pls update, it's a riveting tale

@jonathantsang

@bxji I'll move it into this sprint

@bxji http://jonathantsang.github.io/my-story
done

thanks, major GCN fixed 👍


Handle Result Collections + Rename Gem

Handle collections within the response
Rename gem to fix convention for loading within a gemfile

Closed until tested in Production


add customContext to AddParticipant in ACS CallAutomation

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Communication.CallAutomation


Unit tests the conversion

Fixes #393
Adds unit tests of the conversion process using AVA. It actually runs ffmpeg with different options and checks the meta data of the resulting files to ensure our methods have the desired results.
It already helped me find two bugs, one with the experimental vorbis audio encoder we use for webm which would break if the audio wasn't dual channel, and one with a case where the speed is slow enough to be parsed to 0.
I'll soon add some tests (probably separate PR) for the editing plugins which take effect in the same file, and then the rest of the plugins, even though I'm not sure how we can test recording and export plugins other than making sure the methods are being called in the right order.
This will run on CircleCI automatically, but we think it's heavy (ffmpeg) we could run these in GH actions if we have free minutes. When we add more tests, we can also split them in non-ffmpeg unit tests, ffmpeg unit tests and integration tests that we can have running in separate commands.
~/workspace/kap tests*
❯ time ava

  ✔ mp4: retina with sound (10.9s)
  ✔ mp4: retina without sound (2s)
  ✔ mp4: non-retina (2.8s)
  ✔ webm: retina with sound (14.2s)
  ✔ webm: retina without sound (4.1s)
  ✔ webm: non-retina (7.7s)
  ✔ apng: retina (21.3s)
  ✔ apng: non-retina (3.4s)
  ✔ gif: retina (4s)
  ✔ gif: non-retina (4.3s)
  ─

  10 tests passed
ava  161.83s user 5.54s system 220% cpu 1:15.97 total

Didn't set up coverage, but I did run it with nyc and the file is pretty covered other than the cases where the processes crash or are cancelled, which we can cover later if needed
------------|---------|----------|---------|---------|---------------------------------------------
File        | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
------------|---------|----------|---------|---------|---------------------------------------------
All files   |   70.49 |    45.45 |   54.55 |      70 |
 convert.js |   70.49 |    45.45 |   54.55 |      70 | 35-39,81-85,103,118,143,206,238,245,254-320
------------|---------|----------|---------|---------|---------------------------------------------

This is great!
Maybe we should mention in the contribution guidelines that new features should come with tests whenever possible?

Maybe we should mention in the contribution guidelines that new features should come with tests whenever possible?

I would say let's wait for the next PR. Right now the only tests you can really run are for the conversion system. I plan on trying to add some frontend pure react tests, and maybe some integration ones. I think once we have the setup and a few tests for each, it'll be easier for people to add more


Add FAQ page with info on line endings

I really hate reStructured Text. 😑

I couldn't think of a better title for the entry, but I'm not particularly happy with this one. If you have a better idea I'd happily change it.

My script works when launched as python3 script.py but exits immediately when launched from brickman or as ./script.py?

Seems as long as the original though.

I like that; it explains the issue a bit more explicitly. Look good with that swap?

http://ev3dev-lang.readthedocs.io/projects/python-ev3dev/en/latest/faq.html
The page title misses an 'F' for me

Not sure how did I miss it during review :open_mouth:

https://github.com/rhempel/ev3dev-lang-python/commit/251b3a71444517d4af3cc22d5834fe7bb7206fec#commitcomment-19706795 Working on a fix

It might take me a few hours though 😆

Take your time, we want it perfect this time

I'm trying to link to the FAQ page from the README. How should I do that? Link to the (currently nonexistent) page on stable, or link to latest? Or maybe to the RST file on GitHub?

I am starting to think we should point the README docs badge to the latest branch, or maybe provide two badges.
The README ends up as a frontpage for readthedocs, so I don't think we should link to the latest docs from the stable README. On the other hand, the README that is shown on github is the latest one (develop). Linking to the RST file github does not seem right as well. May be link to the latest version for now, and switch it to the stable when we are ready to tag 0.8.1? We could add an issue for this and link it to 0.8.1 milestone so that we don't forget.

I am starting to think we should point the README docs badge to the latest branch, or maybe provide two badges.

Honestly, the idea set-up in my eyes would be to have GitHub show the master branch by default and everything would be fine, in the sense that having links to stable from the development branch is much less of an issue than the inverse because it doesn't affect the average user. However, the argument I've heard against this (which I believe is a good one) is that we want people who contribute code to do it for the develop branch. It's a difficult thing to manage over all.

May be link to the latest version for now, and switch it to the stable when we are ready to tag 0.8.1? We could add an issue for this and link it to 0.8.1 milestone so that we don't forget.

I'm thinking that that is the best option for now. I'll do it.

However, the argument I've heard against this (which I believe is a good one) is that we want people who contribute code to do it for the develop branch.

Now that github allows to switch target branches without reopening the PR, this should be less of an issue.


Add Windows SDL2 build support

Demo now supports sdl2 in Linux & Macos. Windows user can build bare metal env, but can't built emulator env. Unfortunately, i don't use Windows and have no time to add this feature. But i can help with PIO scripting and CI tests if anyone wish to care about Win.
Suggested plan is:

Clone this repo for standalone experiments, to not care about other OS-es support.
Create repo with SDL2 dlls & headers, to be used as dependency lib.
Add created repo as library to platform.ini (don't worry about other OS-es at this step)
Try to build & add search paths to build options if needed
If works - kick me, to help with PR prepare.

I also prepared template for CI testing.

Hi @puzrin
I would like to help with this.
I am using:
Windows 10
VS Code
PIO
I cloned the git
$ git clone https://github.com/littlevgl/lv_platformio.git
Cloning into 'lv_platformio'...
remote: Enumerating objects: 70, done.
remote: Counting objects: 100% (70/70), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 233 (delta 26), reused 58 (delta 17), pack-reused 163
Receiving objects: 100% (233/233), 659.40 KiB | 2.38 MiB/s, done.
Resolving deltas: 100% (102/102), done.
Compile Error attached
error.log

You can just comment appropriate string in config.

Sorry, I don't know how to comment the appropriate string

Then i think it's better to wait until someone suggests working soluion. As i said in first post, i have no windows and no plans to spend time about it.

@timmcarson Adding a semicolon before !python should be enough.

@embeddedt Thanks,
I tried that and then I got a gcc error
error2.log

It seems that you don't have a compiler installed, or the wrong one is being chosen.

That was my understanding.   am I right in thinking that the example should install everything needed or do I need to manually install?
These are the extensions that I have installed currently

I'm not sure how PlatformIO works, but with other IDEs on Windows, you're typically given an option to download the IDE+compiler or download the compiler separately. Because PlatformIO is an addon to Visual Studio Code, I'm not sure that the same options are available. @puzrin probably knows more about this than I do.

Thanks everyone for the help.
I changed gears and tried for a simple example.  I have been able to successfully run the ESP32_TFT_eSPI.ino Arduino example on an ESP32 using platformIO on a windows machine.
This is good enough for me.
thanks again.

@embeddedt https://travis-ci.org/github/littlevgl/lv_platformio/builds/672323062 bare metal builds work on all OS-es. Questions about sdl2 win builds are not expected IMO.

To build emulator in Windows:
install MSYS2 : https://www.msys2.org/
install gcc : pacman -S mingw-w64-x86_64-gcc
install SDL2 : pacman -S mingw-w64-i686-SDL2
install VS Code : https://code.visualstudio.com/
install platformio : Extensions > search platformio
open lv_platformio folder
comment out the !python -c 'import platform; print("-m32" if platform.system() in [ "Linux" ] else "")' line in platformio.ini
build :)

@nickrodie That's great!
Can wee add this description to the README?

Sure.

@kisvegabor Should probably point out that those versions are quite specific. Namely minggw for 64bit Windows and SDL2. You might want to add that you can search for different vesrions in MSYS2 eg pacman -Ss SDL

I think having at least a working version for Windows is already great.
@puzrin ?

@kisvegabor
IMO this can be done more convenient:

Publish win sdl2 binaries in separate package
Add search path via -L flag.

In this case it will "just work". If anyone provides this kind of working example, i will help to do this compatible with anoter OS-es.

@nickrodie

comment out the !python -c 'import platform; print("-m32" if platform.system() in [ "Linux" ] else "")' line in platformio.ini

Why comment out needed? This line should add -m32 only for linux, and nothing for win.

@nickrodie

comment out the !python -c 'import platform; print("-m32" if platform.system() in [ "Linux" ] else "")' line in platformio.ini

Why comment out needed? This line should add -m32 only for linux, and nothing for win.

It fails for me. File "<string>", line 1     'import           ^ SyntaxError: EOL while scanning string literal OSError: 'python -c 'import platform; print("-m32" if platform.system() in [ "Linux" ] else "")'' exited 1:     File "C:\Users\Nick\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 168:     env.SConscript("$BUILD_SCRIPT")
I can't give you much more information about it because I don't understand the whole build system well enough. Python is installed.

Thanks for info. Try to swap " and '. Like here: https://github.com/speedcontrols/ac_sc_grinder/blob/master/platformio.ini#L83. That code works on all OS-es.

IIRC I did actually manage to build SDL2 from https://www.libsdl.org/release/SDL2-devel-2.0.12-mingw.tar.gz but no matter what I tried I couldn't get lvgl to find all the files. I was following these instructions https://w3.cs.jmu.edu/bernstdh/Web/common/help/cpp_mingw-sdl-setup.php

Thanks for info. Try to swap " and '. Like here: https://github.com/speedcontrols/ac_sc_grinder/blob/master/platformio.ini#L83. That code works on all OS-es.

Yep that fixed it !python -c "import platform; print('-m32' if platform.system() in [ 'Linux' ] else '')"
`Environment      Status    Duration

native           SUCCESS   00:00:04.455
stm32f429_disco  IGNORED`

Great! Let's fight with SDL2 to make it work in 1 click :).
Try this in your fork:

Create folder /lib/lv_sdl2_win_bin, and put there binaries. This will emulate extern package.
Try to make it work, with -Llib/lv_sdl2_win_bin. If needed - change name in -lSDL2.

Tips:

Use verbose build, to check real generated options
If lib name is non conventional - read this and below https://community.platformio.org/t/failing-to-link-external-library/14544/2, about -l: alternative

I'm not familiar with win toolchains. Could you explain why you install mingw version of gcc? AFAIK pio should provide something built-in for native platform. No?

I don't think it will be as simple as 1 click for most.
gcc need to be installed for a start.
Here is output from a fresh clone into VS Code which already had platformio extension installed.
`> Executing task: C:\Users\Nick.platformio\penv\Scripts\platformio.exe run <
Processing native (platform: native)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 2 compatible libraries
Scanning dependencies...
Dependency Graph
|--  6.1.1
|-- <lv_drivers> 6.1.1
|   |--  6.1.1
Building in release mode
Compiling .pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_debug.o
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Compiling .pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_disp.o
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Compiling .pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_group.o
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Compiling .pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_indev.o
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Compiling .pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_obj.o
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Compiling .pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_refr.o
Compiling .pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_style.o
'gcc' is not recognized as an internal or external command,
operable program or batch file.
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Compiling .pio\build\native\lib7e6\lvgl_ID6598\lv_draw\lv_draw.o
Compiling .pio\build\native\lib7e6\lvgl_ID6598\lv_draw\lv_draw_arc.o
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Compiling .pio\build\native\lib7e6\lvgl_ID6598\lv_draw\lv_draw_basic.o
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Compiling .pio\build\native\lib7e6\lvgl_ID6598\lv_draw\lv_draw_img.o
'gcc' is not recognized as an internal or external command,
operable program or batch file.
'gcc' is not recognized as an internal or external command,
Compiling .pio\build\native\lib7e6\lvgl_ID6598\lv_draw\lv_draw_label.o
operable program or batch file.
*** [.pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_debug.o] Error 1
*** [.pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_disp.o] Error 1
*** [.pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_group.o] Error 1
*** [.pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_indev.o] Error 1
*** [.pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_obj.o] Error 1
*** [.pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_refr.o] Error 1
*** [.pio\build\native\lib7e6\lvgl_ID6598\lv_core\lv_style.o] Error 1
*** [.pio\build\native\lib7e6\lvgl_ID6598\lv_draw\lv_draw.o] Error 1
*** [.pio\build\native\lib7e6\lvgl_ID6598\lv_draw\lv_draw_arc.o] Error 1
*** [.pio\build\native\lib7e6\lvgl_ID6598\lv_draw\lv_draw_basic.o] Error 1
*** [.pio\build\native\lib7e6\lvgl_ID6598\lv_draw\lv_draw_img.o] Error 1
'gcc' is not recognized as an internal or external command,
operable program or batch file.
*** [.pio\build\native\lib7e6\lvgl_ID6598\lv_draw\lv_draw_label.o] Error 1`
I will update as I get to SDL

...

I'm not familiar with win toolchains. Could you explain why you install mingw version of gcc? AFAIK pio should provide something built-in for native platform. No?
I don't know enough to answer that.

Also forgot to add in my original instructions that I had to add the msys64\mingw64\bin dir to path in windows.
What I can tell you is that as far as a Windows user experience goes the MSYS2 method is very simple. Just a few simple clicks and it's all done for you.

Hm... if user has to install gcc, then your choice of MSYS2 is reasonable, and it's not a problem to install stl2 from the same source. Then we can use your recipe as is. Not 1-click, but useable and simple enouth.

I don't know why but Travis docs suggest choco to install python https://github.com/puzrin/reflow_micro/blob/master/.travis.yml#L52. Is it built-in of Windows? Can it be used to simplify install of MSYS2 https://chocolatey.org/search?q=gcc?
PS. I don't understand anything in this for win, only copy-pasted recipe.

I think python is autpmatically installed as part of the platformio extension in vs code

Also as far as installing gcc goes the msys method is also the easiest I tried. I did originally use mingw from http://www.mingw.org/wiki/Getting_Started but it took me a couple of goes to get all the right packages so that i could build SDL

@kisvegabor @puzrin FYI I had a typo in original post and wrong SDL2 installation. I have amended the instructions.

add path to mingw64\bin dir. typically C:\msys64\mingw64\bin

This is not convenient (need to think instead of copy-paste commands). Is there any way to autodetect location or add it to path automatically?
Did you tried -LC:\msys64\mingw64\bin instead?

I don't think you'll have any luck making it any easier than what I've already indicated. Even MS talk about manually editing the path https://code.visualstudio.com/docs/cpp/config-mingw

To make it easier I think you'd have to find an installer that has an "Add to PATH" option built in.

However the path can be taken from the install if you use msys2 install dir + /mingw64/bin

don't think you'll have any luck making it any easier than what I've already indicated. Even MS talk about manually editing the path code.visualstudio.com/docs/cpp/config-mingw

Sorry, i misread your post. I thought it's about path to sdl2. Then link to https://code.visualstudio.com/docs/cpp/config-mingw#_prerequisites should be ok.
PS. Last time i used windows, when path was added via editing autorun.bat file :)

I mean you can add it with setx /M PATH %PATH%;[install_dir]" but this can fail under certain circumstances (like path too long) so it's not reliable.

This will be useful for Travis-CI anyway, i need add build test.

Fixed win compatibility https://github.com/lvgl/lv_platformio/commit/38dd9ce985088338157510c8eb13c8fbe2661497
Added native win build check to CI https://github.com/lvgl/lv_platformio/commit/04a2f24f2def168c03efd4e287a5a915489da68e.

@nickrodie Do you wish make PR to reflect your help in commits history?

No. But thanks for the offer.

https://github.com/lvgl/lv_platformio/commit/39cb13e2da4f5711465efebb318d13fb95737297
Please, check. Any fixes needed?

Close as complete. Big thanks to @nickrodie for help!


Specified key is not a valid size for this algorithm.

I occasionally get the following error "Specified key is not a valid size for this algorithm".
When it happens it occurs on the Transform method the key is getting 7 bytes instead of 8.

In order to support either TripleDES or AES, you can use cipher.BlockSize / 8 instead of the hardcoded 8. This is for Key, IV, and data lines.


Cherry pick LCOW layers integrity checking, skip unpack option, and log containerd's panic content

As part of the work in https://github.com/kevpar/containerd/pull/37, we found that there were three PRs that were made directly to our fork/release/1.4 branch but not additionally added to our fork/main branch. We need to cherry-pick those changes to our fork/main branch so that we don't accidentally lose any code that we depend on once we create more release branches for later releases of containerd.
The PRs that are cherry-picked here are:

https://github.com/kevpar/containerd/pull/28
https://github.com/kevpar/containerd/pull/33
https://github.com/kevpar/containerd/pull/21

@anmaxvl @dcantah @kevpar FYI


Add option to force contact card run in contactless mode

some visa dual interface test card (flashed by app VMCP) have only contactless PSE on contact reader. Could you please add an option to force program run in contactless mode?

Sounds like a good idea! Maybe having a command line option that forces contactless vs. chip functionality to override default way-of-working. If I remember correctly I have in the past seen also test setups where NFC application behaves same as the chip application.

Also thanks for the tip about VMCP! I'll need to try that out as well

Sounds like a good idea! Maybe having a command line option that forces contactless vs. chip functionality to override default way-of-working. If I remember correctly I have in the past seen also test setups where NFC application behaves same as the chip application.

Good idea! It's really useful on some test card.

But in some intensive test scenarios, I need to keep modifying the command line parameters for different cards. Maybe there can be an option to let program try both modes instead of set them manually.

Yes, maybe adding an option to try both "payment application selectors" could be the primary way of working.

Also I found that Visa Mobile CDET has no response to default PSE select command:
2022-01-20 13:39:18.223095 +08:00 DEBUG emvpt - Sending APDU:
00000000  00 A4 04 00 0E 32 50 41 59 2E 53 59 53 2E 44 44  | .ñ♦.♫2PAY.SYS.DD |
00000010  46 30 31                                         | F01              |
2022-01-20 13:39:18.254735 +08:00 DEBUG emvpt - APDU response status: [6A, 82]
2022-01-20 13:39:18.254788 +08:00 DEBUG emvpt - APDU response(0 bytes):
00000000    |  |
2022-01-20 13:39:18.254872 +08:00 WARN emvpt - Could not select "2PAY.SYS.DDF01"

but if append 0x00 as APDU Le, the visa app works fine.
2022-01-20 13:37:20.559691 +08:00 DEBUG emvpt - Sending APDU:
00000000  00 A4 04 00 0E 32 50 41 59 2E 53 59 53 2E 44 44  | .ñ♦.♫2PAY.SYS.DD |
00000010  46 30 31 00                                      | F01.             |
2022-01-20 13:37:20.590982 +08:00 DEBUG emvpt - APDU response(47 bytes):
00000000  6F 2D 84 0E 32 50 41 59 2E 53 59 53 2E 44 44 46  | o-ä♫2PAY.SYS.DDF |
00000010  30 31 A5 1B BF 0C 18 61 16 4F 07 A0 00 00 00 03  | 01Ñ←┐♀↑a▬O•á...♥ |
00000020  10 10 50 0B 56 49 53 41 20 43 52 45 44 49 54     | ►►P♂VISA CREDIT  |

Yes, the missing 0x00 Le is a bug (ref. EMV v4.3 Book 1, chapter 11.3.2)


CBAPI-2360: User Management SDK Code Changes

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Tests have been added that prove the fix is effective or that the feature works.
[x] New and existing tests pass locally with the changes.
[x] Code follows the style guidelines of this project (PEP8, clean code, linter).
[x] A self-review of the code has been done.

What is the ticket or issue number?

https://jira.carbonblack.local/broswe/CBAPI-2360
Pull Request Description

Implement User Managemett: the User model object and associated query class.
Does this introduce a breaking change?

[ ] Yes
[x] No

How Has This Been Tested?

Unit tests have been written with 97% coverage for all new code.  The code has also been run against the dev01 server with a simple script designed to exercise the GET and PUT of a user.  (Script to be included in a separate comment.)

User exercising script:
from cbc_sdk import CBCloudAPI
from cbc_sdk.platform import User
import time
import random
import argparse

parser = argparse.ArgumentParser(description='Rename a random user that has no name.')
parser.add_argument('first_name', help='First name to give the user.')
parser.add_argument('last_name', help='Last name to give the user.')
args = parser.parse_args()
print(f"I want to give the user a name {args.first_name} {args.last_name}")

api = CBCloudAPI(profile='dev01')
query = api.select(User)
start_time = time.time()
list_users = list(query)
print(f"Retrieved {len(list_users)} users from server; total time {time.time() - start_time}")

random.shuffle(list_users)
did_it = False
for user in list_users:
    if user.first_name == '' and user.last_name == '':
        print(f"Changing name of user with login ID {user.login_id} and email {user.email}")
        print(f"User dump: {user._info}")
        user.first_name = args.first_name
        user.last_name = args.last_name
        print(f"Stored user name {user.first_name} {user.last_name}.")
        user.save()
        print(f"That user's name is now {user.first_name} {user.last_name}.")
        did_it = True
        break

if not did_it:
    print("Oops, couldn't find any users without a name.")

Note to future implementors: The _refresh() method of NewBaseModel sets the _full_init flag on the object to True, and there are other parts of that class and MutableBaseModel that rely on this.  So, if you are implementing a subclass and override _refresh(), your implementation must set _full_init to True as well.


Remove ApplicationAddressRelay contract

📚 Context
After the issue "Include the DApp address in the EvmAdvance input", the contract ApplicationAddressRelay would be of no use. So it should be removed. Also need to update documentation and Mermaid graph.

Why is this tagged as "feature"?

Sorry about that. Now removed.

This may affect a lot of DApp developers. Maybe we should wait a version before removing it?

The adaptation should be pretty straightforward, I think.
Any code that expected inputs from the DAppAddressRelay would have access to the sender metadata field in order to validate the origin of the input. Now, they just need to access the app metadata field from any input.

As for HLF developers, they will have to adapt any input processing logic anyway, because of the Input Simplification. The app metadata field will come out from the input blob naturally.


[Question] How can I switch to the new tab in script?

I met a problem, I can not switch to the new tab with switchTo().window(1); method.
I can not print all of the window-handle with code below.
import static com.codeborne.selenide.WebDriverRunner.*;
WebDriver driver = getWebDriver();
System.out.println(driver.getWindowHandles());
for (String win:driver.getWindowHandles()) {
System.out.println(win.toString());
}
1.How can I get the webdriver instance and print all of the window handle?
2.How can I switch to the new tab ?

@yisake
Before answering your questions I want to tell you some thing i.e, this is a repo and here we log only defects and discussions on them. You can use StackOverFlow for asking questions and you can refer this Selenide Cheat Sheet for most of the methods.
Your answers:

import static com.codeborne.selenide.WebDriverRunner.*
// for current window handle
String handle = getWebDriver().getWindowHandle();
// for all window handles
Set<String> handles = getWebDriver().getWindowHandles();

You mean to say browser tab or application tab for switching browser tab you can use
// for browser tabs

Set<String> handles = getWebDriver().getWindowHandles();
List<String> tabs = new ArrayList<String>(handles);
switchTo().window(tabs.get(0));
getWebDriver().close();
switchTo().window(tabs.get(1));

// for application tab you can use xpath, css or any other tag attributes to click and switch.

@anilreddy Thank you for the answer! Good point, stackoverflow is a better place for questions/discussions.
@yisake did it help? Can you switch to tab now?

@yisake Can we close the issue now?

Of couse,thanks a lot.


Consistency between leader and worker run mode (unified or split)

This is a follow up task of https://github.com/0xPolygonZero/zk_evm/issues/507
In this we want to ensure that worker and leader are run in the same mode (unified/split). Currently we dont have a way to determine this and might lead to bad behaviour if workers and leader are started in different mode.
Introduce some kind of handshake mech to know what mode leader is running on etc

might lead to bad behaviour if workers and leader are started in different mode.

Random question: This running mode is specific to AMQP, in which the leader does nothing but carrying out requests and handling the scheduling across workers AFAIK. Hence, why would its own mode have an impact at all? (It's more of a theoretical question, as it doesn't hurt enforcing consistency across all processes, but mostly out of curiosity)

might lead to bad behaviour if workers and leader are started in different mode.

Random question: This running mode is specific to AMQP, in which the leader does nothing but carrying out requests and handling the scheduling across workers AFAIK. Hence, why would its own mode have an impact at all? (It's more of a theoretical question, as it doesn't hurt enforcing consistency across all processes, but mostly out of curiosity)

So what i meant here was let's say we start leader in split mode. it means that leader will assume that we are using different queues for different workers and send txns to respective queues. If we are not setting up the workers correctly in split mode in this case (by passing the correct routing key), then workers will not listen to those queues but will read msg from default queue and the whole setup will be inconsistent. i created this task so atleast we have a way where we are atleast consistent in the way leaders and workers are setup (both in split mode or both in unified mode but should be same).

Oh is it not related to AMQP, as in-memory has the leader run as a single process and simulate all workers? (and as a consequence run on a single instance)

How is it not related to AMQP? as in-memory has the leader run as a single process and simulate all workers (and as a consequence run on a single instance)
But otherwise thanks for the clarification

So i mean the mode which we have introduced (--worker-run-mode) is not related to amqp. in-memory or via some amqp uri is related to related to amqp. we are using amqp uri for our changes.

But why would we want to use --worker-run-mode for in-memory mode? I'm not sure to understand. This is an AMQP specific parameter

We wont use --worker-run-mode with in-memory. --worker-run-mode only works with amqp mode


Xdebug configuration for Linux on PhpStorm

Added images and explanations for setting up remote debugging for PhpStorm on Linux
Also modified slightly Install Xdebug section to keep reading consistent
Thank you for contributing to Laradock.
Make sure you completed the basic 3 steps below:

[] I've read the simple Contribution Guide.
[] I've updated the documentation. (refer to this for how to do so).
[] I enjoyed my time contributing and making developer's life easier :)

Hello, I had issues to configure remote debugging on PhpStorm and, browsing the web for a solution, I noticed it was an issue for many people.  I've found a simple way to configure Xdebug and I felt it would be a nice addition for your documentation.  Thank you for laradock, I like it !


Cluster Management for RKE (Embedded Ember UI)

Provide the cluster management functionality from Ember integrated into Dashboard via the embedding mechanism.

All cluster mgmt pages are now embedded

Tracking testing of different pages here - https://github.com/rancher/dashboard/issues/2951. Closing this epic


Basis_Set_Conversion

I was trying to convert the cc-pVTZ-DK3 basis set from turbomole format to CRYSTAL format. It is giving the basis set in a format that is not read by the CRYSTAL code. I have attached both files for the reference.
Any suggestions is appreciated.
Thank you,
Sibananda
CRYSTAL.txt
Turbomole.txt

You are missing key details in your problem report: what version of CRYSTAL are you trying to use?

You should probably contact CRYSTAL support to see what the issue is

You are missing key details in your problem report: what version of CRYSTAL are you trying to use?

I am using CRYSTAL17.

You should probably contact CRYSTAL support to see what the issue is

I will contact them. Thank you.


Ensure any web API associated with the lambda is also tagged

thanks very much, this is now on NPM as v5.9.0


Not able to close X/Y/Z rotation bubble

When i hit the rotate button on the left a bubble with x/y/z input. But i'm not able to close this.

I am using Chrome Version 53.0.2785.116 m (64-bit)
Octoprint version is 1.2.16 (master branch)

It's on my list and I will get to it at some point.
The top 2 features on my list are:

scale the model
advanced settings such as "enable retraction".

Would you rank closing rotation bubble higher or lower than these 2 features above? If you'd rank it higher I will probably address it first.

Do whatever you like. I think the plugin is fine in regards to its phase of development.
Ideas:

A function to move the object arround would be nice.
Also a visivble mark on the build platform to show where "the front" of the printer is.

@derpicknicker1 now you can toggle the bubble just by clicking the button again. Also I made enhancements that address your other suggestions. Happy slicing. :)