[Bug]: Stax launching itself despite one exiting the app

Description
I have allowed the permissions, now even when I press the back button to leave or even close its background activities. It still finds a way to open itself up. I will be on another app say slack and then it's like it tries to overthrow the other app to become active and I still find it under recent tasks despite closing it multiple times.
Steps to reproduce

Open the Stax app
Exit the Stax app by pressing the back button
Click on the Recent Tasks button.
Close all recent tasks
Open another app, say slack. While using slack for some time you might notice a black flicker.
Click the Recent Tasks Button. You will notice Stax there despite having closed it a while ago.

Expected result
I expected that when I exited the app by pressing the back button or clearing all recent tasks all Stax activities would be destroyed. And that the Stax app wouldn't start itself again without me opening it.
Actual result
I exited the Stax app by pressing the back button. I even went to check if it appeared in my phone's recent tasks, but it was still there.
I closed all my recent tasks including Stax. A minute later the screen flickers, like the app was trying to open but crashed. I went to the recent tasks again and Stax had launched itself in the background.
When I clicked on the Stax task. it couldn't open the app for me to see it on the screen.
Link to screenshots/screen recordings
https://drive.google.com/file/d/1Ti524K6aP4Cm0UVuYzeEKrbBeu181IOK/view?usp=drivesdk
Device name
Oppo A53
Android OS
11
Is your phone dual SIM or single SIM?
Dual SIM
Which telco are you using for this test?
Safaricom
Stax device ID or email address
<EMAIL_ADDRESS>

@Mally13 we have logged this and we will prioritise for fixing

@Mally13 this has been fixed and you should be okay with the new release that comes out early next week. Please do let us know if this happens again next week when you update to the new app

@Mally13 we have a new release that is being rolled out gradually with the fix.


Cannot join the Franz Slack Channel

Describe the bug
When following the link in the README to join the Franz Slack Channel, user is prompted to enter their email. When submitted, the request returns with Failed! token_revoked
To Reproduce
Steps to reproduce the behavior:

Go to http://slack.franz.im/
Enter your email
Click on submit
See error

Screenshots

Desktop (please complete the following information):

Browser: Chrome and Safari on macOS

Response Data
<!DOCTYPE html><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Join the Franz Community community on Slack!</title><link href="css/style.css" rel="stylesheet" type="text/css"><link href="//fonts.googleapis.com/css?family=Lato:300,400,700,900,700italic|Open+Sans:700italic,400,600,300,700,800" rel="stylesheet" type="text/css">

Franz Community

Failed! token_revoked

I am having the same issue. @adlk what's the deal here? Why was the slack community shut down?


Fix Option<NonSend> and Option<NonSendMut>

Objective
Fix Option<NonSend<T>> to work when T isn't Send
Fix Option<NonSendMut<T>> to work when T isnt in the world.
Solution
Simple two row fix, properly initialize T in OptionNonSendState and remove T: Component bound for Option<NonSendMut<T>>
also added a rudimentary test

The comment fixes look like this got pulled in from a different PR perhaps? They look good to merge, but it would be cleaner with just the two fix commits and the tests in there.

The comment fixes look like this got pulled in from a different PR perhaps? They look good to merge, but it would be cleaner with just the two fix commits and the tests in there.

yea thats true, fixed that.

bors r+


Set Java execution environment to 1.8

With the introduction of JDK 9, it's possible teams will start trying to build robot code with it.  The roboRIO only has JDK 8.  It appears this can be done with .settings/org.eclipse.jdt.core.prefs in the project folder with the following settings:
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8

I think we probably also want
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.source=1.8


adding a docker compose file {work in progress}

TO-DO

@NickCalderone I've let this one hang too long. I still want to revisit next steps, but we'll do that when I'm back from Tucson. I'll go ahead and merge this in the meantime.


Wrong default Minimum and Maximum values for ProgressBar

This docs page says "By default Minimum is 0 and Maximum is 1", but if you click into the page for Maximum you can see that the default Maximum value for ProgressBar is 100 - and if you create an empty project with just a ProgressBar the max value defaults to 100, not 1.

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

ID: b5be89c6-f6db-1c30-70a0-53859fb22671
Version Independent ID: 99788db9-1138-7a5d-b86d-5a1e5f374e33
Content: ProgressBar Class (Windows.UI.Xaml.Controls) - Windows UWP applications
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.ui.xaml.controls.progressbar.yml&version=GBlive&_a=contents
Product: uwp
Technology: winrt-reference
Git Login: jwmsft
Microsoft Alias: jimwalk

Created an internal PR to fix this typo.

Doc is updated.


server farm account

In the section 'To run the SharePoint Products Configuration Wizard' step 9 you refer to the 'Server Farm Account' where as in the 'Required accounts in SharePoint Server' list of account specified here : https://docs.microsoft.com/en-us/sharepoint/install/initial-deployment-administrative-and-service-accounts-in-sharepoint-server#required-accounts-in-sharepoint-server , there is no such account, from the description of the account it is actually the 'Farm service account' you are referring to.

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

ID: ca9caedd-719e-e80b-8052-c8b3a262d7ee
Version Independent ID: 0c363923-2851-0f8c-0e59-654f20588479
Content: Install SharePoint Servers 2016 or 2019 on one server
Content Source: SharePoint/SharePointServer/install/install-sharepoint-server-2016-on-one-server.md
Product: sharepoint-server-itpro
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

Thanks, I will update the doc.

@stusims Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Add lmdb package.

Sorry, I reverted this PR after merging it because the stackage build server doesn't have the lmdb C library on it. Looking into it...

The revert has been reverted; lmdb seems to build just fine on stackage.


update: update @unirep packages to v1.0.1

Update unirep packages to v1.0.1
update BigInt to bigint
update Prover by adding getVKey function

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

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[ ] Build (yarn build) was run locally and any changes were pushed
[ ] Lint (yarn lint --check) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

LGTM now~~~~ how do u think?

We should also try to see if these changes fix the errors in PR124.


[Bug]: @telegram-apps/init-data-node with NextJS doesn't work

Telegram Application
Telegram Desktop
Describe the Bug
I try to use @telegram-apps/init-data-node's validate function on server, but get error.
Module build failed: UnhandledSchemeError: Reading from "node:crypto" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.

To Reproduce
Steps to reproduce the behavior:

Create api route file with following content:

import { validate } from "@telegram-apps/init-data-node"

export const GET = async () => {
  validate("", "")
}

Save and open the api route in browser
See error

Expected Behavior
Successful compilation

https://docs.telegram-mini-apps.com/packages/telegram-apps-init-data-node#web-crypto-api

Thanks! It works when I use the web directory of the module, but it's weird that it doesn't work without /web because I run the code on the server, in node.js


does the mod_auth_openidc support Apache 2.0?

Hello, does the mod_auth_openidc support Apache 2.0? Or can you tell me which version of mod_auth_openidc is supported by Apache 2.0 and 2.2 respectively?

https://github.com/zmartzone/mod_auth_openidc/wiki#20-why-is-my-ticket-closed-as-invalid


Upgrading from 6.6.2 to 6.8.0 breaks server build/test

Upgrading from HAPI FHIR 6.6.2 to 6.8.0 in pom.xml, with no other changes, breaks our FHIR server tests and install.
Current, using HAPI FHIR 6.6.2:
$ mvn clean test

...

[INFO] Results:
[INFO]
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS

Upgrade HAPI FHIR dependencies:
$ git --no-pager diff
diff --git a/pom.xml b/pom.xml
index 1e664ea..762d596 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@
     <maven.compiler.source>17</maven.compiler.source>
     <maven.compiler.target>17</maven.compiler.target>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <hapifhir_version>6.6.2</hapifhir_version>
+    <hapifhir_version>6.8.0</hapifhir_version>
     <elasticsearch_client_version>6.8.23</elasticsearch_client_version>
     <maven_checkstyle_version>3.3.0</maven_checkstyle_version>
     <checkstyle_version>10.12.2</checkstyle_version>

$ grep -F fhir pom.xml
  <artifactId>fhir-server</artifactId>
    <hapifhir_version>6.8.0</hapifhir_version>
      <groupId>ca.uhn.hapi.fhir</groupId>
      <artifactId>hapi-fhir-base</artifactId>
      <version>${hapifhir_version}</version>
      <groupId>ca.uhn.hapi.fhir</groupId>
      <artifactId>hapi-fhir-server</artifactId>
      <version>${hapifhir_version}</version>
      <groupId>ca.uhn.hapi.fhir</groupId>
      <artifactId>hapi-fhir-validation</artifactId>
      <version>${hapifhir_version}</version>
      <groupId>ca.uhn.hapi.fhir</groupId>
      <artifactId>hapi-fhir-server-openapi</artifactId>
      <version>${hapifhir_version}</version>
      <groupId>ca.uhn.hapi.fhir</groupId>
      <artifactId>hapi-fhir-structures-r5</artifactId>
      <version>${hapifhir_version}</version>
      <groupId>ca.uhn.hapi.fhir</groupId>
      <artifactId>hapi-fhir-validation-resources-r5</artifactId>
      <version>${hapifhir_version}</version>
      <groupId>ca.uhn.hapi.fhir</groupId>
      <artifactId>hapi-fhir-testpage-overlay</artifactId>
      <version>${hapifhir_version}</version>
      <groupId>ca.uhn.hapi.fhir</groupId>
      <artifactId>hapi-fhir-testpage-overlay</artifactId>
      <version>${hapifhir_version}</version>

After the change: mvn clean test with full output here:
https://gist.github.com/brsolomon-deloitte/37ecf55049587d04d3a9d07020701234
Short version:
***************************
APPLICATION FAILED TO START
***************************

Description:

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine a suitable driver class

Action:

Consider the following:
    If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
    If you have database settings to be loaded from a particular profile you may need to activate it (the profiles test are currently active).

2023-08-28 11:15:50.968 ERROR 58657 --- [           main] o.s.test.context.TestContextManager      : Caught exception while allowing TestExecutionListener [org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@45292ec1] to prepare test instance [REDACTED.RestfulServletTests@57ab4b33]

java.lang.IllegalStateException: Failed to load ApplicationContext

...

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.467 s <<< FAILURE! - in REDACTED.RestfulServletTests
[ERROR] REDACTED.RestfulServletTests  Time elapsed: 2.466 s  <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flywaydb.core.Flyway]: Factory method 'flyway' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Dbcp2.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.commons.dbcp2.BasicDataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flywaydb.core.Flyway]: Factory method 'flyway' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Dbcp2.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.commons.dbcp2.BasicDataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Dbcp2.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.commons.dbcp2.BasicDataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.commons.dbcp2.BasicDataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class
Caused by: org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   RestfulServletTests » IllegalState Failed to load ApplicationContext
[ERROR]   ServerApplicationTests.contextLoads » IllegalState Failed to load ApplicationC...
[INFO]
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  9.988 s
[INFO] Finished at: 2023-08-28T11:15:51-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project fhir-server: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/REDACTED/fhir-server/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Environment (please complete the following information):

HAPI FHIR Version: 6.6.2
OS: macOS 13.5.1
Browser [e.g. chrome, safari]

For awareness, we are wrapping our HAPI FHIR restful servlet in a Spring app:
package redacted.redacted.redacted.redacted;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
/**
 *  ServerApplication wraps the HAPI FHIR RestfulServer into a Spring Boot application.
 */

@ServletComponentScan("redacted.redacted.redacted.redacted")
@SpringBootApplication
public class ServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServerApplication.class, args);
    }
}

This breakage went away when we removed ca.uhn.hapi.fhir:hapi-fhir-testpage-overlay. My guess is that is due to the recent inclusion of ca.uhn.hapi.fhir:hapi-fhir-jpaserver-hfql as a dependency of ca.uhn.hapi.fhir:hapi-fhir-testpage-overlay. However, that isn't exactly an acceptable workaround for us since we'd like to use the testpage-overlay with our plain server implementation.


Improve Docker Compose For Development

This PR partially closes #166 by creating a new Dockerfile.dev used by docker-compose.override.yaml which has cacheing of Rust build artifacts and no longer performs a release build.

Also worth noting: any changes to crypto/decaf/protobuf/wallet will require a full rebuild, which is suboptimal, but still an improvement over where we are today!


Add TFLite documentation

As per title.

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


Add new exception report notebook for COS

This notebook checklist has been made available to us by the Notebooks For All team.
Its purpose is to serve as a guide for both the notebook author and the technical reviewer highlighting critical aspects to consider when striving to develop an accessible and effective notebook.
The First Cell

[ ] The title of the notebook in a first-level heading (eg. <h1> or # in markdown).
[ ] A brief description of the notebook.
[ ] A table of contents in an ordered list (1., 2., etc. in Markdown).
[ ] The author(s) and affiliation(s) (if relevant).
[ ] The date first published.
[ ] The date last edited (if relevant).
[ ] A link to the notebook's source(s) (if relevant).

The Rest of the Cells

[ ] There is only one H1 (# in Markdown) used in the notebook.
[ ] The notebook uses other heading tags in order (meaning it does not skip numbers).

Text

[ ] All link text is descriptive. It tells users where they will be taken if they open the link.
[ ] All acronyms are defined at least the first time they are used.
[ ] Field-specific/specialized terms are used when needed, but not excessively.

Code

[ ] Code sections are introduced and explained before they appear in the notebook. This can be fulfilled with a heading in a prior Markdown cell, a sentence preceding it, or a code comment in the code section.
[ ] Code has explanatory comments (if relevant). This is most important for long sections of code.
[ ] If the author has control over the syntax highlighting theme in the notebook, that theme has enough color contrast to be legible.
[ ] Code and code explanations focus on one task at a time. Unless comparison is the point of the notebook, only one method for completing the task is described at a time.

Images

[ ] All images (jpg, png, svgs) have an image description. This could be

[ ] Alt text (an alt property)
[ ] Empty alt text for decorative images/images meant to be skipped (an alt attribute with no value)
[ ] Captions
[ ] If no other options will work, the image is decribed in surrounding paragraphs.

[ ] Any text present in images exists in a text form outside of the image (this can be alt text, captions, or surrounding text.)

Visualizations

[ ] All visualizations have an image description. Review the previous section, Images, for more information on how to add it.

[ ] Visualization descriptions include

[ ] The type of visualization (like bar chart, scatter plot, etc.)
[ ] Title
[ ] Axis labels and range
[ ] Key or legend
[ ] An explanation of the visualization's significance to the notebook (like the trend, an outlier in the data, what the author learned from it, etc.)

[ ] All visualizations and their parts have enough color contrast (color contrast checker) to be legible. Remember that transparent colors have lower contrast than their opaque versions.

[ ] All visualizations convey information with more visual cues than color coding. Use text labels, patterns, or icons alongside color to achieve this.

[ ] All visualizations have an additional way for notebook readers to access the information. Linking to the original data, including a table of the data in the same notebook, or sonifying the plot are all options.

Hi @srosagomez,
I liked your notebook—it’s well-written and easy to follow. There’s not much that needs updating. I’ve added a few minor comments above, but that’s it!
Great job, and thanks for your work on this!

This is a new notebook. Could you also please update the toc.yml so that it renders on the HTML pages?


Exclude a file or pattern

Hey, really neat plugin! Is there any way to exclude a single file or directory or pattern?
For example I want to exclude my favicon.png file from being compressed, but all other images should be compressed.
Is there any way to do so currently? Couldn't find anything in the docs, hence raising an issue.
Thanks

Neat feature, I have thought about. Expecte it in 1.1.0

Awesome, thanks! Looking forward to it 👀


[Doc] Add a note about MAX_THREADS and NVCC_THREADS

I ran into some out of memory errors when compiling vLLM from source with the default settings. After I adjusted these env variables I no longer ran into this issue.
Adding a note to help future users.

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
 PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

Thanks pointer. closing.


Proposed High-Level Vuln Workflow

To assist us in understanding the user stories we want to address as part of this working group I started drawing out a high-level workflow of the process of finding and fixing vulnerabilities in open source and third-party components that I'd love to get everyone's feedback on.
As the diagram is viewed, let me explain the elements/convergences.
There are at least 3 separate working groups working to address part of the problem "How do vulnerabilities get fixed within OSS software" (probably also several others I'm unaware of):
OpenSSF Vulnerability Disclosure Group - OSS maintainer/ecosystem-focused, trying to standardize and provide guidance on vulnerability remediation in OSS components. This is the "head-end" of the process from my perspective.
OpenSSF Developer Best Practice Group - OSS maintainer-focused, trying to provide guidance and resources around secure software development, which elements include reacting to vulnerabilities as they are identified (and
techniques/tools to capture them before they become escapes).  This is the longer-term. lessons-learned, teaching aspect that will help share whatever standards processes the community agrees upon.
FIRST PSIRT Third Party Component Management Group - Focused on Vendors/Suppliers that consume (or are involved on some level) with third party hardware and software components.
The diagram shows a high-level flow from when a vuln gets report to where an fix is released to where a downstream supplier picks that fix up and provides it to their consumers.  Our OpenSSF groups are only primarily concerned with the first few steps of this where a Reporter/Finder and Maintainer/Project interact and fix the issue (or not).  There are several external factors like industry standards, concepts like secure supply chain, slide, or software bill of materials that are related to this process, but not directly part of the work we're concerned with at this stage (or in these particular groups).  The Supplier piece is also less interesting to maintainers, so I'm not looking for feedback on that angle in this forum at this point (if you have feels about it, let me know and I can get that to the appropriate group).
I welcome thoughts, suggestions, collaboration on the attached diagram and the concepts detailed within.  Hopefully this can help us focus in on the gaps/pain points of this process to address developer/maintainer concerns.  Thanks!
OpenSSF Vuln & Dev Diagrams - Workflow.pdf

Can we close this issue based on #80 ?

Agreed to close on call.


[BEAM-9547] Flesh out dataframe groupby (and related) implementation.

When running on https://pandas.pydata.org/pandas-docs/stable/user_guide/groupby.html
Before:
250 total test cases:
  0 skipped (0.0%)
  4 won't implement (1.6%)
    3 order-sensitive (75.0%)
    1 Conversion to a non-deferred a numpy array. (25.0%)
  26 not implemented (yet) (10.4%)
    9 NameError following NotImplementedError (34.6%)
    5 'index' is not yet supported (BEAM-9547) (19.2%)
    5 GroupBy.agg currently only supports callable arguments (19.2%)
    1 [Grouper(level=1, axis=0, sort=False), 'A'] (3.8%)
    1 [Grouper(level='second', axis=0, sort=False), 'A'] (3.8%)
    1 ['second', 'A'] (3.8%)
    1 Traceback (most recent call last):\n  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/doctest.py", line 1329, in __run\n    compileflags, 1), test.globs)\n  File "<doctest /Users/robertwb/.apache_beam/cache/pandas-1.1.1/doc/source/user_guide/groupby.rst[127]>", line 1, in <module>\n    grouped = data_df.groupby(key)\n  File "/Users/robertwb/Work/beam/incubator-beam/sdks/python/apache_beam/dataframe/frames.py", line 441, in groupby\n    [self.set_index(by)._expr],\n  File "/Users/robertwb/Work/beam/incubator-beam/sdks/python/apache_beam/dataframe/frame_base.py", line 303, in wrapper\n    return func(**kwargs)\n  File "/Users/robertwb/Work/beam/incubator-beam/sdks/python/apache_beam/dataframe/frame_base.py", line 334, in wrapper\n    return func(**kwargs)\n  File "/Users/robertwb/Work/beam/incubator-beam/sdks/python/apache_beam/dataframe/frame_base.py", line 282, in wrapper\n    result = func(self, **kwargs)\n  File "/Users/robertwb/Work/beam/incubator-beam/sdks/python/apache_beam/dataframe/frames.py", line 490, in set_index\n    raise NotImplementedError(keys)\nNotImplementedError: ['US' ,,, 'UK']\n (3.8%)
    1 [TimeGrouper(key='Date', freq=<MonthEnd>, axis=0, sort=True, closed='right', label='right', how='mean', convention='e', origin='start_day'), 'Buyer'] (3.8%)
    1 [TimeGrouper(key='Date', freq=<6 * MonthEnds>, axis=0, sort=True, closed='right', label='right', how='mean', convention='e', origin='start_day'), 'Buyer'] (3.8%)
    1 [TimeGrouper(level='Date', freq=<6 * MonthEnds>, axis=0, sort=True, closed='right', label='right', how='mean', convention='e', origin='start_day'), 'Buyer'] (3.8%)
  104 failed (41.6%)
  116 passed (46.4%)

After
250 total test cases:
  0 skipped (0.0%)
  15 won't implement (6.0%)
    9 NameError following apache_beam.dataframe.frame_base.WontImplementError (60.0%)
    3 non-deferred (20.0%)
    1 order sensitive (6.7%)
    1 Conversion to a non-deferred a numpy array. (6.7%)
    1 order-sensitive (6.7%)
  51 not implemented (yet) (20.4%)
    16 NameError following NotImplementedError (31.4%)
    14 'get_group' is not yet supported (BEAM-9547) (27.5%)
    6 'order sensitive' is not yet supported (BEAM-9547) (11.8%)
    5 GroupBy.agg currently only supports callable arguments (9.8%)
    3 groupby(as_index=False) (5.9%)
    1 [Grouper(level=1, axis=0, sort=False), 'A'] (2.0%)
    1 [Grouper(level='second', axis=0, sort=False), 'A'] (2.0%)
    1 'rolling' is not yet supported (BEAM-9547) (2.0%)
    1 [TimeGrouper(key='Date', freq=<MonthEnd>, axis=0, sort=True, closed='right', label='right', how='mean', convention='e', origin='start_day'), 'Buyer'] (2.0%)
    1 [TimeGrouper(key='Date', freq=<6 * MonthEnds>, axis=0, sort=True, closed='right', label='right', how='mean', convention='e', origin='start_day'), 'Buyer'] (2.0%)
    1 [TimeGrouper(level='Date', freq=<6 * MonthEnds>, axis=0, sort=True, closed='right', label='right', how='mean', convention='e', origin='start_day'), 'Buyer'] (2.0%)
    1 index.year (2.0%)
  49 failed (19.6%)
  135 passed (54.0%)

Most of what remains is agg for multiple aggregations, which will be a future PR.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @TheNeuralBit

Run Python PreCommit

Run Python PreCommit


WIP: Add a menu

This is WIP to add a menu for better discoverability of functionality and to make things more accessible and feel more like a real application.
Qt does some magic to move the menu entries that match certain patterns into the right place on macOS:
https://doc.qt.io/qtforpython-5/PySide2/QtWidgets/QMenuBar.html#qmenubar-as-a-global-menu-bar
https://user-images.githubusercontent.com/2046265/174440132-a8dabf4a-b746-4b06-b3d1-3cc997c7128a.mov

I've added a Help menu and this comes with that macOS-typical discoverability feature for free:
https://user-images.githubusercontent.com/2046265/174440356-29cc3581-6727-4eb7-a083-0f1dec569c6b.mov


Question: Does it ony work for JavaScript projects?

It looks like it only works for JavaScript projects, right? Like react or angular?

When using micro-agent in a python project, a prompt will be reported: "Warning: The current directory does not appear to be a recognized project folder.Want to set up a new project?" And only "Node + Vitest project" can be selected. How can I use it in a python project?

oh its supposed to detect a requirements.txt file to identify the project as a python project, do you have a requirements.txt file at the root of your project?

maybe I should be specific: can I use it for PHP projects, e.g. Laravel projects?

I don't believe php is currently supported. @steve8708 is pretty good about accepting PRs quickly so I would recommend submitting one to add this. If you need help finding where to add this support let me know (I worked on the python and ruby support).


check_c_headers from tuple array to dictionary

Minor alteration to one of the SCons checks. It's largely identical to the old method, but a dictionary is more scalable & the formatting becomes in-line with the rest of the SCons files

Thanks!


New package: QSM v0.1.0

Registering package: QSM
Repository: https://github.com/kamesy/QSM.jl
Created by: @kamesy
Version: v0.1.0
Commit: 5bc081c764ef6caf1ba0a45a694ff487b654ded9
Reviewed by: @kamesy
Reference: https://github.com/kamesy/QSM.jl/commit/5bc081c764ef6caf1ba0a45a694ff487b654ded9#commitcomment-66306001
Description: Julia toolbox for Quantitative Susceptibility Mapping

[noblock]
This package is a translation of our MATLAB toolbox of the same name. Since the MATLAB version has been cited in multiple publications, we would prefer to keep the name.


COCO Minival 2017 data and Annotations

Hi,
Where from I can download the instances_minival2017.json annotation file and corresponding data as used by this repo for evaluation. Thanks

@TreB1eN your response is appreciated. Thanks

Solved at https://github.com/mmaaz60/Lighthead-RCNN-in-Pytorch0.4.1


GCP function instructions

Preview: https://deploy-preview-2091--opentelemetry.netlify.app/docs/instrumentation/js/serverless/#gcp-function

I just went through that flow and could setup a function successfully 👍
I added a few more suggestions to improve the flow & readability.


Performance: improve parsing of moments from valid Date objects

EDIT: es6 stuff is merged, so this PR needs to get rewritten.  I do plan on getting to it, but not immediately.
For explanation of some of these changes, I'll discuss my numbers.  I'm doing this from memory and can re-measure if necessary, but...  My CPU profile in Chrome started at 400ms, and after this suite of changes, the profile was reduced to 200ms.

https://github.com/brianwyantora/moment/commit/6bc5d2e075b0cad32083ea5209bb6ac695029aa7

This change resulted in a reduction of about 70ms on my profile.
Basically, in my use case, I never send invalid dates from server to client.  So while I might do some work on the first date sent from the server to make sure the browser can parse it, once I've done that, I won't call moment.fn.isValid().  Generating the parsing flags takes a notable amount of time, so deferring that generation is a significant help.

https://github.com/brianwyantora/moment/commit/928e068349c10d90bceb5266727e016f0cda1259

This change resulted in a reduction of about 60ms on my profile.
This change might look wrong on first glance, but notice - makeMoment is only called from two places (the public constructors), and will pass the config object through new Moment(config).  Moment already clones the date, so doing the same in makeMoment is just duplicating work unnecessarily.

I don't have any feedback on the changes themselves, but I wanted to suggest that you add some benchmarking to the product itself. Just add a file here: https://github.com/moment/moment/tree/develop/benchmarks

Sure.  Don't suppose you have any setup already for using browserify with those benchmark files, or something, to get them running in the browser?
Anyway, running grunt benchmark gave the following:
Before: 685,699 ops/sec ±0.84%
After: 1,748,813 ops/sec ±0.57%

Thanks. No, I don't have a good way to run those perf tests in the browsers, though I think it's fair to say that if it's faster in Node, it'll be faster in Chrome.

@brianwyantora looks pretty good. I'll merge it once you port it to the ES6 modules, sorry for that :-/

ES6 before changes:
Running benchmark clone [benchmarks/clone.js]...
>> clone x 3,318,252 ops/sec ±1.20% (87 runs sampled)
Running benchmark fromDate [benchmarks/fromDate.js]...
>> clone x 571,146 ops/sec ±0.81% (85 runs sampled)
Running benchmark fromDateUtc [benchmarks/fromDateUtc.js]...
>> clone x 549,873 ops/sec ±0.82% (89 runs sampled)

ES6 after changes:
Running benchmark clone [benchmarks/clone.js]...
>> clone x 3,856,373 ops/sec ±0.70% (91 runs sampled)
Running benchmark fromDate [benchmarks/fromDate.js]...
>> clone x 1,682,164 ops/sec ±1.50% (92 runs sampled)
Running benchmark fromDateUtc [benchmarks/fromDateUtc.js]...
>> clone x 1,717,440 ops/sec ±0.94% (89 runs sampled)

Ran grunt test update-index benchmark for the after benchmarks.  The big whopper of a method now seems to be createFromConfig, which I've left untouched.  Please review carefully, I wasn't as critical of my changes as I was earlier.

Merged in 3f65e56c3d04a5c0d8c35fd4a3008af15f5ec1e2


update cli-python dependencies & mypy config & update prettier to mirror

Signed-off-by: zethson<EMAIL_ADDRESS>Getting ready for new mypy for the template.

@Imipenem I don't get it. Where else would I need to add the types extensions?

@Imipenem I removed the mypy checks for the noxfile itself. Basically, they were using the system interpreter of the machine. Hence, in the CI we would have to install the types extensions into the system interpreter and even outside the CI, people using our template would to ensure that the types extensions are installed inside their systems interpreter. That's bad.
Hence, I think that removing them is easier.


Will Vllm Lora support SGMV in handling multi-Lora request?

In the multi-lora feature, vllm refer to the BGMV in punica.
Yet in the punica project(https://github.com/punica-ai/punica), the authors said SGMV (Segmented Gather Matrix-Vector Multiplication) is more flexible. Is there a plan to support SGMV in the community?

There is an answer to your question here https://github.com/vllm-project/vllm/pull/1804

We are using BGMV kernels instead of new SGMV kernels from punica. The BGMV kernel is not efficient for prefill, but the current SGMV CUTLASS-based kernel is not configurable enough and suffers from accuracy drops due to the intermediate output being stored in half-precision. Once punica updates with custom, non-CUTLASS SGMV kernels, I will update the code to make use of them.

Thanks for reply!


Moving system info to rancher repo

Looks like drone failed after merging - https://drone-pr.rancher.io/rancherlabs/support-tools/21 @mattmattox can you have a look?


Jsc/email template update

Updates #205 Bad James, Bad! But he fixes his mistakes.

@jcubbage Add a link here to the other email you created:
https://github.com/ucdavis/Keas/blob/master/emails-template/src/pages/index.html#L30
If you want to remove the anlab or other links, feel free:


Save modified buffer when calling hie commands

This now looks at a safety attribute within the CommandDescriptor type. It specifies one of Safe, ChangeCurrent or ChangeAll.

Safe means that the command will not read anything from disk
ChangeCurrent may read the current file from disk
ChangeAll may read multiple files from disk

Within Emacs, when calling hie-run-command, it will now save buffers based on the level of safety.

Safe nothing happens
ChangeCurrent will ask to save the current buffer
ChangeAll will ask to save all buffers

Fixes #189

Looks great


checkpoint: remove template checkpoint pod spec

/cc @aaronlevy @derekparker
This is based on my offline discussion with @aaronlevy. Kubelet will add -xxx as a suffix to the checkpoint pod it starts, so we do not need to have the special name.

@pbx0 How should I trigger CI to test this?

@xiang90 Its a little awkward, but one way to do it is to first build a checkpoint image from this branch via the internal jenkins job. Then add a commit to this branch that bumps the checkpoint image to use the newly built image in the pkg/asset/internal/templates.go file. See https://github.com/kubernetes-incubator/bootkube/pull/201 for an example.
The test PR will trigger a test that performs a smoke test and another check that does a basic "destruction" test which restarts the master and runs a basic workload.
At somepoint the checkpoint code will be moved to its own repo or we will improve the PR triggers to work around this.

One minor comment if you don't mind updating.


Cannot install urlib3 on Python 3.7 with poetry

[x] I am on the latest Poetry version.

[x] I have searched the issues of this repo and believe that this is not a duplicate.

[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: Ubuntu 18.04

Poetry version: 0.12.17

Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/jmsmkn/e32278dc8f27923f23b9095521f00290

Issue
Poetry does not resolve the latest versions of urllib3 when using Python3.7. As far as I can tell the Python versions that are required by urllib3 are ok (Python 3.7.5 is in the range Python >=2.7, !=3.0., !=3.1., !=3.2., !=3.3., <4), but, poetry does not select this:
james@gazelle:~/tmp/poetry$ pyenv local 3.7.5
james@gazelle:~/tmp/poetry$ poetry lock -vvv
Using virtualenv: /home/james/tmp/poetry/.venv
Updating dependencies
Resolving dependencies...
   1: fact: poetry-bug is 0.1.0
   1: derived: poetry-bug
   1: fact: poetry-bug depends on urllib3 (>=1.24.2)
   1: selecting poetry-bug (0.1.0)
   1: derived: urllib3 (>=1.24.2)
PyPI: No release information found for urllib3-0.3, skipping
PyPI: No release information found for urllib3-0.3.1, skipping
PyPI: No release information found for urllib3-0.4.0, skipping
PyPI: No release information found for urllib3-0.4.1, skipping
PyPI: 10 packages found for urllib3 >=1.24.2
   1: fact: urllib3 (1.25.7) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
   1: derived: not urllib3 (1.25.7)
   1: fact: urllib3 (1.25.6) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
   1: derived: not urllib3 (1.25.6)
   1: fact: urllib3 (1.25.5) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
   1: derived: not urllib3 (1.25.5)
   1: fact: urllib3 (1.25.4) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
   1: derived: not urllib3 (1.25.4)
   1: fact: urllib3 (1.25.3) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
   1: derived: not urllib3 (1.25.3)
   1: fact: urllib3 (1.25.2) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
   1: derived: not urllib3 (1.25.2)
   1: fact: urllib3 (1.25.1) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
   1: derived: not urllib3 (1.25.1)
   1: fact: urllib3 (1.25) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
   1: derived: not urllib3 (1.25)
   1: fact: urllib3 (1.24.3) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
   1: derived: not urllib3 (1.24.3)
   1: fact: urllib3 (1.24.2) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
   1: derived: not urllib3 (1.24.2)
   1: fact: no versions of urllib3 match >1.24.2,<1.24.3 || >1.24.3,<1.25 || >1.25,<1.25.1 || >1.25.1,<1.25.2 || >1.25.2,<1.25.3 || >1.25.3,<1.25.4 || >1.25.4,<1.25.5 || >1.25.5,<1.25.6 || >1.25.6,<1.25.7 || >1.25.7
   1: conflict: no versions of urllib3 match >1.24.2,<1.24.3 || >1.24.3,<1.25 || >1.25,<1.25.1 || >1.25.1,<1.25.2 || >1.25.2,<1.25.3 || >1.25.3,<1.25.4 || >1.25.4,<1.25.5 || >1.25.5,<1.25.6 || >1.25.6,<1.25.7 || >1.25.7
   1: ! urllib3 (>1.24.2,<1.24.3 || >1.24.3,<1.25 || >1.25,<1.25.1 || >1.25.1,<1.25.2 || >1.25.2,<1.25.3 || >1.25.3,<1.25.4 || >1.25.4,<1.25.5 || >1.25.5,<1.25.6 || >1.25.6,<1.25.7 || >1.25.7) is partially satisfied by not urllib3 (1.24.2)
   1: ! which is caused by "urllib3 (1.24.2) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"
   1: ! thus: urllib3 is forbidden
   1: ! urllib3 (>=1.24.2,<1.24.3 || >1.24.3,<1.25 || >1.25,<1.25.1 || >1.25.1,<1.25.2 || >1.25.2,<1.25.3 || >1.25.3,<1.25.4 || >1.25.4,<1.25.5 || >1.25.5,<1.25.6 || >1.25.6,<1.25.7 || >1.25.7) is partially satisfied by not urllib3 (1.24.3)
   1: ! which is caused by "urllib3 (1.24.3) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"
   1: ! thus: urllib3 is forbidden
   1: ! urllib3 (>=1.24.2,<1.25 || >1.25,<1.25.1 || >1.25.1,<1.25.2 || >1.25.2,<1.25.3 || >1.25.3,<1.25.4 || >1.25.4,<1.25.5 || >1.25.5,<1.25.6 || >1.25.6,<1.25.7 || >1.25.7) is partially satisfied by not urllib3 (1.25)
   1: ! which is caused by "urllib3 (1.25) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"
   1: ! thus: urllib3 is forbidden
   1: ! urllib3 (>=1.24.2,<1.25.1 || >1.25.1,<1.25.2 || >1.25.2,<1.25.3 || >1.25.3,<1.25.4 || >1.25.4,<1.25.5 || >1.25.5,<1.25.6 || >1.25.6,<1.25.7 || >1.25.7) is partially satisfied by not urllib3 (1.25.1)
   1: ! which is caused by "urllib3 (1.25.1) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"
   1: ! thus: urllib3 is forbidden
   1: ! urllib3 (>=1.24.2,<1.25.2 || >1.25.2,<1.25.3 || >1.25.3,<1.25.4 || >1.25.4,<1.25.5 || >1.25.5,<1.25.6 || >1.25.6,<1.25.7 || >1.25.7) is partially satisfied by not urllib3 (1.25.2)
   1: ! which is caused by "urllib3 (1.25.2) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"
   1: ! thus: urllib3 is forbidden
   1: ! urllib3 (>=1.24.2,<1.25.3 || >1.25.3,<1.25.4 || >1.25.4,<1.25.5 || >1.25.5,<1.25.6 || >1.25.6,<1.25.7 || >1.25.7) is partially satisfied by not urllib3 (1.25.3)
   1: ! which is caused by "urllib3 (1.25.3) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"
   1: ! thus: urllib3 is forbidden
   1: ! urllib3 (>=1.24.2,<1.25.4 || >1.25.4,<1.25.5 || >1.25.5,<1.25.6 || >1.25.6,<1.25.7 || >1.25.7) is partially satisfied by not urllib3 (1.25.4)
   1: ! which is caused by "urllib3 (1.25.4) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"
   1: ! thus: urllib3 is forbidden
   1: ! urllib3 (>=1.24.2,<1.25.5 || >1.25.5,<1.25.6 || >1.25.6,<1.25.7 || >1.25.7) is partially satisfied by not urllib3 (1.25.5)
   1: ! which is caused by "urllib3 (1.25.5) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"
   1: ! thus: urllib3 is forbidden
   1: ! urllib3 (>=1.24.2,<1.25.6 || >1.25.6,<1.25.7 || >1.25.7) is partially satisfied by not urllib3 (1.25.6)
   1: ! which is caused by "urllib3 (1.25.6) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"
   1: ! thus: urllib3 is forbidden
   1: ! urllib3 (>=1.24.2,<1.25.7 || >1.25.7) is partially satisfied by not urllib3 (1.25.7)
   1: ! which is caused by "urllib3 (1.25.7) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"
   1: ! thus: urllib3 is forbidden
   1: ! urllib3 (>=1.24.2) is satisfied by urllib3 (>=1.24.2)
   1: ! which is caused by "poetry-bug depends on urllib3 (>=1.24.2)"
   1: ! thus: version solving failed
   1: Version solving took 0.222 seconds.
   1: Tried 1 solutions.

[SolverProblemError]
The current project must support the following Python versions: *
Because no versions of urllib3 match >1.24.2,<1.24.3 || >1.24.3,<1.25 || >1.25,<1.25.1 || >1.25.1,<1
.25.2 || >1.25.2,<1.25.3 || >1.25.3,<1.25.4 || >1.25.4,<1.25.5 || >1.25.5,<1.25.6 || >1.25.6,<1.25.7
 || >1.25.7
 and urllib3 (1.24.2) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4, urllib3 is forb
idden.
And because urllib3 (1.24.3) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
 and urllib3 (1.25) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4, urllib3 is forbid
den.
And because urllib3 (1.25.1) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
 and urllib3 (1.25.2) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4, urllib3 is forb
idden.
And because urllib3 (1.25.3) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
 and urllib3 (1.25.4) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4, urllib3 is forb
idden.
And because urllib3 (1.25.5) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
 and urllib3 (1.25.6) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4, urllib3 is forb
idden.
So, because urllib3 (1.25.7) requires Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
 and poetry-bug depends on urllib3 (>=1.24.2), version solving failed.

Exception trace:
 /home/james/.poetry/lib/poetry/_vendor/py3.7/cleo/application.py in run() at line 94
   status_code = self.do_run(input_, output_)
 /home/james/.poetry/lib/poetry/console/application.py in do_run() at line 88
   return super(Application, self).do_run(i, o)
 /home/james/.poetry/lib/poetry/_vendor/py3.7/cleo/application.py in do_run() at line 197
   status_code = command.run(input_, output_)
 /home/james/.poetry/lib/poetry/console/commands/command.py in run() at line 77
   return super(BaseCommand, self).run(i, o)
 /home/james/.poetry/lib/poetry/_vendor/py3.7/cleo/commands/base_command.py in run() at line 146
   status_code = self.execute(input_, output_)
 /home/james/.poetry/lib/poetry/_vendor/py3.7/cleo/commands/command.py in execute() at line 107
   return self.handle()
 /home/james/.poetry/lib/poetry/console/commands/lock.py in handle() at line 32
   return installer.run()
 /home/james/.poetry/lib/poetry/installation/installer.py in run() at line 73
   self._do_install(local_repo)
 /home/james/.poetry/lib/poetry/installation/installer.py in _do_install() at line 165
   ops = solver.solve(use_latest=self._whitelist)
 /home/james/.poetry/lib/poetry/puzzle/solver.py in solve() at line 38
   packages, depths = self._solve(use_latest=use_latest)
 /home/james/.poetry/lib/poetry/puzzle/solver.py in _solve() at line 180
   raise SolverProblemError(e)

Sorry, this is my fault. This was caused by using
python = ">=3.7"

rather than
python = "^3.7"

in pyproject.toml.


Deciding what fields are included in posts result

Please help me to understand how can I control what the ListPostRequest() returns. The documentation (https://developer.wordpress.org/rest-api/using-the-rest-api/global-parameters/#_fields) allows to limit the response, but it seems there's no way in the plugin to specify what fields are returned. In the current state the request retrieves full post content which is not always requied. For example I would prefer to get only a list of titles, excerpts and URLs from the API. Is there a way to do that?

I've found there's a way to do that using the extra parameter of the ListPostRequest() but unfortunately exception occurs because you made an assumption that some fields will be always available in the response from the API in the Post.fromJson(Map<String, dynamic> json) factory. So, despite the extra does the job and the api returns only the fields I need, there's exception in this function. For example a call:
      ListPostRequest(
        perPage: 60,
        order: Order.asc,
        extra: {'_fields' : 'author,id,excerpt,title,link'}
      ),

throws exception in the line 55 with hardcoded convertsion guid: Content.fromJson(json['guid']), in the https://github.com/ArunPrakashG/wordpress_client/blob/master/lib/src/responses/post_response.dart#L55
The same happens for other fields that are not specified in the extra but hardcoded in this function.

Hi @rafaellop
I have not considered the functionality wordpress provides via the _fields query parameter in the library during development. The complication is because dart is a type safe language and since we have a model class with all the properties, it is going to throw errors if some fields are missing. There are work arounds for this like we could mark the fields as nullable, however, i dont think marking every property nullable is a good approach.
Yes, as you observed, we could use the extra parameter on the request class, or even pass custom query parameters via the queryParameters property to the request. but the issue originates during deserialization of the JSON response.
I have checked through the source code and i think, one of the easiest methods is to not handle the deserialization process from the library, instead, delegate it to the library user's codebase.
My assumed workflow would be:

Add a new method to each Operation. i.e., in terms of a ListOperation Mixin, Add a new method called listRaw.
It will take in the ListPostRequest request class as parameter.
Returns an instance of WordpressRawResponse which is the internal response instance, This instance can be then mapped to the required model class, the following data is present in this instance:

final dynamic data;
final int code;
final Map<String, dynamic> headers;
final Map<String, dynamic> requestHeaders;
final Map<String, dynamic> extra;
final Duration duration;
final String? message;

Additionally, this instance has properties for various error type and a map method called asResponse<T> which takes in a decoder method. This can be used to map this instance to a model class.
On your end, to utilize this, instead of calling the list method, you will have to call listRaw method, with the same parameter. the return type will be WordpressRawResponse. You will have to define a custom model class with the required fields, then pass it to the decoder property in the asResponse<T> method or manually handle it via the map<T> method.
Note that the content in the WordpressRawResponse is of type dynamic, and not a map. therefore, there is a chance the content can be null.
Let me know if this works out for you, i will try to push these changes on another branch for you to test.

It sounds perfect and I'm impressed of your support. Please push it so that I could test it.

Hey @rafaellop,
I have pushed the changes on to a new branch feature/_forms-support
Could you test it out and let me know?

Thank you @ArunPrakashG . I've tested the branch and it works as you described giving me access to raw data which I can manipulate now. 👍
By the way, do you maybe know is there any way to get the fields in raw (non rendered) format? For example the excerpt is returned as html but the html is generated by Wordpress and not the excerpt I typed when creating post. I know I can use the context: RequestContext.edit, parameter to get raw, but this requires authorization and for performance and security purposes I'd prefer not to overcomplicate.

I'm glad to know it works.
On the other case, can you provide examples? i have not worked on wordpress for quite some time now.

Yes, it works perfect. Please push into main if possible.
Regarding my question, I retrieve posts with your package and in the response I get posts fields I ask like title, excerpt, link, etc. The WordpressResponse contains data which contains the posts data in a list. Some of the fields are returned as basic html (for example the link field), but some are rendered to HTML by Wordpress and available as a value of the rendered field.  However I don't think if there's an easy way to get these rendered fields as raw. I mean without using the RequestContext.edit context for the ListPostRequest which requires authentication as a user with rights to edit posts on the Wordpress side. As far as I googled it's possible to modify the API behaviour at the Wordpress backend or create a custom field. I'll probably stick with a straightforward stripHtmlIfNeeded() from intl.
Please don't bother with that. It seems I have found the answer and described it here above for some people who may be struggling with the same thing in the future. Thanks again!

i believe there is already a deprecated method in the helpers class for html stripping. I am not entirely sure, tho.
Either way, I'm glad your issue is resolved (both of them)
i will merge it to the main branch and plan a release, possibly tomorrow.

Outstanding! Thanks a lot!

@ArunPrakashG Hi,
I have a similar case, why didn't you let all properties be null?
Since _fields is usually used a lot to make the response lighter.

Hey @MiniSuperDev ,
As previously mentioned on the same thread, i don't intend on making every field nullable because that is a very bad approach in a type-safe language. Sure, you could have certain fields as nullable, but some fields should always be non nullable. i believe the fields that could be marked as nullable are already like so. If you think i may have missed out a few, please share those.
Also, a better solution is to define a model class on your codebase for such cases with your required fields, then use the raw requests for the purpose.
this provides more flexibility in case you want to integrate a local database, etc, in the future.
Also, it would be better if you could open a new issue and link this to it as this issue has already closed for some months now.


After problems with V5.5, I reinstalled V3.8 and everything works without any problems.

Script version
What version is the script on eg 2.9 , 3.1 ect
Describe the bug
A clear and concise description of what the bug is.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots or a video to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Just pinging here to second my findings here. 3.8 seems to just work.

how do u revert back to 3.8? newbie here

@MGPelec @Opius134 Where can I find the script of V3.8?

https://github.com/TheRealJoelmatic/RemoveAdblockThing/releases

You can find the script of 3.8 right here:
https://github.com/TheRealJoelmatic/RemoveAdblockThing/releases/download/v3.8/Youtube-Ad-blocker-Reminder-Remover.user.js
To disable updates, you can edit the JS and change the following:
From this
const updateCheck = true;

To this
const updateCheck = false;

You could edit this either in your Userscripts extension text editor (if it has one) or in anything like TextEdit or Notepad.
If you have some issues editing the file, use the edited version from my gist here:
https://gist.githubusercontent.com/c22dev/5db395d9ce177ab36a00a931e6a02087/raw/youtubeRemoveAdblockThing3.8.user.js

@c22dev
thanks a bunch man. that worked great. Duno why 3.8 script download is so hard to find. I looked everywhere lol

I also downgraded to 3.8 and it seems more stable than 5.5.  I was hearing the audio from the ad playing in the background of the video.  I would have to reload the video a couple of times to get it to play without the ads.  It would skip the ads in the middle of videos fine; it was just at the beginning of the video I saw all the issues.

Why 3.8...?
5.3 works fine.
I posted a guide on downgrading to it almost 3 days ago...
https://github.com/TheRealJoelmatic/RemoveAdblockThing/issues/460

Why 3.8...? 5.3 works fine. I posted a guide on downgrading to it almost 3 days ago...
❗Temp Fix To Current v5.4/v5.5 problem❗ - Downgrade to v5.3 [Text and video instructions] #460

Doesn't work, remove ad block message appears.

Why 3.8...? 5.3 works fine. I posted a guide on downgrading to it almost 3 days ago...
❗Temp Fix To Current v5.4/v5.5 problem❗ - Downgrade to v5.3 [Text and video instructions] #460

Doesn't work, remove ad block message appears.

It does work.
I've been using it since 5.4 was released and haven't seen a single ad.
The problem you're describing has happened with multiple other versions of RAT, even before 5.0 came out. I've experienced them, and it usually happens after a Chrome update.
The problem goes away quickly.
Others have reported the same thing.

All,
If/when you manually change versions of RAT, you MUST restart your browser to get the changes to take effect.  I have done this with both 3.8 and 5.3 downgrades (@GroggyOtter Thanks for the instructions!! 👍 ), I see no more ads with YT for both versions.
It looks like for 5.3 it fast forwards through the ads; with 3.8 it seems to just skip them.  I wonder if the ads that are fast-forwarded, does the content creator get credit for the ad being watched?  If they can get credit for the ad AND I don't have to watch it, for me, it's a win-win! 😃

Yeah, even normal script is broken for me…On 6 Jun 2024, at 14:57, Cl0ud-ex @.***> wrote:
You can find the script of 3.8 right here: https://github.com/TheRealJoelmatic/RemoveAdblockThing/releases/download/v3.8/Youtube-Ad-blocker-Reminder-Remover.user.js
To disable updates, you can edit the JS and change the following:
From this
const updateCheck = true;
To this
const updateCheck = false;
You could edit this either in your Userscripts extension text editor (if it has one) or in anything like TextEdit or Notepad.
If you have some issues editing the file, use the edited version from my gist here:
https://gist.githubusercontent.com/c22dev/5db395d9ce177ab36a00a931e6a02087/raw/youtubeRemoveAdblockThing3.8.user.js
This breaks the ad blocker and get detected (atleast for me)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Canvas not rendering fontawesome images in Safari.

Fontawesome images render great in Google Chrome, Firefox, etc...
But show up blank in Apple Safari.
ver. html2canvas 1.0.0-alpha.12
Here's my code:
$("#dl_stats").click(function() {
html2canvas(document.querySelector("#modal")).then(canvas => {
saveAs(canvas.toDataURL(), 'WSBookStats.png');
});
Thanks for any help,

This actually fixes it: https://github.com/niklasvh/html2canvas/pull/1649

Be advised #1649 pull request did not fix the problem.
Fontawesome icons still show up as blank in Apple Safari after applying the above pull request in our local code.
So fix still needed for this.

I'm having the same issue but with Glyphicons on Bootstrap v3. The icons are rendered on Firefox and Chrome but are completely missing on Safari and IE 11. https://jsfiddle.net/3vm2xb75/5/
html2canvas 1.0.0-rc.1
macOS 10.14

leader When can it be repaired ?

Hi, do you have some solution for icons on safari please ? Also when I try it on test page here https://html2canvas.hertzen.com/tests/ with selected font-awesome and Safari icons don't show.

I have tried and nothing of fontawesome renders. In https://html2canvas.hertzen.com/tests/reftests/text/fontawesome.html, that's the old version on fontawesome. It displayed the font in a  then. Now it's in a  and html2canvas render a blank space with all the browsers :(

Any chance you guys have your font awesome css in a file named differently than it was distributed? Having same issue

My files are straight from the distribution. Both for 4.7 and for 5. I've also tried using the online approved hosted CDN fontawesome versions, they all seem to not render in Safari for all Apple devices. @tonyDim is correct, they don't seem to render on the html2canvas test pages for Safari either.
We think both fontawesome and html2canvas are great! So it's perplexing that it doesn't work for Apple devices running Safari. But does work on the other browsers.
Note: If you run either firefox or google chrome browsers instead on apple devices fontawesome renders great in both of those browsers on Apple devices. Fontawesome just doesn't render for some reason when running Safari on Apple devices.
Hope this helps someone find the fix soon. It's painful. =)))

is the issue resolved with https://github.com/niklasvh/html2canvas/pull/2018?

Hi @niklasvh
First off thanks very much for writing the great software and for the fixes. It's all amazing.
I'll give it a quick test and drop a note here. It may take a couple of days, I have my hands in another project I'm finishing. But will try and check by Monday here our time. Cheers, -C

is the issue resolved with #2018?

It worked for me! :D

Checking tonight, sorry about the delay, grinding on a project for BulletWrtr. Best, -C

I've sent it to the Apple Safari testers, just waiting for a note back how it went. Will post as soon as I see it. Thanks, -C

...is the issue resolved with #2018?

Hi @niklasvh, after testing, Font Awesome icons still showing as blank on Apple iPhone Safari versions. Haven't heard back from Mac Safari versions, but most likely same.
So issue still persists with displaying font awesome icons on Safari.
Dropdown boxes also are missing their text and down arrow on Safari.
Note: We are using Bootstrap versions 3.3.7 and also version 4 in case it helps.
Thanks very much for the help.
Let me know if I can provide images/details that could help.

We'll also try digging in a little further here. We'll try some advanced testing/changing code to see if it shakes loose.

Is this issue resolved ??

Is this issue resolved ??

I used these parameters and that worked:
allowTaint : true,
useCORS : true,
onclone: (element) => {
let svgElements = element.body.getElementsByTagName("svg");
Array.from(svgElements).forEach((svgElement) => {
let bBox = svgElement.getBBox();
svgElement.setAttribute("width", bBox.width);
svgElement.setAttribute("height", bBox.height);
});
}

I used these parameters and that worked:
allowTaint : true,
useCORS : true,
onclone: (element) => {
let svgElements = element.body.getElementsByTagName("svg");
Array.from(svgElements).forEach((svgElement) => {
let bBox = svgElement.getBBox();
svgElement.setAttribute("width", bBox.width);
svgElement.setAttribute("height", bBox.height);
});
}


ESP32 idf/eclipse debug nightmare (IDFGH-2570)

idf version used v4.1-dev-1931-g68be5f6ca and additional eclipse last plugins provided by vendor.
debug interface interface jlink openocd version: v0.10.0-esp32-20190313 (the most stable version for me)
1º Problem
Open any idf example project on eclipse. Disable booloader verbose log, set  compiler optimization to -O0 (no optimization) and build the project. Load the executable with with serial bootloader.
Result -> the device keep restarting!
Do the same with -Og optimization and the main application runs fine!
Now comes the odd things. If i start an openocd section (just succesfull connection) with debugger conected to the board it runs the application just ok. But wait you can claim that debug interface is interfering with boot strap right! But not... If I just flash (by serial) other board without any other connection than usb cable it also keep restarting with -O0 optmization!
But here is a good thing you can debug fine the aplication with -O0 settings if you first upload the bootloader and partiton data by serial. (Yes I'am flashing only application section at every new debug section). The previous bug still present by far...
So you will question.. Why you need -O0 optimization? Because with  -Og (or any other debug level rather than -O0) you get a really bad debug experience... Single step is simple useless.
2º Problem: Main app offset and debug.
So you want to have booloader verbose turned on to see what is going on right? So you need to increase bootloader section. To do this you need to start the main_app at some address different of 0x10000. So let increase the boot section to 0x10000 and start the main_app at 0x20000.
And here we start another kind of troubles.
If you try to debug your project with this settings you can't set any breakpoints at functions that reside in flash region. If the function is in a ram section it's work with the addtion with previous bugs mentioned. The debugger flash upload region main app is adjusted as needed.
Here is the log with default (0x10000) address app_main :
Open On-Chip Debugger  v0.10.0-esp32-20190313 (2019-03-13-09:57)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
adapter speed: 10000 kHz
Info : Configured 2 cores
esp32 interrupt mask on
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : J-Link ARM / Flasher ARM V4 compiled Oct  6 2017 16:42:52
Info : Hardware version: 4.00
Info : VTarget = 3.282 V
Info : clock speed 10000 kHz
Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : Target halted. PRO_CPU: PC=0x400D58FA (active)    APP_CPU: PC=0x400EDE58
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Error: No symbols for FreeRTOS
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x400EDE58
Info : Flash mapping 0: 0x10020 -> 0x3f400020, 30 KB
Info : Flash mapping 1: 0x20020 -> 0x400d0020, 121 KB
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x400EDE58
Info : Auto-detected flash size 4096 KB
Info : Using flash size 4096 KB
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x400EDE58
Info : Flash mapping 0: 0x10020 -> 0x3f400020, 30 KB
Info : Flash mapping 1: 0x20020 -> 0x400d0020, 121 KB
Info : Using flash size 124 KB
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x400EDE58
Info : Flash mapping 0: 0x10020 -> 0x3f400020, 30 KB
Info : Flash mapping 1: 0x20020 -> 0x400d0020, 121 KB
Info : Using flash size 32 KB
Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).
Info : Target halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000
Info : esp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).
Info : esp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).
Info : Target halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400
Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).
Info : Target halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000
Info : esp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).
Info : esp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).
Info : Target halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400
** Programming Started **
auto erase enabled
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x40000400
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x40000400
wrote 229376 bytes from file C:/Users/ryzen/eclipse-workspace1/test/build/app-template.bin in 5.407728s (41.422 KiB/s)
** Programming Finished **
** Verify Started **
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x40000400
read 228960 bytes from file C:/Users/ryzen/eclipse-workspace1/test/build/app-template.bin and flash bank 0 at offset 0x00010000 in 2.985687s (74.889 KiB/s)
contents match
** Verified OK **

Here is with offset of 0x20000:
Open On-Chip Debugger  v0.10.0-esp32-20190313 (2019-03-13-09:57)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
adapter speed: 10000 kHz
Info : Configured 2 cores
esp32 interrupt mask on
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : J-Link ARM / Flasher ARM V4 compiled Oct  6 2017 16:42:52
Info : Hardware version: 4.00
Info : VTarget = 3.282 V
Info : clock speed 10000 kHz
Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : Target halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Error: No symbols for FreeRTOS
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x40000400
Error: Failed to get flash maps (-1)!
Warn : Failed to get flash mappings (-4)!
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x40000400
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x40000400
Info : Auto-detected flash size 4096 KB
Info : Using flash size 4096 KB
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x40000400
Error: Failed to get flash maps (-1)!
Warn : Failed to get flash mappings (-4)!
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x40000400
Info : Using flash size 0 KB
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x40000400
Error: Failed to get flash maps (-1)!
Warn : Failed to get flash mappings (-4)!
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x40000400
Info : Using flash size 0 KB
Warn : negative reply, retrying
Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).
Info : Target halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000
Info : esp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).
Info : esp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).
Info : Target halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400
Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : esp32: Debug controller 0 was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Core 0 was reset (pwrstat=0x5F, after clear 0x0F).
Info : Target halted. PRO_CPU: PC=0x5000004B (active)    APP_CPU: PC=0x00000000
Info : esp32: Core 0 was reset (pwrstat=0x1F, after clear 0x0F).
Info : esp32: Debug controller 1 was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Core 1 was reset (pwrstat=0x5F, after clear 0x0F).
Info : Target halted. PRO_CPU: PC=0x40000400 (active)    APP_CPU: PC=0x40000400
** Programming Started **
auto erase enabled
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x40000400
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x40000400
wrote 229376 bytes from file C:/Users/ryzen/eclipse-workspace1/test/build/app-template.bin in 5.247182s (42.690 KiB/s)
** Programming Finished **
** Verify Started **
Info : Target halted. PRO_CPU: PC=0x4009171A (active)    APP_CPU: PC=0x40000400
read 228960 bytes from file C:/Users/ryzen/eclipse-workspace1/test/build/app-template.bin and flash bank 0 at offset 0x00020000 in 2.831826s (78.957 KiB/s)
contents match
** Verified OK **

If try put put any break point on functions that are in flash section and try to run/step you will get:
Info : Target halted. PRO_CPU: PC=0x400D58FA (active)    APP_CPU: PC=0x400EDE58
Error: esp32: Failed to read insn (-4)!
Error: esp32: Failed to add SW BP!
Error: can't add breakpoint: resource not available
Error: esp32: Failed to read insn (-4)!
Error: esp32: Failed to add SW BP!
Error: can't add breakpoint: resource not available
Should I giveup to ESP32? I waste more than 5 days to see why this is not working..

@Mat-Alm thanks for the report and sorry for the trouble you had to go through. For the first issue, it looks like there is some regression in -O0 builds. Will investigate and report back.
For the 2nd issue, have you tried telling OpenOCD about the application binary image offset? It can be done when running OpenOCD:
openocd -f board/esp32-wrover-kit-3.3v.cfg -c "init; halt; esp32 appimage_offset 0x210000"

(replace the cfg file name with the one you use)
You are right that modifying application binary offset and then debugging afterwards is not ergonomic. We will try to improve this workflow in the IDE plugins.

openocd -f board/esp32-wrover-kit-3.3v.cfg -c "init; halt; esp32 appimage_offset 0x20000"
Skip the 1 in the 0x210000
No i get the next error: Error: FreeRTOS: uxTopUsedPriority is not defined, consult the OpenOCD manual for a work-around
Pffff, esp-idf debugging is indeed a nightmare... ;-(

Any solution for this issue. I am also facing a similar issue, see logs below

Debugging worked once and then its just not going in debug mode.


Show number of locks in tutor course dashboard

It would be good to show the number of locks of one particular tutor for all exercises in the tutor course dashboard. Tutor should be able to click on the number and navigate to a page with an overview of all locks where they can continue the assessment or cancel the lock (this could be similar to the submissions and assessments page)

Locks can already be filtered on the submissions page, e.g. https://artemistest.ase.in.tum.de/#/course-management/1/modeling-exercises/1514/assessment
However, this page is somehow hidden and can only be accessed over the exercise details page.
In addition, there is a visual for starting the assessment:

This page (and feature) is useful for modeling, file-upload and text exercises.
The submissions page should be accessible in the course administration exercise overview, e.g. https://artemistest.ase.in.tum.de/#/course-management/1/exercises
And it would be great if this page would also be accessible for instructors only in the instructor course dashboard.
Tutors should also have access to this (or a similar) page where they can only see their own assessments (and where the double blind assessment criteria are fulfilled)


zwlr_screencopy_frame_v1@12: error 1: invalid buffer format

Trying to record using wf-recorder -r 30 -f test.mp4 -c h264_nvenc -g "1920,0 1920x1080"
returns an error zwlr_screencopy_frame_v1@12: error 1: invalid buffer format
This issue seems to be related https://github.com/ammen99/wf-recorder/issues/250
Log:
wf-recorder.log
Distro: Arch Linux
Compositor: Hyprland
Wf-recorder version: 0.4.1-c43e8e1 (Feb 22 2024, branch 'master')

Seems like a duplicate, see the other issue for a potential fix. I wanted to try and solve the dmabuf path as well before merging.

I've tried the other branch but that did not help at all


Expanding arrows in Coder do not change shape when clicked

When expanded, the triangles should point downwards:


APIM-2022-08-01-draft

ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[x] Other, please clarify - adding definitions for a new entity

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month. Targeting mid to late October.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month. Targeting mid to late October.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
Added notes
Notes for context if helpful:

There is a plan to have a 2022-08-01 stable version to be added soon by our team to the main repo (likely will be called something like apim-2022-08-01).
For this new feature, I created an Azure/apim-2022-08-01-draft branch as well as a fork and branch that is intended to merge in with the apim-2022-08-01 stable version once it is available in the main repo.
Because of our timeline, I am hoping that by initiating a review here will help with the turnaround time for ARM review.

The bits that I changed for the new feature are in these commits only:

https://github.com/Azure/azure-rest-api-specs/pull/20728/commits/79fb17d4c69786feabde8a7d83b0f2d32b5075f8
https://github.com/Azure/azure-rest-api-specs/pull/20728/commits/8776156befc0b6948b52793a25b5f81bd2256bf5

ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

  "head": {

have you tested this at all ? AFAIK ARM does not support the HEAD function in REST

Refers to: specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2022-08-01/apimapis.json:1864 in 7b927b5. [](commit_id = 7b927b5f2c7725840b445ba2a51a0b72f9c46f0d, deletion_comment = False)

    },

avoid returning count as explained here :
https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#collections
<a name="collections-avoid-count-property> ⚠ YOU SHOULD NOT return a count of all objects in the collection as this may be expensive to compute.

Refers to: specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2022-08-01/definitions.json:5575 in 7b927b5. [](commit_id = 7b927b5f2c7725840b445ba2a51a0b72f9c46f0d, deletion_comment = False)

    "value": "<http-data-source><http-request><set-method>GET</set-method><set-backend-service base-url=\"https://some.service.com\" /><set-url>/api/users</set-url></http-request></http-data-source>"

how large can this value get ?
please note the size limitations for ARM payload here :
https://github.com/Azure/azure-resource-manager-rpc/blob/022630d456f8a92999040b0193929807815e7246/v1.0/common-api-details.md#max-request-body-size

Refers to: specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2022-08-01/examples/ApiManagementCreateGraphQLApiResolverPolicy.json:14 in 7b927b5. [](commit_id = 7b927b5f2c7725840b445ba2a51a0b72f9c46f0d, deletion_comment = False)

will close and reopen PR as there seems to be a large difference between the new release branch for 2022-08-01 and the draft originally setup


Fixing removes comments

Bug Report

TSLint version: 5.8.0
TypeScript version: 2.6.0
Running TSLint via: CLI

TypeScript code being linted
let x: boolean;
if (x) {
    // do something
}
// I like my comments on a separate line, describing the following block
else {
    // do something else
}

with tslint.json configuration:
{
  "rules": {
    "one-line": [
      true,
      "check-catch",
      "check-finally",
      "check-else",
      "check-open-brace",
      "check-whitespace"
    ]
  }
}

Actual behavior
Comment before else is removed by fixer.
Expected behavior
Do not remove comment.
Suggestions:

Do nothing at all.
Do not run the fix, but notify why.
Move the comment (e.g. after "else {")

💀 It's time! 💀
TSLint is deprecated and no longer accepting pull requests other than security fixes. See #4534. ☠
We recommend you instead use typescript-eslint to lint your TypeScript code with ESLint. ✅
👋 It was a pleasure open sourcing with you!

🤖 Beep boop! 👉  TSLint is deprecated 👈 (#4534)  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


SPARKC-221: Added configurable delay between subsequent query retries

Build against Scala 2.10 finished with success

Build against Scala 2.11 finished with success


GraalVM Native Image Generation Support

Description:
This is the umbrella issue that covers the $subject.
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Closing this as there is already an issue for this.


Having issues with learning_phase_flags

Hi!
First of all - great work on shap!
I have encountered some issues with the auto detection of learning phase flags when using a keras model. I was trying to use the InceptionV3 pretrained model from keras with the shap Imagenet50 dataset but the code in deep_tf.py does not locate the correct Placeholder ops from the batch_normalization layers and this error is given:
tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'batch_normalization_1/keras_learning_phase' with dtype bool
I think this is because the deep_tf.py code has these conditions:
if 'learning_phase' in op.name and op.type == "Const" and len(op.outputs[0].shape) == 0
I can hack it to only look for op.type == "Placeholder" and get past this. I also tried passing a Placeholder tensor when creating the DeepExplainer object but got another error (self.learning_phase_flags does not exist).
I don't specifically need shap to work with InceptionV3 as I was just exploring but thought it was worth reporting.

@svadams please could you provide minimal working example and show the whole error log?


nav menu item disappears when in :hover or :focus state

We've redesigned the website since, I'm closing this issue as outdated.


fix: add gemini models

Just add difinitions for gemini models.

Thanks @nobu007! Where is the 2 billion token context window specified in the config?

Thanks for your interest in aider.
These changes aren't needed to use the Gemini models. This doc may be helpful:
https://aider.chat/docs/llms/gemini.html

Thanks @paul-gauthier, are there docs about what information about the codebase that Aider adds to the context? It seems like the 1M & 2M token context window of the new Gemini models could fundamentally change the approach of what gets sent and when (e.g. send the whole codebase if it fits and use context caching).

https://aider.chat/docs/faq.html#how-can-i-add-all-the-files-to-the-chat

@paul-gauthier
Thanks for information.
Is it any plan for gemini-1.5-flash? Or already able to use anything other than gemini-1.5-pro available?
The flash one has someting functionally limit compare than pro.
So, I want to know about intentionally limitation or not.

The new gemini models were added this morning in v0.54.0.
I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.

Just for information
https://github.com/paul-gauthier/aider/commit/12bb17fe638518416762bca30572a6031674b23e


What is the relationship between dm_env and dm_control

Hello,
Thank you for providing an interface for reinforcement learning.
My question is, what is the relationship between the dm_env code here, and the dm_control code? The dm_env describes the environment API:
https://github.com/deepmind/dm_env/blob/master/docs/index.md
which is the same as the environment API described in dm_control. For example, the docs here:
https://github.com/deepmind/dm_control/tree/master/dm_control/suite
show that the environment stepping also produces a named tuple with step type, observation, reward, and action fields. The dm_control does not appear to need dm_env. Hence, when should I use one or the other, or both?
Thank you for your time.
Update: upon a further investigation it looks like dm_control includes dm_env:
https://github.com/deepmind/dm_control/blob/57a1a95559312e525e9af0dc4f2c1bdd5eda1bba/dm_control/rl/control.py
The above will import dm_env.

Hi, dm_env defines an interface only, not any specific environments (apart from the example code). dm_control implements this interface, as do some other packages containing environments, for example Spriteworld.

Thanks !


fix(multi_object_tracker): make sure smallest unknown footprint is 0.3

Description

When unknown object polygon has only one point which is 0,0,0 , the node dies. The issue was described here: https://github.com/autowarefoundation/autoware.universe/issues/6617
Related links

Fixes: https://github.com/autowarefoundation/autoware.universe/issues/6617
Tests performed

Confirmed on logging simulator.
Notes for reviewers

There are two places where this error occurs, on data_association.cpp and multi_object_tracker_core.cpp. The fix was added those.
Interface changes

Effects on system behavior

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

Thanks for your PR 👍
We'll check this

/ask rate this PR quality, from 1 to 10. explain why

/review

/improve --extended

/ask At line 391 of multi_object_tracker_core.cpp, I'm comparing a float against an integer tier4_autoware_utils::getArea(object1.shape) == 0 I don't think this is a good thing. What should I do instead?

Hello everyone, thank you for the feedback. I have pushed a commit for get2dIoU. Now, if there aren't enough points for a polygon, it will return 0.0. It works on logging simulator.
The other approach was checking points size in getIntersectionArea function. That will also affect get2dGeneralizedIoU,
get2dPrecision and get2dRecall.
What do you think about applying the patch to getIntersectionArea, or should it be only for get2dIoU?

@mebasoglu
Thanks for your work!
As you say, changing  getIntersectionArea  may better since most function you mentioned has following escape sequence. I prefer this approach.
  const double intersection_area = getIntersectionArea(source_polygon, target_polygon);
  if (intersection_area == 0.0) return 0.0; // you can escape here

But it seems get2dGeneralizedIoU do not have the escape, so we need to do some work then.
  const double intersection_area = getIntersectionArea(source_polygon, target_polygon); // no escape
  const double union_area = getUnionArea(source_polygon, target_polygon); // this part may cause error
  const double convex_shape_area = getConvexShapeArea(source_polygon, target_polygon); // this will cause error

It would be helpful if you could change getUnionArea, getConvexShapeArea and getIntersectionArea.

Hello @YoshiRi @technolojin , thank you very much for the feedback.
I have created a new function validatePolygons . It returns false if the polygon areas are very close to zero, true otherwise. I added checks with this function on getConvexShapeArea, getIntersectionArea and getUnionArea. They return 0.0 if polygons aren't validated.
The get2dGeneralizedIoU function was also updated for the checks.
Tested on logging simulator.

@mebasoglu Thank you for your update.
Your solution is a simple solution and it is important. However, I would like to give you some feedback.

Numerical error
As @mebasoglu checked, comparing a float number against zero (even the type is float) have a risk since the target number (intersection_area for example) can have a numerical error (overflow if this number is used for division, and that is what we do here).
Here are some related discussions.
https://softwareengineering.stackexchange.com/questions/309350/avoiding-division-by-zero-using-float-comparison
https://en.wikipedia.org/wiki/Machine_epsilon

Question: at line 391 of multi_object_tracker_core.cpp, i'm comparing a float against an integer tier4_autoware_utils::getarea(object1.shape) == 0 i don't think this is a good thing. what should i do instead?
Answer: Comparing a float to an integer directly can indeed lead to precision issues due to the way floating point numbers are represented in memory. A better approach would be to use a small threshold value for the comparison.
Instead of tier4_autoware_utils::getArea(object1.shape) == 0, you could use something like:
const float epsilon = 1e-9; // or any other small value that suits your precision needs
if (std::abs(tier4_autoware_utils::getArea(object1.shape)) < epsilon) {
    // ...
}

This way, you're checking if the area is "close enough" to zero, taking into account the precision of floating point numbers.
✨ Ask tool usage guide:

Meaning of returning 0.0 on getConvexShapeArea and getUnionArea functions
As your updated functions, getConvexShapeArea and getUnionArea returns zero even one polygon have a valid area. As future users, it is confusing result. You implemented to check if the obtained area is zero before calculate necessary ratios, but other future developer may not understand the meaning and can cause catastrophic error (divide-by-zero).
(Returning zero on getIntersectionArea is valid, by its definition.)

Duplicated checks
In get2dGeneralizedIoU,  the validatePolygons runs three times. and it is not necessary.
The IoU calculations will repeated many many times and this change can make overall object tracking heavy, especially the number of tracking and detected object is large.
(For example, calculation of matching score matrix have complexity of O(n^2))

I would like to request an efficient solution. Even it becomes a bit complicate, I think it worth.

Closing due to https://github.com/autowarefoundation/autoware.universe/pull/6701 was merged.